phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] fudforum/setup/base/src/usercp.inc.t, 1.1.1.1.2.1


From: nomail
Subject: [Phpgroupware-cvs] fudforum/setup/base/src/usercp.inc.t, 1.1.1.1.2.1
Date: Sat, 24 Jul 2004 05:11:55 +0200

Update of /fudforum/setup/base/src
Modified Files:
        Branch: Version-0_9_16-branch
          usercp.inc.t

date: 2004/07/24 03:11:55;  author: skwashd;  state: Exp;  lines: +16 -16

Log Message:
fix url/link problem is the sidebox menu - reported on irc
=====================================================================
Index: fudforum/setup/base/src/usercp.inc.t
diff -u fudforum/setup/base/src/usercp.inc.t:1.1.1.1 
fudforum/setup/base/src/usercp.inc.t:1.1.1.1.2.1
--- fudforum/setup/base/src/usercp.inc.t:1.1.1.1        Sat Nov  1 22:57:16 2003
+++ fudforum/setup/base/src/usercp.inc.t        Sat Jul 24 03:11:55 2004
@@ -12,45 +12,45 @@
 
 if ($GLOBALS['fudh_uopt'] & 524288 || $GLOBALS['fudh_uopt'] & 1048576) {
        if ($GLOBALS['fudh_uopt'] & 1048576) {
-               $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: 
admin_control_panel}', 'link' => 'adm/admglobal.php?'._rsid, 'no_lang' => true);
+               $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: 
admin_control_panel}', 'url' =>'adm/admglobal.php?'._rsid, 'no_lang' => true);
                if ($GLOBALS['FUD_OPT_1'] & 32 && ($avatar_count = 
q_singleval("SELECT count(*) FROM {SQL_TABLE_PREFIX}users WHERE 
users_opt>=16777216 AND (users_opt & 16777216) > 0"))) {
-                       $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: 
custom_avatar_queue}', 'link' => 'adm/admapprove_avatar.php?'._rsid, 'no_lang' 
=> true);
+                       $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: 
custom_avatar_queue}', 'url' =>'adm/admapprove_avatar.php?'._rsid, 'no_lang' => 
true);
                }
                if ($report_count = q_singleval('SELECT count(*) FROM 
{SQL_TABLE_PREFIX}msg_report')) {
-                       $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: 
reported_msgs}', 'link' => '{TEMPLATE: reported_msgs_lnk}', 'no_lang' => true);
+                       $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: 
reported_msgs}', 'url' =>'{TEMPLATE: reported_msgs_lnk}', 'no_lang' => true);
                }
                if ($thr_exchc = q_singleval('SELECT count(*) FROM 
{SQL_TABLE_PREFIX}thr_exchange')) {
-                       $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: 
thr_exch}', 'link' => '{TEMPLATE: thr_exch_lnk}', 'no_lang' => true);
+                       $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: 
thr_exch}', 'url' =>'{TEMPLATE: thr_exch_lnk}', 'no_lang' => true);
                }
                $q_limit = '';
        } else {
                if ($report_count = q_singleval('SELECT count(*) FROM 
{SQL_TABLE_PREFIX}msg_report mr INNER JOIN {SQL_TABLE_PREFIX}msg m ON 
mr.msg_id=m.id INNER JOIN {SQL_TABLE_PREFIX}thread t ON m.thread_id=t.id INNER 
JOIN {SQL_TABLE_PREFIX}mod mm ON t.forum_id=mm.forum_id AND 
mm.user_id='.(int)$GLOBALS['phpgw_info']['user']['account_id'])) {
-                       $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: 
reported_msgs}', 'link' => '{TEMPLATE: reported_msgs_lnk}', 'no_lang' => true);
+                       $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: 
reported_msgs}', 'url' =>'{TEMPLATE: reported_msgs_lnk}', 'no_lang' => true);
                }
                if ($thr_exchc = q_singleval('SELECT count(*) FROM 
{SQL_TABLE_PREFIX}thr_exchange te INNER JOIN {SQL_TABLE_PREFIX}mod m ON 
m.user_id='.(int)$GLOBALS['phpgw_info']['user']['account_id'].' AND 
te.frm=m.forum_id')) {
-                       $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: 
thr_exch}', 'link' => '{TEMPLATE: thr_exch_lnk}', 'no_lang' => true);
+                       $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: 
thr_exch}', 'url' =>'{TEMPLATE: thr_exch_lnk}', 'no_lang' => true);
                }
                $q_limit = ' INNER JOIN {SQL_TABLE_PREFIX}mod mm ON 
