Changeset 839 in ExiteCMS


Ignore:
Timestamp:
09/25/07 22:24:33 (4 years ago)
Author:
hverton
Message:

minor bugfixes

Location:
modules/common
Files:
8 edited

Legend:

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

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

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

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

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

    r775 r839  
    6363            {/if} 
    6464            <br /><br /> 
    65             <a href='{$smarty.const.FUSION_SELF}?markasread={$userdata.user_id}'><img src='{$smarty.const.THEME}forum/markread.gif' /></a> 
     65            {buttonlink name=$locale.091 link=$smarty.const.FUSION_SELF|cat:"?markasread="|cat:$userdata.user_id} 
    6666        </td> 
    6767    </tr> 
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.new_posts_detail.tpl

    r775 r839  
    5757            {/if} 
    5858            <br /><br /> 
    59             <a href='{$smarty.const.FUSION_SELF}?markasread={$userdata.user_id}'><img src='{$smarty.const.THEME}forum/markread.gif' /></a> 
     59            {buttonlink name=$locale.091 link=$smarty.const.FUSION_SELF|cat:"?markasread="|cat:$userdata.user_id} 
    6060        </td> 
    6161    </tr> 
  • modules/common/forum_threads_panel/php-files/modules/forum_threads_panel/module_installer.php

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

    r836 r839  
    226226    $gallery->session->username = $GLOBALS['userdata']['user_name']; 
    227227    $gallery->user = $gallery->userDB->getUserByUsername($gallery->session->username); 
    228 } elseif ($gallery->session->username) { 
     228} elseif (isset($gallery->session->username) && $gallery->session->username) { 
    229229    $gallery->user = $gallery->userDB->getUserByUsername($gallery->session->username); 
    230230} 
Note: See TracChangeset for help on using the changeset viewer.