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

    r815 r836  
    3232$mod_folder = "newsletters";                            // sub-folder of the /modules folder 
    3333$mod_developer = "WanWizard";                           // author's name 
    34 $mod_email = "wanwizard@gmail.com";                     // author's email address 
    35 $mod_weburl = "http://www.pli-images.org/pli-fusion/";  // author's website 
     34$mod_email = "wanwizard@gmail.com"; 
     35$mod_weburl = "http://exitecms.exite.eu/"; 
    3636$mod_type = "M"; 
    37  
    38 /*---------------------------------------------------+ 
    39 | Version and revision control                       | 
    40 +----------------------------------------------------*/ 
    41  
    42 // check for a minumum version of the PLi-Fusion engine 
    43 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 engine 
    47 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 supported 
    51 if ($settings['revision'] < 0 || $settings['revision'] > 999999) { 
    52     $mod_errors .= sprintf($locale['mod003'], 0, 999999); 
    53 } 
    5437 
    5538/*---------------------------------------------------+ 
     
    6144$mod_admin_rights = "wC";                               // admin rights code. This HAS to be assigned by PLi-Fusion to avoid duplicates! 
    6245$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 
     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.