Author: pwang
Date: 2011-11-15 15:14:38 -0800 (Tue, 15 Nov 2011)
New Revision: 27485
Modified:
new_cytoscape_website/plugin_website/plugins3/pluginPropsUtil.inc
Log:
Allow three digit version number
Modified: new_cytoscape_website/plugin_website/plugins3/pluginPropsUtil.inc
===================================================================
--- new_cytoscape_website/plugin_website/plugins3/pluginPropsUtil.inc
2011-11-15 21:52:54 UTC (rev 27484)
+++ new_cytoscape_website/plugin_website/plugins3/pluginPropsUtil.inc
2011-11-15 23:14:38 UTC (rev 27485)
@@ -58,11 +58,11 @@
<?php
}
else {
- if (!preg_match('/^[0-9]+\.[0-9]+$/',
$pluginProps['pluginVersion'])) {
+ if (!preg_match('/^[0-9]+\.[0-9]+\.[0-9]$/',
$pluginProps['pluginVersion'])) {
$retVal = false;
?>
- <strong>Error in plugin.prop: plugin version must be double
type, two numbers seperated by a dot (.).</strong><br>
+ <strong>Error in plugin.prop: plugin version must be three
numbers seperated by a dot (.).</strong><br>
<?php
}
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.