Changeset 836 in ExiteCMS for modules/common/donations/php-files/modules/donations/module_installer.php
- Timestamp:
- 09/23/07 23:49:33 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/donations/php-files/modules/donations/module_installer.php
r815 r836 31 31 $mod_version = "1.0.0"; // module version number 32 32 $mod_developer = "WanWizard"; // author's name 33 $mod_email = "wanwizard@gmail.com"; // author's email address34 $mod_weburl = "http:// www.pli-images.org/pli-fusion/"; // author's website33 $mod_email = "wanwizard@gmail.com"; 34 $mod_weburl = "http://exitecms.exite.eu/"; 35 35 $mod_type = "M"; 36 37 /*---------------------------------------------------+38 | Version and revision control |39 +----------------------------------------------------*/40 41 // check for a minumum version of the PLi-Fusion engine42 if (str_replace(".", "", $settings['version']) < 700) {43 $mod_errors .= sprintf($locale['mod001'], '7.00');44 }45 // check for a maximum version of the PLi-Fusion engine46 if (str_replace(".", "", $settings['version']) > 700) {47 $mod_errors .= sprintf($locale['mod002'], '7.00');48 }49 // check for a specific revision number range that is supported50 if ($settings['revision'] < 0 || $settings['revision'] > 999999) {51 $mod_errors .= sprintf($locale['mod003'], 0, 999999);52 }53 36 54 37 /*---------------------------------------------------+ … … 61 44 $mod_admin_rights = "wD"; // admin rights code. This HAS to be assigned by PLi-Fusion to avoid duplicates! 62 45 $mod_admin_page = 4; // 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.