f.id=mm.forum_id AND 
mm.user_id='.(int)$GLOBALS['phpgw_info']['user']['account_id'];
        }
        if ($approve_count = q_singleval("SELECT count(*) FROM 
{SQL_TABLE_PREFIX}msg m INNER JOIN {SQL_TABLE_PREFIX}thread t ON 
m.thread_id=t.id INNER JOIN {SQL_TABLE_PREFIX}forum f ON t.forum_id=f.id 
".$q_limit." WHERE m.apr=0 AND (f.forum_opt>=2 AND (f.forum_opt & 2) > 0)")) {
-               $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: mod_que}', 
'link' => '{TEMPLATE: mod_que_lnk}', 'no_lang' => true);
+               $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: mod_que}', 
'url' =>'{TEMPLATE: mod_que_lnk}', 'no_lang' => true);
        }
 }
 if ($GLOBALS['fudh_uopt'] & 1048576 || $usr->group_leader_list) {
-       $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: group_mgr}', 
'link' => '{TEMPLATE: group_mgr_lnk}', 'no_lang' => true);
+       $GLOBALS['adm_file'][] = array('text' => '{TEMPLATE: group_mgr}', 'url' 
=>'{TEMPLATE: group_mgr_lnk}', 'no_lang' => true);
 }
 
-$GLOBALS['usr_file'][] = array('text' => '{TEMPLATE: profile}', 'link' => 
'{TEMPLATE: register_lnk}', 'no_lang' => true);
+$GLOBALS['usr_file'][] = array('text' => '{TEMPLATE: profile}', 'url' 
=>'{TEMPLATE: register_lnk}', 'no_lang' => true);
 if ($GLOBALS['FUD_OPT_1'] & 1024) {
        $c = q_singleval('SELECT count(*) FROM {SQL_TABLE_PREFIX}pmsg WHERE 
duser_id='.(int)$GLOBALS['phpgw_info']['user']['account_id'].' AND fldr=1 AND 
read_stamp=0');
-       $GLOBALS['usr_file'][] = array('text' => ($c ? '{TEMPLATE: 
private_msg_empty}' : '{TEMPLATE: private_msg_unread}'), 'link' => '{TEMPLATE: 
private_msg_lnk}', 'no_lang' => true);
+       $GLOBALS['usr_file'][] = array('text' => ($c ? '{TEMPLATE: 
private_msg_empty}' : '{TEMPLATE: private_msg_unread}'), 'url' =>'{TEMPLATE: 
private_msg_lnk}', 'no_lang' => true);
 }
 if ($GLOBALS['FUD_OPT_1'] & 4194304 || $GLOBALS['fudh_uopt'] & 1048576) {
-       $GLOBALS['usr_file'][] = array('text' => '{TEMPLATE: member_search}', 
'link' => '{TEMPLATE: member_search_lnk}', 'no_lang' => true);
+       $GLOBALS['usr_file'][] = array('text' => '{TEMPLATE: member_search}', 
'url' =>'{TEMPLATE: member_search_lnk}', 'no_lang' => true);
 }
 if ($GLOBALS['FUD_OPT_1'] & 16777216) {
-       $GLOBALS['usr_file'][] = array('text' => '{TEMPLATE: uc_search}', 
'link' => '{TEMPLATE: usercp_lnk}', 'no_lang' => true);
+       $GLOBALS['usr_file'][] = array('text' => '{TEMPLATE: uc_search}', 'url' 
=>'{TEMPLATE: usercp_lnk}', 'no_lang' => true);
 }
-$GLOBALS['usr_file'][] = array('text' => '{TEMPLATE: uc_faq}', 'link' => 
'{TEMPLATE: usercp_lnk2}', 'no_lang' => true);
-$GLOBALS['usr_file'][] = array('text' => '{TEMPLATE: uc_home}', 'link' => 
'{TEMPLATE: usercp_lnk3}', 'no_lang' => true);
-?>
\ No newline at end of file
+$GLOBALS['usr_file'][] = array('text' => '{TEMPLATE: uc_faq}', 'url' 
=>'{TEMPLATE: usercp_lnk2}', 'no_lang' => true);
+$GLOBALS['usr_file'][] = array('text' => '{TEMPLATE: uc_home}', 'url' 
=>'{TEMPLATE: usercp_lnk3}', 'no_lang' => true);
+?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]