You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
Update of /cvsroot/mxbb/mx_smartor/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27698/admin Removed Files: album_admin_body_ext.tpl album_admin_otf.tpl album_auth_body.tpl album_cat_body.tpl album_cat_body_debug.tpl album_cat_delete_body.tpl album_cat_new_body.tpl album_cat_select_body.tpl album_clown_sp_body.tpl album_config_body.tpl album_config_clearcache_body.tpl album_config_personal_body.tpl album_personal_body.tpl album_personal_cat_body.tpl album_personal_cat_delete_body.tpl album_personal_cat_new_body.tpl index.htm Log Message: upgrade --- album_personal_cat_new_body.tpl DELETED --- --- album_cat_body_debug.tpl DELETED --- --- album_personal_cat_body.tpl DELETED --- --- album_config_clearcache_body.tpl DELETED --- --- album_cat_delete_body.tpl DELETED --- --- album_auth_body.tpl DELETED --- --- album_config_personal_body.tpl DELETED --- --- album_admin_body_ext.tpl DELETED --- --- album_admin_otf.tpl DELETED --- --- album_cat_new_body.tpl DELETED --- --- index.htm DELETED --- --- album_personal_cat_delete_body.tpl DELETED --- --- album_cat_select_body.tpl DELETED --- --- album_config_body.tpl DELETED --- --- album_cat_body.tpl DELETED --- --- album_personal_body.tpl DELETED --- --- album_clown_sp_body.tpl DELETED --- |
Update of /cvsroot/mxbb/mx_smartor/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27698 Removed Files: album_box.tpl album_cat_body.tpl album_comment_body.tpl album_edit_body.tpl album_hon.tpl album_index_body.tpl album_jupload_body.tpl album_lists.tpl album_memberlist_body.tpl album_modcp_body.tpl album_move_body.tpl album_nuffimage_box.tpl album_nuffload_pbar_body.tpl album_otf_body.tpl album_page_body.tpl album_personal_body.tpl album_personal_index_body.tpl album_pic_nuffed_body.tpl album_posting_smilies.tpl album_rate_body.tpl album_search_body.tpl album_showpage_body.tpl album_slideshow_body.tpl album_upload_body.tpl index.htm subSilver.cfg subSilver.css welcome_body.tpl Log Message: upgrade --- album_hon.tpl DELETED --- --- album_box.tpl DELETED --- --- welcome_body.tpl DELETED --- --- album_search_body.tpl DELETED --- --- album_pic_nuffed_body.tpl DELETED --- --- index.htm DELETED --- --- album_cat_body.tpl DELETED --- --- subSilver.cfg DELETED --- --- album_posting_smilies.tpl DELETED --- --- album_modcp_body.tpl DELETED --- --- album_slideshow_body.tpl DELETED --- --- album_edit_body.tpl DELETED --- --- album_lists.tpl DELETED --- --- album_jupload_body.tpl DELETED --- --- album_move_body.tpl DELETED --- --- album_personal_index_body.tpl DELETED --- --- album_index_body.tpl DELETED --- --- album_nuffload_pbar_body.tpl DELETED --- --- album_nuffimage_box.tpl DELETED --- --- album_memberlist_body.tpl DELETED --- --- album_page_body.tpl DELETED --- --- album_comment_body.tpl DELETED --- --- album_personal_body.tpl DELETED --- --- subSilver.css DELETED --- --- album_showpage_body.tpl DELETED --- --- album_rate_body.tpl DELETED --- --- album_otf_body.tpl DELETED --- --- album_upload_body.tpl DELETED --- |
|
From: OryNider <ory...@us...> - 2008-02-08 10:48:45
|
Update of /cvsroot/mxbb/mx_smartor/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27679 Modified Files: lang_admin.php Log Message: upgrade |
Update of /cvsroot/mxbb/mx_smartor/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27166/includes Modified Files: album_allpics.php album_cat.php album_cat_sort.php album_comment.php album_comment_delete.php album_comment_edit.php album_delete.php album_edit.php album_hotornot.php album_jupload.php album_memberlist.php album_modcp.php album_nuffload.php album_otf.php album_otf_thumbnail.php album_page.php album_personal.php album_personal_cat_admin.php album_personal_index.php album_personal_old.php album_personal_random.php album_pic.php album_picm.php album_rate.php album_rdf.php album_rss.php album_search.php album_showpage.php album_thumbnail.php album_upload.php Log Message: upgrade Index: album_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_personal.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** album_personal.php 9 Aug 2007 13:16:57 -0000 1.8 --- album_personal.php 8 Feb 2008 10:47:59 -0000 1.9 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 55,59 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_personal")); } --- 55,59 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_personal")); } *************** *** 92,96 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_personal&user_id=$user_id")); } else --- 92,96 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_personal&user_id=$user_id")); } else *************** *** 289,294 **** $template->assign_block_vars('picrow.piccol', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=". $picrow[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=". $picrow[$j]['pic_id'])), ! 'THUMBNAIL' => append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=". $picrow[$j]['pic_id'], TRUE)), 'DESC' => $picrow[$j]['pic_desc'] ) --- 289,294 ---- $template->assign_block_vars('picrow.piccol', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=". $picrow[$j]['pic_id'])) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=". $picrow[$j]['pic_id'])), ! 'THUMBNAIL' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=". $picrow[$j]['pic_id'], TRUE)), 'DESC' => $picrow[$j]['pic_desc'] ) *************** *** 307,315 **** 'COMMENTS' => ($album_config['comment'] == 1) ? ( $lang['Comments'] . ': ' . $picrow[$j]['comments'] . '<br />') : '', ! 'EDIT' => ( ($userdata['user_level'] == ADMIN) or ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_edit&pic_id=". $picrow[$j]['pic_id'])) . '">' . $lang['Edit_pic'] . '</a>' : '', ! 'DELETE' => ( ($userdata['user_level'] == ADMIN) or ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_delete&pic_id=". $picrow[$j]['pic_id'])) . '">' . $lang['Delete_pic'] . '</a>' : '', ! 'LOCK' => ($userdata['user_level'] == ADMIN) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' --- 307,315 ---- 'COMMENTS' => ($album_config['comment'] == 1) ? ( $lang['Comments'] . ': ' . $picrow[$j]['comments'] . '<br />') : '', ! 'EDIT' => ( ($userdata['user_level'] == ADMIN) or ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_edit&pic_id=". $picrow[$j]['pic_id'])) . '">' . $lang['Edit_pic'] . '</a>' : '', ! 'DELETE' => ( ($userdata['user_level'] == ADMIN) or ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_delete&pic_id=". $picrow[$j]['pic_id'])) . '">' . $lang['Delete_pic'] . '</a>' : '', ! 'LOCK' => ($userdata['user_level'] == ADMIN) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' *************** *** 325,329 **** $template->assign_vars(array( ! 'PAGINATION' => generate_pagination(append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id&sort_method=$sort_method&sort_order=$sort_order")), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) ) --- 325,329 ---- $template->assign_vars(array( ! 'PAGINATION' => mx_generate_pagination(mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id&sort_method=$sort_method&sort_order=$sort_order")), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) ) *************** *** 386,390 **** $template->assign_vars(array( ! 'U_UPLOAD_PIC' => append_sid(this_smartor_mxurl("smartor_mode=album_upload&cat_id=". PERSONAL_GALLERY)), 'UPLOAD_PIC_IMG' => $images['upload_pic'], 'L_UPLOAD_PIC' => $lang['Upload_Pic'], --- 386,390 ---- $template->assign_vars(array( ! 'U_UPLOAD_PIC' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_upload&cat_id=". PERSONAL_GALLERY)), 'UPLOAD_PIC_IMG' => $images['upload_pic'], 'L_UPLOAD_PIC' => $lang['Upload_Pic'], *************** *** 400,404 **** 'L_POSTED' => $lang['Posted'], ! 'U_PERSONAL_GALLERY' => append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], 'L_PERSONAL_GALLERY_EXPLAIN' => $lang['Personal_Gallery_Explain'], --- 400,404 ---- 'L_POSTED' => $lang['Posted'], ! 'U_PERSONAL_GALLERY' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], 'L_PERSONAL_GALLERY_EXPLAIN' => $lang['Personal_Gallery_Explain'], Index: album_edit.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_edit.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** album_edit.php 17 Jul 2007 05:38:27 -0000 1.8 --- album_edit.php 8 Feb 2008 10:47:59 -0000 1.9 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 96,100 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_edit&pic_id=$pic_id")); } else --- 96,100 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_edit&pic_id=$pic_id")); } else *************** *** 141,145 **** 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), 'L_PIC_TITLE' => $lang['Pic_Title'], --- 141,145 ---- 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), 'L_PIC_TITLE' => $lang['Pic_Title'], *************** *** 158,162 **** 'L_SUBMIT' => $lang['Submit'], ! 'S_ALBUM_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_edit&pic_id=$pic_id")), ) ); --- 158,162 ---- 'L_SUBMIT' => $lang['Submit'], ! 'S_ALBUM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_edit&pic_id=$pic_id")), ) ); *************** *** 221,239 **** { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>"); } else { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . "\">", "</a>"); } ! $message .= "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 221,239 ---- { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>"); } else { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . "\">", "</a>"); } ! $message .= "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); Index: album_comment_edit.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_comment_edit.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album_comment_edit.php 7 Jun 2007 20:13:28 -0000 1.7 --- album_comment_edit.php 8 Feb 2008 10:47:59 -0000 1.8 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 164,168 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_comment_edit&comment_id=$comment_id")); } else --- 164,168 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_comment_edit&comment_id=$comment_id")); } else *************** *** 202,206 **** else { ! $poster = '<a href="'. append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $thispic['user_id']) .'">'. $thispic['username'] .'</a>'; } --- 202,206 ---- else { ! $poster = '<a href="'. mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $thispic['user_id']) .'">'. $thispic['username'] .'</a>'; } *************** *** 254,261 **** $template->assign_vars(array( 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_THUMBNAIL' => append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=$pic_id")), ! 'U_PIC' => append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=$pic_id", TRUE)), 'PIC_TITLE' => $thispic['pic_title'], --- 254,261 ---- $template->assign_vars(array( 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_THUMBNAIL' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=$pic_id")), ! 'U_PIC' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=$pic_id", TRUE)), 'PIC_TITLE' => $thispic['pic_title'], *************** *** 284,288 **** 'L_SUBMIT' => $lang['Submit'], ! 'S_ALBUM_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_comment_edit&comment_id=$comment_id")) ) ); --- 284,288 ---- 'L_SUBMIT' => $lang['Submit'], ! 'S_ALBUM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_comment_edit&comment_id=$comment_id")) ) ); *************** *** 340,347 **** $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid(this_smartor_mxurl("smartor_mode=album_comment&comment_id=$comment_id")) . '#'.$comment_id.'">') ); ! $message = $lang['Stored'] . "<br /><br />" . sprintf($lang['Click_view_message'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_comment&comment_id=$comment_id")) . "#$comment_id\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 340,347 ---- $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_comment&comment_id=$comment_id")) . '#'.$comment_id.'">') ); ! $message = $lang['Stored'] . "<br /><br />" . sprintf($lang['Click_view_message'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_comment&comment_id=$comment_id")) . "#$comment_id\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); Index: album_modcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_modcp.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album_modcp.php 7 Jun 2007 20:13:29 -0000 1.7 --- album_modcp.php 8 Feb 2008 10:47:59 -0000 1.8 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 166,170 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_modcp&cat_id=$cat_id")); } else --- 166,170 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_modcp&cat_id=$cat_id")); } else *************** *** 344,353 **** else { ! $pic_poster = '<a href="'. append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $picrow[$i]['user_id']) .'">'. $picrow[$i]['username'] .'</a>'; } $template->assign_block_vars('picrow', array( 'PIC_ID' => $picrow[$i]['pic_id'], ! 'PIC_TITLE' => '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=". $picrow[$i]['pic_id'])) .'" target="_blank">'. $picrow[$i]['pic_title'] .'</a>', 'POSTER' => $pic_poster, 'TIME' => create_date($board_config['default_dateformat'], $picrow[$i]['pic_time'], $board_config['board_timezone']), --- 344,353 ---- else { ! $pic_poster = '<a href="'. mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $picrow[$i]['user_id']) .'">'. $picrow[$i]['username'] .'</a>'; } $template->assign_block_vars('picrow', array( 'PIC_ID' => $picrow[$i]['pic_id'], ! 'PIC_TITLE' => '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=". $picrow[$i]['pic_id'])) .'" target="_blank">'. $picrow[$i]['pic_title'] .'</a>', 'POSTER' => $pic_poster, 'TIME' => create_date($board_config['default_dateformat'], $picrow[$i]['pic_time'], $board_config['board_timezone']), *************** *** 361,365 **** $template->assign_vars(array( ! 'PAGINATION' => generate_pagination(append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id&sort_method=$sort_method&sort_order=$sort_order")), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) ) --- 361,365 ---- $template->assign_vars(array( ! 'PAGINATION' => mx_generate_pagination(mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id&sort_method=$sort_method&sort_order=$sort_order")), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) ) *************** *** 405,409 **** $template->assign_vars(array( ! 'U_VIEW_CAT' => append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")), 'CAT_TITLE' => $thiscat['cat_title'], --- 405,409 ---- $template->assign_vars(array( ! 'U_VIEW_CAT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")), 'CAT_TITLE' => $thiscat['cat_title'], *************** *** 417,421 **** 'L_POSTED' => $lang['Posted'], ! 'S_ALBUM_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")), 'L_SELECT_SORT_METHOD' => $lang['Select_sort_method'], --- 417,421 ---- 'L_POSTED' => $lang['Posted'], ! 'S_ALBUM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")), 'L_SELECT_SORT_METHOD' => $lang['Select_sort_method'], *************** *** 573,577 **** $template->assign_vars(array( ! 'S_ALBUM_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=move&cat_id=$cat_id")), 'L_MOVE' => $lang['Move'], 'L_MOVE_TO_CATEGORY' => $lang['Move_to_Category'], --- 573,577 ---- $template->assign_vars(array( ! 'S_ALBUM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=move&cat_id=$cat_id")), 'L_MOVE' => $lang['Move'], 'L_MOVE_TO_CATEGORY' => $lang['Move_to_Category'], *************** *** 635,639 **** } ! $message = $lang['Pics_moved_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 635,639 ---- } ! $message = $lang['Pics_moved_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 699,710 **** if ($cat_id != PERSONAL_GALLERY) { ! $message .= sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />"; } else { ! $message .= sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid("album_personal.$phpEx") . "\">", "</a>"); } ! $message .= '<br /><br />' . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 699,710 ---- if ($cat_id != PERSONAL_GALLERY) { ! $message .= sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />"; } else { ! $message .= sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . mx_append_sid("album_personal.$phpEx") . "\">", "</a>"); } ! $message .= '<br /><br />' . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 769,780 **** if ($cat_id != PERSONAL_GALLERY) { ! $message .= sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />"; } else { ! $message .= sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_personal.$phpEx")) . "\">", "</a>"); } ! $message .= '<br /><br />' . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 769,780 ---- if ($cat_id != PERSONAL_GALLERY) { ! $message .= sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />"; } else { ! $message .= sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal.$phpEx")) . "\">", "</a>"); } ! $message .= '<br /><br />' . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 835,839 **** } ! $message = $lang['Pics_approved_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 835,839 ---- } ! $message = $lang['Pics_approved_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 894,898 **** } ! $message = $lang['Pics_unapproved_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 894,898 ---- } ! $message = $lang['Pics_unapproved_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 961,965 **** 'L_NO' => $lang['No'], 'L_YES' => $lang['Yes'], ! 'S_CONFIRM_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=delete&cat_id=$cat_id")), ) ); --- 961,965 ---- 'L_NO' => $lang['No'], 'L_YES' => $lang['Yes'], ! 'S_CONFIRM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=delete&cat_id=$cat_id")), ) ); *************** *** 1059,1063 **** } ! $message = $lang['Pics_deleted_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 1059,1063 ---- } ! $message = $lang['Pics_deleted_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); Index: album_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_search.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** album_search.php 9 Aug 2007 13:17:00 -0000 1.9 --- album_search.php 8 Feb 2008 10:47:59 -0000 1.10 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 180,184 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $row['pic_id'])) . '\',\'' . addslashes($row['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } --- 180,184 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $row['pic_id'])) . '\',\'' . addslashes($row['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } *************** *** 188,202 **** $template->assign_block_vars('switch_search_results.search_results', array( 'L_USERNAME' => $row['pic_username'], ! 'U_PROFILE' => append_sid($phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&u=' . $row['pic_user_id']), 'L_CAT' => ($row['cat_user_id'] != ALBUM_PUBLIC_GALLERY ) ? $lang['Users_Personal_Galleries'] : $row['cat_title'], ! 'U_CAT' => ($row['pic_cat_id'] == 0 ) ? append_sid(this_smartor_mxurl('smartor_mode=album_personal&user_id=' . $row['pic_user_id'])) : append_sid(this_smartor_mxurl('smartor_mode=album_cat&cat_id=' . $row['cat_id'])), ! //'U_CAT' => ($row['cat_id'] == $cat_id) ? append_sid(this_smartor_mxurl('smartor_mode=album_cat' . '&cat_id=' . $row['cat_id'])) : append_sid(this_smartor_mxurl()), 'L_PIC' => $row['pic_title'], ! 'U_PIC' => append_sid(this_smartor_mxurl('smartor_mode=album_showpage&pic_id=' . $row['pic_id'])), ! //'U_PIC' => ($album_config['fullpic_popup'] == 1) ? append_sid(this_smartor_mxurl('smartor_mode=album_pic' . '&pic_id=' . $row['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '&pic_id=' . $row['pic_id'])), ! 'THUMBNAIL' => append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=". $row['pic_id'], TRUE)), ! //'THUMBNAIL' => append_sid(album_append_uid($module_root_path. 'includes/album_thumbnail.' . $phpEx . '?pic_id=' . $row['pic_id'])), 'PIC_PREVIEW' => $pic_preview, 'DESC' => $row['pic_desc'], --- 188,202 ---- $template->assign_block_vars('switch_search_results.search_results', array( 'L_USERNAME' => $row['pic_username'], ! 'U_PROFILE' => mx_append_sid($phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&u=' . $row['pic_user_id']), 'L_CAT' => ($row['cat_user_id'] != ALBUM_PUBLIC_GALLERY ) ? $lang['Users_Personal_Galleries'] : $row['cat_title'], ! 'U_CAT' => ($row['pic_cat_id'] == 0 ) ? mx_append_sid(this_smartor_mxurl('smartor_mode=album_personal&user_id=' . $row['pic_user_id'])) : mx_append_sid(this_smartor_mxurl('smartor_mode=album_cat&cat_id=' . $row['cat_id'])), ! //'U_CAT' => ($row['cat_id'] == $cat_id) ? mx_append_sid(this_smartor_mxurl('smartor_mode=album_cat' . '&cat_id=' . $row['cat_id'])) : mx_append_sid(this_smartor_mxurl()), 'L_PIC' => $row['pic_title'], ! 'U_PIC' => mx_append_sid(this_smartor_mxurl('smartor_mode=album_showpage&pic_id=' . $row['pic_id'])), ! //'U_PIC' => ($album_config['fullpic_popup'] == 1) ? mx_append_sid(this_smartor_mxurl('smartor_mode=album_pic' . '&pic_id=' . $row['pic_id'])) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '&pic_id=' . $row['pic_id'])), ! 'THUMBNAIL' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=". $row['pic_id'], TRUE)), ! //'THUMBNAIL' => mx_append_sid(album_append_uid($module_root_path. 'includes/album_thumbnail.' . $phpEx . '?pic_id=' . $row['pic_id'])), 'PIC_PREVIEW' => $pic_preview, 'DESC' => $row['pic_desc'], *************** *** 238,242 **** $template->assign_vars(array( ! 'PAGINATION' => generate_pagination(append_sid(this_smartor_mxurl("smartor_mode=album_search&mode=" . $m . "&search=" . $s)), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], (floor($start / $pics_per_page) + 1), ceil($total_pics / $pics_per_page)) ) --- 238,242 ---- $template->assign_vars(array( ! 'PAGINATION' => mx_generate_pagination(mx_append_sid(this_smartor_mxurl("smartor_mode=album_search&mode=" . $m . "&search=" . $s)), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], (floor($start / $pics_per_page) + 1), ceil($total_pics / $pics_per_page)) ) Index: album_delete.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_delete.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album_delete.php 7 Jun 2007 20:13:29 -0000 1.7 --- album_delete.php 8 Feb 2008 10:47:59 -0000 1.8 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 96,100 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_delete&pic_id=$pic_id")); } else --- 96,100 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_delete&pic_id=$pic_id")); } else *************** *** 129,133 **** if( isset($HTTP_POST_VARS['cancel']) ) { ! redirect(append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id"))); exit; } --- 129,133 ---- if( isset($HTTP_POST_VARS['cancel']) ) { ! redirect(mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id"))); exit; } *************** *** 155,159 **** 'L_YES' => $lang['Yes'], ! 'S_CONFIRM_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_delete&pic_id=$pic_id")), ) ); --- 155,159 ---- 'L_YES' => $lang['Yes'], ! 'S_CONFIRM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_delete&pic_id=$pic_id")), ) ); *************** *** 229,247 **** { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>"); } else { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . "\">", "</a>"); } ! $message .= "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 229,247 ---- { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>"); } else { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . "\">", "</a>"); } ! $message .= "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); Index: album_page.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_page.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album_page.php 7 Jun 2007 20:13:29 -0000 1.7 --- album_page.php 8 Feb 2008 10:47:59 -0000 1.8 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 163,167 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_page&pic_id=$pic_id")); } else --- 163,167 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_page&pic_id=$pic_id")); } else *************** *** 215,219 **** else { ! $poster = '<a href="'. append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $thispic['user_id']) .'">'. $thispic['username'] .'</a>'; } --- 215,219 ---- else { ! $poster = '<a href="'. mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $thispic['user_id']) .'">'. $thispic['username'] .'</a>'; } *************** *** 221,227 **** $template->assign_vars(array( 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_PIC' => append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=$pic_id")), 'PIC_TITLE' => $thispic['pic_title'], --- 221,227 ---- $template->assign_vars(array( 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_PIC' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=$pic_id")), 'PIC_TITLE' => $thispic['pic_title'], *************** *** 238,246 **** 'PIC_COMMENTS' => $thispic['comments'], ! 'U_RATE' => append_sid(this_smartor_mxurl("smartor_mode=album_rate&pic_id=$pic_id")), ! 'U_COMMENT' => append_sid(this_smartor_mxurl("smartor_mode=album_comment&pic_id=$pic_id")), ! 'U_NEXT' => append_sid(this_smartor_mxurl("smartor_mode=album_page&pic_id=$pic_id&mode=next")), ! 'U_PREVIOUS' => append_sid(this_smartor_mxurl("smartor_mode=album_page&pic_id=$pic_id&mode=previous")), 'L_NEXT' => $lang['Next'], --- 238,246 ---- 'PIC_COMMENTS' => $thispic['comments'], ! 'U_RATE' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_rate&pic_id=$pic_id")), ! 'U_COMMENT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_comment&pic_id=$pic_id")), ! 'U_NEXT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_page&pic_id=$pic_id&mode=next")), ! 'U_PREVIOUS' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_page&pic_id=$pic_id&mode=previous")), 'L_NEXT' => $lang['Next'], Index: album_pic.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_pic.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album_pic.php 5 Feb 2008 03:51:29 -0000 1.7 --- album_pic.php 8 Feb 2008 10:47:59 -0000 1.8 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: album_rss.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_rss.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** album_rss.php 9 Aug 2007 13:16:59 -0000 1.2 --- album_rss.php 8 Feb 2008 10:47:59 -0000 1.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2007 [ory...@rd..., OryNider] Mx-Publisher Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: album_thumbnail.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_thumbnail.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** album_thumbnail.php 5 Feb 2008 03:51:29 -0000 1.8 --- album_thumbnail.php 8 Feb 2008 10:47:59 -0000 1.9 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: album_hotornot.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_hotornot.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album_hotornot.php 7 Jun 2007 20:13:29 -0000 1.7 --- album_hotornot.php 8 Feb 2008 10:47:59 -0000 1.8 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 108,112 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_hotornot")); } else --- 108,112 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_hotornot")); } else *************** *** 161,165 **** else { ! $poster = '<a href="'. append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $thispic['user_id']) .'">'. $thispic['username'] .'</a>'; } --- 161,165 ---- else { ! $poster = '<a href="'. mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $thispic['user_id']) .'">'. $thispic['username'] .'</a>'; } *************** *** 185,191 **** $template->assign_vars(array( 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_PIC' => append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=$pic_id")), 'PIC_TITLE' => $thispic['pic_title'], --- 185,191 ---- $template->assign_vars(array( 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_PIC' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=$pic_id")), 'PIC_TITLE' => $thispic['pic_title'], *************** *** 202,206 **** 'PIC_COMMENTS' => $thispic['comments'], ! 'U_COMMENT' => append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=$pic_id")), 'L_RATING' => $lang['Rating'], --- 202,206 ---- 'PIC_COMMENTS' => $thispic['comments'], ! 'U_COMMENT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=$pic_id")), 'L_RATING' => $lang['Rating'], Index: album_cat_sort.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_cat_sort.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** album_cat_sort.php 9 Aug 2007 13:16:55 -0000 1.10 --- album_cat_sort.php 8 Feb 2008 10:47:59 -0000 1.11 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 56,60 **** if ($cat_id == PERSONAL_GALLERY) { ! redirect(append_sid("album_personal.$phpEx")); } --- 56,60 ---- if ($cat_id == PERSONAL_GALLERY) { ! redirect(mx_append_sid("album_personal.$phpEx")); } *************** *** 159,163 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid("login.$phpEx?redirect=album_cat.$phpEx&cat_id=$cat_id")); } else --- 159,163 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid("login.$phpEx?redirect=album_cat.$phpEx&cat_id=$cat_id")); } else *************** *** 195,199 **** if( ($userdata['user_level'] == ADMIN) or ($auth_data['moderator'] == 1) ) { ! $auth_list .= sprintf($lang['Album_moderate_can'], '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) .'">', '</a>'); } --- 195,199 ---- if( ($userdata['user_level'] == ADMIN) or ($auth_data['moderator'] == 1) ) { ! $auth_list .= sprintf($lang['Album_moderate_can'], '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) .'">', '</a>'); } *************** *** 233,237 **** for ($j = 0; $j < count($grouprows); $j++) { ! $group_link = '<a href="'. append_sid("groupcp.$phpEx?". POST_GROUPS_URL .'='. $grouprows[$j]['group_id']) .'">'. $grouprows[$j]['group_name'] .'</a>'; $moderators_list .= ($moderators_list == '') ? $group_link : ', ' . $group_link; --- 233,237 ---- for ($j = 0; $j < count($grouprows); $j++) { ! $group_link = '<a href="'. mx_append_sid("groupcp.$phpEx?". POST_GROUPS_URL .'='. $grouprows[$j]['group_id']) .'">'. $grouprows[$j]['group_name'] .'</a>'; $moderators_list .= ($moderators_list == '') ? $group_link : ', ' . $group_link; *************** *** 427,431 **** $approval_mode = ($picrow[$j]['pic_approval'] == 0) ? 'approval' : 'unapproval'; ! $approval_link = '<a href="'. append_sid("album_modcp.$phpEx?mode=$approval_mode&pic_id=". $picrow[$j]['pic_id']) .'">'; $approval_link .= ($picrow[$j]['pic_approval'] == 0) ? '<b>'. $lang['Approve'] .'</b>' : $lang['Unapprove']; --- 427,431 ---- $approval_mode = ($picrow[$j]['pic_approval'] == 0) ? 'approval' : 'unapproval'; ! $approval_link = '<a href="'. mx_append_sid("album_modcp.$phpEx?mode=$approval_mode&pic_id=". $picrow[$j]['pic_id']) .'">'; $approval_link .= ($picrow[$j]['pic_approval'] == 0) ? '<b>'. $lang['Approve'] .'</b>' : $lang['Unapprove']; *************** *** 436,441 **** $template->assign_block_vars('picrow.piccol', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid("album_pic.$phpEx?pic_id=". $picrow[$j]['pic_id']) : append_sid("album_page.$phpEx?pic_id=". $picrow[$j]['pic_id']), ! 'THUMBNAIL' => append_sid("album_thumbnail.$phpEx?pic_id=". $picrow[$j]['pic_id']), 'DESC' => $picrow[$j]['pic_desc'], 'APPROVAL' => $approval_link, --- 436,441 ---- $template->assign_block_vars('picrow.piccol', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid("album_pic.$phpEx?pic_id=". $picrow[$j]['pic_id']) : mx_append_sid("album_page.$phpEx?pic_id=". $picrow[$j]['pic_id']), ! 'THUMBNAIL' => mx_append_sid("album_thumbnail.$phpEx?pic_id=". $picrow[$j]['pic_id']), 'DESC' => $picrow[$j]['pic_desc'], 'APPROVAL' => $approval_link, *************** *** 449,453 **** else { ! $pic_poster = '<a href="'. append_sid("profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $picrow[$j]['user_id']) .'">'. $picrow[$j]['username'] .'</a>'; } --- 449,453 ---- else { ! $pic_poster = '<a href="'. mx_append_sid("profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $picrow[$j]['user_id']) .'">'. $picrow[$j]['username'] .'</a>'; } *************** *** 459,473 **** 'VIEW' => $picrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. append_sid("album_rate.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Rating'] . '</a> : ' . $picrow[$j]['rating'] . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. append_sid("album_comment.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Comments'] . '</a> : ' . $picrow[$j]['comments'] . '<br />') : '', ! 'EDIT' => ( ( $auth_data['edit'] and ($picrow[$j]['pic_user_id'] == $userdata['user_id']) ) or ($auth_data['moderator'] and ($thiscat['cat_edit_level'] != ALBUM_ADMIN) ) or ($userdata['user_level'] == ADMIN) ) ? '<a href="'. append_sid("album_edit.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Edit_pic'] . '</a>' : '', ! 'DELETE' => ( ( $auth_data['delete'] and ($picrow[$j]['pic_user_id'] == $userdata['user_id']) ) or ($auth_data['moderator'] and ($thiscat['cat_delete_level'] != ALBUM_ADMIN) ) or ($userdata['user_level'] == ADMIN) ) ? '<a href="'. append_sid("album_delete.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Delete_pic'] . '</a>' : '', ! 'MOVE' => ($auth_data['moderator']) ? '<a href="'. append_sid("album_modcp.$phpEx?mode=move&pic_id=". $picrow[$j]['pic_id']) .'">'. $lang['Move'] .'</a>' : '', ! 'LOCK' => ($auth_data['moderator']) ? '<a href="'. append_sid("album_modcp.$phpEx?mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id']) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' --- 459,473 ---- 'VIEW' => $picrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. mx_append_sid("album_rate.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Rating'] . '</a> : ' . $picrow[$j]['rating'] . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. mx_append_sid("album_comment.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Comments'] . '</a> : ' . $picrow[$j]['comments'] . '<br />') : '', ! 'EDIT' => ( ( $auth_data['edit'] and ($picrow[$j]['pic_user_id'] == $userdata['user_id']) ) or ($auth_data['moderator'] and ($thiscat['cat_edit_level'] != ALBUM_ADMIN) ) or ($userdata['user_level'] == ADMIN) ) ? '<a href="'. mx_append_sid("album_edit.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Edit_pic'] . '</a>' : '', ! 'DELETE' => ( ( $auth_data['delete'] and ($picrow[$j]['pic_user_id'] == $userdata['user_id']) ) or ($auth_data['moderator'] and ($thiscat['cat_delete_level'] != ALBUM_ADMIN) ) or ($userdata['user_level'] == ADMIN) ) ? '<a href="'. mx_append_sid("album_delete.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Delete_pic'] . '</a>' : '', ! 'MOVE' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid("album_modcp.$phpEx?mode=move&pic_id=". $picrow[$j]['pic_id']) .'">'. $lang['Move'] .'</a>' : '', ! 'LOCK' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid("album_modcp.$phpEx?mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id']) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' *************** *** 481,485 **** $template->assign_vars(array( ! 'PAGINATION' => generate_pagination(append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id&sort_method=$sort_method&sort_order=$sort_order&initial=" . ((isset($HTTP_GET_VARS['initial']) ) ? ($HTTP_GET_VARS['initial']) : 'all'))), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) ) --- 481,485 ---- $template->assign_vars(array( ! 'PAGINATION' => mx_generate_pagination(mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id&sort_method=$sort_method&sort_order=$sort_order&initial=" . ((isset($HTTP_GET_VARS['initial']) ) ? ($HTTP_GET_VARS['initial']) : 'all'))), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) ) *************** *** 498,502 **** // Build Jumpbox - based on $catrows which was created at the top of this file // ------------------------------------ ! $album_jumpbox = '<form name="jumpbox" action="'. append_sid("album_cat.$phpEx") .'" method="get">'; $album_jumpbox .= $lang['Jump_to'] . ': <select name="cat_id" onChange="forms[\'jumpbox\'].submit()">'; for ($i = 0; $i < count($catrows); $i++) --- 498,502 ---- // Build Jumpbox - based on $catrows which was created at the top of this file // ------------------------------------ ! $album_jumpbox = '<form name="jumpbox" action="'. mx_append_sid("album_cat.$phpEx") .'" method="get">'; $album_jumpbox .= $lang['Jump_to'] . ': <select name="cat_id" onChange="forms[\'jumpbox\'].submit()">'; for ($i = 0; $i < count($catrows); $i++) *************** *** 560,564 **** else { ! $initial_links .= '<a href="' . append_sid($base_url . $letter) . '">'. $letter . '</a> '; } } --- 560,564 ---- else { ! $initial_links .= '<a href="' . mx_append_sid($base_url . $letter) . '">'. $letter . '</a> '; } } *************** *** 572,576 **** else { ! $initial_links .= '<a href="' . append_sid($base_url . "other") . '">'. $l_other . '</a> '; } --- 572,576 ---- else { ! $initial_links .= '<a href="' . mx_append_sid($base_url . "other") . '">'. $l_other . '</a> '; } *************** *** 583,587 **** else { ! $initial_links .= '<a href="' . append_sid($base_url . "all") . '">'. $l_all . '</a> '; } --- 583,587 ---- else { ! $initial_links .= '<a href="' . mx_append_sid($base_url . "all") . '">'. $l_all . '</a> '; } *************** *** 594,598 **** $template->assign_vars(array( ! 'U_VIEW_CAT' => append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")), 'CAT_TITLE' => $thiscat['cat_title'], --- 594,598 ---- $template->assign_vars(array( ! 'U_VIEW_CAT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")), 'CAT_TITLE' => $thiscat['cat_title'], *************** *** 600,604 **** 'MODERATORS' => $moderators_list, ! 'U_UPLOAD_PIC' => append_sid(this_smartor_mxurl("smartor_mode=album_upload&cat_id=$cat_id")), 'UPLOAD_PIC_IMG' => $images['upload_pic'], 'L_UPLOAD_PIC' => $lang['Upload_Pic'], --... [truncated message content] |
|
From: OryNider <ory...@us...> - 2008-02-08 10:48:07
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27166 Modified Files: album.php album_lists.php db_install.php db_uninstall.php db_upgrade.php hierarchy_db_migrate.php mx_install_readme.htm welcome.php Log Message: upgrade Index: album.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** album.php 5 Feb 2008 03:51:29 -0000 1.21 --- album.php 8 Feb 2008 10:47:59 -0000 1.22 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2007 [ory...@rd..., OryNider] Mx-Publisher Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_uninstall.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** db_uninstall.php 7 Jun 2007 20:13:00 -0000 1.10 --- db_uninstall.php 8 Feb 2008 10:47:59 -0000 1.11 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_upgrade.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** db_upgrade.php 5 Feb 2008 03:51:29 -0000 1.18 --- db_upgrade.php 8 Feb 2008 10:47:59 -0000 1.19 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Markus, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Markus, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 31,35 **** $mx_module_version = '2.0.0'; ! $mx_module_copy = 'mxBB <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The mxBB Development Team</a>'; $sql = array(); --- 31,35 ---- $mx_module_version = '2.0.0'; ! $mx_module_copy = 'Mx-Publisher <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The Mx-Publisher Development Team</a>'; $sql = array(); Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_install.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** db_install.php 5 Feb 2008 03:51:29 -0000 1.18 --- db_install.php 8 Feb 2008 10:47:59 -0000 1.19 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [ory...@rd..., OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [ory...@rd..., OryNider] Mx-Publisher Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 33,37 **** $mx_module_version = '2.0.0'; ! $mx_module_copy = 'mxBB <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The mxBB Development Team</a>'; --- 33,37 ---- $mx_module_version = '2.0.0'; ! $mx_module_copy = 'Mx-Publisher <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The Mx-Publisher Development Team</a>'; Index: album_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_lists.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** album_lists.php 5 Feb 2008 03:51:29 -0000 1.23 --- album_lists.php 8 Feb 2008 10:47:59 -0000 1.24 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: hierarchy_db_migrate.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/hierarchy_db_migrate.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** hierarchy_db_migrate.php 9 Aug 2007 13:21:03 -0000 1.6 --- hierarchy_db_migrate.php 8 Feb 2008 10:47:59 -0000 1.7 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: welcome.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/welcome.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** welcome.php 5 Feb 2008 03:51:29 -0000 1.11 --- welcome.php 8 Feb 2008 10:47:59 -0000 1.12 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [Marc Ferran] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [Marc Ferran] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: OryNider <ory...@us...> - 2008-02-08 10:48:06
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27166/album_mod Modified Files: album_bbconstants.php album_common.php album_constants.php album_functions.php album_hierarchy_auth.php album_hierarchy_functions.php album_hierarchy_sql.php album_integration.php album_nuffimage_box.php clown_album_functions.php Log Message: upgrade Index: album_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_constants.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** album_constants.php 5 Feb 2008 03:51:29 -0000 1.12 --- album_constants.php 8 Feb 2008 10:47:59 -0000 1.13 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team Index: album_hierarchy_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_hierarchy_functions.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album_hierarchy_functions.php 9 Aug 2007 13:16:53 -0000 1.7 --- album_hierarchy_functions.php 8 Feb 2008 10:47:59 -0000 1.8 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ * @copyright (c) 2003 [bla...@ya..., idl...@sl...] mxBB Development Team --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ * @copyright (c) 2003 [bla...@ya..., idl...@sl...] mxBB Development Team *************** *** 138,146 **** 'INC_SPAN' => $max_level - $level +1 , // + $column_offset, ! 'U_CAT_EDIT' => append_sid(album_append_uid("$admin_url?action=edit&cat_id=$cat_id")), ! 'U_CAT_DELETE' => ($is_root && $userdata['user_level'] != ADMIN) ? '' : append_sid(album_append_uid("$admin_url?action=delete&cat_id=$cat_id")), ! 'U_CAT_MOVE_UP' => ($is_root) ? '' : append_sid(album_append_uid("$admin_url?action=move&move=-15&cat_id=$cat_id")), ! 'U_CAT_MOVE_DOWN' => ($is_root) ? '' : append_sid(album_append_uid("$admin_url?action=move&move=15&cat_id=$cat_id")), ! 'U_VIEWCAT' => append_sid(album_append_uid("$admin_url?action=edit&cat_id=$cat_id")), 'L_MOVE_UP' => ($is_root) ? '' : $lang['Move_up'], --- 138,146 ---- 'INC_SPAN' => $max_level - $level +1 , // + $column_offset, ! 'U_CAT_EDIT' => mx_append_sid(album_append_uid("$admin_url?action=edit&cat_id=$cat_id")), ! 'U_CAT_DELETE' => ($is_root && $userdata['user_level'] != ADMIN) ? '' : mx_append_sid(album_append_uid("$admin_url?action=delete&cat_id=$cat_id")), ! 'U_CAT_MOVE_UP' => ($is_root) ? '' : mx_append_sid(album_append_uid("$admin_url?action=move&move=-15&cat_id=$cat_id")), ! 'U_CAT_MOVE_DOWN' => ($is_root) ? '' : mx_append_sid(album_append_uid("$admin_url?action=move&move=15&cat_id=$cat_id")), ! 'U_VIEWCAT' => mx_append_sid(album_append_uid("$admin_url?action=edit&cat_id=$cat_id")), 'L_MOVE_UP' => ($is_root) ? '' : $lang['Move_up'], *************** *** 286,290 **** $subdesc = album_get_object_lang($subcur, 'desc'); ! $subpgm = append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . $album_data['id'][$subthis])); // the number of picture for the sub category (only one level down) --- 286,290 ---- $subdesc = album_get_object_lang($subcur, 'desc'); ! $subpgm = mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . $album_data['id'][$subthis])); // the number of picture for the sub category (only one level down) *************** *** 338,342 **** $subfolder_img = '<img src="' . $slideshow_img_xs . '" valign="middle" title="' . $sub_total_pics . '" alt="' . $sub_total_pics . '"/>'; $sub_cat_separator = ( $i != count ($sub_cats) ) ? ',':''; ! //$slideshow_link = append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $last_pic_id . "&slideshow=5")); $link = $link_spacer . $subfolder_img . ' <a href="' . $subpgm . '" title="' . $subdesc . '" class="forumlink2' . $new_images_class . '"><b>' . $subname . '</b></a><b>' . $sub_cat_separator .'</b> '; } --- 338,342 ---- $subfolder_img = '<img src="' . $slideshow_img_xs . '" valign="middle" title="' . $sub_total_pics . '" alt="' . $sub_total_pics . '"/>'; $sub_cat_separator = ( $i != count ($sub_cats) ) ? ',':''; ! //$slideshow_link = mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $last_pic_id . "&slideshow=5")); $link = $link_spacer . $subfolder_img . ' <a href="' . $subpgm . '" title="' . $subdesc . '" class="forumlink2' . $new_images_class . '"><b>' . $subname . '</b></a><b>' . $sub_cat_separator .'</b> '; } *************** *** 370,374 **** $first_pic_id = album_get_first_pic_id($cur_cat_id); $last_pic_id = album_get_last_pic_id($ss_cat_id); ! $slideshow_link = append_sid(this_fap_portalurl("smartor_mode=album_showpage" . "&pic_id=" . $last_pic_id . "&slideshow=5")); $slideshow_link_full = '[<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>]'; //$slideshow_link_full = '<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . ' ' . $slideshow_img . '</a>'; --- 370,374 ---- $first_pic_id = album_get_first_pic_id($cur_cat_id); $last_pic_id = album_get_last_pic_id($ss_cat_id); ! $slideshow_link = mx_append_sid(this_fap_portalurl("smartor_mode=album_showpage" . "&pic_id=" . $last_pic_id . "&slideshow=5")); $slideshow_link_full = '[<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>]'; //$slideshow_link_full = '<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . ' ' . $slideshow_img . '</a>'; *************** *** 395,399 **** $last_pic_id = album_get_last_pic_id($ss_cat_id); $slideshow_img = '<img src="' . $images['icon_latest_reply'] . '" alt="' . $lang['Slideshow'] . '" title="' . $lang['Slideshow'] . '" border="0" align="middle" />'; ! $slideshow_link = append_sid(this_fap_portalurl("smartor_mode=album_showpage" . "&pic_id=" . $first_pic_id . "&slideshow=5")); $slideshow_link_full = '[<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>]'; //$slideshow_link_full = '<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . ' ' . $slideshow_img . '</a>'; --- 395,399 ---- $last_pic_id = album_get_last_pic_id($ss_cat_id); $slideshow_img = '<img src="' . $images['icon_latest_reply'] . '" alt="' . $lang['Slideshow'] . '" title="' . $lang['Slideshow'] . '" border="0" align="middle" />'; ! $slideshow_link = mx_append_sid(this_fap_portalurl("smartor_mode=album_showpage" . "&pic_id=" . $first_pic_id . "&slideshow=5")); $slideshow_link_full = '[<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>]'; //$slideshow_link_full = '<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . ' ' . $slideshow_img . '</a>'; *************** *** 466,470 **** $slideshow_img = '<img src="' . $slideshow_img_xs . '" alt="' . $lang['Slideshow'] . '" title="' . $lang['Slideshow'] . '" border="0" />'; // Bicet - XS Support - END ! $slideshow_link = append_sid(this_fap_portalurl("smartor_mode=album_showpage" . '&pic_id=' . $first_pic_id . '&slideshow=5')); //$slideshow_link_full = ' (<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>) '; $slideshow_link_full = ' [<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>] '; --- 466,470 ---- $slideshow_img = '<img src="' . $slideshow_img_xs . '" alt="' . $lang['Slideshow'] . '" title="' . $lang['Slideshow'] . '" border="0" />'; // Bicet - XS Support - END ! $slideshow_link = mx_append_sid(this_fap_portalurl("smartor_mode=album_showpage" . '&pic_id=' . $first_pic_id . '&slideshow=5')); //$slideshow_link_full = ' (<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>) '; $slideshow_link_full = ' [<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>] '; *************** *** 477,481 **** $slideshow_img = '<img src="' . $slideshow_icon . '" alt="' . $lang['Slideshow'] . '" title="' . $lang['Slideshow'] . '" border="0" align="middle" />'; ! $slideshow_link = append_sid(this_fap_portalurl("smartor_mode=album_showpage" . '&pic_id=' . $first_pic_id . '&slideshow=5')); $slideshow_link_full = ' [<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>] '; --- 477,481 ---- $slideshow_img = '<img src="' . $slideshow_icon . '" alt="' . $lang['Slideshow'] . '" title="' . $lang['Slideshow'] . '" border="0" align="middle" />'; ! $slideshow_link = mx_append_sid(this_fap_portalurl("smartor_mode=album_showpage" . '&pic_id=' . $first_pic_id . '&slideshow=5')); $slideshow_link_full = ' [<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>] '; *************** *** 500,504 **** } global $config_mg; ! $cat_url = ( isset($config_mg['url_rw']) && ($config_mg['url_rw'] === '1') ) ? append_sid(str_replace ('--', '-', make_url_friendly(album_get_object_lang($cur_cat_id, 'name')) . "-ac" . $cat_id . ".html")) : append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")); } else --- 500,504 ---- } global $config_mg; ! $cat_url = ( isset($config_mg['url_rw']) && ($config_mg['url_rw'] === '1') ) ? mx_append_sid(str_replace ('--', '-', make_url_friendly(album_get_object_lang($cur_cat_id, 'name')) . "-ac" . $cat_id . ".html")) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")); } else *************** *** 513,517 **** } $xs_new = ''; ! $cat_url = append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")); } // send all the data to the template, except for the sub categories links --- 513,517 ---- } $xs_new = ''; ! $cat_url = mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")); } // send all the data to the template, except for the sub categories links *************** *** 524,528 **** 'XS_NEW' => $xs_new, 'U_VIEWCAT' => $cat_url, ! //'U_VIEWCAT' => append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")), 'L_MODERATORS' => empty($moderators) ? '' : $lang['Moderators'] . ' :', 'MODERATORS' => $moderators, --- 524,528 ---- 'XS_NEW' => $xs_new, 'U_VIEWCAT' => $cat_url, ! //'U_VIEWCAT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")), 'L_MODERATORS' => empty($moderators) ? '' : $lang['Moderators'] . ' :', 'MODERATORS' => $moderators, *************** *** 612,624 **** if ($album_config['fullpic_popup'] == 0) { ! $pic_url_sid = append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '&pic_id=' . $last_pic_id)); $pic_target = '_self'; } else { ! $pic_url_sid = append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $last_pic_id)); $pic_target = '_blank'; } ! $pic_thumb_sid = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $last_pic_id)); if ($last_pic_id == 0) --- 612,624 ---- if ($album_config['fullpic_popup'] == 0) { ! $pic_url_sid = mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '&pic_id=' . $last_pic_id)); $pic_target = '_self'; } else { ! $pic_url_sid = mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $last_pic_id)); $pic_target = '_blank'; } ! $pic_thumb_sid = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $last_pic_id)); if ($last_pic_id == 0) *************** *** 745,749 **** //----------------------------------------------- // Append $user_id to a url. ! // Borrowed from append_sid in session.php //----------------------------------------------- function album_append_uid($user_id, $url = '', $non_html_amp = false) --- 745,749 ---- //----------------------------------------------- // Append $user_id to a url. ! // Borrowed from mx_append_sid in session.php //----------------------------------------------- function album_append_uid($user_id, $url = '', $non_html_amp = false) *************** *** 943,951 **** if (!empty($field_name) && ( $album_data['auth'][$param_value]['view']==1) && $k == 1 ) { ! $res = '<a href="' . append_sid(album_append_uid('./' . $pgm_name . (($field_name != '') ? "&$param_type=$param_value" : ''))) . '" class="nav-current">' . $field_name . '</a>' . (($res != '') ? ALBUM_NAV_ARROW . $res : ''); } elseif (!empty($field_name) && ( $album_data['auth'][$param_value]['view']==1) ) { ! $res = '<a href="' . append_sid(album_append_uid('./' . $pgm_name . (($field_name != '') ? "&$param_type=$param_value" : ''))) . '" class="nav">' . $field_name . '</a>' . (($res != '') ? ALBUM_NAV_ARROW . $res : ''); } } --- 943,951 ---- if (!empty($field_name) && ( $album_data['auth'][$param_value]['view']==1) && $k == 1 ) { ! $res = '<a href="' . mx_append_sid(album_append_uid('./' . $pgm_name . (($field_name != '') ? "&$param_type=$param_value" : ''))) . '" class="nav-current">' . $field_name . '</a>' . (($res != '') ? ALBUM_NAV_ARROW . $res : ''); } elseif (!empty($field_name) && ( $album_data['auth'][$param_value]['view']==1) ) { ! $res = '<a href="' . mx_append_sid(album_append_uid('./' . $pgm_name . (($field_name != '') ? "&$param_type=$param_value" : ''))) . '" class="nav">' . $field_name . '</a>' . (($res != '') ? ALBUM_NAV_ARROW . $res : ''); } } *************** *** 954,958 **** if (!empty($field_name) && ( $album_data['auth'][$param_value]['view'] == 1) ) { ! $res = '<a href="' . append_sid(album_append_uid('./' . $pgm_name . (($field_name != '') ? "&$param_type=$param_value" : ''))) . '" class="' . $nav_class . '">' . $field_name . '</a>' . (($res != '') ? ALBUM_NAV_ARROW . $res : ''); } } --- 954,958 ---- if (!empty($field_name) && ( $album_data['auth'][$param_value]['view'] == 1) ) { ! $res = '<a href="' . mx_append_sid(album_append_uid('./' . $pgm_name . (($field_name != '') ? "&$param_type=$param_value" : ''))) . '" class="' . $nav_class . '">' . $field_name . '</a>' . (($res != '') ? ALBUM_NAV_ARROW . $res : ''); } } *************** *** 1276,1280 **** $res = $javascript; ! $res .= '<form name="jumpbox" action="'. append_sid(this_smartor_mxurl("smartor_mode=album_cat")) .'" method="get">'; $res .= $lang['Jump_to'] . ': <select name="cat_id" onChange="onChangeCheck()">'; $res .= album_get_tree_option($cat_id, $auth_key, ALBUM_SELECTBOX_INCLUDE_ROOT); --- 1276,1280 ---- $res = $javascript; ! $res .= '<form name="jumpbox" action="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat")) .'" method="get">'; $res .= $lang['Jump_to'] . ': <select name="cat_id" onChange="onChangeCheck()">'; $res .= album_get_tree_option($cat_id, $auth_key, ALBUM_SELECTBOX_INCLUDE_ROOT); *************** *** 1422,1430 **** //'L_PUBLIC_CATS' => (!$is_personal_gallery) ? $lang['Public_Categories'] : sprintf($lang['Personal_Gallery_Of_User'], album_get_user_name($user_id)), 'L_PUBLIC_CATS' => (!$is_personal_gallery) ? $lang['Public_Categories'] : $lang['Public_Categories'], ! 'U_YOUR_PERSONAL_GALLERY' => append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=" . $userdata['user_id'])), ! //'U_YOUR_PERSONAL_GALLERY' => append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . album_get_personal_root_id($userdata['user_id']) . "user_id=" . $userdata['user_id'])), 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], ! 'U_USERS_PERSONAL_GALLERIES' => append_sid(this_smartor_mxurl("smartor_mode=album_personal_index")), 'L_USERS_PERSONAL_GALLERIES' => $lang['Users_Personal_Galleries'] ) --- 1422,1430 ---- //'L_PUBLIC_CATS' => (!$is_personal_gallery) ? $lang['Public_Categories'] : sprintf($lang['Personal_Gallery_Of_User'], album_get_user_name($user_id)), 'L_PUBLIC_CATS' => (!$is_personal_gallery) ? $lang['Public_Categories'] : $lang['Public_Categories'], ! 'U_YOUR_PERSONAL_GALLERY' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=" . $userdata['user_id'])), ! //'U_YOUR_PERSONAL_GALLERY' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . album_get_personal_root_id($userdata['user_id']) . "user_id=" . $userdata['user_id'])), 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], ! 'U_USERS_PERSONAL_GALLERIES' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal_index")), 'L_USERS_PERSONAL_GALLERIES' => $lang['Users_Personal_Galleries'] ) *************** *** 1442,1450 **** { $template->assign_block_vars('catfooter.cat_public_footer', array( ! 'U_YOUR_PERSONAL_GALLERY' => append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=" . $userdata['user_id'])), ! //'U_YOUR_PERSONAL_GALLERY' => append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . album_get_personal_root_id($userdata['user_id']) . "user_id=" . $userdata['user_id'])), 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], ! 'U_USERS_PERSONAL_GALLERIES' => append_sid(this_smartor_mxurl("smartor_mode=album_personal_index")), 'L_USERS_PERSONAL_GALLERIES' => $lang['Users_Personal_Galleries'], --- 1442,1450 ---- { $template->assign_block_vars('catfooter.cat_public_footer', array( ! 'U_YOUR_PERSONAL_GALLERY' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=" . $userdata['user_id'])), ! //'U_YOUR_PERSONAL_GALLERY' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . album_get_personal_root_id($userdata['user_id']) . "user_id=" . $userdata['user_id'])), 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], ! 'U_USERS_PERSONAL_GALLERIES' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal_index")), 'L_USERS_PERSONAL_GALLERIES' => $lang['Users_Personal_Galleries'], Index: album_nuffimage_box.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_nuffimage_box.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** album_nuffimage_box.php 7 Jun 2007 20:13:18 -0000 1.1 --- album_nuffimage_box.php 8 Feb 2008 10:47:59 -0000 1.2 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team *************** *** 118,126 **** 'NUFF_PIC_ID' => $pic_id, ! //'HIDDEN_FIELDS_NUFF' => append_sid(album_append_uid(('album_pic_nuffed.' . $phpEx . '?pic_id=' . $pic_id . $nuff_mode)), ! //'U_NUFFIMAGE_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '?pic_id=' . $pic_id . $full_size_param . '&nuffimage=true')), ! 'U_NUFFIMAGE_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '&pic_id=' . $pic_id . $full_size_param . '&nuffimage=true')), ! //'U_NUFFIMAGE_ACTION' => append_sid(album_append_uid('album_showpage.' . $phpEx)), // This would be required in tpl if you want to hide pic id and nuffimage var. /* --- 118,126 ---- 'NUFF_PIC_ID' => $pic_id, ! //'HIDDEN_FIELDS_NUFF' => mx_append_sid(album_append_uid(('album_pic_nuffed.' . $phpEx . '?pic_id=' . $pic_id . $nuff_mode)), ! //'U_NUFFIMAGE_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '?pic_id=' . $pic_id . $full_size_param . '&nuffimage=true')), ! 'U_NUFFIMAGE_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '&pic_id=' . $pic_id . $full_size_param . '&nuffimage=true')), ! //'U_NUFFIMAGE_ACTION' => mx_append_sid(album_append_uid('album_showpage.' . $phpEx)), // This would be required in tpl if you want to hide pic id and nuffimage var. /* Index: album_hierarchy_sql.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_hierarchy_sql.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** album_hierarchy_sql.php 11 Jul 2007 14:25:27 -0000 1.9 --- album_hierarchy_sql.php 8 Feb 2008 10:47:59 -0000 1.10 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team *************** *** 797,801 **** else { ! $info .= $lang['Pic_Poster'] . ': <a href="' . append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $row['user_id']) . '">' . $row['username'] . '</a>'; } } --- 797,801 ---- else { ! $info .= $lang['Pic_Poster'] . ': <a href="' . mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $row['user_id']) . '">' . $row['username'] . '</a>'; } } *************** *** 813,817 **** $info .= '<br />' . $lang['Pic_Image'] . ': <a href="'; ! $info .= ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $row['pic_id'])) . '" target="_blank">' : append_sid(this_smartor_mxurl("smartor_mode=album_pic" . '&pic_id=' . $row['pic_id'])) . '">' ; $info .= $row['pic_title'] . '</a>'; --- 813,817 ---- $info .= '<br />' . $lang['Pic_Image'] . ': <a href="'; ! $info .= ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $row['pic_id'])) . '" target="_blank">' : mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic" . '&pic_id=' . $row['pic_id'])) . '">' ; $info .= $row['pic_title'] . '</a>'; *************** *** 958,966 **** else { ! $info .= '<a href="' . append_sid(PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $row['user_id']) . '">' . $row['username'] . '</a>'; } } ! $info .= '<br />' . $lang['Pic_Image'] . ': <a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_pic" . '?pic_id=' . $row['pic_id'])) . '">' . $row['pic_title'] . '</a>'; return $info; --- 958,966 ---- else { ! $info .= '<a href="' . mx_append_sid(PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $row['user_id']) . '">' . $row['username'] . '</a>'; } } ! $info .= '<br />' . $lang['Pic_Image'] . ': <a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic" . '?pic_id=' . $row['pic_id'])) . '">' . $row['pic_title'] . '</a>'; return $info; *************** *** 1002,1006 **** for ($j = 0; $j < count($grouprows); $j++) { ! $group_link = '<a href="' . append_sid(PHPBB_URL . "groupcp.$phpEx?" . POST_GROUPS_URL . '=' . $grouprows[$j]['group_id']) . '">' . $grouprows[$j]['group_name'] . '</a>'; $moderators .= ($moderators == '') ? $group_link : ', ' . $group_link; } --- 1002,1006 ---- for ($j = 0; $j < count($grouprows); $j++) { ! $group_link = '<a href="' . mx_append_sid(PHPBB_URL . "groupcp.$phpEx?" . POST_GROUPS_URL . '=' . $grouprows[$j]['group_id']) . '">' . $grouprows[$j]['group_name'] . '</a>'; $moderators .= ($moderators == '') ? $group_link : ', ' . $group_link; } *************** *** 1088,1096 **** if (intval($cat_ids) == album_get_personal_root_id($user_id) && $user_id != ALBUM_PUBLIC_GALLERY) { ! $album_pagination_page_url = append_sid(this_smartor_mxurl()); } else { ! $album_pagination_page_url = append_sid(this_smartor_mxurl("smartor_mode=album_cat")); } --- 1088,1096 ---- if (intval($cat_ids) == album_get_personal_root_id($user_id) && $user_id != ALBUM_PUBLIC_GALLERY) { ! $album_pagination_page_url = mx_append_sid(this_smartor_mxurl()); } else { ! $album_pagination_page_url = mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat")); } *************** *** 1159,1163 **** $approval_mode = ($picrow[$j]['pic_approval'] == 0) ? 'approval' : 'unapproval'; ! $approval_link = '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=$approval_mode&pic_id=" . $picrow[$j]['pic_id'])) . '">'; $approval_link .= ($picrow[$j]['pic_approval'] == 0) ? '<b>' . $lang['Approve'] . '</b>' : $lang['Unapprove']; --- 1159,1163 ---- $approval_mode = ($picrow[$j]['pic_approval'] == 0) ? 'approval' : 'unapproval'; ! $approval_link = '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=$approval_mode&pic_id=" . $picrow[$j]['pic_id'])) . '">'; $approval_link .= ($picrow[$j]['pic_approval'] == 0) ? '<b>' . $lang['Approve'] . '</b>' : $lang['Unapprove']; *************** *** 1167,1171 **** } ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail" . "&pic_id=". $picrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 1167,1171 ---- } ! $thumbnail_file = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail" . "&pic_id=". $picrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 1186,1195 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $picrow[$j]['pic_id'])) . '\',\'' . addslashes($picrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('index_pics_block.picrow.piccol', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $picrow[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, --- 1186,1195 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $picrow[$j]['pic_id'])) . '\',\'' . addslashes($picrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('index_pics_block.picrow.piccol', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $picrow[$j]['pic_id'])) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, *************** *** 1221,1225 **** else { ! $pic_poster = '<a href="'. append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL .'='. $picrow[$j]['user_id']) .'">'. $picrow[$j]['username'] .'</a>'; } --- 1221,1225 ---- else { ! $pic_poster = '<a href="'. mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL .'='. $picrow[$j]['user_id']) .'">'. $picrow[$j]['username'] .'</a>'; } *************** *** 1237,1241 **** 'PIC_ID' => $picrow[$j]['pic_id'], //'TITLE' => '<a href = "' . $album_show_pic_url . '?pic_id=' . $picrow[$j]['pic_id'] . '">' . $picrow[$j]['pic_title'] . '</a>', ! 'TITLE' => '<a href = "' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $picrow[$j]['pic_title'] . '</a>', 'POSTER' => $pic_poster, 'TIME' => create_date2($board_config['default_dateformat'], $picrow[$j]['pic_time'], $board_config['board_timezone']), --- 1237,1241 ---- 'PIC_ID' => $picrow[$j]['pic_id'], //'TITLE' => '<a href = "' . $album_show_pic_url . '?pic_id=' . $picrow[$j]['pic_id'] . '">' . $picrow[$j]['pic_title'] . '</a>', ! 'TITLE' => '<a href = "' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $picrow[$j]['pic_title'] . '</a>', 'POSTER' => $pic_poster, 'TIME' => create_date2($board_config['default_dateformat'], $picrow[$j]['pic_time'], $board_config['board_timezone']), *************** *** 1243,1261 **** 'VIEW' => $picrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ?( '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])) . '"' . $image_rating_link_style . '>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'EDIT' => ($edit_rights) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_edit&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Edit_pic'] . '</a>' : '', ! 'DELETE' => ($delete_rights) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_delete&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Delete_pic'] . '</a>' : '', ! 'MOVE' => ($auth_data['moderator']) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=move&pic_id=" . $picrow[$j]['pic_id'])) .'">'. $lang['Move'] .'</a>' : '', ! 'LOCK' => ($auth_data['moderator']) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=" . (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') . '&pic_id=' . $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '', ! 'AVATAR_PIC' => ( ($album_config['personal_allow_avatar_gallery'] == 1) && ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<br /><a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_avatar&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Avatar_Set'] . '</a>' : '', 'IMG_BBCODE' => ( ($userdata['user_level'] == ADMIN) || ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<br /><a href="javasript://" OnClick="window.clipboardData.setData(\'Text\', \'[albumimg]' . $picrow[$j]['pic_id'] . '[/albumimg]\'); return false;">' . $lang['BBCode_Copy'] . '</a>' : '' --- 1243,1261 ---- 'VIEW' => $picrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ?( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])) . '"' . $image_rating_link_style . '>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'EDIT' => ($edit_rights) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_edit&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Edit_pic'] . '</a>' : '', ! 'DELETE' => ($delete_rights) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_delete&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Delete_pic'] . '</a>' : '', ! 'MOVE' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=move&pic_id=" . $picrow[$j]['pic_id'])) .'">'. $lang['Move'] .'</a>' : '', ! 'LOCK' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=" . (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') . '&pic_id=' . $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '', ! 'AVATAR_PIC' => ( ($album_config['personal_allow_avatar_gallery'] == 1) && ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<br /><a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_avatar&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Avatar_Set'] . '</a>' : '', 'IMG_BBCODE' => ( ($userdata['user_level'] == ADMIN) || ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<br /><a href="javasript://" OnClick="window.clipboardData.setData(\'Text\', \'[albumimg]' . $picrow[$j]['pic_id'] . '[/albumimg]\'); return false;">' . $lang['BBCode_Copy'] . '</a>' : '' *************** *** 1267,1271 **** { $last_pic_id = $picrow[$j]['pic_id']; ! $slideshow_link = append_sid(this_fap_portalurl("smartor_mode=album_showpage" . '&pic_id=' . $last_pic_id . '&slideshow=5')); $slideshow_link_full = ' [<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>] '; } --- 1267,1271 ---- { $last_pic_id = $picrow[$j]['pic_id']; ! $slideshow_link = mx_append_sid(this_fap_portalurl("smartor_mode=album_showpage" . '&pic_id=' . $last_pic_id . '&slideshow=5')); $slideshow_link_full = ' [<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>] '; } *************** *** 1286,1293 **** else { ! $album_page_url = append_sid(this_fap_portalurl("smartor_mode=album_cat")); } ! $image_cat_url = append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . $picrow[$j]['cat_id'] . '&user_id=' . $picrow[$j]['cat_user_id'])); $template->assign_block_vars('index_pics_block.picrow.pic_detail.cats', array( --- 1286,1293 ---- else { ! $album_page_url = mx_append_sid(this_fap_portalurl("smartor_mode=album_cat")); } ! $image_cat_url = mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . $picrow[$j]['cat_id'] . '&user_id=' . $picrow[$j]['cat_user_id'])); $template->assign_block_vars('index_pics_block.picrow.pic_detail.cats', array( *************** *** 1301,1305 **** $template->assign_vars(array( ! 'PAGINATION' => generate_pagination(append_sid(this_smartor_mxurl('smartor_mode=album_cat&cat_id=' . intval($cat_ids) . '&sort_method=' . $sort_method . '&sort_order=' . $sort_order . $viewmode)), $total_pics, $pics_per_page, $start), 'SLIDESHOW' => $slideshow_link_full, 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) --- 1301,1305 ---- $template->assign_vars(array( ! 'PAGINATION' => mx_generate_pagination(mx_append_sid(this_smartor_mxurl('smartor_mode=album_cat&cat_id=' . intval($cat_ids) . '&sort_method=' . $sort_method . '&sort_order=' . $sort_order . $viewmode)), $total_pics, $pics_per_page, $start), 'SLIDESHOW' => $slideshow_link_full, 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) *************** *** 1369,1373 **** } ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $recentrow[$j]['pic_id'], true)); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 1369,1373 ---- } ! $thumbnail_file = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $recentrow[$j]['pic_id'], true)); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 1388,1396 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $recentrow[$j]['pic_id'], true)) . '\',\'' . addslashes($recentrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $recentrow[$j]['pic_id'], true)) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'], false)), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, --- 1388,1396 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $recentrow[$j]['pic_id'], true)) . '\',\'' . addslashes($recentrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $recentrow[$j]['pic_id'], true)) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'], false)), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, *************** *** 1421,1425 **** else { ! $recent_poster = '<a href="'. append_sid(PHPBB_URL. 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL .'='. $recentrow[$j]['user_id']) .'">'. $recentrow[$j]['username'] .'</a>'; } --- 1421,1425 ---- else { ! $recent_poster = '<a href="'. mx_append_sid(PHPBB_URL. 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL .'='. $recentrow[$j]['user_id']) .'">'. $recentrow[$j]['username'] .'</a>'; } *************** *** 1433,1437 **** $template->assign_block_vars('recent_pics_block.recent_pics.recent_detail', array( 'PIC_ID' => $recentrow[$j]['pic_id'], ! 'TITLE' => '<a href = "' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '">' . $recentrow[$j]['pic_title'] . '</a>', 'POSTER' => $recent_poster, 'TIME' => create_date2($board_config['default_dateformat'], $recentrow[$j]['pic_time'], $board_config['board_timezone']), --- 1433,1437 ---- $template->assign_block_vars('recent_pics_block.recent_pics.recent_detail', array( 'PIC_ID' => $recentrow[$j]['pic_id'], ! 'TITLE' => '<a href = "' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '">' . $recentrow[$j]['pic_title'] . '</a>', 'POSTER' => $recent_poster, 'TIME' => create_date2($board_config['default_dateformat'], $recentrow[$j]['pic_time'], $board_config['board_timezone']), *************** *** 1439,1445 **** 'VIEW' => $recentrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($recentrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($recentrow[$j]['pic_user_ip']) .'</a><br />' : '' --- 1439,1445 ---- 'VIEW' => $recentrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($recentrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($recentrow[$j]['pic_user_ip']) .'</a><br />' : '' *************** *** 1538,1542 **** } ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $highestrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 1538,1542 ---- } ! $thumbnail_file = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $highestrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 1558,1562 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $highestrow[$j]['pic_id'])) . '\',\'' . addslashes($highestrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } --- 1558,1562 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $highestrow[$j]['pic_id'])) . '\',\'' . addslashes($highestrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } *************** *** 1564,1568 **** { $template->assign_block_vars('highest_pics_block.highest_pics.highest_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $highestrow[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, --- 1564,1568 ---- { $template->assign_block_vars('highest_pics_block.highest_pics.highest_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $highestrow[$j]['pic_id'])) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, *************** *** 1594,1598 **** else { ! $highest_poster = '<a href="' . append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $highestrow[$j]['user_id']) . '">' . $highestrow[$j]['username'] . '</a>'; } --- 1594,1598 ---- else { ! $highest_poster = '<a href="' . mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $highestrow[$j]['user_id']) . '">' . $highestrow[$j]['username'] . '</a>'; } *************** *** 1609,1613 **** $template->assign_block_vars('highest_pics_block.highest_pics.highest_detail', array( 'PIC_ID' => $highestrow[$j]['pic_id'], ! 'H_TITLE' => '<a href = "' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '">' . $highestrow[$j]['pic_title'] . '</a>', 'H_POSTER' => $highest_poster, 'H_TIME' => create_date2($board_config['default_dateformat'], $highestrow[$j]['pic_time'], $board_config['board_timezone']), --- 1609,1613 ---- $template->assign_block_vars('highest_pics_block.highest_pics.highest_detail', array( 'PIC_ID' => $highestrow[$j]['pic_id'], ! 'H_TITLE' => '<a href = "' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '">' . $highestrow[$j]['pic_title'] . '</a>', 'H_POSTER' => $highest_poster, 'H_TIME' => create_date2($board_config['default_dateformat'], $highestrow[$j]['pic_time'], $board_config['board_timezone']), *************** *** 1615,1621 **** 'H_VIEW' => $highestrow[$j]['pic_view_count'], ! 'H_RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($highestrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($highestrow[$j]['pic_user_ip']) .'</a><br />' : '' --- 1615,1621 ---- 'H_VIEW' => $highestrow[$j]['pic_view_count'], ! 'H_RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($highestrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($highestrow[$j]['pic_user_ip']) .'</a><br />' : '' *************** *** 1707,1711 **** } ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $mostviewed[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 1707,1711 ---- } ! $thumbnail_file = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $mostviewed[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 1727,1735 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $mostviewed[$j]['pic_id'])) . '\',\'' . addslashes($mostviewed[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('mostviewed_pics_block.mostviewed_pics.mostviewed_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $mostviewed[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, --- 1727,1735 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $mostviewed[$j]['pic_id'])) . '\',\'' . addslashes($mostviewed[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('mostviewed_pics_block.mostviewed_pics.mostviewed_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $mostviewed[$j]['pic_id'])) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, *************** *** 1760,1764 **** else { ! $mostviewed_poster = '<a href="' . append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $mostviewed[$j]['user_id']) . '">' . $mostviewed[$j]['username'] . '</a>'; } --- 1760,1764 ---- else { ! $mostviewed_poster = '<a href="' . mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $mostviewed[$j]['user_id']) . '">' . $mostviewed[$j]['username'] . '</a>'; } *************** *** 1772,1776 **** $template->assign_block_vars('mostviewed_pics_block.mostviewed_pics.mostviewed_detail', array( 'PIC_ID' => $mostviewed[$j]['pic_id'], ! 'H_TITLE' => '<a href = "' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '">' . $mostviewed[$j]['pic_title'] . '</a>', 'H_POSTER' => $mostviewed_poster, 'H_TIME' => create_date2($board_config['default_dateformat'], $mostviewed[$j]['pic_time'], $board_config['board_timezone']), --- 1772,1776 ---- $template->assign_block_vars('mostviewed_pics_block.mostviewed_pics.mostviewed_detail', array( 'PIC_ID' => $mostviewed[$j]['pic_id'], ! 'H_TITLE' => '<a href = "' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '">' . $mostviewed[$j]['pic_title'] . '</a>', 'H_POSTER' => $mostviewed_poster, 'H_TIME' => create_date2($board_config['default_dateformat'], $mostviewed[$j]['pic_time'], $board_config['board_timezone']), *************** *** 1778,1784 **** 'H_VIEW' => $mostviewed[$j]['pic_view_count'], ! 'H_RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($mostviewed[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($mostviewed[$j]['pic_user_ip']) .'</a><br />' : '' --- 1778,1784 ---- 'H_VIEW' => $mostviewed[$j]['pic_view_count'], ! 'H_RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($mostviewed[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($mostviewed[$j]['pic_user_ip']) .'</a><br />' : '' *************** *** 1863,1867 **** } ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $randrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 1863,1867 ---- } ! $thumbnail_file = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $randrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 1883,1891 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $randrow[$j]['pic_id'])) . '\',\'' . addslashes($randrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('random_pics_block.rand_pics.rand_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $randrow[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, --- 1883,1891 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $randrow[$j]['pic_id'])) . '\',\'' . addslashes($randrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('random_pics_block.rand_pics.rand_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $randrow[$j]['pic_id'])) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, *************** *** 1916,1920 **** else { ! $rand_poster = '<a href="' . append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $randrow[$j]['user_id']) . '">' . $randrow[$j]['username'] . '</a>'; } --- 1916,1920 ---- else { ! $rand_poster = '<a href="' . mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $randrow[$j]['user_id']) . '">' . $randrow[$j]['username'] . '</a>'; } *************** *** 1928,1932 **** $template->assign_block_vars('random_pics_block.rand_pics.rand_detail', array( 'PIC_ID' => $randrow[$j]['pic_id'], ! 'TITLE' => '<a href = "' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '">' . $randrow[$j]['pic_title'] . '</a>', 'POSTER' => $rand_poster, 'TIME' => create_date2($board_config['default_dateformat'], $randrow[$j]['pic_time'], $board_config['board_timezone']), --- 1928,1932 ---- $template->assign_block_vars('random_pics_block.rand_pics.rand_detail', array( 'PIC_ID' => $randrow[$j]['pic_id'], ! 'TITLE' => '<a href = "' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '">' . $randrow[$j]['pic_title'] . '</a>', 'POSTER' => $rand_poster, 'TIME' => create_date2($board_config['default_dateformat'], $randrow[$j]['pic_time'], $board_config['board_timezone']), *************** *** 1934,1940 **** 'VIEW' => $randrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($randrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($randrow[$j]['pic_user_ip']) .'</a><br />' : '' --- 1934,1940 ---- 'VIEW' => $randrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($randrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($randrow[$j]['pic_user_ip']) .'</a><br />' : '' *************** *** 2048,2052 **** else { ! $poster = '<a href="' . append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $commentsrow[$i]['user_id']) . '">' . $commentsrow[$i]['username'] . '</a>'; } --- 2048,2052 ---- else { ! $poster = '<a href="' . mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $commentsrow[$i]['user_id']) . '">' . $commentsrow[$i]['username'] . '</a>'; } *************** *** 2055,2063 **** } ! $info .= '<br />' . $lang['Pic_Image'] . ': <a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $commentsrow[$i]['pic_id'])) . '">' . $commentsrow[$i]['pic_title'] . '</a>'; $image_comment = ($commentsrow[$i]['comments'] == 0) ? $lang['Not_commented'] : $commentsrow[$i]['comments']; ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $commentsrow[$i]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 2055,2063 ---- } ! $info .= '<br />' . $lang['Pic_Image'] . ': <a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $commentsrow[$i]['pic_id'])) . '">' . $commentsrow[$i]['pic_title'] . '</a>'; $image_comment = ($commentsrow[$i]['comments'] == 0) ? $lang['Not_commented'] : $commentsrow[$i]['comments']; ! $thumbnail_file = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $commentsrow[$i]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 2079,2083 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $commentsrow[$i]['pic_id'])) . '\',\'' . addslashes($commentsrow[$i]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } --- 2079,2083 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $commentsrow[$i]['pic_id'])) . '\',\'' . addslashes($commentsrow[$i]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } *************** *** 2122,2126 **** $template->assign_block_vars('recent_comments_block.comment_row', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $commentsrow[$i]['pic_id'])) : append_sid(this_smartor_mxurl("smart... [truncated message content] |
|
From: OryNider <ory...@us...> - 2008-02-08 10:48:06
|
Update of /cvsroot/mxbb/mx_smartor/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27166/admin Modified Files: admin_album_auth.php admin_album_cat.php admin_album_cfg.php admin_album_clearcache.php admin_album_clown_SP.php admin_album_config_personal.php admin_album_ext.php admin_album_personal.php Log Message: upgrade Index: admin_album_config_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_config_personal.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_album_config_personal.php 5 Feb 2008 03:51:29 -0000 1.3 --- admin_album_config_personal.php 8 Feb 2008 10:47:59 -0000 1.4 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_album_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_cfg.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_album_cfg.php 5 Feb 2008 03:51:28 -0000 1.5 --- admin_album_cfg.php 8 Feb 2008 10:47:59 -0000 1.6 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_album_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_auth.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** admin_album_auth.php 5 Feb 2008 03:51:28 -0000 1.14 --- admin_album_auth.php 8 Feb 2008 10:47:59 -0000 1.15 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_album_clearcache.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clearcache.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** admin_album_clearcache.php 5 Feb 2008 03:51:28 -0000 1.12 --- admin_album_clearcache.php 8 Feb 2008 10:47:59 -0000 1.13 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_album_ext.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_ext.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_album_ext.php 5 Feb 2008 03:51:29 -0000 1.2 --- admin_album_ext.php 8 Feb 2008 10:47:59 -0000 1.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Markus, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Markus, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_album_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_personal.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** admin_album_personal.php 5 Feb 2008 03:51:29 -0000 1.12 --- admin_album_personal.php 8 Feb 2008 10:47:59 -0000 1.13 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_album_clown_SP.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clown_SP.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** admin_album_clown_SP.php 5 Feb 2008 03:51:28 -0000 1.14 --- admin_album_clown_SP.php 8 Feb 2008 10:47:59 -0000 1.15 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [cl...@pi..., Volodymyr (CLowN) Skoryk] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [cl...@pi..., Volodymyr (CLowN) Skoryk] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: OryNider <ory...@us...> - 2008-02-08 10:42:17
|
Update of /cvsroot/mxbb/mx_smartor/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24456 Modified Files: Tag: core28x subSilver.cfg Log Message: upgrade |
|
From: OryNider <ory...@us...> - 2008-02-08 10:41:55
|
Update of /cvsroot/mxbb/mx_smartor/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24366 Modified Files: Tag: core28x lang_admin.php Log Message: upgrade |
Update of /cvsroot/mxbb/mx_smartor/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22773/includes Modified Files: Tag: core28x album_allpics.php album_cat.php album_cat_sort.php album_comment.php album_comment_delete.php album_comment_edit.php album_delete.php album_edit.php album_hotornot.php album_jupload.php album_memberlist.php album_modcp.php album_nuffload.php album_otf.php album_otf_thumbnail.php album_page.php album_personal.php album_personal_cat_admin.php album_personal_index.php album_personal_old.php album_personal_random.php album_pic.php album_picm.php album_rate.php album_rdf.php album_rss.php album_search.php album_showpage.php album_thumbnail.php album_upload.php Log Message: upgrade Index: album_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_personal.php,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -C2 -d -r1.8 -r1.8.2.1 *** album_personal.php 9 Aug 2007 13:16:57 -0000 1.8 --- album_personal.php 8 Feb 2008 10:40:56 -0000 1.8.2.1 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 55,59 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_personal")); } --- 55,59 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_personal")); } *************** *** 92,96 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_personal&user_id=$user_id")); } else --- 92,96 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_personal&user_id=$user_id")); } else *************** *** 289,294 **** $template->assign_block_vars('picrow.piccol', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=". $picrow[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=". $picrow[$j]['pic_id'])), ! 'THUMBNAIL' => append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=". $picrow[$j]['pic_id'], TRUE)), 'DESC' => $picrow[$j]['pic_desc'] ) --- 289,294 ---- $template->assign_block_vars('picrow.piccol', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=". $picrow[$j]['pic_id'])) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=". $picrow[$j]['pic_id'])), ! 'THUMBNAIL' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=". $picrow[$j]['pic_id'], TRUE)), 'DESC' => $picrow[$j]['pic_desc'] ) *************** *** 307,315 **** 'COMMENTS' => ($album_config['comment'] == 1) ? ( $lang['Comments'] . ': ' . $picrow[$j]['comments'] . '<br />') : '', ! 'EDIT' => ( ($userdata['user_level'] == ADMIN) or ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_edit&pic_id=". $picrow[$j]['pic_id'])) . '">' . $lang['Edit_pic'] . '</a>' : '', ! 'DELETE' => ( ($userdata['user_level'] == ADMIN) or ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_delete&pic_id=". $picrow[$j]['pic_id'])) . '">' . $lang['Delete_pic'] . '</a>' : '', ! 'LOCK' => ($userdata['user_level'] == ADMIN) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' --- 307,315 ---- 'COMMENTS' => ($album_config['comment'] == 1) ? ( $lang['Comments'] . ': ' . $picrow[$j]['comments'] . '<br />') : '', ! 'EDIT' => ( ($userdata['user_level'] == ADMIN) or ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_edit&pic_id=". $picrow[$j]['pic_id'])) . '">' . $lang['Edit_pic'] . '</a>' : '', ! 'DELETE' => ( ($userdata['user_level'] == ADMIN) or ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_delete&pic_id=". $picrow[$j]['pic_id'])) . '">' . $lang['Delete_pic'] . '</a>' : '', ! 'LOCK' => ($userdata['user_level'] == ADMIN) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' *************** *** 325,329 **** $template->assign_vars(array( ! 'PAGINATION' => generate_pagination(append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id&sort_method=$sort_method&sort_order=$sort_order")), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) ) --- 325,329 ---- $template->assign_vars(array( ! 'PAGINATION' => mx_generate_pagination(mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id&sort_method=$sort_method&sort_order=$sort_order")), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) ) *************** *** 386,390 **** $template->assign_vars(array( ! 'U_UPLOAD_PIC' => append_sid(this_smartor_mxurl("smartor_mode=album_upload&cat_id=". PERSONAL_GALLERY)), 'UPLOAD_PIC_IMG' => $images['upload_pic'], 'L_UPLOAD_PIC' => $lang['Upload_Pic'], --- 386,390 ---- $template->assign_vars(array( ! 'U_UPLOAD_PIC' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_upload&cat_id=". PERSONAL_GALLERY)), 'UPLOAD_PIC_IMG' => $images['upload_pic'], 'L_UPLOAD_PIC' => $lang['Upload_Pic'], *************** *** 400,404 **** 'L_POSTED' => $lang['Posted'], ! 'U_PERSONAL_GALLERY' => append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], 'L_PERSONAL_GALLERY_EXPLAIN' => $lang['Personal_Gallery_Explain'], --- 400,404 ---- 'L_POSTED' => $lang['Posted'], ! 'U_PERSONAL_GALLERY' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], 'L_PERSONAL_GALLERY_EXPLAIN' => $lang['Personal_Gallery_Explain'], Index: album_edit.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_edit.php,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -C2 -d -r1.8 -r1.8.2.1 *** album_edit.php 17 Jul 2007 05:38:27 -0000 1.8 --- album_edit.php 8 Feb 2008 10:40:50 -0000 1.8.2.1 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 96,100 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_edit&pic_id=$pic_id")); } else --- 96,100 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_edit&pic_id=$pic_id")); } else *************** *** 141,145 **** 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), 'L_PIC_TITLE' => $lang['Pic_Title'], --- 141,145 ---- 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), 'L_PIC_TITLE' => $lang['Pic_Title'], *************** *** 158,162 **** 'L_SUBMIT' => $lang['Submit'], ! 'S_ALBUM_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_edit&pic_id=$pic_id")), ) ); --- 158,162 ---- 'L_SUBMIT' => $lang['Submit'], ! 'S_ALBUM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_edit&pic_id=$pic_id")), ) ); *************** *** 221,239 **** { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>"); } else { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . "\">", "</a>"); } ! $message .= "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 221,239 ---- { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>"); } else { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . "\">", "</a>"); } ! $message .= "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); Index: album_comment_edit.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_comment_edit.php,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -C2 -d -r1.7 -r1.7.2.1 *** album_comment_edit.php 7 Jun 2007 20:13:28 -0000 1.7 --- album_comment_edit.php 8 Feb 2008 10:40:49 -0000 1.7.2.1 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 164,168 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_comment_edit&comment_id=$comment_id")); } else --- 164,168 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_comment_edit&comment_id=$comment_id")); } else *************** *** 202,206 **** else { ! $poster = '<a href="'. append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $thispic['user_id']) .'">'. $thispic['username'] .'</a>'; } --- 202,206 ---- else { ! $poster = '<a href="'. mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $thispic['user_id']) .'">'. $thispic['username'] .'</a>'; } *************** *** 254,261 **** $template->assign_vars(array( 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_THUMBNAIL' => append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=$pic_id")), ! 'U_PIC' => append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=$pic_id", TRUE)), 'PIC_TITLE' => $thispic['pic_title'], --- 254,261 ---- $template->assign_vars(array( 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_THUMBNAIL' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=$pic_id")), ! 'U_PIC' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=$pic_id", TRUE)), 'PIC_TITLE' => $thispic['pic_title'], *************** *** 284,288 **** 'L_SUBMIT' => $lang['Submit'], ! 'S_ALBUM_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_comment_edit&comment_id=$comment_id")) ) ); --- 284,288 ---- 'L_SUBMIT' => $lang['Submit'], ! 'S_ALBUM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_comment_edit&comment_id=$comment_id")) ) ); *************** *** 340,347 **** $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid(this_smartor_mxurl("smartor_mode=album_comment&comment_id=$comment_id")) . '#'.$comment_id.'">') ); ! $message = $lang['Stored'] . "<br /><br />" . sprintf($lang['Click_view_message'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_comment&comment_id=$comment_id")) . "#$comment_id\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 340,347 ---- $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_comment&comment_id=$comment_id")) . '#'.$comment_id.'">') ); ! $message = $lang['Stored'] . "<br /><br />" . sprintf($lang['Click_view_message'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_comment&comment_id=$comment_id")) . "#$comment_id\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); Index: album_modcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_modcp.php,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -C2 -d -r1.7 -r1.7.2.1 *** album_modcp.php 7 Jun 2007 20:13:29 -0000 1.7 --- album_modcp.php 8 Feb 2008 10:40:53 -0000 1.7.2.1 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 166,170 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_modcp&cat_id=$cat_id")); } else --- 166,170 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_modcp&cat_id=$cat_id")); } else *************** *** 344,353 **** else { ! $pic_poster = '<a href="'. append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $picrow[$i]['user_id']) .'">'. $picrow[$i]['username'] .'</a>'; } $template->assign_block_vars('picrow', array( 'PIC_ID' => $picrow[$i]['pic_id'], ! 'PIC_TITLE' => '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=". $picrow[$i]['pic_id'])) .'" target="_blank">'. $picrow[$i]['pic_title'] .'</a>', 'POSTER' => $pic_poster, 'TIME' => create_date($board_config['default_dateformat'], $picrow[$i]['pic_time'], $board_config['board_timezone']), --- 344,353 ---- else { ! $pic_poster = '<a href="'. mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $picrow[$i]['user_id']) .'">'. $picrow[$i]['username'] .'</a>'; } $template->assign_block_vars('picrow', array( 'PIC_ID' => $picrow[$i]['pic_id'], ! 'PIC_TITLE' => '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=". $picrow[$i]['pic_id'])) .'" target="_blank">'. $picrow[$i]['pic_title'] .'</a>', 'POSTER' => $pic_poster, 'TIME' => create_date($board_config['default_dateformat'], $picrow[$i]['pic_time'], $board_config['board_timezone']), *************** *** 361,365 **** $template->assign_vars(array( ! 'PAGINATION' => generate_pagination(append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id&sort_method=$sort_method&sort_order=$sort_order")), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) ) --- 361,365 ---- $template->assign_vars(array( ! 'PAGINATION' => mx_generate_pagination(mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id&sort_method=$sort_method&sort_order=$sort_order")), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) ) *************** *** 405,409 **** $template->assign_vars(array( ! 'U_VIEW_CAT' => append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")), 'CAT_TITLE' => $thiscat['cat_title'], --- 405,409 ---- $template->assign_vars(array( ! 'U_VIEW_CAT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")), 'CAT_TITLE' => $thiscat['cat_title'], *************** *** 417,421 **** 'L_POSTED' => $lang['Posted'], ! 'S_ALBUM_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")), 'L_SELECT_SORT_METHOD' => $lang['Select_sort_method'], --- 417,421 ---- 'L_POSTED' => $lang['Posted'], ! 'S_ALBUM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")), 'L_SELECT_SORT_METHOD' => $lang['Select_sort_method'], *************** *** 573,577 **** $template->assign_vars(array( ! 'S_ALBUM_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=move&cat_id=$cat_id")), 'L_MOVE' => $lang['Move'], 'L_MOVE_TO_CATEGORY' => $lang['Move_to_Category'], --- 573,577 ---- $template->assign_vars(array( ! 'S_ALBUM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=move&cat_id=$cat_id")), 'L_MOVE' => $lang['Move'], 'L_MOVE_TO_CATEGORY' => $lang['Move_to_Category'], *************** *** 635,639 **** } ! $message = $lang['Pics_moved_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 635,639 ---- } ! $message = $lang['Pics_moved_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 699,710 **** if ($cat_id != PERSONAL_GALLERY) { ! $message .= sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />"; } else { ! $message .= sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid("album_personal.$phpEx") . "\">", "</a>"); } ! $message .= '<br /><br />' . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 699,710 ---- if ($cat_id != PERSONAL_GALLERY) { ! $message .= sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />"; } else { ! $message .= sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . mx_append_sid("album_personal.$phpEx") . "\">", "</a>"); } ! $message .= '<br /><br />' . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 769,780 **** if ($cat_id != PERSONAL_GALLERY) { ! $message .= sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />"; } else { ! $message .= sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_personal.$phpEx")) . "\">", "</a>"); } ! $message .= '<br /><br />' . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 769,780 ---- if ($cat_id != PERSONAL_GALLERY) { ! $message .= sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />"; } else { ! $message .= sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal.$phpEx")) . "\">", "</a>"); } ! $message .= '<br /><br />' . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 835,839 **** } ! $message = $lang['Pics_approved_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 835,839 ---- } ! $message = $lang['Pics_approved_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 894,898 **** } ! $message = $lang['Pics_unapproved_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 894,898 ---- } ! $message = $lang['Pics_unapproved_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 961,965 **** 'L_NO' => $lang['No'], 'L_YES' => $lang['Yes'], ! 'S_CONFIRM_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=delete&cat_id=$cat_id")), ) ); --- 961,965 ---- 'L_NO' => $lang['No'], 'L_YES' => $lang['Yes'], ! 'S_CONFIRM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=delete&cat_id=$cat_id")), ) ); *************** *** 1059,1063 **** } ! $message = $lang['Pics_deleted_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 1059,1063 ---- } ! $message = $lang['Pics_deleted_successfully'] .'<br /><br />'. sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>") .'<br /><br />'. sprintf($lang['Click_return_modcp'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); Index: album_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_search.php,v retrieving revision 1.9 retrieving revision 1.9.2.1 diff -C2 -d -r1.9 -r1.9.2.1 *** album_search.php 9 Aug 2007 13:17:00 -0000 1.9 --- album_search.php 8 Feb 2008 10:41:00 -0000 1.9.2.1 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 180,184 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $row['pic_id'])) . '\',\'' . addslashes($row['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } --- 180,184 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $row['pic_id'])) . '\',\'' . addslashes($row['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } *************** *** 188,202 **** $template->assign_block_vars('switch_search_results.search_results', array( 'L_USERNAME' => $row['pic_username'], ! 'U_PROFILE' => append_sid($phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&u=' . $row['pic_user_id']), 'L_CAT' => ($row['cat_user_id'] != ALBUM_PUBLIC_GALLERY ) ? $lang['Users_Personal_Galleries'] : $row['cat_title'], ! 'U_CAT' => ($row['pic_cat_id'] == 0 ) ? append_sid(this_smartor_mxurl('smartor_mode=album_personal&user_id=' . $row['pic_user_id'])) : append_sid(this_smartor_mxurl('smartor_mode=album_cat&cat_id=' . $row['cat_id'])), ! //'U_CAT' => ($row['cat_id'] == $cat_id) ? append_sid(this_smartor_mxurl('smartor_mode=album_cat' . '&cat_id=' . $row['cat_id'])) : append_sid(this_smartor_mxurl()), 'L_PIC' => $row['pic_title'], ! 'U_PIC' => append_sid(this_smartor_mxurl('smartor_mode=album_showpage&pic_id=' . $row['pic_id'])), ! //'U_PIC' => ($album_config['fullpic_popup'] == 1) ? append_sid(this_smartor_mxurl('smartor_mode=album_pic' . '&pic_id=' . $row['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '&pic_id=' . $row['pic_id'])), ! 'THUMBNAIL' => append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=". $row['pic_id'], TRUE)), ! //'THUMBNAIL' => append_sid(album_append_uid($module_root_path. 'includes/album_thumbnail.' . $phpEx . '?pic_id=' . $row['pic_id'])), 'PIC_PREVIEW' => $pic_preview, 'DESC' => $row['pic_desc'], --- 188,202 ---- $template->assign_block_vars('switch_search_results.search_results', array( 'L_USERNAME' => $row['pic_username'], ! 'U_PROFILE' => mx_append_sid($phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&u=' . $row['pic_user_id']), 'L_CAT' => ($row['cat_user_id'] != ALBUM_PUBLIC_GALLERY ) ? $lang['Users_Personal_Galleries'] : $row['cat_title'], ! 'U_CAT' => ($row['pic_cat_id'] == 0 ) ? mx_append_sid(this_smartor_mxurl('smartor_mode=album_personal&user_id=' . $row['pic_user_id'])) : mx_append_sid(this_smartor_mxurl('smartor_mode=album_cat&cat_id=' . $row['cat_id'])), ! //'U_CAT' => ($row['cat_id'] == $cat_id) ? mx_append_sid(this_smartor_mxurl('smartor_mode=album_cat' . '&cat_id=' . $row['cat_id'])) : mx_append_sid(this_smartor_mxurl()), 'L_PIC' => $row['pic_title'], ! 'U_PIC' => mx_append_sid(this_smartor_mxurl('smartor_mode=album_showpage&pic_id=' . $row['pic_id'])), ! //'U_PIC' => ($album_config['fullpic_popup'] == 1) ? mx_append_sid(this_smartor_mxurl('smartor_mode=album_pic' . '&pic_id=' . $row['pic_id'])) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '&pic_id=' . $row['pic_id'])), ! 'THUMBNAIL' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=". $row['pic_id'], TRUE)), ! //'THUMBNAIL' => mx_append_sid(album_append_uid($module_root_path. 'includes/album_thumbnail.' . $phpEx . '?pic_id=' . $row['pic_id'])), 'PIC_PREVIEW' => $pic_preview, 'DESC' => $row['pic_desc'], *************** *** 238,242 **** $template->assign_vars(array( ! 'PAGINATION' => generate_pagination(append_sid(this_smartor_mxurl("smartor_mode=album_search&mode=" . $m . "&search=" . $s)), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], (floor($start / $pics_per_page) + 1), ceil($total_pics / $pics_per_page)) ) --- 238,242 ---- $template->assign_vars(array( ! 'PAGINATION' => mx_generate_pagination(mx_append_sid(this_smartor_mxurl("smartor_mode=album_search&mode=" . $m . "&search=" . $s)), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], (floor($start / $pics_per_page) + 1), ceil($total_pics / $pics_per_page)) ) Index: album_delete.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_delete.php,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -C2 -d -r1.7 -r1.7.2.1 *** album_delete.php 7 Jun 2007 20:13:29 -0000 1.7 --- album_delete.php 8 Feb 2008 10:40:50 -0000 1.7.2.1 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 96,100 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_delete&pic_id=$pic_id")); } else --- 96,100 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_delete&pic_id=$pic_id")); } else *************** *** 129,133 **** if( isset($HTTP_POST_VARS['cancel']) ) { ! redirect(append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id"))); exit; } --- 129,133 ---- if( isset($HTTP_POST_VARS['cancel']) ) { ! redirect(mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id"))); exit; } *************** *** 155,159 **** 'L_YES' => $lang['Yes'], ! 'S_CONFIRM_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_delete&pic_id=$pic_id")), ) ); --- 155,159 ---- 'L_YES' => $lang['Yes'], ! 'S_CONFIRM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_delete&pic_id=$pic_id")), ) ); *************** *** 229,247 **** { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>"); } else { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . "\">", "</a>"); } ! $message .= "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); --- 229,247 ---- { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_category'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) . "\">", "</a>"); } else { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="3;url=' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . '">') ); ! $message .= "<br /><br />" . sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal")) . "\">", "</a>"); } ! $message .= "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . mx_append_sid(this_smartor_mxurl()) . "\">", "</a>"); mx_message_die(GENERAL_MESSAGE, $message); Index: album_page.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_page.php,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -C2 -d -r1.7 -r1.7.2.1 *** album_page.php 7 Jun 2007 20:13:29 -0000 1.7 --- album_page.php 8 Feb 2008 10:40:54 -0000 1.7.2.1 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 163,167 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_page&pic_id=$pic_id")); } else --- 163,167 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_page&pic_id=$pic_id")); } else *************** *** 215,219 **** else { ! $poster = '<a href="'. append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $thispic['user_id']) .'">'. $thispic['username'] .'</a>'; } --- 215,219 ---- else { ! $poster = '<a href="'. mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $thispic['user_id']) .'">'. $thispic['username'] .'</a>'; } *************** *** 221,227 **** $template->assign_vars(array( 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_PIC' => append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=$pic_id")), 'PIC_TITLE' => $thispic['pic_title'], --- 221,227 ---- $template->assign_vars(array( 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_PIC' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=$pic_id")), 'PIC_TITLE' => $thispic['pic_title'], *************** *** 238,246 **** 'PIC_COMMENTS' => $thispic['comments'], ! 'U_RATE' => append_sid(this_smartor_mxurl("smartor_mode=album_rate&pic_id=$pic_id")), ! 'U_COMMENT' => append_sid(this_smartor_mxurl("smartor_mode=album_comment&pic_id=$pic_id")), ! 'U_NEXT' => append_sid(this_smartor_mxurl("smartor_mode=album_page&pic_id=$pic_id&mode=next")), ! 'U_PREVIOUS' => append_sid(this_smartor_mxurl("smartor_mode=album_page&pic_id=$pic_id&mode=previous")), 'L_NEXT' => $lang['Next'], --- 238,246 ---- 'PIC_COMMENTS' => $thispic['comments'], ! 'U_RATE' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_rate&pic_id=$pic_id")), ! 'U_COMMENT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_comment&pic_id=$pic_id")), ! 'U_NEXT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_page&pic_id=$pic_id&mode=next")), ! 'U_PREVIOUS' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_page&pic_id=$pic_id&mode=previous")), 'L_NEXT' => $lang['Next'], Index: album_pic.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_pic.php,v retrieving revision 1.6.2.2 retrieving revision 1.6.2.3 diff -C2 -d -r1.6.2.2 -r1.6.2.3 *** album_pic.php 5 Feb 2008 04:16:33 -0000 1.6.2.2 --- album_pic.php 8 Feb 2008 10:40:57 -0000 1.6.2.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: album_rss.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_rss.php,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** album_rss.php 9 Aug 2007 13:16:59 -0000 1.2 --- album_rss.php 8 Feb 2008 10:40:58 -0000 1.2.2.1 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2007 [ory...@rd..., OryNider] Mx-Publisher Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: album_thumbnail.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_thumbnail.php,v retrieving revision 1.7.2.2 retrieving revision 1.7.2.3 diff -C2 -d -r1.7.2.2 -r1.7.2.3 *** album_thumbnail.php 5 Feb 2008 04:16:33 -0000 1.7.2.2 --- album_thumbnail.php 8 Feb 2008 10:41:01 -0000 1.7.2.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: album_hotornot.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_hotornot.php,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -C2 -d -r1.7 -r1.7.2.1 *** album_hotornot.php 7 Jun 2007 20:13:29 -0000 1.7 --- album_hotornot.php 8 Feb 2008 10:40:50 -0000 1.7.2.1 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 108,112 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_hotornot")); } else --- 108,112 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid($phpbb_root_path ."login.$phpEx?redirect=album.php?smartor_mode=album_hotornot")); } else *************** *** 161,165 **** else { ! $poster = '<a href="'. append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $thispic['user_id']) .'">'. $thispic['username'] .'</a>'; } --- 161,165 ---- else { ! $poster = '<a href="'. mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $thispic['user_id']) .'">'. $thispic['username'] .'</a>'; } *************** *** 185,191 **** $template->assign_vars(array( 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_PIC' => append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=$pic_id")), 'PIC_TITLE' => $thispic['pic_title'], --- 185,191 ---- $template->assign_vars(array( 'CAT_TITLE' => $thiscat['cat_title'], ! 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_PIC' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=$pic_id")), 'PIC_TITLE' => $thispic['pic_title'], *************** *** 202,206 **** 'PIC_COMMENTS' => $thispic['comments'], ! 'U_COMMENT' => append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=$pic_id")), 'L_RATING' => $lang['Rating'], --- 202,206 ---- 'PIC_COMMENTS' => $thispic['comments'], ! 'U_COMMENT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=$pic_id")), 'L_RATING' => $lang['Rating'], Index: album_cat_sort.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_cat_sort.php,v retrieving revision 1.10 retrieving revision 1.10.2.1 diff -C2 -d -r1.10 -r1.10.2.1 *** album_cat_sort.php 9 Aug 2007 13:16:55 -0000 1.10 --- album_cat_sort.php 8 Feb 2008 10:40:48 -0000 1.10.2.1 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 56,60 **** if ($cat_id == PERSONAL_GALLERY) { ! redirect(append_sid("album_personal.$phpEx")); } --- 56,60 ---- if ($cat_id == PERSONAL_GALLERY) { ! redirect(mx_append_sid("album_personal.$phpEx")); } *************** *** 159,163 **** { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(append_sid("login.$phpEx?redirect=album_cat.$phpEx&cat_id=$cat_id")); } else --- 159,163 ---- { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); ! redirect(mx_append_sid("login.$phpEx?redirect=album_cat.$phpEx&cat_id=$cat_id")); } else *************** *** 195,199 **** if( ($userdata['user_level'] == ADMIN) or ($auth_data['moderator'] == 1) ) { ! $auth_list .= sprintf($lang['Album_moderate_can'], '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) .'">', '</a>'); } --- 195,199 ---- if( ($userdata['user_level'] == ADMIN) or ($auth_data['moderator'] == 1) ) { ! $auth_list .= sprintf($lang['Album_moderate_can'], '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&cat_id=$cat_id")) .'">', '</a>'); } *************** *** 233,237 **** for ($j = 0; $j < count($grouprows); $j++) { ! $group_link = '<a href="'. append_sid("groupcp.$phpEx?". POST_GROUPS_URL .'='. $grouprows[$j]['group_id']) .'">'. $grouprows[$j]['group_name'] .'</a>'; $moderators_list .= ($moderators_list == '') ? $group_link : ', ' . $group_link; --- 233,237 ---- for ($j = 0; $j < count($grouprows); $j++) { ! $group_link = '<a href="'. mx_append_sid("groupcp.$phpEx?". POST_GROUPS_URL .'='. $grouprows[$j]['group_id']) .'">'. $grouprows[$j]['group_name'] .'</a>'; $moderators_list .= ($moderators_list == '') ? $group_link : ', ' . $group_link; *************** *** 427,431 **** $approval_mode = ($picrow[$j]['pic_approval'] == 0) ? 'approval' : 'unapproval'; ! $approval_link = '<a href="'. append_sid("album_modcp.$phpEx?mode=$approval_mode&pic_id=". $picrow[$j]['pic_id']) .'">'; $approval_link .= ($picrow[$j]['pic_approval'] == 0) ? '<b>'. $lang['Approve'] .'</b>' : $lang['Unapprove']; --- 427,431 ---- $approval_mode = ($picrow[$j]['pic_approval'] == 0) ? 'approval' : 'unapproval'; ! $approval_link = '<a href="'. mx_append_sid("album_modcp.$phpEx?mode=$approval_mode&pic_id=". $picrow[$j]['pic_id']) .'">'; $approval_link .= ($picrow[$j]['pic_approval'] == 0) ? '<b>'. $lang['Approve'] .'</b>' : $lang['Unapprove']; *************** *** 436,441 **** $template->assign_block_vars('picrow.piccol', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid("album_pic.$phpEx?pic_id=". $picrow[$j]['pic_id']) : append_sid("album_page.$phpEx?pic_id=". $picrow[$j]['pic_id']), ! 'THUMBNAIL' => append_sid("album_thumbnail.$phpEx?pic_id=". $picrow[$j]['pic_id']), 'DESC' => $picrow[$j]['pic_desc'], 'APPROVAL' => $approval_link, --- 436,441 ---- $template->assign_block_vars('picrow.piccol', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid("album_pic.$phpEx?pic_id=". $picrow[$j]['pic_id']) : mx_append_sid("album_page.$phpEx?pic_id=". $picrow[$j]['pic_id']), ! 'THUMBNAIL' => mx_append_sid("album_thumbnail.$phpEx?pic_id=". $picrow[$j]['pic_id']), 'DESC' => $picrow[$j]['pic_desc'], 'APPROVAL' => $approval_link, *************** *** 449,453 **** else { ! $pic_poster = '<a href="'. append_sid("profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $picrow[$j]['user_id']) .'">'. $picrow[$j]['username'] .'</a>'; } --- 449,453 ---- else { ! $pic_poster = '<a href="'. mx_append_sid("profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $picrow[$j]['user_id']) .'">'. $picrow[$j]['username'] .'</a>'; } *************** *** 459,473 **** 'VIEW' => $picrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. append_sid("album_rate.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Rating'] . '</a> : ' . $picrow[$j]['rating'] . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. append_sid("album_comment.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Comments'] . '</a> : ' . $picrow[$j]['comments'] . '<br />') : '', ! 'EDIT' => ( ( $auth_data['edit'] and ($picrow[$j]['pic_user_id'] == $userdata['user_id']) ) or ($auth_data['moderator'] and ($thiscat['cat_edit_level'] != ALBUM_ADMIN) ) or ($userdata['user_level'] == ADMIN) ) ? '<a href="'. append_sid("album_edit.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Edit_pic'] . '</a>' : '', ! 'DELETE' => ( ( $auth_data['delete'] and ($picrow[$j]['pic_user_id'] == $userdata['user_id']) ) or ($auth_data['moderator'] and ($thiscat['cat_delete_level'] != ALBUM_ADMIN) ) or ($userdata['user_level'] == ADMIN) ) ? '<a href="'. append_sid("album_delete.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Delete_pic'] . '</a>' : '', ! 'MOVE' => ($auth_data['moderator']) ? '<a href="'. append_sid("album_modcp.$phpEx?mode=move&pic_id=". $picrow[$j]['pic_id']) .'">'. $lang['Move'] .'</a>' : '', ! 'LOCK' => ($auth_data['moderator']) ? '<a href="'. append_sid("album_modcp.$phpEx?mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id']) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' --- 459,473 ---- 'VIEW' => $picrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. mx_append_sid("album_rate.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Rating'] . '</a> : ' . $picrow[$j]['rating'] . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. mx_append_sid("album_comment.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Comments'] . '</a> : ' . $picrow[$j]['comments'] . '<br />') : '', ! 'EDIT' => ( ( $auth_data['edit'] and ($picrow[$j]['pic_user_id'] == $userdata['user_id']) ) or ($auth_data['moderator'] and ($thiscat['cat_edit_level'] != ALBUM_ADMIN) ) or ($userdata['user_level'] == ADMIN) ) ? '<a href="'. mx_append_sid("album_edit.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Edit_pic'] . '</a>' : '', ! 'DELETE' => ( ( $auth_data['delete'] and ($picrow[$j]['pic_user_id'] == $userdata['user_id']) ) or ($auth_data['moderator'] and ($thiscat['cat_delete_level'] != ALBUM_ADMIN) ) or ($userdata['user_level'] == ADMIN) ) ? '<a href="'. mx_append_sid("album_delete.$phpEx?pic_id=". $picrow[$j]['pic_id']) . '">' . $lang['Delete_pic'] . '</a>' : '', ! 'MOVE' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid("album_modcp.$phpEx?mode=move&pic_id=". $picrow[$j]['pic_id']) .'">'. $lang['Move'] .'</a>' : '', ! 'LOCK' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid("album_modcp.$phpEx?mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id']) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' *************** *** 481,485 **** $template->assign_vars(array( ! 'PAGINATION' => generate_pagination(append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id&sort_method=$sort_method&sort_order=$sort_order&initial=" . ((isset($HTTP_GET_VARS['initial']) ) ? ($HTTP_GET_VARS['initial']) : 'all'))), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) ) --- 481,485 ---- $template->assign_vars(array( ! 'PAGINATION' => mx_generate_pagination(mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id&sort_method=$sort_method&sort_order=$sort_order&initial=" . ((isset($HTTP_GET_VARS['initial']) ) ? ($HTTP_GET_VARS['initial']) : 'all'))), $total_pics, $pics_per_page, $start), 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) ) *************** *** 498,502 **** // Build Jumpbox - based on $catrows which was created at the top of this file // ------------------------------------ ! $album_jumpbox = '<form name="jumpbox" action="'. append_sid("album_cat.$phpEx") .'" method="get">'; $album_jumpbox .= $lang['Jump_to'] . ': <select name="cat_id" onChange="forms[\'jumpbox\'].submit()">'; for ($i = 0; $i < count($catrows); $i++) --- 498,502 ---- // Build Jumpbox - based on $catrows which was created at the top of this file // ------------------------------------ ! $album_jumpbox = '<form name="jumpbox" action="'. mx_append_sid("album_cat.$phpEx") .'" method="get">'; $album_jumpbox .= $lang['Jump_to'] . ': <select name="cat_id" onChange="forms[\'jumpbox\'].submit()">'; for ($i = 0; $i < count($catrows); $i++) *************** *** 560,564 **** else { ! $initial_links .= '<a href="' . append_sid($base_url . $letter) . '">'. $letter . '</a> '; } } --- 560,564 ---- else { ! $initial_links .= '<a href="' . mx_append_sid($base_url . $letter) . '">'. $letter . '</a> '; } } *************** *** 572,576 **** else { ! $initial_links .= '<a href="' . append_sid($base_url . "other") . '">'. $l_other . '</a> '; } --- 572,576 ---- else { ! $initial_links .= '<a href="' . mx_append_sid($base_url . "other") . '">'. $l_other . '</a> '; } *************** *** 583,587 **** else { ! $initial_links .= '<a href="' . append_sid($base_url . "all") . '">'. $l_all . '</a> '; } --- 583,587 ---- else { ! $initial_links .= '<a href="' . mx_append_sid($base_url . "all") . '">'. $l_all . '</a> '; } *************** *** 594,598 **** $template->assign_vars(array( ! 'U_VIEW_CAT' => append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")), 'CAT_TITLE' => $thiscat['cat_title'], --- 594,598 ---- $template->assign_vars(array( ! 'U_VIEW_CAT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")), 'CAT_TITLE' => $thiscat['cat_title'], *************** *** 600,604 **** 'MODERATORS' => $moderators_list, ! ... [truncated message content] |
|
From: OryNider <ory...@us...> - 2008-02-08 10:41:26
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22773/album_mod Modified Files: Tag: core28x album_bbconstants.php album_common.php album_constants.php album_functions.php album_hierarchy_auth.php album_hierarchy_functions.php album_hierarchy_sql.php album_integration.php album_nuffimage_box.php clown_album_functions.php Log Message: upgrade Index: album_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_constants.php,v retrieving revision 1.10.2.4 retrieving revision 1.10.2.5 diff -C2 -d -r1.10.2.4 -r1.10.2.5 *** album_constants.php 5 Feb 2008 04:16:33 -0000 1.10.2.4 --- album_constants.php 8 Feb 2008 10:40:43 -0000 1.10.2.5 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team Index: album_hierarchy_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_hierarchy_functions.php,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -C2 -d -r1.7 -r1.7.2.1 *** album_hierarchy_functions.php 9 Aug 2007 13:16:53 -0000 1.7 --- album_hierarchy_functions.php 8 Feb 2008 10:40:44 -0000 1.7.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ * @copyright (c) 2003 [bla...@ya..., idl...@sl...] mxBB Development Team --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ * @copyright (c) 2003 [bla...@ya..., idl...@sl...] mxBB Development Team *************** *** 138,146 **** 'INC_SPAN' => $max_level - $level +1 , // + $column_offset, ! 'U_CAT_EDIT' => append_sid(album_append_uid("$admin_url?action=edit&cat_id=$cat_id")), ! 'U_CAT_DELETE' => ($is_root && $userdata['user_level'] != ADMIN) ? '' : append_sid(album_append_uid("$admin_url?action=delete&cat_id=$cat_id")), ! 'U_CAT_MOVE_UP' => ($is_root) ? '' : append_sid(album_append_uid("$admin_url?action=move&move=-15&cat_id=$cat_id")), ! 'U_CAT_MOVE_DOWN' => ($is_root) ? '' : append_sid(album_append_uid("$admin_url?action=move&move=15&cat_id=$cat_id")), ! 'U_VIEWCAT' => append_sid(album_append_uid("$admin_url?action=edit&cat_id=$cat_id")), 'L_MOVE_UP' => ($is_root) ? '' : $lang['Move_up'], --- 138,146 ---- 'INC_SPAN' => $max_level - $level +1 , // + $column_offset, ! 'U_CAT_EDIT' => mx_append_sid(album_append_uid("$admin_url?action=edit&cat_id=$cat_id")), ! 'U_CAT_DELETE' => ($is_root && $userdata['user_level'] != ADMIN) ? '' : mx_append_sid(album_append_uid("$admin_url?action=delete&cat_id=$cat_id")), ! 'U_CAT_MOVE_UP' => ($is_root) ? '' : mx_append_sid(album_append_uid("$admin_url?action=move&move=-15&cat_id=$cat_id")), ! 'U_CAT_MOVE_DOWN' => ($is_root) ? '' : mx_append_sid(album_append_uid("$admin_url?action=move&move=15&cat_id=$cat_id")), ! 'U_VIEWCAT' => mx_append_sid(album_append_uid("$admin_url?action=edit&cat_id=$cat_id")), 'L_MOVE_UP' => ($is_root) ? '' : $lang['Move_up'], *************** *** 286,290 **** $subdesc = album_get_object_lang($subcur, 'desc'); ! $subpgm = append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . $album_data['id'][$subthis])); // the number of picture for the sub category (only one level down) --- 286,290 ---- $subdesc = album_get_object_lang($subcur, 'desc'); ! $subpgm = mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . $album_data['id'][$subthis])); // the number of picture for the sub category (only one level down) *************** *** 338,342 **** $subfolder_img = '<img src="' . $slideshow_img_xs . '" valign="middle" title="' . $sub_total_pics . '" alt="' . $sub_total_pics . '"/>'; $sub_cat_separator = ( $i != count ($sub_cats) ) ? ',':''; ! //$slideshow_link = append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $last_pic_id . "&slideshow=5")); $link = $link_spacer . $subfolder_img . ' <a href="' . $subpgm . '" title="' . $subdesc . '" class="forumlink2' . $new_images_class . '"><b>' . $subname . '</b></a><b>' . $sub_cat_separator .'</b> '; } --- 338,342 ---- $subfolder_img = '<img src="' . $slideshow_img_xs . '" valign="middle" title="' . $sub_total_pics . '" alt="' . $sub_total_pics . '"/>'; $sub_cat_separator = ( $i != count ($sub_cats) ) ? ',':''; ! //$slideshow_link = mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $last_pic_id . "&slideshow=5")); $link = $link_spacer . $subfolder_img . ' <a href="' . $subpgm . '" title="' . $subdesc . '" class="forumlink2' . $new_images_class . '"><b>' . $subname . '</b></a><b>' . $sub_cat_separator .'</b> '; } *************** *** 370,374 **** $first_pic_id = album_get_first_pic_id($cur_cat_id); $last_pic_id = album_get_last_pic_id($ss_cat_id); ! $slideshow_link = append_sid(this_fap_portalurl("smartor_mode=album_showpage" . "&pic_id=" . $last_pic_id . "&slideshow=5")); $slideshow_link_full = '[<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>]'; //$slideshow_link_full = '<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . ' ' . $slideshow_img . '</a>'; --- 370,374 ---- $first_pic_id = album_get_first_pic_id($cur_cat_id); $last_pic_id = album_get_last_pic_id($ss_cat_id); ! $slideshow_link = mx_append_sid(this_fap_portalurl("smartor_mode=album_showpage" . "&pic_id=" . $last_pic_id . "&slideshow=5")); $slideshow_link_full = '[<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>]'; //$slideshow_link_full = '<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . ' ' . $slideshow_img . '</a>'; *************** *** 395,399 **** $last_pic_id = album_get_last_pic_id($ss_cat_id); $slideshow_img = '<img src="' . $images['icon_latest_reply'] . '" alt="' . $lang['Slideshow'] . '" title="' . $lang['Slideshow'] . '" border="0" align="middle" />'; ! $slideshow_link = append_sid(this_fap_portalurl("smartor_mode=album_showpage" . "&pic_id=" . $first_pic_id . "&slideshow=5")); $slideshow_link_full = '[<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>]'; //$slideshow_link_full = '<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . ' ' . $slideshow_img . '</a>'; --- 395,399 ---- $last_pic_id = album_get_last_pic_id($ss_cat_id); $slideshow_img = '<img src="' . $images['icon_latest_reply'] . '" alt="' . $lang['Slideshow'] . '" title="' . $lang['Slideshow'] . '" border="0" align="middle" />'; ! $slideshow_link = mx_append_sid(this_fap_portalurl("smartor_mode=album_showpage" . "&pic_id=" . $first_pic_id . "&slideshow=5")); $slideshow_link_full = '[<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>]'; //$slideshow_link_full = '<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . ' ' . $slideshow_img . '</a>'; *************** *** 466,470 **** $slideshow_img = '<img src="' . $slideshow_img_xs . '" alt="' . $lang['Slideshow'] . '" title="' . $lang['Slideshow'] . '" border="0" />'; // Bicet - XS Support - END ! $slideshow_link = append_sid(this_fap_portalurl("smartor_mode=album_showpage" . '&pic_id=' . $first_pic_id . '&slideshow=5')); //$slideshow_link_full = ' (<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>) '; $slideshow_link_full = ' [<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>] '; --- 466,470 ---- $slideshow_img = '<img src="' . $slideshow_img_xs . '" alt="' . $lang['Slideshow'] . '" title="' . $lang['Slideshow'] . '" border="0" />'; // Bicet - XS Support - END ! $slideshow_link = mx_append_sid(this_fap_portalurl("smartor_mode=album_showpage" . '&pic_id=' . $first_pic_id . '&slideshow=5')); //$slideshow_link_full = ' (<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>) '; $slideshow_link_full = ' [<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>] '; *************** *** 477,481 **** $slideshow_img = '<img src="' . $slideshow_icon . '" alt="' . $lang['Slideshow'] . '" title="' . $lang['Slideshow'] . '" border="0" align="middle" />'; ! $slideshow_link = append_sid(this_fap_portalurl("smartor_mode=album_showpage" . '&pic_id=' . $first_pic_id . '&slideshow=5')); $slideshow_link_full = ' [<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>] '; --- 477,481 ---- $slideshow_img = '<img src="' . $slideshow_icon . '" alt="' . $lang['Slideshow'] . '" title="' . $lang['Slideshow'] . '" border="0" align="middle" />'; ! $slideshow_link = mx_append_sid(this_fap_portalurl("smartor_mode=album_showpage" . '&pic_id=' . $first_pic_id . '&slideshow=5')); $slideshow_link_full = ' [<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>] '; *************** *** 500,504 **** } global $config_mg; ! $cat_url = ( isset($config_mg['url_rw']) && ($config_mg['url_rw'] === '1') ) ? append_sid(str_replace ('--', '-', make_url_friendly(album_get_object_lang($cur_cat_id, 'name')) . "-ac" . $cat_id . ".html")) : append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")); } else --- 500,504 ---- } global $config_mg; ! $cat_url = ( isset($config_mg['url_rw']) && ($config_mg['url_rw'] === '1') ) ? mx_append_sid(str_replace ('--', '-', make_url_friendly(album_get_object_lang($cur_cat_id, 'name')) . "-ac" . $cat_id . ".html")) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")); } else *************** *** 513,517 **** } $xs_new = ''; ! $cat_url = append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")); } // send all the data to the template, except for the sub categories links --- 513,517 ---- } $xs_new = ''; ! $cat_url = mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")); } // send all the data to the template, except for the sub categories links *************** *** 524,528 **** 'XS_NEW' => $xs_new, 'U_VIEWCAT' => $cat_url, ! //'U_VIEWCAT' => append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")), 'L_MODERATORS' => empty($moderators) ? '' : $lang['Moderators'] . ' :', 'MODERATORS' => $moderators, --- 524,528 ---- 'XS_NEW' => $xs_new, 'U_VIEWCAT' => $cat_url, ! //'U_VIEWCAT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")), 'L_MODERATORS' => empty($moderators) ? '' : $lang['Moderators'] . ' :', 'MODERATORS' => $moderators, *************** *** 612,624 **** if ($album_config['fullpic_popup'] == 0) { ! $pic_url_sid = append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '&pic_id=' . $last_pic_id)); $pic_target = '_self'; } else { ! $pic_url_sid = append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $last_pic_id)); $pic_target = '_blank'; } ! $pic_thumb_sid = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $last_pic_id)); if ($last_pic_id == 0) --- 612,624 ---- if ($album_config['fullpic_popup'] == 0) { ! $pic_url_sid = mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '&pic_id=' . $last_pic_id)); $pic_target = '_self'; } else { ! $pic_url_sid = mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $last_pic_id)); $pic_target = '_blank'; } ! $pic_thumb_sid = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $last_pic_id)); if ($last_pic_id == 0) *************** *** 745,749 **** //----------------------------------------------- // Append $user_id to a url. ! // Borrowed from append_sid in session.php //----------------------------------------------- function album_append_uid($user_id, $url = '', $non_html_amp = false) --- 745,749 ---- //----------------------------------------------- // Append $user_id to a url. ! // Borrowed from mx_append_sid in session.php //----------------------------------------------- function album_append_uid($user_id, $url = '', $non_html_amp = false) *************** *** 943,951 **** if (!empty($field_name) && ( $album_data['auth'][$param_value]['view']==1) && $k == 1 ) { ! $res = '<a href="' . append_sid(album_append_uid('./' . $pgm_name . (($field_name != '') ? "&$param_type=$param_value" : ''))) . '" class="nav-current">' . $field_name . '</a>' . (($res != '') ? ALBUM_NAV_ARROW . $res : ''); } elseif (!empty($field_name) && ( $album_data['auth'][$param_value]['view']==1) ) { ! $res = '<a href="' . append_sid(album_append_uid('./' . $pgm_name . (($field_name != '') ? "&$param_type=$param_value" : ''))) . '" class="nav">' . $field_name . '</a>' . (($res != '') ? ALBUM_NAV_ARROW . $res : ''); } } --- 943,951 ---- if (!empty($field_name) && ( $album_data['auth'][$param_value]['view']==1) && $k == 1 ) { ! $res = '<a href="' . mx_append_sid(album_append_uid('./' . $pgm_name . (($field_name != '') ? "&$param_type=$param_value" : ''))) . '" class="nav-current">' . $field_name . '</a>' . (($res != '') ? ALBUM_NAV_ARROW . $res : ''); } elseif (!empty($field_name) && ( $album_data['auth'][$param_value]['view']==1) ) { ! $res = '<a href="' . mx_append_sid(album_append_uid('./' . $pgm_name . (($field_name != '') ? "&$param_type=$param_value" : ''))) . '" class="nav">' . $field_name . '</a>' . (($res != '') ? ALBUM_NAV_ARROW . $res : ''); } } *************** *** 954,958 **** if (!empty($field_name) && ( $album_data['auth'][$param_value]['view'] == 1) ) { ! $res = '<a href="' . append_sid(album_append_uid('./' . $pgm_name . (($field_name != '') ? "&$param_type=$param_value" : ''))) . '" class="' . $nav_class . '">' . $field_name . '</a>' . (($res != '') ? ALBUM_NAV_ARROW . $res : ''); } } --- 954,958 ---- if (!empty($field_name) && ( $album_data['auth'][$param_value]['view'] == 1) ) { ! $res = '<a href="' . mx_append_sid(album_append_uid('./' . $pgm_name . (($field_name != '') ? "&$param_type=$param_value" : ''))) . '" class="' . $nav_class . '">' . $field_name . '</a>' . (($res != '') ? ALBUM_NAV_ARROW . $res : ''); } } *************** *** 1276,1280 **** $res = $javascript; ! $res .= '<form name="jumpbox" action="'. append_sid(this_smartor_mxurl("smartor_mode=album_cat")) .'" method="get">'; $res .= $lang['Jump_to'] . ': <select name="cat_id" onChange="onChangeCheck()">'; $res .= album_get_tree_option($cat_id, $auth_key, ALBUM_SELECTBOX_INCLUDE_ROOT); --- 1276,1280 ---- $res = $javascript; ! $res .= '<form name="jumpbox" action="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat")) .'" method="get">'; $res .= $lang['Jump_to'] . ': <select name="cat_id" onChange="onChangeCheck()">'; $res .= album_get_tree_option($cat_id, $auth_key, ALBUM_SELECTBOX_INCLUDE_ROOT); *************** *** 1422,1430 **** //'L_PUBLIC_CATS' => (!$is_personal_gallery) ? $lang['Public_Categories'] : sprintf($lang['Personal_Gallery_Of_User'], album_get_user_name($user_id)), 'L_PUBLIC_CATS' => (!$is_personal_gallery) ? $lang['Public_Categories'] : $lang['Public_Categories'], ! 'U_YOUR_PERSONAL_GALLERY' => append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=" . $userdata['user_id'])), ! //'U_YOUR_PERSONAL_GALLERY' => append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . album_get_personal_root_id($userdata['user_id']) . "user_id=" . $userdata['user_id'])), 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], ! 'U_USERS_PERSONAL_GALLERIES' => append_sid(this_smartor_mxurl("smartor_mode=album_personal_index")), 'L_USERS_PERSONAL_GALLERIES' => $lang['Users_Personal_Galleries'] ) --- 1422,1430 ---- //'L_PUBLIC_CATS' => (!$is_personal_gallery) ? $lang['Public_Categories'] : sprintf($lang['Personal_Gallery_Of_User'], album_get_user_name($user_id)), 'L_PUBLIC_CATS' => (!$is_personal_gallery) ? $lang['Public_Categories'] : $lang['Public_Categories'], ! 'U_YOUR_PERSONAL_GALLERY' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=" . $userdata['user_id'])), ! //'U_YOUR_PERSONAL_GALLERY' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . album_get_personal_root_id($userdata['user_id']) . "user_id=" . $userdata['user_id'])), 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], ! 'U_USERS_PERSONAL_GALLERIES' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal_index")), 'L_USERS_PERSONAL_GALLERIES' => $lang['Users_Personal_Galleries'] ) *************** *** 1442,1450 **** { $template->assign_block_vars('catfooter.cat_public_footer', array( ! 'U_YOUR_PERSONAL_GALLERY' => append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=" . $userdata['user_id'])), ! //'U_YOUR_PERSONAL_GALLERY' => append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . album_get_personal_root_id($userdata['user_id']) . "user_id=" . $userdata['user_id'])), 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], ! 'U_USERS_PERSONAL_GALLERIES' => append_sid(this_smartor_mxurl("smartor_mode=album_personal_index")), 'L_USERS_PERSONAL_GALLERIES' => $lang['Users_Personal_Galleries'], --- 1442,1450 ---- { $template->assign_block_vars('catfooter.cat_public_footer', array( ! 'U_YOUR_PERSONAL_GALLERY' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=" . $userdata['user_id'])), ! //'U_YOUR_PERSONAL_GALLERY' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . album_get_personal_root_id($userdata['user_id']) . "user_id=" . $userdata['user_id'])), 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], ! 'U_USERS_PERSONAL_GALLERIES' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_personal_index")), 'L_USERS_PERSONAL_GALLERIES' => $lang['Users_Personal_Galleries'], Index: album_nuffimage_box.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_nuffimage_box.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** album_nuffimage_box.php 7 Jun 2007 20:13:18 -0000 1.1 --- album_nuffimage_box.php 8 Feb 2008 10:40:45 -0000 1.1.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team *************** *** 118,126 **** 'NUFF_PIC_ID' => $pic_id, ! //'HIDDEN_FIELDS_NUFF' => append_sid(album_append_uid(('album_pic_nuffed.' . $phpEx . '?pic_id=' . $pic_id . $nuff_mode)), ! //'U_NUFFIMAGE_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '?pic_id=' . $pic_id . $full_size_param . '&nuffimage=true')), ! 'U_NUFFIMAGE_ACTION' => append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '&pic_id=' . $pic_id . $full_size_param . '&nuffimage=true')), ! //'U_NUFFIMAGE_ACTION' => append_sid(album_append_uid('album_showpage.' . $phpEx)), // This would be required in tpl if you want to hide pic id and nuffimage var. /* --- 118,126 ---- 'NUFF_PIC_ID' => $pic_id, ! //'HIDDEN_FIELDS_NUFF' => mx_append_sid(album_append_uid(('album_pic_nuffed.' . $phpEx . '?pic_id=' . $pic_id . $nuff_mode)), ! //'U_NUFFIMAGE_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '?pic_id=' . $pic_id . $full_size_param . '&nuffimage=true')), ! 'U_NUFFIMAGE_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage" . '&pic_id=' . $pic_id . $full_size_param . '&nuffimage=true')), ! //'U_NUFFIMAGE_ACTION' => mx_append_sid(album_append_uid('album_showpage.' . $phpEx)), // This would be required in tpl if you want to hide pic id and nuffimage var. /* Index: album_hierarchy_sql.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_hierarchy_sql.php,v retrieving revision 1.9 retrieving revision 1.9.2.1 diff -C2 -d -r1.9 -r1.9.2.1 *** album_hierarchy_sql.php 11 Jul 2007 14:25:27 -0000 1.9 --- album_hierarchy_sql.php 8 Feb 2008 10:40:44 -0000 1.9.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team *************** *** 797,801 **** else { ! $info .= $lang['Pic_Poster'] . ': <a href="' . append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $row['user_id']) . '">' . $row['username'] . '</a>'; } } --- 797,801 ---- else { ! $info .= $lang['Pic_Poster'] . ': <a href="' . mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $row['user_id']) . '">' . $row['username'] . '</a>'; } } *************** *** 813,817 **** $info .= '<br />' . $lang['Pic_Image'] . ': <a href="'; ! $info .= ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $row['pic_id'])) . '" target="_blank">' : append_sid(this_smartor_mxurl("smartor_mode=album_pic" . '&pic_id=' . $row['pic_id'])) . '">' ; $info .= $row['pic_title'] . '</a>'; --- 813,817 ---- $info .= '<br />' . $lang['Pic_Image'] . ': <a href="'; ! $info .= ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $row['pic_id'])) . '" target="_blank">' : mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic" . '&pic_id=' . $row['pic_id'])) . '">' ; $info .= $row['pic_title'] . '</a>'; *************** *** 958,966 **** else { ! $info .= '<a href="' . append_sid(PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $row['user_id']) . '">' . $row['username'] . '</a>'; } } ! $info .= '<br />' . $lang['Pic_Image'] . ': <a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_pic" . '?pic_id=' . $row['pic_id'])) . '">' . $row['pic_title'] . '</a>'; return $info; --- 958,966 ---- else { ! $info .= '<a href="' . mx_append_sid(PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $row['user_id']) . '">' . $row['username'] . '</a>'; } } ! $info .= '<br />' . $lang['Pic_Image'] . ': <a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic" . '?pic_id=' . $row['pic_id'])) . '">' . $row['pic_title'] . '</a>'; return $info; *************** *** 1002,1006 **** for ($j = 0; $j < count($grouprows); $j++) { ! $group_link = '<a href="' . append_sid(PHPBB_URL . "groupcp.$phpEx?" . POST_GROUPS_URL . '=' . $grouprows[$j]['group_id']) . '">' . $grouprows[$j]['group_name'] . '</a>'; $moderators .= ($moderators == '') ? $group_link : ', ' . $group_link; } --- 1002,1006 ---- for ($j = 0; $j < count($grouprows); $j++) { ! $group_link = '<a href="' . mx_append_sid(PHPBB_URL . "groupcp.$phpEx?" . POST_GROUPS_URL . '=' . $grouprows[$j]['group_id']) . '">' . $grouprows[$j]['group_name'] . '</a>'; $moderators .= ($moderators == '') ? $group_link : ', ' . $group_link; } *************** *** 1088,1096 **** if (intval($cat_ids) == album_get_personal_root_id($user_id) && $user_id != ALBUM_PUBLIC_GALLERY) { ! $album_pagination_page_url = append_sid(this_smartor_mxurl()); } else { ! $album_pagination_page_url = append_sid(this_smartor_mxurl("smartor_mode=album_cat")); } --- 1088,1096 ---- if (intval($cat_ids) == album_get_personal_root_id($user_id) && $user_id != ALBUM_PUBLIC_GALLERY) { ! $album_pagination_page_url = mx_append_sid(this_smartor_mxurl()); } else { ! $album_pagination_page_url = mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat")); } *************** *** 1159,1163 **** $approval_mode = ($picrow[$j]['pic_approval'] == 0) ? 'approval' : 'unapproval'; ! $approval_link = '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=$approval_mode&pic_id=" . $picrow[$j]['pic_id'])) . '">'; $approval_link .= ($picrow[$j]['pic_approval'] == 0) ? '<b>' . $lang['Approve'] . '</b>' : $lang['Unapprove']; --- 1159,1163 ---- $approval_mode = ($picrow[$j]['pic_approval'] == 0) ? 'approval' : 'unapproval'; ! $approval_link = '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=$approval_mode&pic_id=" . $picrow[$j]['pic_id'])) . '">'; $approval_link .= ($picrow[$j]['pic_approval'] == 0) ? '<b>' . $lang['Approve'] . '</b>' : $lang['Unapprove']; *************** *** 1167,1171 **** } ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail" . "&pic_id=". $picrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 1167,1171 ---- } ! $thumbnail_file = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail" . "&pic_id=". $picrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 1186,1195 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $picrow[$j]['pic_id'])) . '\',\'' . addslashes($picrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('index_pics_block.picrow.piccol', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $picrow[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, --- 1186,1195 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $picrow[$j]['pic_id'])) . '\',\'' . addslashes($picrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('index_pics_block.picrow.piccol', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $picrow[$j]['pic_id'])) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, *************** *** 1221,1225 **** else { ! $pic_poster = '<a href="'. append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL .'='. $picrow[$j]['user_id']) .'">'. $picrow[$j]['username'] .'</a>'; } --- 1221,1225 ---- else { ! $pic_poster = '<a href="'. mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL .'='. $picrow[$j]['user_id']) .'">'. $picrow[$j]['username'] .'</a>'; } *************** *** 1237,1241 **** 'PIC_ID' => $picrow[$j]['pic_id'], //'TITLE' => '<a href = "' . $album_show_pic_url . '?pic_id=' . $picrow[$j]['pic_id'] . '">' . $picrow[$j]['pic_title'] . '</a>', ! 'TITLE' => '<a href = "' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $picrow[$j]['pic_title'] . '</a>', 'POSTER' => $pic_poster, 'TIME' => create_date2($board_config['default_dateformat'], $picrow[$j]['pic_time'], $board_config['board_timezone']), --- 1237,1241 ---- 'PIC_ID' => $picrow[$j]['pic_id'], //'TITLE' => '<a href = "' . $album_show_pic_url . '?pic_id=' . $picrow[$j]['pic_id'] . '">' . $picrow[$j]['pic_title'] . '</a>', ! 'TITLE' => '<a href = "' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $picrow[$j]['pic_title'] . '</a>', 'POSTER' => $pic_poster, 'TIME' => create_date2($board_config['default_dateformat'], $picrow[$j]['pic_time'], $board_config['board_timezone']), *************** *** 1243,1261 **** 'VIEW' => $picrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ?( '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])) . '"' . $image_rating_link_style . '>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'EDIT' => ($edit_rights) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_edit&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Edit_pic'] . '</a>' : '', ! 'DELETE' => ($delete_rights) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_delete&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Delete_pic'] . '</a>' : '', ! 'MOVE' => ($auth_data['moderator']) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=move&pic_id=" . $picrow[$j]['pic_id'])) .'">'. $lang['Move'] .'</a>' : '', ! 'LOCK' => ($auth_data['moderator']) ? '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=" . (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') . '&pic_id=' . $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '', ! 'AVATAR_PIC' => ( ($album_config['personal_allow_avatar_gallery'] == 1) && ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<br /><a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_avatar&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Avatar_Set'] . '</a>' : '', 'IMG_BBCODE' => ( ($userdata['user_level'] == ADMIN) || ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<br /><a href="javasript://" OnClick="window.clipboardData.setData(\'Text\', \'[albumimg]' . $picrow[$j]['pic_id'] . '[/albumimg]\'); return false;">' . $lang['BBCode_Copy'] . '</a>' : '' --- 1243,1261 ---- 'VIEW' => $picrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ?( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])) . '"' . $image_rating_link_style . '>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'EDIT' => ($edit_rights) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_edit&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Edit_pic'] . '</a>' : '', ! 'DELETE' => ($delete_rights) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_delete&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Delete_pic'] . '</a>' : '', ! 'MOVE' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=move&pic_id=" . $picrow[$j]['pic_id'])) .'">'. $lang['Move'] .'</a>' : '', ! 'LOCK' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=" . (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') . '&pic_id=' . $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '', ! 'AVATAR_PIC' => ( ($album_config['personal_allow_avatar_gallery'] == 1) && ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<br /><a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_avatar&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Avatar_Set'] . '</a>' : '', 'IMG_BBCODE' => ( ($userdata['user_level'] == ADMIN) || ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<br /><a href="javasript://" OnClick="window.clipboardData.setData(\'Text\', \'[albumimg]' . $picrow[$j]['pic_id'] . '[/albumimg]\'); return false;">' . $lang['BBCode_Copy'] . '</a>' : '' *************** *** 1267,1271 **** { $last_pic_id = $picrow[$j]['pic_id']; ! $slideshow_link = append_sid(this_fap_portalurl("smartor_mode=album_showpage" . '&pic_id=' . $last_pic_id . '&slideshow=5')); $slideshow_link_full = ' [<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>] '; } --- 1267,1271 ---- { $last_pic_id = $picrow[$j]['pic_id']; ! $slideshow_link = mx_append_sid(this_fap_portalurl("smartor_mode=album_showpage" . '&pic_id=' . $last_pic_id . '&slideshow=5')); $slideshow_link_full = ' [<a href="' . $slideshow_link . '">' . $lang['Slideshow'] . '</a>] '; } *************** *** 1286,1293 **** else { ! $album_page_url = append_sid(this_fap_portalurl("smartor_mode=album_cat")); } ! $image_cat_url = append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . $picrow[$j]['cat_id'] . '&user_id=' . $picrow[$j]['cat_user_id'])); $template->assign_block_vars('index_pics_block.picrow.pic_detail.cats', array( --- 1286,1293 ---- else { ! $album_page_url = mx_append_sid(this_fap_portalurl("smartor_mode=album_cat")); } ! $image_cat_url = mx_append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=" . $picrow[$j]['cat_id'] . '&user_id=' . $picrow[$j]['cat_user_id'])); $template->assign_block_vars('index_pics_block.picrow.pic_detail.cats', array( *************** *** 1301,1305 **** $template->assign_vars(array( ! 'PAGINATION' => generate_pagination(append_sid(this_smartor_mxurl('smartor_mode=album_cat&cat_id=' . intval($cat_ids) . '&sort_method=' . $sort_method . '&sort_order=' . $sort_order . $viewmode)), $total_pics, $pics_per_page, $start), 'SLIDESHOW' => $slideshow_link_full, 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) --- 1301,1305 ---- $template->assign_vars(array( ! 'PAGINATION' => mx_generate_pagination(mx_append_sid(this_smartor_mxurl('smartor_mode=album_cat&cat_id=' . intval($cat_ids) . '&sort_method=' . $sort_method . '&sort_order=' . $sort_order . $viewmode)), $total_pics, $pics_per_page, $start), 'SLIDESHOW' => $slideshow_link_full, 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $pics_per_page ) + 1 ), ceil( $total_pics / $pics_per_page )) *************** *** 1369,1373 **** } ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $recentrow[$j]['pic_id'], true)); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 1369,1373 ---- } ! $thumbnail_file = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $recentrow[$j]['pic_id'], true)); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 1388,1396 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $recentrow[$j]['pic_id'], true)) . '\',\'' . addslashes($recentrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $recentrow[$j]['pic_id'], true)) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'], false)), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, --- 1388,1396 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $recentrow[$j]['pic_id'], true)) . '\',\'' . addslashes($recentrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $recentrow[$j]['pic_id'], true)) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'], false)), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, *************** *** 1421,1425 **** else { ! $recent_poster = '<a href="'. append_sid(PHPBB_URL. 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL .'='. $recentrow[$j]['user_id']) .'">'. $recentrow[$j]['username'] .'</a>'; } --- 1421,1425 ---- else { ! $recent_poster = '<a href="'. mx_append_sid(PHPBB_URL. 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL .'='. $recentrow[$j]['user_id']) .'">'. $recentrow[$j]['username'] .'</a>'; } *************** *** 1433,1437 **** $template->assign_block_vars('recent_pics_block.recent_pics.recent_detail', array( 'PIC_ID' => $recentrow[$j]['pic_id'], ! 'TITLE' => '<a href = "' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '">' . $recentrow[$j]['pic_title'] . '</a>', 'POSTER' => $recent_poster, 'TIME' => create_date2($board_config['default_dateformat'], $recentrow[$j]['pic_time'], $board_config['board_timezone']), --- 1433,1437 ---- $template->assign_block_vars('recent_pics_block.recent_pics.recent_detail', array( 'PIC_ID' => $recentrow[$j]['pic_id'], ! 'TITLE' => '<a href = "' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '">' . $recentrow[$j]['pic_title'] . '</a>', 'POSTER' => $recent_poster, 'TIME' => create_date2($board_config['default_dateformat'], $recentrow[$j]['pic_time'], $board_config['board_timezone']), *************** *** 1439,1445 **** 'VIEW' => $recentrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($recentrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($recentrow[$j]['pic_user_ip']) .'</a><br />' : '' --- 1439,1445 ---- 'VIEW' => $recentrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($recentrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($recentrow[$j]['pic_user_ip']) .'</a><br />' : '' *************** *** 1538,1542 **** } ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $highestrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 1538,1542 ---- } ! $thumbnail_file = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $highestrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 1558,1562 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $highestrow[$j]['pic_id'])) . '\',\'' . addslashes($highestrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } --- 1558,1562 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $highestrow[$j]['pic_id'])) . '\',\'' . addslashes($highestrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } *************** *** 1564,1568 **** { $template->assign_block_vars('highest_pics_block.highest_pics.highest_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $highestrow[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, --- 1564,1568 ---- { $template->assign_block_vars('highest_pics_block.highest_pics.highest_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $highestrow[$j]['pic_id'])) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, *************** *** 1594,1598 **** else { ! $highest_poster = '<a href="' . append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $highestrow[$j]['user_id']) . '">' . $highestrow[$j]['username'] . '</a>'; } --- 1594,1598 ---- else { ! $highest_poster = '<a href="' . mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $highestrow[$j]['user_id']) . '">' . $highestrow[$j]['username'] . '</a>'; } *************** *** 1609,1613 **** $template->assign_block_vars('highest_pics_block.highest_pics.highest_detail', array( 'PIC_ID' => $highestrow[$j]['pic_id'], ! 'H_TITLE' => '<a href = "' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '">' . $highestrow[$j]['pic_title'] . '</a>', 'H_POSTER' => $highest_poster, 'H_TIME' => create_date2($board_config['default_dateformat'], $highestrow[$j]['pic_time'], $board_config['board_timezone']), --- 1609,1613 ---- $template->assign_block_vars('highest_pics_block.highest_pics.highest_detail', array( 'PIC_ID' => $highestrow[$j]['pic_id'], ! 'H_TITLE' => '<a href = "' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '">' . $highestrow[$j]['pic_title'] . '</a>', 'H_POSTER' => $highest_poster, 'H_TIME' => create_date2($board_config['default_dateformat'], $highestrow[$j]['pic_time'], $board_config['board_timezone']), *************** *** 1615,1621 **** 'H_VIEW' => $highestrow[$j]['pic_view_count'], ! 'H_RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($highestrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($highestrow[$j]['pic_user_ip']) .'</a><br />' : '' --- 1615,1621 ---- 'H_VIEW' => $highestrow[$j]['pic_view_count'], ! 'H_RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($highestrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($highestrow[$j]['pic_user_ip']) .'</a><br />' : '' *************** *** 1707,1711 **** } ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $mostviewed[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 1707,1711 ---- } ! $thumbnail_file = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $mostviewed[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 1727,1735 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $mostviewed[$j]['pic_id'])) . '\',\'' . addslashes($mostviewed[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('mostviewed_pics_block.mostviewed_pics.mostviewed_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $mostviewed[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, --- 1727,1735 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $mostviewed[$j]['pic_id'])) . '\',\'' . addslashes($mostviewed[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('mostviewed_pics_block.mostviewed_pics.mostviewed_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $mostviewed[$j]['pic_id'])) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, *************** *** 1760,1764 **** else { ! $mostviewed_poster = '<a href="' . append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $mostviewed[$j]['user_id']) . '">' . $mostviewed[$j]['username'] . '</a>'; } --- 1760,1764 ---- else { ! $mostviewed_poster = '<a href="' . mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $mostviewed[$j]['user_id']) . '">' . $mostviewed[$j]['username'] . '</a>'; } *************** *** 1772,1776 **** $template->assign_block_vars('mostviewed_pics_block.mostviewed_pics.mostviewed_detail', array( 'PIC_ID' => $mostviewed[$j]['pic_id'], ! 'H_TITLE' => '<a href = "' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '">' . $mostviewed[$j]['pic_title'] . '</a>', 'H_POSTER' => $mostviewed_poster, 'H_TIME' => create_date2($board_config['default_dateformat'], $mostviewed[$j]['pic_time'], $board_config['board_timezone']), --- 1772,1776 ---- $template->assign_block_vars('mostviewed_pics_block.mostviewed_pics.mostviewed_detail', array( 'PIC_ID' => $mostviewed[$j]['pic_id'], ! 'H_TITLE' => '<a href = "' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '">' . $mostviewed[$j]['pic_title'] . '</a>', 'H_POSTER' => $mostviewed_poster, 'H_TIME' => create_date2($board_config['default_dateformat'], $mostviewed[$j]['pic_time'], $board_config['board_timezone']), *************** *** 1778,1784 **** 'H_VIEW' => $mostviewed[$j]['pic_view_count'], ! 'H_RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($mostviewed[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($mostviewed[$j]['pic_user_ip']) .'</a><br />' : '' --- 1778,1784 ---- 'H_VIEW' => $mostviewed[$j]['pic_view_count'], ! 'H_RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($mostviewed[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($mostviewed[$j]['pic_user_ip']) .'</a><br />' : '' *************** *** 1863,1867 **** } ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $randrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 1863,1867 ---- } ! $thumbnail_file = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $randrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 1883,1891 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $randrow[$j]['pic_id'])) . '\',\'' . addslashes($randrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('random_pics_block.rand_pics.rand_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $randrow[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, --- 1883,1891 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $randrow[$j]['pic_id'])) . '\',\'' . addslashes($randrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('random_pics_block.rand_pics.rand_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? mx_append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $randrow[$j]['pic_id'])) : mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, *************** *** 1916,1920 **** else { ! $rand_poster = '<a href="' . append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $randrow[$j]['user_id']) . '">' . $randrow[$j]['username'] . '</a>'; } --- 1916,1920 ---- else { ! $rand_poster = '<a href="' . mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $randrow[$j]['user_id']) . '">' . $randrow[$j]['username'] . '</a>'; } *************** *** 1928,1932 **** $template->assign_block_vars('random_pics_block.rand_pics.rand_detail', array( 'PIC_ID' => $randrow[$j]['pic_id'], ! 'TITLE' => '<a href = "' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '">' . $randrow[$j]['pic_title'] . '</a>', 'POSTER' => $rand_poster, 'TIME' => create_date2($board_config['default_dateformat'], $randrow[$j]['pic_time'], $board_config['board_timezone']), --- 1928,1932 ---- $template->assign_block_vars('random_pics_block.rand_pics.rand_detail', array( 'PIC_ID' => $randrow[$j]['pic_id'], ! 'TITLE' => '<a href = "' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '">' . $randrow[$j]['pic_title'] . '</a>', 'POSTER' => $rand_poster, 'TIME' => create_date2($board_config['default_dateformat'], $randrow[$j]['pic_time'], $board_config['board_timezone']), *************** *** 1934,1940 **** 'VIEW' => $randrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($randrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($randrow[$j]['pic_user_ip']) .'</a><br />' : '' --- 1934,1940 ---- 'VIEW' => $randrow[$j]['pic_view_count'], ! 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', ! 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($randrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($randrow[$j]['pic_user_ip']) .'</a><br />' : '' *************** *** 2048,2052 **** else { ! $poster = '<a href="' . append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $commentsrow[$i]['user_id']) . '">' . $commentsrow[$i]['username'] . '</a>'; } --- 2048,2052 ---- else { ! $poster = '<a href="' . mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $commentsrow[$i]['user_id']) . '">' . $commentsrow[$i]['username'] . '</a>'; } *************** *** 2055,2063 **** } ! $info .= '<br />' . $lang['Pic_Image'] . ': <a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $commentsrow[$i]['pic_id'])) . '">' . $commentsrow[$i]['pic_title'] . '</a>'; $image_comment = ($commentsrow[$i]['comments'] == 0) ? $lang['Not_commented'] : $commentsrow[$i]['comments']; ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $commentsrow[$i]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 2055,2063 ---- } ! $info .= '<br />' . $lang['Pic_Image'] . ': <a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $commentsrow[$i]['pic_id'])) . '">' . $commentsrow[$i]['pic_title'] . '</a>'; $image_comment = ($commentsrow[$i]['comments'] == 0) ? $lang['Not_commented'] : $commentsrow[$i]['comments']; ! $thumbnail_file = mx_append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $commentsrow[$i]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 2079,2083 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $commentsrow[$i]['pic_id'])) . '\',\'' . addslashes($commentsrow[$i]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } --- 2079,2083 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. mx_append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $commentsrow[$i]['pic_id'])) . '\',\'' . addslashes($commentsrow[$i]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } *************** *** 2122,2126 **** $template->assign_block_vars('recent_comments_block.comment_row', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pi... [truncated message content] |
|
From: OryNider <ory...@us...> - 2008-02-08 10:41:23
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22773 Modified Files: Tag: core28x album.php album_lists.php db_install.php db_uninstall.php db_upgrade.php hierarchy_db_migrate.php mx_install_readme.htm welcome.php Log Message: upgrade Index: album.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album.php,v retrieving revision 1.17.2.6 retrieving revision 1.17.2.7 diff -C2 -d -r1.17.2.6 -r1.17.2.7 *** album.php 5 Feb 2008 04:16:32 -0000 1.17.2.6 --- album.php 8 Feb 2008 10:40:39 -0000 1.17.2.7 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2007 [ory...@rd..., OryNider] Mx-Publisher Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_uninstall.php,v retrieving revision 1.10 retrieving revision 1.10.2.1 diff -C2 -d -r1.10 -r1.10.2.1 *** db_uninstall.php 7 Jun 2007 20:13:00 -0000 1.10 --- db_uninstall.php 8 Feb 2008 10:40:40 -0000 1.10.2.1 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_upgrade.php,v retrieving revision 1.15.2.3 retrieving revision 1.15.2.4 diff -C2 -d -r1.15.2.3 -r1.15.2.4 *** db_upgrade.php 5 Feb 2008 04:16:33 -0000 1.15.2.3 --- db_upgrade.php 8 Feb 2008 10:40:41 -0000 1.15.2.4 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Markus, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Markus, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 31,35 **** $mx_module_version = '2.0.0'; ! $mx_module_copy = 'mxBB <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The mxBB Development Team</a>'; $sql = array(); --- 31,35 ---- $mx_module_version = '2.0.0'; ! $mx_module_copy = 'Mx-Publisher <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The Mx-Publisher Development Team</a>'; $sql = array(); Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_install.php,v retrieving revision 1.15.2.3 retrieving revision 1.15.2.4 diff -C2 -d -r1.15.2.3 -r1.15.2.4 *** db_install.php 5 Feb 2008 04:16:32 -0000 1.15.2.3 --- db_install.php 8 Feb 2008 10:40:40 -0000 1.15.2.4 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [ory...@rd..., OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [ory...@rd..., OryNider] Mx-Publisher Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 33,37 **** $mx_module_version = '2.0.0'; ! $mx_module_copy = 'mxBB <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The mxBB Development Team</a>'; --- 33,37 ---- $mx_module_version = '2.0.0'; ! $mx_module_copy = 'Mx-Publisher <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The Mx-Publisher Development Team</a>'; Index: album_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_lists.php,v retrieving revision 1.21.2.2 retrieving revision 1.21.2.3 diff -C2 -d -r1.21.2.2 -r1.21.2.3 *** album_lists.php 5 Feb 2008 04:16:32 -0000 1.21.2.2 --- album_lists.php 8 Feb 2008 10:40:39 -0000 1.21.2.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: hierarchy_db_migrate.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/hierarchy_db_migrate.php,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -C2 -d -r1.6 -r1.6.2.1 *** hierarchy_db_migrate.php 9 Aug 2007 13:21:03 -0000 1.6 --- hierarchy_db_migrate.php 8 Feb 2008 10:40:41 -0000 1.6.2.1 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: welcome.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/welcome.php,v retrieving revision 1.8.2.3 retrieving revision 1.8.2.4 diff -C2 -d -r1.8.2.3 -r1.8.2.4 *** welcome.php 5 Feb 2008 04:16:33 -0000 1.8.2.3 --- welcome.php 8 Feb 2008 10:40:41 -0000 1.8.2.4 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [Marc Ferran] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [Marc Ferran] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: OryNider <ory...@us...> - 2008-02-08 10:41:22
|
Update of /cvsroot/mxbb/mx_smartor/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22773/admin Modified Files: Tag: core28x admin_album_auth.php admin_album_cat.php admin_album_cfg.php admin_album_clearcache.php admin_album_clown_SP.php admin_album_config_personal.php admin_album_ext.php admin_album_personal.php Log Message: upgrade Index: admin_album_config_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_config_personal.php,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.3 diff -C2 -d -r1.2.2.2 -r1.2.2.3 *** admin_album_config_personal.php 5 Feb 2008 04:16:32 -0000 1.2.2.2 --- admin_album_config_personal.php 8 Feb 2008 10:40:35 -0000 1.2.2.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_album_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_cfg.php,v retrieving revision 1.4.2.2 retrieving revision 1.4.2.3 diff -C2 -d -r1.4.2.2 -r1.4.2.3 *** admin_album_cfg.php 5 Feb 2008 04:16:32 -0000 1.4.2.2 --- admin_album_cfg.php 8 Feb 2008 10:40:31 -0000 1.4.2.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_album_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_auth.php,v retrieving revision 1.11.2.3 retrieving revision 1.11.2.4 diff -C2 -d -r1.11.2.3 -r1.11.2.4 *** admin_album_auth.php 5 Feb 2008 04:16:32 -0000 1.11.2.3 --- admin_album_auth.php 8 Feb 2008 10:40:29 -0000 1.11.2.4 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Smartor, Volodymyr (CLowN) Skoryk, IdleVoid, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_album_clearcache.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clearcache.php,v retrieving revision 1.11.2.2 retrieving revision 1.11.2.3 diff -C2 -d -r1.11.2.2 -r1.11.2.3 *** admin_album_clearcache.php 5 Feb 2008 04:16:32 -0000 1.11.2.2 --- admin_album_clearcache.php 8 Feb 2008 10:40:34 -0000 1.11.2.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_album_ext.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_ext.php,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** admin_album_ext.php 5 Feb 2008 04:16:32 -0000 1.1.2.2 --- admin_album_ext.php 8 Feb 2008 10:40:38 -0000 1.1.2.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Markus, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2002-2006 [Markus, Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_album_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_personal.php,v retrieving revision 1.11.2.2 retrieving revision 1.11.2.3 diff -C2 -d -r1.11.2.2 -r1.11.2.3 *** admin_album_personal.php 5 Feb 2008 04:16:32 -0000 1.11.2.2 --- admin_album_personal.php 8 Feb 2008 10:40:38 -0000 1.11.2.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [sma...@ho..., Smartor] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_album_clown_SP.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clown_SP.php,v retrieving revision 1.13.2.2 retrieving revision 1.13.2.3 diff -C2 -d -r1.13.2.2 -r1.13.2.3 *** admin_album_clown_SP.php 5 Feb 2008 04:16:32 -0000 1.13.2.2 --- admin_album_clown_SP.php 8 Feb 2008 10:40:35 -0000 1.13.2.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [cl...@pi..., Volodymyr (CLowN) Skoryk] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_smartor * @version $Id$ ! * @copyright (c) 2003 [cl...@pi..., Volodymyr (CLowN) Skoryk] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: OryNider <ory...@us...> - 2008-02-08 08:58:38
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/subsilver2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7106/subsilver2 Modified Files: mx_menu_overall_navigation.tpl Log Message: Index: mx_menu_overall_navigation.tpl =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/templates/subsilver2/mx_menu_overall_navigation.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_menu_overall_navigation.tpl 8 Feb 2008 07:00:30 -0000 1.1 --- mx_menu_overall_navigation.tpl 8 Feb 2008 08:58:32 -0000 1.2 *************** *** 55,59 **** <!-- BEGIN menurow --> <td style="border:none;" class="" valign="center" onmouseout="this.className='';" onmouseover="this.className='nav-button-current';"> ! {menurow.U_MENU_ICON}<span class="{menurow.MENU_STYLE}"><a href="{menurow.U_MENU_MODULE}" target="{menurow.U_LINK_TARGET}" class="genmed" title="{menurow.MENU_DESC}">{menurow.MENU_NAME}</a></span> </td> <!-- END menurow --> --- 55,59 ---- <!-- BEGIN menurow --> <td style="border:none;" class="" valign="center" onmouseout="this.className='';" onmouseover="this.className='nav-button-current';"> ! <div class="nav-button{menurow.CURRENT}" onmouseout="this.className='nav-button{menurow.CURRENT}';" onmouseover="this.className='nav-button-current';">{menurow.U_MENU_ICON}<a href="{menurow.U_MENU_URL}" target="{menurow.U_MENU_URL_TARGET}">{menurow.MENU_NAME}</a></div> </td> <!-- END menurow --> |
|
From: OryNider <ory...@us...> - 2008-02-08 08:58:38
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7106/subSilver Modified Files: mx_menu_overall_navigation.tpl Log Message: Index: mx_menu_overall_navigation.tpl =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/templates/subSilver/mx_menu_overall_navigation.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_menu_overall_navigation.tpl 8 Feb 2008 07:00:13 -0000 1.1 --- mx_menu_overall_navigation.tpl 8 Feb 2008 08:58:30 -0000 1.2 *************** *** 55,59 **** <!-- BEGIN menurow --> <td style="border:none;" class="" valign="center" onmouseout="this.className='';" onmouseover="this.className='nav-button-current';"> ! {menurow.U_MENU_ICON}<span class="{menurow.MENU_STYLE}"><a href="{menurow.U_MENU_MODULE}" target="{menurow.U_LINK_TARGET}" class="genmed" title="{menurow.MENU_DESC}">{menurow.MENU_NAME}</a></span> </td> <!-- END menurow --> --- 55,59 ---- <!-- BEGIN menurow --> <td style="border:none;" class="" valign="center" onmouseout="this.className='';" onmouseover="this.className='nav-button-current';"> ! <div class="nav-button{menurow.CURRENT}" onmouseout="this.className='nav-button{menurow.CURRENT}';" onmouseover="this.className='nav-button-current';">{menurow.U_MENU_ICON}<a href="{menurow.U_MENU_URL}" target="{menurow.U_MENU_URL_TARGET}">{menurow.MENU_NAME}</a></div> </td> <!-- END menurow --> |
|
From: OryNider <ory...@us...> - 2008-02-08 08:29:33
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb2blocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1827 Modified Files: mx_announce.php Log Message: This is a typo? most be: $current_module_images . '/' . $annoucement_image Index: mx_announce.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/mx_announce.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mx_announce.php 4 Feb 2008 16:53:19 -0000 1.6 --- mx_announce.php 8 Feb 2008 08:29:20 -0000 1.7 *************** *** 321,325 **** 'SIGNATURE' => $user_sig, 'FOLDER_IMG' => $folder_image, ! 'IMAGE' => ($current_module_images) ? $current_module_images . $annoucement_image : $module_root_path . TEMPLATE_ROOT_PATH . 'images/' . $annoucement_image, 'U_TOPIC_URL' => mx_append_sid(PHPBB_URL . "viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $postrow[$i]['topic_id']), --- 321,325 ---- 'SIGNATURE' => $user_sig, 'FOLDER_IMG' => $folder_image, ! 'IMAGE' => ($current_module_images) ? $current_module_images . '/' . $annoucement_image : $module_root_path . TEMPLATE_ROOT_PATH . 'images/' . $annoucement_image, 'U_TOPIC_URL' => mx_append_sid(PHPBB_URL . "viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $postrow[$i]['topic_id']), |
|
From: OryNider <ory...@us...> - 2008-02-08 07:48:17
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31128 Modified Files: forum_hack.php Log Message: using native phpBB2:: jump box default function ans simpe subforums one is commented. Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** forum_hack.php 8 Feb 2008 07:38:55 -0000 1.30 --- forum_hack.php 8 Feb 2008 07:48:13 -0000 1.31 *************** *** 805,809 **** // Replaces same function in function.php // ! $this->make_jumpbox_ref($this->phpbb_url . $action, $match_forum_id); } --- 805,810 ---- // Replaces same function in function.php // ! //$this->make_jumpbox_ref($this->phpbb_url . $action, $match_forum_id); ! phpBB2::make_jumpbox($this->phpbb_url . $action, $match_forum_id); } |
|
From: OryNider <ory...@us...> - 2008-02-08 07:38:59
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30619 Modified Files: forum_hack.php Log Message: upgrade Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** forum_hack.php 8 Feb 2008 04:26:20 -0000 1.29 --- forum_hack.php 8 Feb 2008 07:38:55 -0000 1.30 *************** *** 319,323 **** // We have a problem here, when p denotes a pm_id, and not a post_id!!!!!!!!!!!!!!!!!!! // ! if ( $sql ) { if ( !( $result = $db->sql_query( $sql ) ) ) --- 319,323 ---- // We have a problem here, when p denotes a pm_id, and not a post_id!!!!!!!!!!!!!!!!!!! // ! if ($sql) { if ( !( $result = $db->sql_query( $sql ) ) ) *************** *** 436,440 **** // ! // Redirect phpBB login calls to Mx-Publisher // if ($script_name == 'login') --- 436,440 ---- // ! // Redirect phpBB login calls to mxBB // if ($script_name == 'login') *************** *** 800,810 **** // Replaces same function in function.php // -------------------------------------------------------------------------------- ! function make_jumpbox( $action, $match_forum_id = 0 ) { // // Replaces same function in function.php // ! make_jumpbox( $this->phpbb_url . $action, $match_forum_id ); } // -------------------------------------------------------------------------------- --- 800,949 ---- // Replaces same function in function.php // -------------------------------------------------------------------------------- ! function make_jumpbox($action, $match_forum_id = 0) { // // Replaces same function in function.php // ! $this->make_jumpbox_ref($this->phpbb_url . $action, $match_forum_id); ! } ! ! function make_jumpbox_ref($action, $match_forum_id, &$forums_list) ! { ! global $template, $userdata, $lang, $db, $nav_links, $phpEx, $SID; ! ! // $is_auth = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata); ! ! $sql = "SELECT c.cat_id, c.cat_title, c.cat_order ! FROM " . CATEGORIES_TABLE . " c, " . FORUMS_TABLE . " f ! WHERE f.cat_id = c.cat_id ! GROUP BY c.cat_id, c.cat_title, c.cat_order ! ORDER BY c.cat_order"; ! if ( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't obtain category list.", "", __LINE__, __FILE__, $sql); ! } ! ! $category_rows = array(); ! while ( $row = $db->sql_fetchrow($result) ) ! { ! $category_rows[] = $row; ! } ! ! if ( $total_categories = count($category_rows) ) ! { ! $sql = "SELECT * ! FROM " . FORUMS_TABLE . " ! ORDER BY cat_id, forum_order"; ! if ( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, 'Could not obtain forums information', '', __LINE__, __FILE__, $sql); ! } ! ! $boxstring = '<select name="' . POST_FORUM_URL . '" onchange="if(this.options[this.selectedIndex].value != -1){ forms[\'jumpbox\'].submit() }"><option value="-1">' . $lang['Select_forum'] . '</option>'; ! ! $forum_rows = array(); ! while ( $row = $db->sql_fetchrow($result) ) ! { ! $forum_rows[] = $row; ! ! // Begin Simple Subforums MOD ! $forums_list[] = $row; ! // End Simple Subforums MOD ! } ! ! if ( $total_forums = count($forum_rows) ) ! { ! for($i = 0; $i < $total_categories; $i++) ! { ! $boxstring_forums = ''; ! for($j = 0; $j < $total_forums; $j++) ! { ! if ( !$forum_rows[$j]['forum_parent'] && $forum_rows[$j]['cat_id'] == $category_rows[$i]['cat_id'] && $forum_rows[$j]['auth_view'] <= AUTH_REG ) ! { ! ! // if ( !$forum_rows[$j]['forum_parent'] && $forum_rows[$j]['cat_id'] == $category_rows[$i]['cat_id'] && $is_auth[$forum_rows[$j]['forum_id']]['auth_view'] ) ! // { ! ! // Begin Simple Subforums MOD ! $id = $forum_rows[$j]['forum_id']; ! // End Simple Subforums MOD ! ! $selected = ( $forum_rows[$j]['forum_id'] == $match_forum_id ) ? 'selected="selected"' : ''; ! $boxstring_forums .= '<option value="' . $forum_rows[$j]['forum_id'] . '"' . $selected . '>' . $forum_rows[$j]['forum_name'] . '</option>'; ! ! // ! // Add an array to $nav_links for the Mozilla navigation bar. ! // 'chapter' and 'forum' can create multiple items, therefore we are using a nested array. ! // ! $nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array ( ! 'url' => mx_append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']), ! 'title' => $forum_rows[$j]['forum_name'] ! ); ! ! // Begin Simple Subforums MOD ! for( $k = 0; $k < $total_forums; $k++ ) ! { ! if ( $forum_rows[$k]['forum_parent'] == $id && $forum_rows[$k]['cat_id'] == $category_rows[$i]['cat_id'] && $forum_rows[$k]['auth_view'] <= AUTH_REG ) ! { ! // if ( $forum_rows[$k]['forum_parent'] == $id && $forum_rows[$k]['cat_id'] == $category_rows[$i]['cat_id'] && $is_auth[$forum_rows[$k]['forum_id']]['auth_view'] ) ! // { ! $selected = ( $forum_rows[$k]['forum_id'] == $match_forum_id ) ? 'selected="selected"' : ''; ! $boxstring_forums .= '<option value="' . $forum_rows[$k]['forum_id'] . '"' . $selected . '>-- ' . $forum_rows[$k]['forum_name'] . '</option>'; ! ! // ! // Add an array to $nav_links for the Mozilla navigation bar. ! // 'chapter' and 'forum' can create multiple items, therefore we are using a nested array. ! // ! $nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array ( ! 'url' => mx_append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']), ! 'title' => $forum_rows[$k]['forum_name'] ! ); ! ! } ! } ! // End Simple Subforums MOD ! ! } ! } ! ! if ( $boxstring_forums != '' ) ! { ! $boxstring .= '<option value="-1"> </option>'; ! $boxstring .= '<option value="-1">' . $category_rows[$i]['cat_title'] . '</option>'; ! $boxstring .= '<option value="-1">----------------</option>'; ! $boxstring .= $boxstring_forums; ! } ! } ! } ! ! $boxstring .= '</select>'; ! } ! else ! { ! $boxstring .= '<select name="' . POST_FORUM_URL . '" onchange="if(this.options[this.selectedIndex].value != -1){ forms[\'jumpbox\'].submit() }"></select>'; ! } ! ! // Let the jumpbox work again in sites having additional session id checks. ! // if ( !empty($SID) ) ! // { ! $boxstring .= '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; ! // } ! ! $template->set_filenames(array( ! 'jumpbox' => 'jumpbox.tpl') ! ); ! $template->assign_vars(array( ! 'L_GO' => $lang['Go'], ! 'L_JUMP_TO' => $lang['Jump_to'], ! 'L_SELECT_FORUM' => $lang['Select_forum'], ! ! 'S_JUMPBOX_SELECT' => $boxstring, ! 'S_JUMPBOX_ACTION' => append_sid($action)) ! ); ! $template->assign_var_from_handle('JUMPBOX', 'jumpbox'); ! ! return; } + // -------------------------------------------------------------------------------- *************** *** 816,820 **** // Replaces same function in function.php // ! return generate_pagination( $this->full_url( $base_url ), $num_items, $per_page, $start_item, $add_prevnext_text ); } --- 955,959 ---- // Replaces same function in function.php // ! return phpBB2::generate_pagination( $this->full_url( $base_url ), $num_items, $per_page, $start_item, $add_prevnext_text ); } *************** *** 1363,1371 **** // Commment out the main includes // ! $cashcode = preg_replace('#^(.?include).*(extension).*(\r\n?|\n)#m','// Mx-Publisher: Removed include extension.inc' . "\n", $cashcode); ! $cashcode = preg_replace('#^(.?include).*(common).*(\r\n?|\n)#m','// Mx-Publisher: Removed include common.php' . "\n", $cashcode); // ! // Remove some includes already included by Mx-Publisher // $cashcode = preg_replace ("/include(.*)bbcode/", "//", $cashcode); --- 1502,1510 ---- // Commment out the main includes // ! $cashcode = preg_replace('#^(.?include).*(extension).*(\r\n?|\n)#m','// mxBB: Removed include extension.inc' . "\n", $cashcode); ! $cashcode = preg_replace('#^(.?include).*(common).*(\r\n?|\n)#m','// mxBB: Removed include common.php' . "\n", $cashcode); // ! // Remove some includes already included by mxBB // $cashcode = preg_replace ("/include(.*)bbcode/", "//", $cashcode); *************** *** 1375,1379 **** // NOTE: This regex will only work if "global" is stated on a new line... // ! //$cashcode = preg_replace('#^(.?).*(global)(.*?)($)(.*?)(\r\n?|\n)#m', '// Mx-Publisher rewrite of global, to instance $this in this function' . "\n " . 'global $phpbb_root_path, \\3', $cashcode); // --- 1514,1518 ---- // NOTE: This regex will only work if "global" is stated on a new line... // ! //$cashcode = preg_replace('#^(.?).*(global)(.*?)($)(.*?)(\r\n?|\n)#m', '// mxBB rewrite of global, to instance $this in this function' . "\n " . 'global $phpbb_root_path, \\3', $cashcode); // *************** *** 1402,1406 **** // Remove def of IN_PHPBB // ! $code = preg_replace('#^(.?define).*(IN_PHPBB).*(\r\n?|\n)#m','// Mx-Publisher: Removed IN_PHPBB def' . "\n", $code); // --- 1541,1545 ---- // Remove def of IN_PHPBB // ! $code = preg_replace('#^(.?define).*(IN_PHPBB).*(\r\n?|\n)#m','// mxBB: Removed IN_PHPBB def' . "\n", $code); // *************** *** 1418,1423 **** // Commment out the main includes // ! $code = preg_replace('#^(.?include).*(extension).*(\r\n?|\n)#m','// Mx-Publisher: Removed include extension.inc' . "\n", $code); ! $code = preg_replace('#^(.?include).*(common).*(\r\n?|\n)#m','// Mx-Publisher: Removed include common.php' . "\n", $code); --- 1557,1562 ---- // Commment out the main includes // ! $code = preg_replace('#^(.?include).*(extension).*(\r\n?|\n)#m','// mxBB: Removed include extension.inc' . "\n", $code); ! $code = preg_replace('#^(.?include).*(common).*(\r\n?|\n)#m','// mxBB: Removed include common.php' . "\n", $code); *************** *** 1425,1430 **** // Commment out the page_header and page_tail includes // ! $code = preg_replace('#^(.?).*(include).*(page_header).*(\r\n?|\n)#m','// Mx-Publisher: Removed include page_header.php' . "\n", $code); ! $code = preg_replace('#^(.?).*(include).*(page_tail).*(\r\n?|\n)#m',"// Mx-Publisher: Removed include page_tail.php" . "\n" . 'return;' . "\n", $code); --- 1564,1569 ---- // Commment out the page_header and page_tail includes // ! $code = preg_replace('#^(.?).*(include).*(page_header).*(\r\n?|\n)#m','// mxBB: Removed include page_header.php' . "\n", $code); ! $code = preg_replace('#^(.?).*(include).*(page_tail).*(\r\n?|\n)#m',"// mxBB: Removed include page_tail.php" . "\n" . 'return;' . "\n", $code); *************** *** 1436,1440 **** // ! // Replace common phpBB functions with Mx-Publisher alternatives // $code = str_replace('append_sid(', '$mx_forum->append_sid(', $code); --- 1575,1579 ---- // ! // Replace common phpBB functions with mxBB alternatives // $code = str_replace('append_sid(', '$mx_forum->append_sid(', $code); *************** *** 1445,1448 **** --- 1584,1588 ---- $code = str_replace('redirect(', '$mx_forum->redirect(', $code); $code = str_replace('make_jumpbox(', '$mx_forum->make_jumpbox(', $code); + $code = str_replace('make_jumpbox_ref(', '$mx_forum->make_jumpbox_ref(', $code); $code = str_replace('smilies_pass(', '$mx_forum->smilies_pass(', $code); $code = str_replace('generate_smilies(\'inline\',', '$mx_forum->generate_smilies(\'inline\',', $code); *************** *** 1453,1457 **** // ! // Remove some includes already included by Mx-Publisher // $code = preg_replace ("/include(.*)functions_select/", "//", $code); --- 1593,1597 ---- // ! // Remove some includes already included by mxBB // $code = preg_replace ("/include(.*)functions_select/", "//", $code); *************** *** 1464,1468 **** // NOTE: This regex will only work if "global" is stated on a new line... // ! $code = preg_replace('#^(.?).*(global)(.*?)($)(.*?)(\r\n?|\n)#m', '// Mx-Publisher rewrite of global, to instance $this in this function' . "\n " . 'global $mx_forum, \\3', $code); // --- 1604,1608 ---- // NOTE: This regex will only work if "global" is stated on a new line... // ! $code = preg_replace('#^(.?).*(global)(.*?)($)(.*?)(\r\n?|\n)#m', '// mxBB rewrite of global, to instance $this in this function' . "\n " . 'global $mx_forum, \\3', $code); // |
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/subsilver2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28796 Added Files: index.htm mx_menu_horizontal.tpl mx_menu_overall_navigation.tpl mx_menu_vertical.tpl subsilver2.cfg Log Message: This templates are required when upgrading from 2.8.1 --- NEW FILE: mx_menu_horizontal.tpl --- <table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <tr> <!-- BEGIN catrow --> <td class="row1" align="left" width="{CAT_WIDTH}" valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="row2"> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="cat" width="10" align="center" valign="middle" style="border:none;"> <span class="mx_rollup_button" onClick="mx_toggle(this, 'mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}', '{catrow.U_CAT_NAV_EXPAND}', '{catrow.U_CAT_NAV_CONTRACT}');"><img src="{catrow.U_CAT_NAV_DYNAMIC}" border="0" /></span> </td> <td class="cat" align="left" width="100%" style="border:none;"> <span class="nav"><b> {catrow.CATEGORY}</b></span> </td> </tr> <tr> <td class="row1" align="left" colspan="2"><span class="genmed">{catrow.DESCRIPTION}</span></td> </tr> </table> </td> </tr> <tbody id="mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}" style="display: {catrow.CAT_SHOW};"> <tr> <td class="row1" style="border:none;"> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <!-- BEGIN menurow --> <tr> <td style="border:none;" class="row1" valign="middle" colspan="2" onmouseout="this.className='row1';" onmouseover="this.className='row2';">{catrow.menurow.U_MENU_ICON}<span class="{catrow.menurow.MENU_STYLE}"><a href="{catrow.menurow.U_MENU_URL}" target="{catrow.menurow.U_MENU_URL_TARGET}" class="genmed" title="{catrow.menurow.MENU_DESC}">{catrow.menurow.MENU_NAME}</a></span></td> </tr> <!-- END menurow --> </table> </td> </tr> </tbody> </table> </td> <!-- END catrow --> </tr> </table> --- NEW FILE: subsilver2.cfg --- <?php // // ** Configuration file for subSilver template ** // // ** copyright (C) 2001 The phpBB Group ** // ** Created by subBlue design ** // ** www.subBlue.com ** // // ** subSilver dev. forum: www.subSky.com/phpBB2/ ** // // $Id: subsilver2.cfg,v 1.1 2008/02/08 07:00:31 orynider Exp $ // // Please note that to enable support of different languages // the {LANG} place holder is available. This will be replaced // with xxx where xxx is the users selected language. If // that language isn't available it will default to english. // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // // // Do not alter this line! // define(MX_TEMPLATE_CONFIG, TRUE); $mx_template_config = true; // ------------------------------------------------------------------------- // Do some checks // ------------------------------------------------------------------------- $current_template_path = file_exists( $mx_root_path . $current_template_path . "/images" ) ? $current_template_path : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path : $default_template_path ); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; // ------------------------------------------------------------------------- // Define images path // ------------------------------------------------------------------------- $mx_images['mx_menu_images'] = $current_template_images; ?> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: mx_menu_overall_navigation.tpl --- <style type="text/css"> <!-- .nav-cat .nav-button { border-width: 1px; border-color: {T_TH_COLOR1}; border-style: none none solid none; position: relative; } .nav-cat .nav-button-current { background-color: {T_TR_COLOR1}; border-width: 1px; border-color: {T_TH_COLOR1}; border-style: solid solid none solid; position: relative; } td.nav-button { background-color: {T_TR_COLOR1}; } td.nav-button-current { background-color: {T_TR_COLOR2}; } * html .nav-cat td { position: relative; } /* ie 5.0 fix */ --> </style> <table width="100%" cellpadding="0" cellspacing="1" border="0" align="center"> <tr> <td class="cat" align="center" valign="top"> <table cellpadding="0" cellspacing="0" border="0" class="nav-cat"> <tr> <!-- BEGIN catrow --> <td align="left" valign="top"> <div class="nav-button{catrow.CURRENT}"> <table cellpadding="5" cellspacing="0" border="0"> <tr> <td align="left" width="100%" height="30" style="border:none;"> {catrow.U_MENU_ICON}{catrow.CATEGORY} </td> </tr> </table> </div> </td> <!-- END catrow --> </tr> </table> </td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="1" border="0" align="center"> <tr> <td class="row1" align="center" valign="top"> <table cellpadding="3" cellspacing="0" border="0" class="nav-menu"> <tr> <!-- BEGIN menurow --> <td style="border:none;" class="" valign="center" onmouseout="this.className='';" onmouseover="this.className='nav-button-current';"> {menurow.U_MENU_ICON}<span class="{menurow.MENU_STYLE}"><a href="{menurow.U_MENU_MODULE}" target="{menurow.U_LINK_TARGET}" class="genmed" title="{menurow.MENU_DESC}">{menurow.MENU_NAME}</a></span> </td> <!-- END menurow --> </tr> </table> </td> </tr> </table> --- NEW FILE: mx_menu_vertical.tpl --- <table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <!-- BEGIN catrow --> <tr> <td> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="row2" align="left"> <table width="100%" cellpadding="2" cellspacing="0" border="0" > <tr> <td class="cat" align="center" width="10" style="border:none;"> <span class="mx_rollup_button" onClick="mx_toggle(this, 'mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}', '{catrow.U_CAT_NAV_EXPAND}', '{catrow.U_CAT_NAV_CONTRACT}');"><img src="{catrow.U_CAT_NAV_DYNAMIC}" border="0" alt=""/></span> </td> <td class="cat" align="left" width="100%" style="border:none;"> <span class="nav"> {catrow.CATEGORY}</span> <!-- BEGIN switch_cat_desc --> <br> <span class="gensmall"> {catrow.switch_cat_desc.CAT_DESC}</span> <!-- END switch_cat_desc --> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tbody id="mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}" style="display: {catrow.CAT_SHOW};"> <tr> <td class="row1"> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <!-- BEGIN menurow --> <tr> <td style="border:none;" class="row1" valign="middle" height="10" align="left" colspan="2" onmouseout="this.className='row1';" onmouseover="this.className='row2';">{catrow.menurow.U_MENU_ICON}<span class="{catrow.menurow.MENU_STYLE}"> <a href="{catrow.menurow.U_MENU_URL}" target="{catrow.menurow.U_MENU_URL_TARGET}" class="genmed" title="{catrow.menurow.MENU_DESC}">{catrow.menurow.MENU_NAME}</a></span></td> </tr> <!-- END menurow --> </table> </td> </tr> </tbody> <!-- END catrow --> </table> |
|
From: OryNider <ory...@us...> - 2008-02-08 07:00:33
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/subsilver2/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28796/admin Added Files: index.htm mx_module_parameters.tpl mx_module_parameters_site.tpl Log Message: This templates are required when upgrading from 2.8.1 --- NEW FILE: mx_module_parameters_site.tpl --- <script type="text/javascript"> function getCookie(name) { var cookies = document.cookie; var start = cookies.indexOf(name + '='); if( start < 0 ) return null; var len = start + name.length + 1; var end = cookies.indexOf(';', len); if( end < 0 ) end = cookies.length; return unescape(cookies.substring(len, end)); } function setCookie(name, value, expires, path, domain, secure) { document.cookie = name + '=' + escape (value) + ((expires) ? '; expires=' + ( (expires == 'never') ? 'Thu, 31-Dec-2099 23:59:59 GMT' : expires.toGMTString() ) : '') + ((path) ? '; path=' + path : '') + ((domain) ? '; domain=' + domain : '') + ((secure) ? '; secure' : ''); } function delCookie(name, path, domain) { if( getCookie(name) ) { document.cookie = name + '=;expires=Thu, 01-Jan-1970 00:00:01 GMT' + ((path) ? '; path=' + path : '') + ((domain) ? '; domain=' + domain : ''); } } function handleError() { return true; } window.onerror = handleError; function menuCat(id, mode, visible) { this.cat_id = id; this.menu_mode = mode; this.status = visible != '' ? visible : 'none'; } var menuCats = new Array(); function getObj(obj) { return ( document.getElementById ? document.getElementById(obj) : ( document.all ? document.all[obj] : null ) ); } function displayObj(obj, status) { var x = getObj(obj); if( x && x.style ) x.style.display = status; } var queueInterval = 0; // milliseconds between queued steps. var execInterval = 0; var queuedSteps; var currentStep; function queueStep(o, s) { this.obj = o; this.status = s; } function execQueue() { if( currentStep < queuedSteps.length ) { var obj = queuedSteps[currentStep].obj; var status = queuedSteps[currentStep].status; displayObj(obj, status); if( menuCats[obj] ) menuCats[obj].status = status; currentStep++; setTimeout("execQueue();", execInterval); } else { execInterval = queueInterval; } } function onMenuCatClick(cat_id, type, init) { var currentCat, currentStatus; var imageSCR = type+'image_'+cat_id; var strSubmitContent = ''; parentCatMode = 'adminCat_'; parentCatEditMode = 'adminCatEdit_'; parentMenuEditMode = 'adminMenuEdit_'; parentCat = parentCatMode + cat_id; parentCatEdit = parentCatEditMode + cat_id; parentMenuEdit = parentMenuEditMode + cat_id; currentCat = type + cat_id; currentStatus = menuCats[currentCat].status; queuedSteps = new Array(); cookieArray = new Array(); currentStep = 0; for( var forCat in menuCats ) { if( (init == 'true' && (menuCats[forCat].status == 'block') && menuCats[forCat].menu_mode == parentCat) || (init != 'true' && ( (currentCat == parentCat && menuCats[forCat].status == 'block') || (currentCat == parentCatEdit && menuCats[forCat].menu_mode != parentCat && menuCats[forCat].status == 'block') || (currentCat == parentMenuEdit && menuCats[forCat].menu_mode != parentCatMode && menuCats[forCat].status == 'block') ))) { queuedSteps[currentStep++] = new queueStep(forCat, 'none'); menuCats[forCat].status = 'none'; forCatimage = menuCats[forCat].menu_mode+'image_'+menuCats[forCat].cat_id; if( document.images && document.images[forCatimage] ) { document.images[forCatimage].src = '{IMG_URL_EXPAND}'; } } } if( currentStatus == 'none' ) { if (menuCats[parentCat] && menuCats[currentCat].menu_mode != parentMenuEditMode ) { if (menuCats[parentCat].status == 'none') { queuedSteps[currentStep++] = new queueStep(parentCat, 'block'); menuCats[parentCat].status = 'block'; forCatimage = menuCats[parentCat].menu_mode+'image_'+menuCats[parentCat].cat_id; if( document.images && document.images[forCatimage] ) { document.images[forCatimage].src = '{IMG_URL_CONTRACT}'; } } } queuedSteps[currentStep++] = new queueStep(currentCat, 'block'); menuCats[currentCat].status = 'block'; if (currentCat == parentCat) { var expdate = new Date(); // 72 Hours from now expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); setCookie('{COOKIE_NAME}_'+type+'xxx_id', cat_id, expdate, ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ('{COOKIE_SECURE}' == '0') ? false : true); } if( document.images && document.images[imageSCR] ) { document.images[imageSCR].src = '{IMG_URL_CONTRACT}'; } } else { delCookie('{COOKIE_NAME}_'+type+'xxx_id', ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); } for( var forCat in menuCats ) { if ( menuCats[forCat].status == 'block' ) { strSubmitContent += forCat + ','; } } // Remove trailing separator strSubmitContent = strSubmitContent.substr(0, strSubmitContent.length - 1); setCookie('{COOKIE_NAME}_admincp_sitestates', strSubmitContent, expdate, ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ('{COOKIE_SECURE}' == '0') ? false : true); currentStep = 0; setTimeout("execQueue();", execInterval); } // --> </script> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead">{L_MENU_TITLE}</th> </tr> <tr> <td align="center"> {RESULT_MESSAGE} </td> </tr> <!-- BEGIN catrow --> <tr> <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="forumline"> <tr> <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCat_');"> <img name="adminCat_image_{catrow.CAT_ID}" src="{catrow.IMG_URL}" border="0" align="absmiddle"> <span class="cattitle"><b>{catrow.CAT_TITLE}</b></span><br /><span class="gensmall"><b>{catrow.CAT_DESC}</b></span> </td> <td width="15%" class="cat" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"> <img name="adminCatEdit_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="gen">{L_EDIT}</span> </td> <td width="20%" class="cat" align="center" valign="middle" nowrap="nowrap"> <span class="gen"><a href="{catrow.U_CAT_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.U_CAT_MOVE_DOWN}">{L_MOVE_DOWN}</a></span> </td> </tr> <tr> <td colspan="3" class="row1"> <div id="adminCat_{catrow.CAT_ID}" style="display:{catrow.VISIBLE};" class="genmed"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td bgcolor="#006699" width="10"></td> <td> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <!-- Cat Edit --> <tr> <td class="row1" colspan="5"> <div id="adminCatEdit_{catrow.CAT_ID}" style="display:{catrow.VISIBLE_EDIT};" class="genmed" > <form name="form_adminCatEdit_{catrow.CAT_ID}" action="{S_ACTION}" method="post" > <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.L_TITLE_EDIT}</span></td> </tr> <tr> <td class="row1"><b>{catrow.L_CAT_TITLE}</b></td> <td class="row2" colspan="2"><input type="text" size="25" name="cat_title" value="{catrow.E_CAT_TITLE}" /></td> </tr> <tr> <td class="row1">{catrow.L_MENU_ACTIVE}</td> <td class="row2">{catrow.S_MENU_ACTIVE}</td> </tr> <tr> <td class="row1" colspan="2">{catrow.L_MENU_ACTION_ADV}</td> </tr> <tr> <td class="row1" valign="top">{catrow.L_MENU_ICON}</td> <td class="row2">{catrow.S_POSTICONS}</td> </tr> <tr> <td class="row1">{catrow.L_MENU_ALT_ICON}</td> <td class="row2"><input type="text" size="65" name="menu_alt_icon" value="{catrow.E_MENU_ALT_ICON}" class="post" /></td> </tr> <tr> <td class="row1">{catrow.L_MENU_ALT_ICON_HOT}</td> <td class="row2"><input type="text" size="65" name="menu_alt_icon_hot" value="{catrow.E_MENU_ALT_ICON_HOT}" class="post" /></td> </tr> <tr> <td class="row2" colspan="2" align="center">{catrow.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{catrow.S_SUBMIT}" class="liteoption" /></td> </tr> </table> </form> </div> </td> </tr> <!-- Cat Edit --> <!-- BEGIN nocat --> {catrow.nocat.NONE} <!-- END nocat --> <!-- BEGIN menurow --> <tr> <td class="row1" colspan="5"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td class="row2" width="5"> </td> <td> <table width="100%" cellpadding="4" cellspacing="0" border="0" align="center"> <tr> <td width="65%" class="{catrow.menurow.ROW_CLASS}" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuEdit_');"><img name="adminMenuEdit_image_{catrow.menurow.MENU_ID}" src="{catrow.menurow.IMG_URL_EDIT}" border="0" align="absmiddle"> <img src="{IMG_ICON_BLOCK}" border="0" align="absmiddle"> <span class="gensmall">{catrow.menurow.MENU_TITLE}</span><br /><span class="gensmall">{catrow.menurow.MENU_DESC}</span> </td> <td width="20%" class="{catrow.menurow.ROW_CLASS}" align="center" valign="middle"> <span class="gensmall"><a href="{catrow.menurow.U_MENU_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.menurow.U_MENU_MOVE_DOWN}">{L_MOVE_DOWN}</a></span> </td> </tr> <!-- Menu Edit --> <tr> <td class="row1" colspan="3"> <div id="adminMenuEdit_{catrow.menurow.MENU_ID}" style="display:{catrow.menurow.VISIBLE_EDIT};" class="genmed"> <form name="form_adminMenuEdit_{catrow.menurow.MENU_ID}" action="{S_ACTION}" method="post"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuEdit_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.menurow.L_TITLE_EDIT}</span></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_TITLE}</td> <td class="row2"><input type="text" size="45" name="menuname" value="{catrow.menurow.E_MENU_TITLE}" class="post" /></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_ACTIVE}</td> <td class="row2">{catrow.menurow.S_MENU_ACTIVE}</td> </tr> <tr> <td class="row1" colspan="2">{catrow.menurow.L_MENU_ACTION_ADV}</td> </tr> <tr> <td class="row1" valign="top">{catrow.menurow.L_MENU_ICON}</td> <td class="row2">{catrow.menurow.S_POSTICONS}</td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_ALT_ICON}</td> <td class="row2"><input type="text" size="65" name="menu_alt_icon" value="{catrow.menurow.E_MENU_ALT_ICON}" class="post" /></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_ALT_ICON_HOT}</td> <td class="row2"><input type="text" size="65" name="menu_alt_icon_hot" value="{catrow.menurow.E_MENU_ALT_ICON_HOT}" class="post" /></td> </tr> <tr> <td class="row2" colspan="2" align="center">{catrow.menurow.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{catrow.menurow.S_SUBMIT}" class="liteoption" /></td> </tr> </table> </form> </div> </td> </tr> <!-- Menu Edit --> </table> </td> </tr> </table> </td> </tr> <!-- END menurow --> </table> </td> </tr> </table> </div> </td> </tr> </table> </td> </tr> <!-- END catrow --> </table> <script type="text/javascript"> <!-- BEGIN catrow --> menuCats['adminCat_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCat_', '{catrow.VISIBLE}'); menuCats['adminCatEdit_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCatEdit_', '{catrow.VISIBLE_EDIT}' ); <!-- BEGIN menurow --> menuCats['adminMenuEdit_{catrow.menurow.MENU_ID}'] = new menuCat('{catrow.menurow.MENU_ID}', 'adminMenuEdit_', '{catrow.menurow.VISIBLE_EDIT}'); <!-- END menurow --> <!-- END catrow --> // --> </script> --- NEW FILE: mx_module_parameters.tpl --- <script type="text/javascript"> function getCookie(name) { var cookies = document.cookie; var start = cookies.indexOf(name + '='); if( start < 0 ) return null; var len = start + name.length + 1; var end = cookies.indexOf(';', len); if( end < 0 ) end = cookies.length; return unescape(cookies.substring(len, end)); } function setCookie(name, value, expires, path, domain, secure) { document.cookie = name + '=' + escape (value) + ((expires) ? '; expires=' + ( (expires == 'never') ? 'Thu, 31-Dec-2099 23:59:59 GMT' : expires.toGMTString() ) : '') + ((path) ? '; path=' + path : '') + ((domain) ? '; domain=' + domain : '') + ((secure) ? '; secure' : ''); } function delCookie(name, path, domain) { if( getCookie(name) ) { document.cookie = name + '=;expires=Thu, 01-Jan-1970 00:00:01 GMT' + ((path) ? '; path=' + path : '') + ((domain) ? '; domain=' + domain : ''); } } function handleError() { return true; } window.onerror = handleError; function menuCat(id, mode, visible, page_nav, block_nav, function_nav) { this.cat_id = id; this.block_nav = block_nav; this.page_nav = page_nav; this.function_nav = function_nav; this.menu_mode = mode; this.status = visible != '' ? visible : 'none'; } var menuCats = new Array(); function getObj(obj) { return ( document.getElementById ? document.getElementById(obj) : ( document.all ? document.all[obj] : null ) ); } function displayObj(obj, status) { var x = getObj(obj); if( x && x.style ) x.style.display = status; } var queueInterval = 0; // milliseconds between queued steps. var execInterval = 0; var queuedSteps; var currentStep; function queueStep(o, s) { this.obj = o; this.status = s; } function execQueue() { if( currentStep < queuedSteps.length ) { var obj = queuedSteps[currentStep].obj; var status = queuedSteps[currentStep].status; displayObj(obj, status); if( menuCats[obj] ) menuCats[obj].status = status; currentStep++; setTimeout("execQueue();", execInterval); } else { execInterval = queueInterval; } } function onMenuCatClick(cat_id, type, init) { var currentCat, currentStatus; var imageSCR = type+'image_'+cat_id; var strSubmitContent = ''; parentCatMode = 'adminCat_'; parentCatEditMode = 'adminCatEdit_'; parentCatDeleteMode = 'adminCatDelete_'; parentMenuEditMode = 'adminMenuEdit_'; parentMenuDeleteMode = 'adminMenuDelete_'; parentCat = parentCatMode + cat_id; parentCatEdit = parentCatEditMode + cat_id; parentCatDelete = parentCatDeleteMode + cat_id; parentMenuEdit = parentMenuEditMode + cat_id; parentMenuDelete = parentMenuDeleteMode + cat_id; currentCat = type + cat_id; currentStatus = menuCats[currentCat].status; queuedSteps = new Array(); cookieArray = new Array(); currentStep = 0; for( var forCat in menuCats ) { if( (init == 'true' && (menuCats[forCat].status == 'block') && menuCats[forCat].menu_mode == parentCat) || (init != 'true' && ( (currentCat == parentCat && menuCats[forCat].status == 'block') || (currentCat == parentCatEdit && menuCats[forCat].menu_mode != parentCat && menuCats[forCat].status == 'block') || (currentCat == parentCatDelete && menuCats[forCat].menu_mode != parentCat && menuCats[forCat].status == 'block') || (currentCat == parentMenuEdit && menuCats[forCat].menu_mode != parentCatMode && menuCats[forCat].status == 'block') || (currentCat == parentMenuDelete && menuCats[forCat].menu_mode != parentCatMode && menuCats[forCat].status == 'block') ))) { queuedSteps[currentStep++] = new queueStep(forCat, 'none'); menuCats[forCat].status = 'none'; forCatimage = menuCats[forCat].menu_mode+'image_'+menuCats[forCat].cat_id; if( document.images && document.images[forCatimage] ) { document.images[forCatimage].src = '{IMG_URL_EXPAND}'; } } } if( currentStatus == 'none' ) { if (menuCats[parentCat] && menuCats[currentCat].menu_mode != parentMenuEditMode && menuCats[currentCat].menu_mode != parentMenuDeleteMode) { if (menuCats[parentCat].status == 'none') { queuedSteps[currentStep++] = new queueStep(parentCat, 'block'); menuCats[parentCat].status = 'block'; forCatimage = menuCats[parentCat].menu_mode+'image_'+menuCats[parentCat].cat_id; if( document.images && document.images[forCatimage] ) { document.images[forCatimage].src = '{IMG_URL_CONTRACT}'; } } } queuedSteps[currentStep++] = new queueStep(currentCat, 'block'); menuCats[currentCat].status = 'block'; if (currentCat == parentCat) { var expdate = new Date(); // 72 Hours from now expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); setCookie('{COOKIE_NAME}_'+type+'xxx_id', cat_id, expdate, ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ('{COOKIE_SECURE}' == '0') ? false : true); } if( document.images && document.images[imageSCR] ) { document.images[imageSCR].src = '{IMG_URL_CONTRACT}'; } // Update Form Selects - on the fly if (parentCatEditMode == type) { EditForm = 'form_' + parentCatEditMode + cat_id; duplicateForm(document.fromForm.pages, document.forms[EditForm].cat_url_sel, menuCats[currentCat].page_nav); } if (parentMenuEditMode == type) { EditForm = 'form_' + parentMenuEditMode + cat_id; duplicateForm(document.fromForm.blocks, document.forms[EditForm].block_nav, menuCats[currentCat].block_nav); duplicateForm(document.fromForm.pages, document.forms[EditForm].page_nav, menuCats[currentCat].page_nav); duplicateForm(document.fromForm.functions, document.forms[EditForm].function_id, menuCats[currentCat].function_nav); } } else { delCookie('{COOKIE_NAME}_'+type+'xxx_id', ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); } for( var forCat in menuCats ) { if ( menuCats[forCat].status == 'block' ) { strSubmitContent += forCat + ','; } } // Remove trailing separator strSubmitContent = strSubmitContent.substr(0, strSubmitContent.length - 1); setCookie('{COOKIE_NAME}_admincp_menustates', strSubmitContent, expdate, ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ('{COOKIE_SECURE}' == '0') ? false : true); currentStep = 0; setTimeout("execQueue();", execInterval); } function deleteOption(object,index) { object.options[index] = null; } function addOption(object,text,value, selectedValue) { var defaultSelected = false; var selected = false; if (value == selectedValue) { defaultSelected = true; selected = true; } var optionName = new Option(text, value, defaultSelected, selected) object.options[object.length] = optionName; } function copySelected(fromObject,toObject) { for (var i=0, l=fromObject.options.length;i<l;i++) { if (fromObject.options[i].selected) addOption(toObject,fromObject.options[i].text,fromObject.options[i].value); } for (var i=fromObject.options.length-1;i>-1;i--) { if (fromObject.options[i].selected) deleteOption(fromObject,i); } } function copyAll(fromObject,toObject) { for (var i=0, l=fromObject.options.length;i<l;i++) { addOption(toObject,fromObject.options[i].text,fromObject.options[i].value); } for (var i=fromObject.options.length-1;i>-1;i--) { deleteOption(fromObject,i); } } function duplicateForm(fromObject,toObject, selectedValue) { toObject.options.length = null; for (var i=0; i<fromObject.options.length;i++) { addOption(toObject,fromObject.options[i].text,fromObject.options[i].value, selectedValue); // For some reason i have to reselect, to make it work in IE (Haplo is confused here...) if (fromObject.options[i].value == selectedValue) { toObject.selectedIndex = i; } } } // --> </script> <div style="display:none;"> <form name="fromForm"> {S_GEN_BLOCK_LIST} {S_GEN_FUNCTION_LIST} {S_GEN_PAGE_LIST} </form> </div> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead">{L_MENU_TITLE}</th> </tr> <tr> <td align="center"> {RESULT_MESSAGE} </td> </tr> <!-- BEGIN catrow --> <tr> <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="forumline"> <tr> <!-- BEGIN is_new --> <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"> <img name="adminCatEdit_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="cattitle"><b>{catrow.CAT_TITLE}</b></span><br /><span class="gensmall"><b>{catrow.CAT_DESC}</b></span> </td> <!-- END is_new --> <!-- BEGIN is_cat --> <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCat_');"> <img name="adminCat_image_{catrow.CAT_ID}" src="{catrow.IMG_URL}" border="0" align="absmiddle"> <span class="cattitle"><b>{catrow.CAT_TITLE}</b></span><br /><span class="gensmall"><b>{catrow.CAT_DESC}</b></span> </td> <!-- END is_cat --> <td width="15%" class="cat" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"> <!-- BEGIN is_cat --> <img name="adminCatEdit_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="gen">{L_EDIT}</span> <!-- END is_cat --> </td> <td width="15%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatDelete_');"> <!-- BEGIN is_cat --> <img name="adminCatDelete_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gen">{L_DELETE}</span> <!-- END is_cat --> </td> <td width="20%" class="cat" align="center" valign="middle" nowrap="nowrap"> <!-- BEGIN is_cat --> <span class="gen"><a href="{catrow.U_CAT_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.U_CAT_MOVE_DOWN}">{L_MOVE_DOWN}</a></span> <!-- END is_cat --> </td> </tr> <tr> <td colspan="4" class="row1"> <div id="adminCat_{catrow.CAT_ID}" style="display:{catrow.VISIBLE};" class="genmed"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td bgcolor="#006699" width="10"></td> <td> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <!-- Cat Delete --> <tr> <td colspan="5" class="row1"> <div id="adminCatDelete_{catrow.CAT_ID}" style="display:{catrow.VISIBLE_DELETE};" class="genmed"> <form action="{S_ACTION}" method="post"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatDelete_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.L_TITLE_DELETE}</span></td> </tr> <tr> <td width="50%" class="row1" align="right"><b>{catrow.L_MENU_NAME}</b></td> <td class="row1"><span class="row1">{catrow.NAME}</span></td> </tr> <tr> <td width="50%" class="row1" align="right"><input type="checkbox" name="move_contents" value="1" />{catrow.L_MOVE_CONTENTS}</td> <td class="row1">{catrow.S_SELECT_TO}</td> </tr> <tr> <td class="row2" colspan="2" align="center">{catrow.S_HIDDEN_DELETE_FIELDS}<input type="submit" name="submit" value="{catrow.S_SUBMIT_DELETE}" class="mainoption" /></td> </tr> </table> </form> </div> </td> </tr> <!-- Cat Delete --> <!-- Cat Edit --> <tr> <td class="row1" colspan="5"> <div id="adminCatEdit_{catrow.CAT_ID}" style="display:{catrow.VISIBLE_EDIT};" class="genmed" > <form name="form_adminCatEdit_{catrow.CAT_ID}" action="{S_ACTION}" method="post" > <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.L_TITLE_EDIT}</span></td> </tr> <tr> <td class="row1"><b>{catrow.L_CAT_TITLE}</b></td> <td class="row2" colspan="2"><input type="text" size="25" name="cat_title" value="{catrow.E_CAT_TITLE}" /></td> </tr> <tr> <td class="row1"><b>{catrow.L_CAT_DESC}</b></td> <td class="row2" colspan="2"><textarea name="cat_desc" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post">{catrow.E_CAT_DESC}</textarea></td> </tr> <tr> <td class="row1">{catrow.L_CAT_SHOW_CAT}</td> <td class="row2">{catrow.S_CAT_SHOW_CAT}</td> </tr> <!-- <tr> <td class="row1">{catrow.L_CAT_MENU_PAGE}</td> <td class="row2">{catrow.S_CAT_PAGE_LIST}</td> </tr> --> <tr> <td class="row1">{catrow.L_CAT_MENU_PAGE}</td> <td class="row2"><select name="cat_url_sel" ><option value="0">0</option></select></td> </tr> <tr> <td class="row1">{catrow.L_CAT_LINK_TARGET}</td> <td class="row2">{catrow.S_CAT_LINK_TARGET_LIST}</td> </tr> <tr> <td class="row2" colspan="2" align="center">{catrow.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{catrow.S_SUBMIT}" class="liteoption" /></td> </tr> </table> </form> </div> </td> </tr> <!-- Cat Edit --> <!-- BEGIN nocat --> {catrow.nocat.NONE} <!-- END nocat --> <!-- BEGIN menurow --> <tr> <td class="row1" colspan="5"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td class="row2" width="5"> </td> <td> <table width="100%" cellpadding="4" cellspacing="0" border="0" align="center"> <tr> <td width="65%" class="{catrow.menurow.ROW_CLASS}" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuEdit_');"><img name="adminMenuEdit_image_{catrow.menurow.MENU_ID}" src="{catrow.menurow.IMG_URL_EDIT}" border="0" align="absmiddle"> <img src="{IMG_ICON_BLOCK}" border="0" align="absmiddle"> <span class="gensmall">{catrow.menurow.MENU_TITLE}</span><br /><span class="gensmall">{catrow.menurow.MENU_DESC}</span> </td> <td width="15%" class="{catrow.menurow.ROW_CLASS}" align="center" valign="middle" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuDelete_');" > <!-- BEGIN is_menu --> <img name="adminMenuDelete_image_{catrow.menurow.MENU_ID}" src="{catrow.menurow.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gensmall">{L_DELETE}</span> <!-- END is_menu --> </td> <td width="20%" class="{catrow.menurow.ROW_CLASS}" align="center" valign="middle"> <!-- BEGIN is_menu --> <span class="gensmall"><a href="{catrow.menurow.U_MENU_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.menurow.U_MENU_MOVE_DOWN}">{L_MOVE_DOWN}</a></span> <!-- END is_menu --> </td> </tr> <!-- Menu Delete --> <tr> <td colspan="3" class="row1"> <div id="adminMenuDelete_{catrow.menurow.MENU_ID}" style="display:{catrow.menurow.VISIBLE_DELETE};" class="genmed"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuDelete_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.menurow.L_TITLE_DELETE}</span></td> </tr> <tr> <td width="50%" align="center" colspan="2"> {catrow.menurow.MESSAGE_DELETE} </td> </tr> </table> </div> </td> </tr> <!-- Menu Delete --> <!-- Menu Edit --> <tr> <td class="row1" colspan="3"> <div id="adminMenuEdit_{catrow.menurow.MENU_ID}" style="display:{catrow.menurow.VISIBLE_EDIT};" class="genmed"> <form name="form_adminMenuEdit_{catrow.menurow.MENU_ID}" action="{S_ACTION}" method="post"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuEdit_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.menurow.L_TITLE_EDIT}</span></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_TITLE}</td> <td class="row2"><input type="text" size="45" name="menuname" value="{catrow.menurow.E_MENU_TITLE}" class="post" /></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_DESC}</td> <td class="row2"><textarea rows="5" cols="45" wrap="virtual" name="message" class="post">{catrow.menurow.E_MENU_DESC}</textarea></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_LINK_TARGET}</td> <td class="row2">{catrow.menurow.S_LINK_TARGET_LIST}</td> </tr> <tr> <td class="row1" colspan="2">{catrow.menurow.L_MENU_ACTION_TITLE}</td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_PAGE}</td> <td class="row2"><select name="page_nav" ><option value="0">0</option></select></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_LINKS}</td> <td class="row2"><input type="text" size="65" name="menulinks" value="{catrow.menurow.E_MENU_LINKS}" class="post" /></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_BLOCK}</td> <td class="row2"><select name="block_nav" ><option value="0">0</option></select></td> </tr> <tr> <td class="row1" colspan="2">{catrow.menurow.L_MENU_ACTION_ADV}</td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_FUNCTION}</td> <td class="row2"><select name="function_id" ><option value="0">0</option></select></td> </tr> <tr> <td class="row1" colspan="2">{catrow.menurow.L_MENU_PERMISSIONS_TITLE}</td> </tr> <tr> <td class="row1">{catrow.menurow.L_AUTH_TITLE}</td> <td class="row2"> <table cellspacing="1" cellpadding="4" border="0" class="portalline"> <tr> <!-- BEGIN module_auth_titles --> <th class="thTop">{catrow.menurow.module_auth_titles.CELL_TITLE}</th> <!-- END module_auth_titles --> </tr> <!-- BEGIN module_auth_data --> <tr> <td class="row1" align="center">{catrow.menurow.module_auth_data.S_AUTH_LEVELS_SELECT}</td> </tr> <tr> <th class="thTop">{catrow.menurow.module_auth_data.L_AUTH_GROUP_LEVELS_SELECT}</th> </tr> <tr> <td class="row1" align="center">{catrow.menurow.module_auth_data.S_AUTH_GROUP_LEVELS_SELECT}</td> </tr> <!-- END module_auth_data --> </table> </td> </tr> <tr> <td class="row1" valign="top">{catrow.menurow.L_MENU_ICON}</td> <td class="row2">{catrow.menurow.S_POSTICONS}</td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_ALT_ICON}</td> <td class="row2"><input type="text" size="65" name="menu_alt_icon" value="{catrow.menurow.E_MENU_ALT_ICON}" class="post" /></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_ALT_ICON_HOT}</td> <td class="row2"><input type="text" size="65" name="menu_alt_icon_hot" value="{catrow.menurow.E_MENU_ALT_ICON_HOT}" class="post" /></td> </tr> <tr> <td class="row2" colspan="2" align="center">{catrow.menurow.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{catrow.menurow.S_SUBMIT}" class="liteoption" /></td> </tr> </table> </form> </div> </td> </tr> <!-- Menu Edit --> </table> </td> </tr> </table> </td> </tr> <!-- END menurow --> </table> </td> </tr> </table> </div> </td> </tr> </table> </td> </tr> <!-- END catrow --> </table> <script type="text/javascript"> <!-- BEGIN catrow --> menuCats['adminCat_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCat_', '{catrow.VISIBLE}', '', '', ''); menuCats['adminCatEdit_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCatEdit_', '{catrow.VISIBLE_EDIT}', '{catrow.PAGE_NAV}', '', ''); menuCats['adminCatDelete_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCatDelete_', '{catrow.VISIBLE_DELETE}', '', '', ''); if ('{catrow.VISIBLE_EDIT}' == 'block') { duplicateForm(document.fromForm.pages, document.forms['form_adminCatEdit_' + '{catrow.CAT_ID}'].cat_url_sel, '{catrow.PAGE_NAV}'); } <!-- BEGIN menurow --> menuCats['adminMenuEdit_{catrow.menurow.MENU_ID}'] = new menuCat('{catrow.menurow.MENU_ID}', 'adminMenuEdit_', '{catrow.menurow.VISIBLE_EDIT}', '{catrow.menurow.PAGE_NAV}', '{catrow.menurow.BLOCK_NAV}', '{catrow.menurow.FUNCTION_NAV}'); menuCats['adminMenuDelete_{catrow.menurow.MENU_ID}'] = new menuCat('{catrow.menurow.MENU_ID}', 'adminMenuDelete_', '{catrow.menurow.VISIBLE_DELETE}', '', '', ''); if ('{catrow.menurow.VISIBLE_EDIT}' == 'block') { duplicateForm(document.fromForm.blocks, document.forms['form_adminMenuEdit_' + '{catrow.menurow.MENU_ID}'].block_nav, '{catrow.menurow.BLOCK_NAV}'); duplicateForm(document.fromForm.pages, document.forms['form_adminMenuEdit_' + '{catrow.menurow.MENU_ID}'].page_nav, '{catrow.menurow.PAGE_NAV}'); //duplicateForm(document.fromForm.functions, document.forms['form_adminMenuEdit_' + '{catrow.menurow.MENU_ID}'].function_nav, '{catrow.menurow.FUNCTION_NAV}'); } <!-- END menurow --> <!-- END catrow --> // --> </script> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-02-08 07:00:32
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/subsilver2/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28796/images Added Files: arrow_right.gif Log Message: This templates are required when upgrading from 2.8.1 --- NEW FILE: arrow_right.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28691 Added Files: index.htm mx_menu_horizontal.tpl mx_menu_overall_navigation.tpl mx_menu_vertical.tpl subSilver.cfg Log Message: This templates are required when upgrading from 2.8.1 --- NEW FILE: subSilver.cfg --- <?php // // ** Configuration file for subSilver template ** // // ** copyright (C) 2001 The phpBB Group ** // ** Created by subBlue design ** // ** www.subBlue.com ** // // ** subSilver dev. forum: www.subSky.com/phpBB2/ ** // // $Id: subSilver.cfg,v 1.2 2008/02/08 07:00:14 orynider Exp $ // // Please note that to enable support of different languages // the {LANG} place holder is available. This will be replaced // with xxx where xxx is the users selected language. If // that language isn't available it will default to english. // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // // // Do not alter this line! // define(MX_TEMPLATE_CONFIG, TRUE); $mx_template_config = true; // ------------------------------------------------------------------------- // Do some checks // ------------------------------------------------------------------------- $current_template_path = file_exists( $mx_root_path . $current_template_path . "/images" ) ? $current_template_path : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path : $default_template_path ); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; // ------------------------------------------------------------------------- // Define images path // ------------------------------------------------------------------------- $mx_images['mx_menu_images'] = $current_template_images; ?> --- NEW FILE: mx_menu_horizontal.tpl --- <table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <tr> <!-- BEGIN catrow --> <td class="row1" align="left" width="{CAT_WIDTH}" valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="row2"> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="cat" width="10" align="center" valign="middle" style="border:none;"> <span class="mx_rollup_button" onClick="mx_toggle(this, 'mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}', '{catrow.U_CAT_NAV_EXPAND}', '{catrow.U_CAT_NAV_CONTRACT}');"><img src="{catrow.U_CAT_NAV_DYNAMIC}" border="0" /></span> </td> <td class="cat" align="left" width="100%" style="border:none;"> <span class="nav"><b> {catrow.CATEGORY}</b></span> </td> </tr> <tr> <td class="row1" align="left" colspan="2"><span class="genmed">{catrow.DESCRIPTION}</span></td> </tr> </table> </td> </tr> <tbody id="mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}" style="display: {catrow.CAT_SHOW};"> <tr> <td class="row1" style="border:none;"> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <!-- BEGIN menurow --> <tr> <td style="border:none;" class="row1" valign="middle" colspan="2" onmouseout="this.className='row1';" onmouseover="this.className='row2';">{catrow.menurow.U_MENU_ICON}<span class="{catrow.menurow.MENU_STYLE}"><a href="{catrow.menurow.U_MENU_URL}" target="{catrow.menurow.U_MENU_URL_TARGET}" class="genmed" title="{catrow.menurow.MENU_DESC}">{catrow.menurow.MENU_NAME}</a></span></td> </tr> <!-- END menurow --> </table> </td> </tr> </tbody> </table> </td> <!-- END catrow --> </tr> </table> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: mx_menu_overall_navigation.tpl --- <style type="text/css"> <!-- .nav-cat .nav-button { border-width: 1px; border-color: {T_TH_COLOR1}; border-style: none none solid none; position: relative; } .nav-cat .nav-button-current { background-color: {T_TR_COLOR1}; border-width: 1px; border-color: {T_TH_COLOR1}; border-style: solid solid none solid; position: relative; } td.nav-button { background-color: {T_TR_COLOR1}; } td.nav-button-current { background-color: {T_TR_COLOR2}; } * html .nav-cat td { position: relative; } /* ie 5.0 fix */ --> </style> <table width="100%" cellpadding="0" cellspacing="1" border="0" align="center"> <tr> <td class="cat" align="center" valign="top"> <table cellpadding="0" cellspacing="0" border="0" class="nav-cat"> <tr> <!-- BEGIN catrow --> <td align="left" valign="top"> <div class="nav-button{catrow.CURRENT}"> <table cellpadding="5" cellspacing="0" border="0"> <tr> <td align="left" width="100%" height="30" style="border:none;"> {catrow.U_MENU_ICON}{catrow.CATEGORY} </td> </tr> </table> </div> </td> <!-- END catrow --> </tr> </table> </td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="1" border="0" align="center"> <tr> <td class="row1" align="center" valign="top"> <table cellpadding="3" cellspacing="0" border="0" class="nav-menu"> <tr> <!-- BEGIN menurow --> <td style="border:none;" class="" valign="center" onmouseout="this.className='';" onmouseover="this.className='nav-button-current';"> {menurow.U_MENU_ICON}<span class="{menurow.MENU_STYLE}"><a href="{menurow.U_MENU_MODULE}" target="{menurow.U_LINK_TARGET}" class="genmed" title="{menurow.MENU_DESC}">{menurow.MENU_NAME}</a></span> </td> <!-- END menurow --> </tr> </table> </td> </tr> </table> --- NEW FILE: mx_menu_vertical.tpl --- <table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <!-- BEGIN catrow --> <tr> <td> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="row2" align="left"> <table width="100%" cellpadding="2" cellspacing="0" border="0" > <tr> <td class="cat" align="center" width="10" style="border:none;"> <span class="mx_rollup_button" onClick="mx_toggle(this, 'mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}', '{catrow.U_CAT_NAV_EXPAND}', '{catrow.U_CAT_NAV_CONTRACT}');"><img src="{catrow.U_CAT_NAV_DYNAMIC}" border="0" alt=""/></span> </td> <td class="cat" align="left" width="100%" style="border:none;"> <span class="nav"> {catrow.CATEGORY}</span> <!-- BEGIN switch_cat_desc --> <br> <span class="gensmall"> {catrow.switch_cat_desc.CAT_DESC}</span> <!-- END switch_cat_desc --> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tbody id="mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}" style="display: {catrow.CAT_SHOW};"> <tr> <td class="row1"> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <!-- BEGIN menurow --> <tr> <td style="border:none;" class="row1" valign="middle" height="10" align="left" colspan="2" onmouseout="this.className='row1';" onmouseover="this.className='row2';">{catrow.menurow.U_MENU_ICON}<span class="{catrow.menurow.MENU_STYLE}"> <a href="{catrow.menurow.U_MENU_URL}" target="{catrow.menurow.U_MENU_URL_TARGET}" class="genmed" title="{catrow.menurow.MENU_DESC}">{catrow.menurow.MENU_NAME}</a></span></td> </tr> <!-- END menurow --> </table> </td> </tr> </tbody> <!-- END catrow --> </table> |
|
From: OryNider <ory...@us...> - 2008-02-08 07:00:16
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/subSilver/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28691/images Added Files: arrow_right.gif Log Message: This templates are required when upgrading from 2.8.1 --- NEW FILE: arrow_right.gif --- (This appears to be a binary file; contents omitted.) |
|
From: OryNider <ory...@us...> - 2008-02-08 07:00:15
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28691/admin Added Files: index.htm mx_module_parameters.tpl mx_module_parameters_site.tpl Log Message: This templates are required when upgrading from 2.8.1 --- NEW FILE: mx_module_parameters_site.tpl --- <script type="text/javascript"> function getCookie(name) { var cookies = document.cookie; var start = cookies.indexOf(name + '='); if( start < 0 ) return null; var len = start + name.length + 1; var end = cookies.indexOf(';', len); if( end < 0 ) end = cookies.length; return unescape(cookies.substring(len, end)); } function setCookie(name, value, expires, path, domain, secure) { document.cookie = name + '=' + escape (value) + ((expires) ? '; expires=' + ( (expires == 'never') ? 'Thu, 31-Dec-2099 23:59:59 GMT' : expires.toGMTString() ) : '') + ((path) ? '; path=' + path : '') + ((domain) ? '; domain=' + domain : '') + ((secure) ? '; secure' : ''); } function delCookie(name, path, domain) { if( getCookie(name) ) { document.cookie = name + '=;expires=Thu, 01-Jan-1970 00:00:01 GMT' + ((path) ? '; path=' + path : '') + ((domain) ? '; domain=' + domain : ''); } } function handleError() { return true; } window.onerror = handleError; function menuCat(id, mode, visible) { this.cat_id = id; this.menu_mode = mode; this.status = visible != '' ? visible : 'none'; } var menuCats = new Array(); function getObj(obj) { return ( document.getElementById ? document.getElementById(obj) : ( document.all ? document.all[obj] : null ) ); } function displayObj(obj, status) { var x = getObj(obj); if( x && x.style ) x.style.display = status; } var queueInterval = 0; // milliseconds between queued steps. var execInterval = 0; var queuedSteps; var currentStep; function queueStep(o, s) { this.obj = o; this.status = s; } function execQueue() { if( currentStep < queuedSteps.length ) { var obj = queuedSteps[currentStep].obj; var status = queuedSteps[currentStep].status; displayObj(obj, status); if( menuCats[obj] ) menuCats[obj].status = status; currentStep++; setTimeout("execQueue();", execInterval); } else { execInterval = queueInterval; } } function onMenuCatClick(cat_id, type, init) { var currentCat, currentStatus; var imageSCR = type+'image_'+cat_id; var strSubmitContent = ''; parentCatMode = 'adminCat_'; parentCatEditMode = 'adminCatEdit_'; parentMenuEditMode = 'adminMenuEdit_'; parentCat = parentCatMode + cat_id; parentCatEdit = parentCatEditMode + cat_id; parentMenuEdit = parentMenuEditMode + cat_id; currentCat = type + cat_id; currentStatus = menuCats[currentCat].status; queuedSteps = new Array(); cookieArray = new Array(); currentStep = 0; for( var forCat in menuCats ) { if( (init == 'true' && (menuCats[forCat].status == 'block') && menuCats[forCat].menu_mode == parentCat) || (init != 'true' && ( (currentCat == parentCat && menuCats[forCat].status == 'block') || (currentCat == parentCatEdit && menuCats[forCat].menu_mode != parentCat && menuCats[forCat].status == 'block') || (currentCat == parentMenuEdit && menuCats[forCat].menu_mode != parentCatMode && menuCats[forCat].status == 'block') ))) { queuedSteps[currentStep++] = new queueStep(forCat, 'none'); menuCats[forCat].status = 'none'; forCatimage = menuCats[forCat].menu_mode+'image_'+menuCats[forCat].cat_id; if( document.images && document.images[forCatimage] ) { document.images[forCatimage].src = '{IMG_URL_EXPAND}'; } } } if( currentStatus == 'none' ) { if (menuCats[parentCat] && menuCats[currentCat].menu_mode != parentMenuEditMode ) { if (menuCats[parentCat].status == 'none') { queuedSteps[currentStep++] = new queueStep(parentCat, 'block'); menuCats[parentCat].status = 'block'; forCatimage = menuCats[parentCat].menu_mode+'image_'+menuCats[parentCat].cat_id; if( document.images && document.images[forCatimage] ) { document.images[forCatimage].src = '{IMG_URL_CONTRACT}'; } } } queuedSteps[currentStep++] = new queueStep(currentCat, 'block'); menuCats[currentCat].status = 'block'; if (currentCat == parentCat) { var expdate = new Date(); // 72 Hours from now expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); setCookie('{COOKIE_NAME}_'+type+'xxx_id', cat_id, expdate, ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ('{COOKIE_SECURE}' == '0') ? false : true); } if( document.images && document.images[imageSCR] ) { document.images[imageSCR].src = '{IMG_URL_CONTRACT}'; } } else { delCookie('{COOKIE_NAME}_'+type+'xxx_id', ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); } for( var forCat in menuCats ) { if ( menuCats[forCat].status == 'block' ) { strSubmitContent += forCat + ','; } } // Remove trailing separator strSubmitContent = strSubmitContent.substr(0, strSubmitContent.length - 1); setCookie('{COOKIE_NAME}_admincp_sitestates', strSubmitContent, expdate, ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ('{COOKIE_SECURE}' == '0') ? false : true); currentStep = 0; setTimeout("execQueue();", execInterval); } // --> </script> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead">{L_MENU_TITLE}</th> </tr> <tr> <td align="center"> {RESULT_MESSAGE} </td> </tr> <!-- BEGIN catrow --> <tr> <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="forumline"> <tr> <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCat_');"> <img name="adminCat_image_{catrow.CAT_ID}" src="{catrow.IMG_URL}" border="0" align="absmiddle"> <span class="cattitle"><b>{catrow.CAT_TITLE}</b></span><br /><span class="gensmall"><b>{catrow.CAT_DESC}</b></span> </td> <td width="15%" class="cat" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"> <img name="adminCatEdit_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="gen">{L_EDIT}</span> </td> <td width="20%" class="cat" align="center" valign="middle" nowrap="nowrap"> <span class="gen"><a href="{catrow.U_CAT_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.U_CAT_MOVE_DOWN}">{L_MOVE_DOWN}</a></span> </td> </tr> <tr> <td colspan="3" class="row1"> <div id="adminCat_{catrow.CAT_ID}" style="display:{catrow.VISIBLE};" class="genmed"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td bgcolor="#006699" width="10"></td> <td> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <!-- Cat Edit --> <tr> <td class="row1" colspan="5"> <div id="adminCatEdit_{catrow.CAT_ID}" style="display:{catrow.VISIBLE_EDIT};" class="genmed" > <form name="form_adminCatEdit_{catrow.CAT_ID}" action="{S_ACTION}" method="post" > <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.L_TITLE_EDIT}</span></td> </tr> <tr> <td class="row1"><b>{catrow.L_CAT_TITLE}</b></td> <td class="row2" colspan="2"><input type="text" size="25" name="cat_title" value="{catrow.E_CAT_TITLE}" /></td> </tr> <tr> <td class="row1">{catrow.L_MENU_ACTIVE}</td> <td class="row2">{catrow.S_MENU_ACTIVE}</td> </tr> <tr> <td class="row1" colspan="2">{catrow.L_MENU_ACTION_ADV}</td> </tr> <tr> <td class="row1" valign="top">{catrow.L_MENU_ICON}</td> <td class="row2">{catrow.S_POSTICONS}</td> </tr> <tr> <td class="row1">{catrow.L_MENU_ALT_ICON}</td> <td class="row2"><input type="text" size="65" name="menu_alt_icon" value="{catrow.E_MENU_ALT_ICON}" class="post" /></td> </tr> <tr> <td class="row1">{catrow.L_MENU_ALT_ICON_HOT}</td> <td class="row2"><input type="text" size="65" name="menu_alt_icon_hot" value="{catrow.E_MENU_ALT_ICON_HOT}" class="post" /></td> </tr> <tr> <td class="row2" colspan="2" align="center">{catrow.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{catrow.S_SUBMIT}" class="liteoption" /></td> </tr> </table> </form> </div> </td> </tr> <!-- Cat Edit --> <!-- BEGIN nocat --> {catrow.nocat.NONE} <!-- END nocat --> <!-- BEGIN menurow --> <tr> <td class="row1" colspan="5"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td class="row2" width="5"> </td> <td> <table width="100%" cellpadding="4" cellspacing="0" border="0" align="center"> <tr> <td width="65%" class="{catrow.menurow.ROW_CLASS}" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuEdit_');"><img name="adminMenuEdit_image_{catrow.menurow.MENU_ID}" src="{catrow.menurow.IMG_URL_EDIT}" border="0" align="absmiddle"> <img src="{IMG_ICON_BLOCK}" border="0" align="absmiddle"> <span class="gensmall">{catrow.menurow.MENU_TITLE}</span><br /><span class="gensmall">{catrow.menurow.MENU_DESC}</span> </td> <td width="20%" class="{catrow.menurow.ROW_CLASS}" align="center" valign="middle"> <span class="gensmall"><a href="{catrow.menurow.U_MENU_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.menurow.U_MENU_MOVE_DOWN}">{L_MOVE_DOWN}</a></span> </td> </tr> <!-- Menu Edit --> <tr> <td class="row1" colspan="3"> <div id="adminMenuEdit_{catrow.menurow.MENU_ID}" style="display:{catrow.menurow.VISIBLE_EDIT};" class="genmed"> <form name="form_adminMenuEdit_{catrow.menurow.MENU_ID}" action="{S_ACTION}" method="post"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuEdit_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.menurow.L_TITLE_EDIT}</span></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_TITLE}</td> <td class="row2"><input type="text" size="45" name="menuname" value="{catrow.menurow.E_MENU_TITLE}" class="post" /></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_ACTIVE}</td> <td class="row2">{catrow.menurow.S_MENU_ACTIVE}</td> </tr> <tr> <td class="row1" colspan="2">{catrow.menurow.L_MENU_ACTION_ADV}</td> </tr> <tr> <td class="row1" valign="top">{catrow.menurow.L_MENU_ICON}</td> <td class="row2">{catrow.menurow.S_POSTICONS}</td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_ALT_ICON}</td> <td class="row2"><input type="text" size="65" name="menu_alt_icon" value="{catrow.menurow.E_MENU_ALT_ICON}" class="post" /></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_ALT_ICON_HOT}</td> <td class="row2"><input type="text" size="65" name="menu_alt_icon_hot" value="{catrow.menurow.E_MENU_ALT_ICON_HOT}" class="post" /></td> </tr> <tr> <td class="row2" colspan="2" align="center">{catrow.menurow.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{catrow.menurow.S_SUBMIT}" class="liteoption" /></td> </tr> </table> </form> </div> </td> </tr> <!-- Menu Edit --> </table> </td> </tr> </table> </td> </tr> <!-- END menurow --> </table> </td> </tr> </table> </div> </td> </tr> </table> </td> </tr> <!-- END catrow --> </table> <script type="text/javascript"> <!-- BEGIN catrow --> menuCats['adminCat_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCat_', '{catrow.VISIBLE}'); menuCats['adminCatEdit_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCatEdit_', '{catrow.VISIBLE_EDIT}' ); <!-- BEGIN menurow --> menuCats['adminMenuEdit_{catrow.menurow.MENU_ID}'] = new menuCat('{catrow.menurow.MENU_ID}', 'adminMenuEdit_', '{catrow.menurow.VISIBLE_EDIT}'); <!-- END menurow --> <!-- END catrow --> // --> </script> --- NEW FILE: mx_module_parameters.tpl --- <script type="text/javascript"> function getCookie(name) { var cookies = document.cookie; var start = cookies.indexOf(name + '='); if( start < 0 ) return null; var len = start + name.length + 1; var end = cookies.indexOf(';', len); if( end < 0 ) end = cookies.length; return unescape(cookies.substring(len, end)); } function setCookie(name, value, expires, path, domain, secure) { document.cookie = name + '=' + escape (value) + ((expires) ? '; expires=' + ( (expires == 'never') ? 'Thu, 31-Dec-2099 23:59:59 GMT' : expires.toGMTString() ) : '') + ((path) ? '; path=' + path : '') + ((domain) ? '; domain=' + domain : '') + ((secure) ? '; secure' : ''); } function delCookie(name, path, domain) { if( getCookie(name) ) { document.cookie = name + '=;expires=Thu, 01-Jan-1970 00:00:01 GMT' + ((path) ? '; path=' + path : '') + ((domain) ? '; domain=' + domain : ''); } } function handleError() { return true; } window.onerror = handleError; function menuCat(id, mode, visible, page_nav, block_nav, function_nav) { this.cat_id = id; this.block_nav = block_nav; this.page_nav = page_nav; this.function_nav = function_nav; this.menu_mode = mode; this.status = visible != '' ? visible : 'none'; } var menuCats = new Array(); function getObj(obj) { return ( document.getElementById ? document.getElementById(obj) : ( document.all ? document.all[obj] : null ) ); } function displayObj(obj, status) { var x = getObj(obj); if( x && x.style ) x.style.display = status; } var queueInterval = 0; // milliseconds between queued steps. var execInterval = 0; var queuedSteps; var currentStep; function queueStep(o, s) { this.obj = o; this.status = s; } function execQueue() { if( currentStep < queuedSteps.length ) { var obj = queuedSteps[currentStep].obj; var status = queuedSteps[currentStep].status; displayObj(obj, status); if( menuCats[obj] ) menuCats[obj].status = status; currentStep++; setTimeout("execQueue();", execInterval); } else { execInterval = queueInterval; } } function onMenuCatClick(cat_id, type, init) { var currentCat, currentStatus; var imageSCR = type+'image_'+cat_id; var strSubmitContent = ''; parentCatMode = 'adminCat_'; parentCatEditMode = 'adminCatEdit_'; parentCatDeleteMode = 'adminCatDelete_'; parentMenuEditMode = 'adminMenuEdit_'; parentMenuDeleteMode = 'adminMenuDelete_'; parentCat = parentCatMode + cat_id; parentCatEdit = parentCatEditMode + cat_id; parentCatDelete = parentCatDeleteMode + cat_id; parentMenuEdit = parentMenuEditMode + cat_id; parentMenuDelete = parentMenuDeleteMode + cat_id; currentCat = type + cat_id; currentStatus = menuCats[currentCat].status; queuedSteps = new Array(); cookieArray = new Array(); currentStep = 0; for( var forCat in menuCats ) { if( (init == 'true' && (menuCats[forCat].status == 'block') && menuCats[forCat].menu_mode == parentCat) || (init != 'true' && ( (currentCat == parentCat && menuCats[forCat].status == 'block') || (currentCat == parentCatEdit && menuCats[forCat].menu_mode != parentCat && menuCats[forCat].status == 'block') || (currentCat == parentCatDelete && menuCats[forCat].menu_mode != parentCat && menuCats[forCat].status == 'block') || (currentCat == parentMenuEdit && menuCats[forCat].menu_mode != parentCatMode && menuCats[forCat].status == 'block') || (currentCat == parentMenuDelete && menuCats[forCat].menu_mode != parentCatMode && menuCats[forCat].status == 'block') ))) { queuedSteps[currentStep++] = new queueStep(forCat, 'none'); menuCats[forCat].status = 'none'; forCatimage = menuCats[forCat].menu_mode+'image_'+menuCats[forCat].cat_id; if( document.images && document.images[forCatimage] ) { document.images[forCatimage].src = '{IMG_URL_EXPAND}'; } } } if( currentStatus == 'none' ) { if (menuCats[parentCat] && menuCats[currentCat].menu_mode != parentMenuEditMode && menuCats[currentCat].menu_mode != parentMenuDeleteMode) { if (menuCats[parentCat].status == 'none') { queuedSteps[currentStep++] = new queueStep(parentCat, 'block'); menuCats[parentCat].status = 'block'; forCatimage = menuCats[parentCat].menu_mode+'image_'+menuCats[parentCat].cat_id; if( document.images && document.images[forCatimage] ) { document.images[forCatimage].src = '{IMG_URL_CONTRACT}'; } } } queuedSteps[currentStep++] = new queueStep(currentCat, 'block'); menuCats[currentCat].status = 'block'; if (currentCat == parentCat) { var expdate = new Date(); // 72 Hours from now expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); setCookie('{COOKIE_NAME}_'+type+'xxx_id', cat_id, expdate, ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ('{COOKIE_SECURE}' == '0') ? false : true); } if( document.images && document.images[imageSCR] ) { document.images[imageSCR].src = '{IMG_URL_CONTRACT}'; } // Update Form Selects - on the fly if (parentCatEditMode == type) { EditForm = 'form_' + parentCatEditMode + cat_id; duplicateForm(document.fromForm.pages, document.forms[EditForm].cat_url_sel, menuCats[currentCat].page_nav); } if (parentMenuEditMode == type) { EditForm = 'form_' + parentMenuEditMode + cat_id; duplicateForm(document.fromForm.blocks, document.forms[EditForm].block_nav, menuCats[currentCat].block_nav); duplicateForm(document.fromForm.pages, document.forms[EditForm].page_nav, menuCats[currentCat].page_nav); duplicateForm(document.fromForm.functions, document.forms[EditForm].function_id, menuCats[currentCat].function_nav); } } else { delCookie('{COOKIE_NAME}_'+type+'xxx_id', ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); } for( var forCat in menuCats ) { if ( menuCats[forCat].status == 'block' ) { strSubmitContent += forCat + ','; } } // Remove trailing separator strSubmitContent = strSubmitContent.substr(0, strSubmitContent.length - 1); setCookie('{COOKIE_NAME}_admincp_menustates', strSubmitContent, expdate, ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ('{COOKIE_SECURE}' == '0') ? false : true); currentStep = 0; setTimeout("execQueue();", execInterval); } function deleteOption(object,index) { object.options[index] = null; } function addOption(object,text,value, selectedValue) { var defaultSelected = false; var selected = false; if (value == selectedValue) { defaultSelected = true; selected = true; } var optionName = new Option(text, value, defaultSelected, selected) object.options[object.length] = optionName; } function copySelected(fromObject,toObject) { for (var i=0, l=fromObject.options.length;i<l;i++) { if (fromObject.options[i].selected) addOption(toObject,fromObject.options[i].text,fromObject.options[i].value); } for (var i=fromObject.options.length-1;i>-1;i--) { if (fromObject.options[i].selected) deleteOption(fromObject,i); } } function copyAll(fromObject,toObject) { for (var i=0, l=fromObject.options.length;i<l;i++) { addOption(toObject,fromObject.options[i].text,fromObject.options[i].value); } for (var i=fromObject.options.length-1;i>-1;i--) { deleteOption(fromObject,i); } } function duplicateForm(fromObject,toObject, selectedValue) { toObject.options.length = null; for (var i=0; i<fromObject.options.length;i++) { addOption(toObject,fromObject.options[i].text,fromObject.options[i].value, selectedValue); // For some reason i have to reselect, to make it work in IE (Haplo is confused here...) if (fromObject.options[i].value == selectedValue) { toObject.selectedIndex = i; } } } // --> </script> <div style="display:none;"> <form name="fromForm"> {S_GEN_BLOCK_LIST} {S_GEN_FUNCTION_LIST} {S_GEN_PAGE_LIST} </form> </div> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead">{L_MENU_TITLE}</th> </tr> <tr> <td align="center"> {RESULT_MESSAGE} </td> </tr> <!-- BEGIN catrow --> <tr> <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="forumline"> <tr> <!-- BEGIN is_new --> <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"> <img name="adminCatEdit_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="cattitle"><b>{catrow.CAT_TITLE}</b></span><br /><span class="gensmall"><b>{catrow.CAT_DESC}</b></span> </td> <!-- END is_new --> <!-- BEGIN is_cat --> <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCat_');"> <img name="adminCat_image_{catrow.CAT_ID}" src="{catrow.IMG_URL}" border="0" align="absmiddle"> <span class="cattitle"><b>{catrow.CAT_TITLE}</b></span><br /><span class="gensmall"><b>{catrow.CAT_DESC}</b></span> </td> <!-- END is_cat --> <td width="15%" class="cat" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"> <!-- BEGIN is_cat --> <img name="adminCatEdit_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="gen">{L_EDIT}</span> <!-- END is_cat --> </td> <td width="15%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatDelete_');"> <!-- BEGIN is_cat --> <img name="adminCatDelete_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gen">{L_DELETE}</span> <!-- END is_cat --> </td> <td width="20%" class="cat" align="center" valign="middle" nowrap="nowrap"> <!-- BEGIN is_cat --> <span class="gen"><a href="{catrow.U_CAT_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.U_CAT_MOVE_DOWN}">{L_MOVE_DOWN}</a></span> <!-- END is_cat --> </td> </tr> <tr> <td colspan="4" class="row1"> <div id="adminCat_{catrow.CAT_ID}" style="display:{catrow.VISIBLE};" class="genmed"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td bgcolor="#006699" width="10"></td> <td> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <!-- Cat Delete --> <tr> <td colspan="5" class="row1"> <div id="adminCatDelete_{catrow.CAT_ID}" style="display:{catrow.VISIBLE_DELETE};" class="genmed"> <form action="{S_ACTION}" method="post"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatDelete_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.L_TITLE_DELETE}</span></td> </tr> <tr> <td width="50%" class="row1" align="right"><b>{catrow.L_MENU_NAME}</b></td> <td class="row1"><span class="row1">{catrow.NAME}</span></td> </tr> <tr> <td width="50%" class="row1" align="right"><input type="checkbox" name="move_contents" value="1" />{catrow.L_MOVE_CONTENTS}</td> <td class="row1">{catrow.S_SELECT_TO}</td> </tr> <tr> <td class="row2" colspan="2" align="center">{catrow.S_HIDDEN_DELETE_FIELDS}<input type="submit" name="submit" value="{catrow.S_SUBMIT_DELETE}" class="mainoption" /></td> </tr> </table> </form> </div> </td> </tr> <!-- Cat Delete --> <!-- Cat Edit --> <tr> <td class="row1" colspan="5"> <div id="adminCatEdit_{catrow.CAT_ID}" style="display:{catrow.VISIBLE_EDIT};" class="genmed" > <form name="form_adminCatEdit_{catrow.CAT_ID}" action="{S_ACTION}" method="post" > <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.L_TITLE_EDIT}</span></td> </tr> <tr> <td class="row1"><b>{catrow.L_CAT_TITLE}</b></td> <td class="row2" colspan="2"><input type="text" size="25" name="cat_title" value="{catrow.E_CAT_TITLE}" /></td> </tr> <tr> <td class="row1"><b>{catrow.L_CAT_DESC}</b></td> <td class="row2" colspan="2"><textarea name="cat_desc" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post">{catrow.E_CAT_DESC}</textarea></td> </tr> <tr> <td class="row1">{catrow.L_CAT_SHOW_CAT}</td> <td class="row2">{catrow.S_CAT_SHOW_CAT}</td> </tr> <!-- <tr> <td class="row1">{catrow.L_CAT_MENU_PAGE}</td> <td class="row2">{catrow.S_CAT_PAGE_LIST}</td> </tr> --> <tr> <td class="row1">{catrow.L_CAT_MENU_PAGE}</td> <td class="row2"><select name="cat_url_sel" ><option value="0">0</option></select></td> </tr> <tr> <td class="row1">{catrow.L_CAT_LINK_TARGET}</td> <td class="row2">{catrow.S_CAT_LINK_TARGET_LIST}</td> </tr> <tr> <td class="row2" colspan="2" align="center">{catrow.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{catrow.S_SUBMIT}" class="liteoption" /></td> </tr> </table> </form> </div> </td> </tr> <!-- Cat Edit --> <!-- BEGIN nocat --> {catrow.nocat.NONE} <!-- END nocat --> <!-- BEGIN menurow --> <tr> <td class="row1" colspan="5"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td class="row2" width="5"> </td> <td> <table width="100%" cellpadding="4" cellspacing="0" border="0" align="center"> <tr> <td width="65%" class="{catrow.menurow.ROW_CLASS}" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuEdit_');"><img name="adminMenuEdit_image_{catrow.menurow.MENU_ID}" src="{catrow.menurow.IMG_URL_EDIT}" border="0" align="absmiddle"> <img src="{IMG_ICON_BLOCK}" border="0" align="absmiddle"> <span class="gensmall">{catrow.menurow.MENU_TITLE}</span><br /><span class="gensmall">{catrow.menurow.MENU_DESC}</span> </td> <td width="15%" class="{catrow.menurow.ROW_CLASS}" align="center" valign="middle" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuDelete_');" > <!-- BEGIN is_menu --> <img name="adminMenuDelete_image_{catrow.menurow.MENU_ID}" src="{catrow.menurow.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gensmall">{L_DELETE}</span> <!-- END is_menu --> </td> <td width="20%" class="{catrow.menurow.ROW_CLASS}" align="center" valign="middle"> <!-- BEGIN is_menu --> <span class="gensmall"><a href="{catrow.menurow.U_MENU_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.menurow.U_MENU_MOVE_DOWN}">{L_MOVE_DOWN}</a></span> <!-- END is_menu --> </td> </tr> <!-- Menu Delete --> <tr> <td colspan="3" class="row1"> <div id="adminMenuDelete_{catrow.menurow.MENU_ID}" style="display:{catrow.menurow.VISIBLE_DELETE};" class="genmed"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuDelete_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.menurow.L_TITLE_DELETE}</span></td> </tr> <tr> <td width="50%" align="center" colspan="2"> {catrow.menurow.MESSAGE_DELETE} </td> </tr> </table> </div> </td> </tr> <!-- Menu Delete --> <!-- Menu Edit --> <tr> <td class="row1" colspan="3"> <div id="adminMenuEdit_{catrow.menurow.MENU_ID}" style="display:{catrow.menurow.VISIBLE_EDIT};" class="genmed"> <form name="form_adminMenuEdit_{catrow.menurow.MENU_ID}" action="{S_ACTION}" method="post"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuEdit_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.menurow.L_TITLE_EDIT}</span></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_TITLE}</td> <td class="row2"><input type="text" size="45" name="menuname" value="{catrow.menurow.E_MENU_TITLE}" class="post" /></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_DESC}</td> <td class="row2"><textarea rows="5" cols="45" wrap="virtual" name="message" class="post">{catrow.menurow.E_MENU_DESC}</textarea></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_LINK_TARGET}</td> <td class="row2">{catrow.menurow.S_LINK_TARGET_LIST}</td> </tr> <tr> <td class="row1" colspan="2">{catrow.menurow.L_MENU_ACTION_TITLE}</td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_PAGE}</td> <td class="row2"><select name="page_nav" ><option value="0">0</option></select></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_LINKS}</td> <td class="row2"><input type="text" size="65" name="menulinks" value="{catrow.menurow.E_MENU_LINKS}" class="post" /></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_BLOCK}</td> <td class="row2"><select name="block_nav" ><option value="0">0</option></select></td> </tr> <tr> <td class="row1" colspan="2">{catrow.menurow.L_MENU_ACTION_ADV}</td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_FUNCTION}</td> <td class="row2"><select name="function_id" ><option value="0">0</option></select></td> </tr> <tr> <td class="row1" colspan="2">{catrow.menurow.L_MENU_PERMISSIONS_TITLE}</td> </tr> <tr> <td class="row1">{catrow.menurow.L_AUTH_TITLE}</td> <td class="row2"> <table cellspacing="1" cellpadding="4" border="0" class="portalline"> <tr> <!-- BEGIN module_auth_titles --> <th class="thTop">{catrow.menurow.module_auth_titles.CELL_TITLE}</th> <!-- END module_auth_titles --> </tr> <!-- BEGIN module_auth_data --> <tr> <td class="row1" align="center">{catrow.menurow.module_auth_data.S_AUTH_LEVELS_SELECT}</td> </tr> <tr> <th class="thTop">{catrow.menurow.module_auth_data.L_AUTH_GROUP_LEVELS_SELECT}</th> </tr> <tr> <td class="row1" align="center">{catrow.menurow.module_auth_data.S_AUTH_GROUP_LEVELS_SELECT}</td> </tr> <!-- END module_auth_data --> </table> </td> </tr> <tr> <td class="row1" valign="top">{catrow.menurow.L_MENU_ICON}</td> <td class="row2">{catrow.menurow.S_POSTICONS}</td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_ALT_ICON}</td> <td class="row2"><input type="text" size="65" name="menu_alt_icon" value="{catrow.menurow.E_MENU_ALT_ICON}" class="post" /></td> </tr> <tr> <td class="row1">{catrow.menurow.L_MENU_ALT_ICON_HOT}</td> <td class="row2"><input type="text" size="65" name="menu_alt_icon_hot" value="{catrow.menurow.E_MENU_ALT_ICON_HOT}" class="post" /></td> </tr> <tr> <td class="row2" colspan="2" align="center">{catrow.menurow.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{catrow.menurow.S_SUBMIT}" class="liteoption" /></td> </tr> </table> </form> </div> </td> </tr> <!-- Menu Edit --> </table> </td> </tr> </table> </td> </tr> <!-- END menurow --> </table> </td> </tr> </table> </div> </td> </tr> </table> </td> </tr> <!-- END catrow --> </table> <script type="text/javascript"> <!-- BEGIN catrow --> menuCats['adminCat_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCat_', '{catrow.VISIBLE}', '', '', ''); menuCats['adminCatEdit_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCatEdit_', '{catrow.VISIBLE_EDIT}', '{catrow.PAGE_NAV}', '', ''); menuCats['adminCatDelete_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCatDelete_', '{catrow.VISIBLE_DELETE}', '', '', ''); if ('{catrow.VISIBLE_EDIT}' == 'block') { duplicateForm(document.fromForm.pages, document.forms['form_adminCatEdit_' + '{catrow.CAT_ID}'].cat_url_sel, '{catrow.PAGE_NAV}'); } <!-- BEGIN menurow --> menuCats['adminMenuEdit_{catrow.menurow.MENU_ID}'] = new menuCat('{catrow.menurow.MENU_ID}', 'adminMenuEdit_', '{catrow.menurow.VISIBLE_EDIT}', '{catrow.menurow.PAGE_NAV}', '{catrow.menurow.BLOCK_NAV}', '{catrow.menurow.FUNCTION_NAV}'); menuCats['adminMenuDelete_{catrow.menurow.MENU_ID}'] = new menuCat('{catrow.menurow.MENU_ID}', 'adminMenuDelete_', '{catrow.menurow.VISIBLE_DELETE}', '', '', ''); if ('{catrow.menurow.VISIBLE_EDIT}' == 'block') { duplicateForm(document.fromForm.blocks, document.forms['form_adminMenuEdit_' + '{catrow.menurow.MENU_ID}'].block_nav, '{catrow.menurow.BLOCK_NAV}'); duplicateForm(document.fromForm.pages, document.forms['form_adminMenuEdit_' + '{catrow.menurow.MENU_ID}'].page_nav, '{catrow.menurow.PAGE_NAV}'); //duplicateForm(document.fromForm.functions, document.forms['form_adminMenuEdit_' + '{catrow.menurow.MENU_ID}'].function_nav, '{catrow.menurow.FUNCTION_NAV}'); } <!-- END menurow --> <!-- END catrow --> // --> </script> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: OryNider <ory...@us...> - 2008-02-08 06:56:46
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/subsilver2/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28466/admin Log Message: Directory /cvsroot/mxbb/core/modules/mx_navmenu/templates/subsilver2/admin added to the repository |