Changeset 836 in ExiteCMS for modules/common/mail2forum/php-files/modules/mail2forum/module_installer.php
- Timestamp:
- 09/23/07 23:49:33 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/mail2forum/php-files/modules/mail2forum/module_installer.php
r815 r836 1 1 <?php 2 2 /*---------------------------------------------------+ 3 | PLi-Fusion Content Management System|3 | ExiteCMS Content Management System | 4 4 +----------------------------------------------------+ 5 | Copyright 2007 WanWizard (wanwizard@gmail.com)|6 | http://www.pli-images.org/pli-fusion|5 | Copyright 2007 Harro "WanWizard" Verton, Exite BV | 6 | for support, please visit http://exitecms.exite.eu | 7 7 +----------------------------------------------------+ 8 | Some portions copyright ? 2002 - 2006 Nick Jones |9 | http://www.php-fusion.co.uk/ |10 8 | Released under the terms & conditions of v2 of the | 11 9 | GNU General Public License. For details refer to | … … 31 29 $mod_version = $locale['m2fver']; // module version number 32 30 $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 website31 $mod_email = "wanwizard@gmail.com"; 32 $mod_weburl = "http://exitecms.exite.eu/"; 35 33 $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 34 54 35 /*---------------------------------------------------+ … … 61 42 $mod_admin_rights = "wA"; // admin rights code. This HAS to be assigned by PLi-Fusion to avoid duplicates! 62 43 $mod_admin_page = 4; // admin page this panel has to be placed on 44 45 /*---------------------------------------------------+ 46 | Version and revision control | 47 +----------------------------------------------------*/ 48 49 // check for a minumum version of the ExiteCMS engine 50 if (str_replace(".", "", $settings['version']) < 700) { 51 $mod_errors .= sprintf($locale['mod001'], '7.00'); 52 } 53 // check for a maximum version of the ExiteCMS engine 54 if (str_replace(".", "", $settings['version']) > 700) { 55 $mod_errors .= sprintf($locale['mod002'], '7.00'); 56 } 57 // check for a specific revision number range that is supported 58 if ($settings['revision'] < 0 || $settings['revision'] > 999999) { 59 $mod_errors .= sprintf($locale['mod003'], 0, 999999); 60 } 63 61 64 62 /*---------------------------------------------------+
Note: See TracChangeset
for help on using the changeset viewer.
