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/donations/php-files/modules/donations/module_installer.php

    r815 r836  
    3131$mod_version = "1.0.0";                                 // module version number 
    3232$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 
     33$mod_email = "wanwizard@gmail.com"; 
     34$mod_weburl = "http://exitecms.exite.eu/"; 
    3535$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 } 
    5336 
    5437/*---------------------------------------------------+ 
     
    6144$mod_admin_rights = "wD";                               // admin rights code. This HAS to be assigned by PLi-Fusion to avoid duplicates! 
    6245$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 
     52if (str_replace(".", "", $settings['version']) < 700) { 
     53    $mod_errors .= sprintf($locale['mod001'], '7.00'); 
     54} 
     55// check for a maximum version of the ExiteCMS engine 
     56if (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 
     60if ($settings['revision'] < 0 || $settings['revision'] > 999999) { 
     61    $mod_errors .= sprintf($locale['mod003'], 0, 999999); 
     62} 
    6363 
    6464/*---------------------------------------------------+ 
Note: See TracChangeset for help on using the changeset viewer.