diff --git a/e107_admin/plugin.php b/e107_admin/plugin.php index 3477659fc..18123e33f 100644 --- a/e107_admin/plugin.php +++ b/e107_admin/plugin.php @@ -2809,7 +2809,7 @@ class pluginBuilder $default = '1.0'; $required = true; $help = EPL_ADLAN_138; - $pattern = "^[\d]{1,2}\.[\d]{1,2}$"; + $pattern = "^[\d]{1,2}\.[\d]{1,2}(\.[\d]{1,2})?$"; $xsize = 'small'; break; diff --git a/e107_languages/English/admin/lan_plugin.php b/e107_languages/English/admin/lan_plugin.php index abc2631db..f1d73817f 100644 --- a/e107_languages/English/admin/lan_plugin.php +++ b/e107_languages/English/admin/lan_plugin.php @@ -155,7 +155,7 @@ define ("EPL_ADLAN_134","Please create [b][x][/b] in your plugin directory with define ("EPL_ADLAN_135","The name of your plugin. (Must be written in English)"); define ("EPL_ADLAN_136","If you have a language file, enter the LAN_XXX value for the plugin's name"); define ("EPL_ADLAN_137","Creation date of your plugin"); -define ("EPL_ADLAN_138","The version of your plugin. Format: x.x"); +define ("EPL_ADLAN_138","The version of your plugin. Format: x.x or x.x.x"); define ("EPL_ADLAN_139","Compatible with this version of e107"); define ("EPL_ADLAN_140","Author Name"); define ("EPL_ADLAN_141","Author Website URL");