Ignore:
Timestamp:
09/23/07 23:49:33 (5 years ago)
Author:
hverton
Message:

changed copyright notice
added Smarty buttonlink function, to replace image buttons by real buttons using a locale for the button text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/common/mail2forum/php-files/modules/mail2forum/module_installer.php

    r815 r836  
    11<?php 
    22/*---------------------------------------------------+ 
    3 | PLi-Fusion Content Management System               | 
     3| ExiteCMS Content Management System                 | 
    44+----------------------------------------------------+ 
    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 | 
    77+----------------------------------------------------+ 
    8 | Some portions copyright ? 2002 - 2006 Nick Jones   | 
    9 | http://www.php-fusion.co.uk/                       | 
    108| Released under the terms & conditions of v2 of the | 
    119| GNU General Public License. For details refer to   | 
     
    3129$mod_version = $locale['m2fver'];                       // module version number 
    3230$mod_developer = "WanWizard";                           // author's name 
    33 $mod_email = "wanwizard@gmail.com";                     // author's email address 
    34 $mod_weburl = "http://www.pli-images.org/pli-fusion/";  // author's website 
     31$mod_email = "wanwizard@gmail.com"; 
     32$mod_weburl = "http://exitecms.exite.eu/"; 
    3533$mod_type = "M"; 
    36  
    37 /*---------------------------------------------------+ 
    38 | Version and revision control                       | 
    39 +----------------------------------------------------*/ 
    40  
    41 // check for a minumum version of the PLi-Fusion engine 
    42 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 engine 
    46 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 supported 
    50 if ($settings['revision'] < 0 || $settings['revision'] > 999999) { 
    51     $mod_errors .= sprintf($locale['mod003'], 0, 999999); 
    52 } 
    5334 
    5435/*---------------------------------------------------+ 
     
    6142$mod_admin_rights = "wA";                               // admin rights code. This HAS to be assigned by PLi-Fusion to avoid duplicates! 
    6243$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 
     50if (str_replace(".", "", $settings['version']) < 700) { 
     51    $mod_errors .= sprintf($locale['mod001'], '7.00'); 
     52} 
     53// check for a maximum version of the ExiteCMS engine 
     54if (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 
     58if ($settings['revision'] < 0 || $settings['revision'] > 999999) { 
     59    $mod_errors .= sprintf($locale['mod003'], 0, 999999); 
     60} 
    6361 
    6462/*---------------------------------------------------+ 
Note: See TracChangeset for help on using the changeset viewer.