Changeset 865 in ExiteCMS


Ignore:
Timestamp:
10/03/07 21:40:33 (4 years ago)
Author:
hverton
Message:

More xhtml fixes

Location:
modules/common
Files:
33 edited

Legend:

Unmodified
Added
Removed
  • modules/common/ad_side_panel/php-files/modules/ad_side_panel/ad_side_panel.php

    r836 r865  
    1010| the included gpl.txt file or visit http://gnu.org  | 
    1111+----------------------------------------------------*/ 
    12 if (eregi("ad_side_panel.php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
     12if (eregi("ad_side_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    1313 
    1414// do not display this panel when in an admin module 
  • modules/common/ad_side_panel/php-files/modules/ad_side_panel/module_installer.php

    r839 r865  
    1313| the included gpl.txt file or visit http://gnu.org  | 
    1414+----------------------------------------------------*/ 
    15 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     15if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1616 
    1717/*---------------------------------------------------+ 
  • modules/common/birthday_panel/php-files/modules/birthday_panel/birthday_panel.php

    r836 r865  
    1010| the included gpl.txt file or visit http://gnu.org  | 
    1111+----------------------------------------------------*/ 
    12 if (eregi("birthday_panel.php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
     12if (eregi("birthday_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    1313 
    1414// load the locale for this panel 
  • modules/common/birthday_panel/php-files/modules/birthday_panel/module_installer.php

    r839 r865  
    1212| the included gpl.txt file or visit http://gnu.org  | 
    1313+----------------------------------------------------*/ 
    14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     14if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1515 
    1616/*---------------------------------------------------+ 
  • modules/common/donations/php-files/modules/donations/admin_panel.php

    r836 r865  
    257257$result = dbquery("SELECT DISTINCT ip_code, ip_name FROM ".$db_prefix."GeoIP ORDER BY ip_name"); 
    258258while ($data = dbarray($result)) { 
    259     $variables['countries'][] = $data; 
     259    if (!empty($data['ip_code'])) $variables['countries'][] = $data; 
    260260} 
    261261 
  • modules/common/donations/php-files/modules/donations/module_installer.php

    r839 r865  
    1212| the included gpl.txt file or visit http://gnu.org  | 
    1313+----------------------------------------------------*/ 
    14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     14if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1515 
    1616/*---------------------------------------------------+ 
  • modules/common/donations/php-files/modules/donations/templates/modules.donations.admin_panel.tpl

    r765 r865  
    8383            <select name='donate_country' class='textbox' style='width:225px;'> 
    8484            {section name=cc loop=$countries} 
    85             <option value='{$countries[cc].ip_code}'{if $countries[cc].ip_code == $donate_country} selected{/if}>{$countries[cc].ip_name}</option> 
     85            <option value='{$countries[cc].ip_code}'{if $countries[cc].ip_code == $donate_country} selected="selected"{/if}>{$countries[cc].ip_name}</option> 
    8686            {/section} 
    8787            </select> 
     
    9393        </td> 
    9494        <td class='tbl'> 
    95             <input type='text' name='donate_amount' value='{$donate_amount}' class='textbox' style='width:75px;' maxlength='30' onKeyPress='return(currencyFormat(this,\",\",\".\",event))' /> 
     95            <input type='text' name='donate_amount' value='{$donate_amount}' class='textbox' style='width:75px;' maxlength='30' onkeypress='return(currencyFormat(this,\",\",\".\",event))' /> 
    9696        </td> 
    9797    </tr> 
     
    117117        </td> 
    118118        <td class='tbl'> 
    119             <select name='donate_type' class='textbox'{if  $donate_type == "0"} disabled{/if}> 
    120                 {if $action == "edit"}<option value='0'{if $donate_type == "0"} selected{/if}>{$locale.don425}</option>{/if} 
    121                 <option value='1'{if $donate_type == "1"} selected{/if}>{$locale.don426}</option> 
    122                 <option value='2'{if $donate_type == "2"} selected{/if}>{$locale.don427}</option> 
     119            <select name='donate_type' class='textbox'{if  $donate_type == "0"} disabled="disabled"{/if}> 
     120                {if $action == "edit"}<option value='0'{if $donate_type == "0"} selected="selected"{/if}>{$locale.don425}</option>{/if} 
     121                <option value='1'{if $donate_type == "1"} selected="selected"{/if}>{$locale.don426}</option> 
     122                <option value='2'{if $donate_type == "2"} selected="selected"{/if}>{$locale.don427}</option> 
    123123            </select> 
    124124        </td> 
     
    126126    <tr> 
    127127        <td align='center' colspan='2' class='tbl'> 
    128             <input type='hidden' name='donate_id' value='{$donate_id}'> 
    129             <input type='hidden' name='donate_state' value='{$donate_state}'> 
    130             <input type='hidden' name='donate_timestamp' value='{$donate_timestamp}'> 
     128            <input type='hidden' name='donate_id' value='{$donate_id}' /> 
     129            <input type='hidden' name='donate_state' value='{$donate_state}' /> 
     130            <input type='hidden' name='donate_timestamp' value='{$donate_timestamp}' /> 
    131131            {if $action == "add"} 
    132                 <input type='submit' name='save' value='{$locale.don430}' class='button'> 
     132                <input type='submit' name='save' value='{$locale.don430}' class='button' /> 
    133133            {elseif $action == "edit"} 
    134                 <input type='submit' name='save' value='{$locale.don431}' class='button'> 
     134                <input type='submit' name='save' value='{$locale.don431}' class='button' /> 
    135135            {/if} 
    136136        </td> 
     
    149149                            {$locale.don451} : 
    150150                            <select name='new_forum_id' class='textbox' style='width:300px;'> 
    151                                 <option value='0'{if $settings.donate_forum_id == 0} selected{/if}>{$locale.don450}</option> 
     151                                <option value='0'{if $settings.donate_forum_id == 0} selected="selected"{/if}>{$locale.don450}</option> 
    152152                            {section name=id loop=$forums} 
    153153                                {if $forums[id].forum_new_cat} 
     
    156156                                    {assign var='hasvalues' value=false} 
    157157                                {else} 
    158                                     <option value='{$forums[id].forum_id}'{if $forums[id].forum_id == $settings.donate_forum_id} selected{/if}>{$forums[id].forum_name}</option> 
     158                                    <option value='{$forums[id].forum_id}'{if $forums[id].forum_id == $settings.donate_forum_id} selected="selected"{/if}>{$forums[id].forum_name}</option> 
    159159                                    {assign var='hasvalues' value=true} 
    160160                                {/if} 
     
    167167                        <td class='tbl1' style='text-align:center;'> 
    168168                            <input type='submit' name='save_notify' value='{$locale.don431}' class='button' /> 
    169                             <input type='hidden' name='forum_id' value='{$settings.donate_forum_id}'> 
     169                            <input type='hidden' name='forum_id' value='{$settings.donate_forum_id}' /> 
    170170                        </td> 
    171171                    </tr> 
    172172                    <tr> 
    173                         <td class='tbl1' class='small' style='text-align:center;'> 
     173                        <td class='tbl1' style='text-align:center;'> 
    174174                            <span class='small2'> 
    175175                                {ssprintf format=$locale.don452 var1=$locale.don453} 
     
    220220                [<a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;action=edit&amp;id={$donations[id].donate_id}'>{$locale.don432}</a>] 
    221221                {if $donations[id].donate_state == '1'} 
    222                     [<a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;action=delete&amp;id={$donations[id].donate_id}' onClick='return DeleteItem()'>{$locale.don433}</a>] 
     222                    [<a href='{$smarty.const.FUSION_SELF}{$aidlink}&amp;action=delete&amp;id={$donations[id].donate_id}' onclick='return DeleteItem()'>{$locale.don433}</a>] 
    223223                {/if} 
    224224            </td> 
  • modules/common/download_bars_panel/php-files/modules/download_bars_panel/download_bars_panel.php

    r836 r865  
    1010| the included gpl.txt file or visit http://gnu.org  | 
    1111+----------------------------------------------------*/ 
    12 if (eregi("download_bars_panel.php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
     12if (eregi("download_bars_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    1313 
    1414// array's to store the variables for this panel 
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/forum_threads_list_panel.php

    r862 r865  
    1313| the included gpl.txt file or visit http://gnu.org  | 
    1414+----------------------------------------------------*/ 
    15 if (eregi("forum_threads_list_panel.php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
     15if (eregi("forum_threads_list_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    1616 
    1717// load the forum functions include 
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/module_installer.php

    r839 r865  
    1212| the included gpl.txt file or visit http://gnu.org  | 
    1313+----------------------------------------------------*/ 
    14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     14if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1515 
    1616/*---------------------------------------------------+ 
  • modules/common/forum_threads_panel/php-files/modules/forum_threads_panel/forum_threads_panel.php

    r836 r865  
    1313| the included gpl.txt file or visit http://gnu.org  | 
    1414+----------------------------------------------------*/ 
    15 if (eregi("forum_threads_panel.php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
     15if (eregi("forum_threads_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    1616 
    1717define('NEWEST_THREADS', 5); 
  • modules/common/forum_threads_panel/php-files/modules/forum_threads_panel/module_installer.php

    r839 r865  
    1212| the included gpl.txt file or visit http://gnu.org  | 
    1313+----------------------------------------------------*/ 
    14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     14if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1515 
    1616/*---------------------------------------------------+ 
  • modules/common/last_seen_users_panel/php-files/modules/last_seen_users_panel/last_seen_users_panel.php

    r836 r865  
    1313| the included gpl.txt file or visit http://gnu.org  | 
    1414+----------------------------------------------------*/ 
    15 if (eregi("last_seen_users_panel.php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
     15if (eregi("last_seen_users_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    1616 
    1717// number of users to show in the panel 
  • modules/common/last_seen_users_panel/php-files/modules/last_seen_users_panel/locale/English.php

    r808 r865  
    77$locale['lsup005'] = "day"; 
    88$locale['lsup006'] = "days"; 
     9 
     10$locale['lsup100'] = "Last Seen Users Panel"; 
     11$locale['lsup101'] = "Side panel to display the last active website users"; 
    912?> 
  • modules/common/last_seen_users_panel/php-files/modules/last_seen_users_panel/module_installer.php

    r840 r865  
    1212| the included gpl.txt file or visit http://gnu.org  | 
    1313+----------------------------------------------------*/ 
    14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     14if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1515 
    1616/*---------------------------------------------------+ 
     
    1818+----------------------------------------------------*/ 
    1919 
    20 // no locales for this plugin 
     20if (file_exists(PATH_MODULES."last_seen_users_panel/locale/".$settings['locale'].".php")) { 
     21    include PATH_MODULES."last_seen_users_panel/locale/".$settings['locale'].".php"; 
     22} else { 
     23    include PATH_MODULES."last_seen_users_panel/locale/English.php"; 
     24} 
    2125 
    2226/*---------------------------------------------------+ 
    2327| Module identification                              | 
    2428+----------------------------------------------------*/ 
    25 $mod_title = "Last seen users side panel"; 
    26 $mod_description = "Shows the last members logged on, and the time there were last seen"; 
    27 $mod_version = "1.0.0"; 
    28 $mod_developer = "WanWizard"; 
     29$mod_title = $locale['lsup100'];                        // title or name of this module 
     30$mod_description = $locale['lsup101'];                  // short description of it's purpose 
     31$mod_version = "1.0.0";                                 // module version number 
     32$mod_folder = "last_seen_users_panel";                  // sub-folder of the /modules folder 
     33$mod_developer = "WanWizard";                           // author's name 
    2934$mod_email = "wanwizard@gmail.com"; 
    3035$mod_weburl = "http://exitecms.exite.eu/"; 
    31 $mod_type = "P"; 
     36$mod_type = "M"; 
    3237 
    3338/*---------------------------------------------------+ 
     
    3540+----------------------------------------------------*/ 
    3641 
    37 $mod_folder = "last_seen_users_panel"; 
    38 // no administration module for this plugin 
     42// no admin module 
    3943 
    4044/*---------------------------------------------------+ 
     
    5963+----------------------------------------------------*/ 
    6064 
    61 $mod_site_links = array(); 
     65$mod_site_links = array();                              // site_links definitions. Multiple can be defined 
    6266 
    6367/*---------------------------------------------------+ 
     
    6569+----------------------------------------------------*/ 
    6670 
    67 $mod_install_cmds = array(); 
     71$mod_install_cmds = array();                            // commands to execute when installing this module 
    6872 
    6973/*---------------------------------------------------+ 
     
    7175+----------------------------------------------------*/ 
    7276 
    73 $mod_uninstall_cmds = array(); 
     77$mod_uninstall_cmds = array();                          // commands to execute when uninstalling this module 
    7478 
    7579/*---------------------------------------------------+ 
  • modules/common/latest_articles_panel/php-files/modules/latest_articles_panel/latest_articles_panel.php

    r836 r865  
    1313| the included gpl.txt file or visit http://gnu.org  | 
    1414+----------------------------------------------------*/ 
    15 if (eregi("lastest_articles_panel.php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
     15if (eregi("lastest_articles_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    1616 
    1717// number of articles to show in the panel 
  • modules/common/latest_articles_panel/php-files/modules/latest_articles_panel/module_installer.php

    r840 r865  
    1212| the included gpl.txt file or visit http://gnu.org  | 
    1313+----------------------------------------------------*/ 
    14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     14if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1515 
    1616/*---------------------------------------------------+ 
  • modules/common/latest_news_panel/php-files/modules/latest_news_panel/latest_news_panel.php

    r836 r865  
    1313| the included gpl.txt file or visit http://gnu.org  | 
    1414+----------------------------------------------------*/ 
    15 if (eregi("lastest_news_panel.php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
     15if (eregi("lastest_news_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    1616 
    1717// number of articles to show in the panel 
  • modules/common/latest_news_panel/php-files/modules/latest_news_panel/module_installer.php

    r840 r865  
    1212| the included gpl.txt file or visit http://gnu.org  | 
    1313+----------------------------------------------------*/ 
    14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     14if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1515 
    1616/*---------------------------------------------------+ 
  • modules/common/login_panel/php-files/modules/login_panel/login_panel.php

    r836 r865  
    1313| the included gpl.txt file or visit http://gnu.org  | 
    1414+----------------------------------------------------*/ 
    15 if (eregi("login_panel.php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
     15if (eregi("login_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    1616 
    1717// array's to store the variables for this panel 
  • modules/common/login_panel/php-files/modules/login_panel/module_installer.php

    r840 r865  
    1212| the included gpl.txt file or visit http://gnu.org  | 
    1313+----------------------------------------------------*/ 
    14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     14if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1515 
    1616/*---------------------------------------------------+ 
  • modules/common/mail2forum/php-files/modules/mail2forum/locale/English.php

    r844 r865  
    11<?php 
    2 $locale['m2fver'] = "0.1.0"; 
     2$locale['m2fver'] = "0.1.1"; 
    33// Infusion titles & description 
    44$locale['m2f100'] = "Mail2Forum"; 
  • modules/common/mail2forum/php-files/modules/mail2forum/module_installer.php

    r840 r865  
    1010| the included gpl.txt file or visit http://gnu.org  | 
    1111+----------------------------------------------------*/ 
    12 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     12if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1313 
    1414/*---------------------------------------------------+ 
  • modules/common/newsletters/php-files/modules/newsletters/locale/English.php

    r798 r865  
    11<?php 
    2 $locale['nlver'] = "1.0.0"; 
    32// Infusion titles & description 
    43$locale['nl100'] = "Newsletters"; 
  • modules/common/newsletters/php-files/modules/newsletters/module_installer.php

    r840 r865  
    1212| the included gpl.txt file or visit http://gnu.org  | 
    1313+----------------------------------------------------*/ 
    14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     14if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1515 
    1616/*---------------------------------------------------+ 
  • modules/common/newsletters/php-files/modules/newsletters/newsletters.php

    r836 r865  
    315315    $content = str_replace("{:DATE:D:}", "<span style='font-family:monospace;color:red;font-size:12px'>".showdate('%d-%m-%Y')."</span>", $content); 
    316316    $content = str_replace("{:DATE:T:}", "<span style='font-family:monospace;color:red;font-size:12px'>".showdate('%T')."</span>", $content); 
    317     $variables['html'] = str_replace("{:DATE:}", "<span style='font-family:monospace;color:red;font-size:12px'>".showdate('shortdate')."</span>", $content); 
     317    $content = str_replace("{:DATE:}", "<span style='font-family:monospace;color:red;font-size:12px'>".showdate('shortdate')."</span>", $content); 
     318    // convert &, htmlentities is way to strict for this! 
     319    $variables['html'] = str_replace('&', '&amp;', str_replace('&amp;', '&', $content)); 
     320 
    318321    $template_panels[] = array('type' => 'body', 'title' => $subject, 'name' => 'modules.newsletters.preview', 'template' => '_custom_html.tpl'); 
    319322    $template_variables['modules.newsletters.preview'] = $variables; 
  • modules/common/newsletters/php-files/modules/newsletters/templates/modules.newsletters.send.tpl

    r798 r865  
    3030            <td align='left' class='tbl1' style='white-space:nowrap'> 
    3131                <select name='send_to_myself' class='textbox'> 
    32                     <option value='0' selected >{$locale.nl472}</option> 
     32                    <option value='0' selected="selected">{$locale.nl472}</option> 
    3333                    <option value='1'>{$locale.nl473}</option> 
    3434                </select> 
     
    6262            <td align='left' class='tbl1' style='white-space:nowrap'> 
    6363                <select name='send_to_all' class='textbox'> 
    64                     <option value='0' selected >{$locale.nl472}</option> 
     64                    <option value='0' selected="selected">{$locale.nl472}</option> 
    6565                    <option value='1'>{$locale.nl473}</option> 
    6666                </select> 
  • modules/common/online_users_panel/php-files/modules/online_users_panel/module_installer.php

    r840 r865  
    1212| the included gpl.txt file or visit http://gnu.org  | 
    1313+----------------------------------------------------*/ 
    14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     14if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1515 
    1616/*---------------------------------------------------+ 
  • modules/common/online_users_panel/php-files/modules/online_users_panel/online_users_panel.php

    r836 r865  
    1313| the included gpl.txt file or visit http://gnu.org  | 
    1414+----------------------------------------------------*/ 
    15 if (eregi("online_users_panel.php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
     15if (eregi("online_users_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    1616 
    1717// GeoIP include to map IP to country 
  • modules/common/shoutbox_panel/php-files/modules/shoutbox_panel/module_installer.php

    r840 r865  
    1010| the included gpl.txt file or visit http://gnu.org  | 
    1111+----------------------------------------------------*/ 
    12 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     12if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1313 
    1414/*---------------------------------------------------+ 
  • modules/common/shoutbox_panel/php-files/modules/shoutbox_panel/shoutbox_panel.php

    r836 r865  
    1313| the included gpl.txt file or visit http://gnu.org  | 
    1414+----------------------------------------------------*/ 
    15 if (eregi("shout_panel.php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
     15if (eregi("shout_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 
    1616 
    1717// array's to store the variables for this panel 
  • modules/common/wiki/php-files/modules/wiki/handlers/page/upload.php

    r862 r865  
    160160        if (isset($_GET['view']) && stripinput($_GET['view']) == $file) { 
    161161            print ("<tr> 
    162                         <td class='tbl' colspan='4' align='center'> 
     162                        <td class='tbl2' colspan='4' align='center'> 
    163163                            <img src='".IMAGES."wiki/$file' alt='$file' /> 
    164164                        </td> 
    165165                    </tr>\n"); 
    166             print ("<tr height='20'> 
     166            print ("<tr> 
    167167                        <td class='tbl2' colspan='4' align='center'> 
    168168                            <div style='vertical-align:middle;display:table-cell;padding:4px;'> 
  • modules/common/wiki/php-files/modules/wiki/module_installer.php

    r862 r865  
    1212| the included gpl.txt file or visit http://gnu.org  | 
    1313+----------------------------------------------------*/ 
    14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('ExiteCMS_INIT')) fallback(BASEDIR."index.php"); 
     14if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 
    1515 
    1616/*---------------------------------------------------+ 
Note: See TracChangeset for help on using the changeset viewer.