Changeset 836 in ExiteCMS for modules/common/newsletters/php-files/modules/newsletters/module_installer.php
- Timestamp:
- 09/23/07 23:49:33 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/newsletters/php-files/modules/newsletters/module_installer.php
r815 r836 32 32 $mod_folder = "newsletters"; // sub-folder of the /modules folder 33 33 $mod_developer = "WanWizard"; // author's name 34 $mod_email = "wanwizard@gmail.com"; // author's email address35 $mod_weburl = "http:// www.pli-images.org/pli-fusion/"; // author's website34 $mod_email = "wanwizard@gmail.com"; 35 $mod_weburl = "http://exitecms.exite.eu/"; 36 36 $mod_type = "M"; 37 38 /*---------------------------------------------------+39 | Version and revision control |40 +----------------------------------------------------*/41 42 // check for a minumum version of the PLi-Fusion engine43 if (str_replace(".", "", $settings['version']) < 700) {44 $mod_errors .= sprintf($locale['mod001'], '7.00');45 }46 // check for a maximum version of the PLi-Fusion engine47 if (str_replace(".", "", $settings['version']) > 700) {48 $mod_errors .= sprintf($locale['mod002'], '7.00');49 }50 // check for a specific revision number range that is supported51 if ($settings['revision'] < 0 || $settings['revision'] > 999999) {52 $mod_errors .= sprintf($locale['mod003'], 0, 999999);53 }54 37 55 38 /*---------------------------------------------------+ … … 61 44 $mod_admin_rights = "wC"; // admin rights code. This HAS to be assigned by PLi-Fusion to avoid duplicates! 62 45 $mod_admin_page = 1; // admin page this panel has to be placed on 46 47 /*---------------------------------------------------+ 48 | Version and revision control | 49 +----------------------------------------------------*/ 50 51 // check for a minumum version of the ExiteCMS engine 52 if (str_replace(".", "", $settings['version']) < 700) { 53 $mod_errors .= sprintf($locale['mod001'], '7.00'); 54 } 55 // check for a maximum version of the ExiteCMS engine 56 if (str_replace(".", "", $settings['version']) > 700) { 57 $mod_errors .= sprintf($locale['mod002'], '7.00'); 58 } 59 // check for a specific revision number range that is supported 60 if ($settings['revision'] < 0 || $settings['revision'] > 999999) { 61 $mod_errors .= sprintf($locale['mod003'], 0, 999999); 62 } 63 63 64 64 /*---------------------------------------------------+
Note: See TracChangeset
for help on using the changeset viewer.
