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
|
|
From: Jon O. <jon...@us...> - 2007-09-09 20:19:46
|
Update of /cvsroot/mxbb/mx_phpbb/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24972/admin Modified Files: admin_forums_ext.php Log Message: for 2.9.x Index: admin_forums_ext.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/admin/admin_forums_ext.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** admin_forums_ext.php 2 May 2006 23:28:18 -0000 1.6 --- admin_forums_ext.php 9 Sep 2007 20:19:43 -0000 1.7 *************** *** 77,81 **** if ( isset( $HTTP_POST_VARS['submit'] ) ) { ! $message = $lang['phpbb_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_phpbb_config'], "<a href=\"" . append_sid( "admin_forums_ext.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 77,81 ---- if ( isset( $HTTP_POST_VARS['submit'] ) ) { ! $message = $lang['phpbb_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_phpbb_config'], "<a href=\"" . mx_append_sid( "admin_forums_ext.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 130,134 **** $template->assign_vars( array( ! 'S_FORUM_ACTION' => append_sid( "admin_forums_ext.$phpEx" ), 'L_FORUM_TITLE' => $lang['mx_forum_admin'], --- 130,134 ---- $template->assign_vars( array( ! 'S_FORUM_ACTION' => mx_append_sid( "admin_forums_ext.$phpEx" ), 'L_FORUM_TITLE' => $lang['mx_forum_admin'], |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:19:46
|
Update of /cvsroot/mxbb/mx_phpbb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24972 Modified Files: mx_phpbb.php Log Message: for 2.9.x Index: mx_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/mx_phpbb.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** mx_phpbb.php 17 Dec 2006 11:38:05 -0000 1.12 --- mx_phpbb.php 9 Sep 2007 20:19:43 -0000 1.13 *************** *** 60,63 **** --- 60,64 ---- include_once($mx_root_path . "modules/mx_phpbb/includes/forum_hack.$phpEx"); include_once($mx_root_path . "modules/mx_phpbb/includes/phpbb_constants.$phpEx"); + include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx); // Also include phpBB lang keys // *************** *** 68,72 **** if ( in_array($mx_forum->phpbb_script, $private_phpbb_script) && !$userdata['session_logged_in'] ) { ! mx_redirect( append_sid( $mx_root_path . "login.$phpEx?redirect=" . mx_this_url(), true ) ); } } --- 69,73 ---- if ( in_array($mx_forum->phpbb_script, $private_phpbb_script) && !$userdata['session_logged_in'] ) { ! mx_redirect( mx_append_sid( $mx_root_path . "login.$phpEx?redirect=" . mx_this_url(), true ) ); } } |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:19:46
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24972/includes Modified Files: forum_hack.php phpbb_constants.php Log Message: for 2.9.x Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** forum_hack.php 22 Jul 2007 22:31:04 -0000 1.24 --- forum_hack.php 9 Sep 2007 20:19:43 -0000 1.25 *************** *** 21,28 **** define( 'MX_FORUM_DEBUG', 1 ); ! include_once($phpbb_root_path . 'includes/functions_selects.' . $phpEx); ! include_once($phpbb_root_path . 'includes/functions_post.' . $phpEx); ! include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); ! include_once($phpbb_root_path . 'includes/auth.' . $phpEx); // -------------------------------------------------------------------------------- --- 21,41 ---- define( 'MX_FORUM_DEBUG', 1 ); ! include_once($phpbb_root_path . 'includes/functions.' . $phpEx); ! if (!function_exists('language_select')) ! { ! include_once($phpbb_root_path . 'includes/functions_selects.' . $phpEx); ! } ! if (!function_exists('prepare_message')) ! { ! include_once($phpbb_root_path . 'includes/functions_post.' . $phpEx); ! } ! if (!function_exists('bbencode_second_pass')) ! { ! include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); ! } ! if (!function_exists('auth_check_user')) ! { ! include_once($phpbb_root_path . 'includes/auth.' . $phpEx); ! } // -------------------------------------------------------------------------------- *************** *** 143,147 **** function init_paths() { ! global $mx_root_path, $db, $phpEx; if ( defined( PHPBB_URL ) && defined( PORTAL_URL ) ) --- 156,160 ---- function init_paths() { ! global $mx_root_path, $db, $phpEx, $board_config; if ( defined( PHPBB_URL ) && defined( PORTAL_URL ) ) *************** *** 162,167 **** { $row = $db->sql_fetchrow( $result ); ! $this->phpbb_url = $row['portal_phpbb_url']; ! $this->portal_url = $row['portal_url']; } $db->sql_freeresult($result); --- 175,193 ---- { $row = $db->sql_fetchrow( $result ); ! ! // ! // Define some general Defs ! // ! $script_name = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($row['script_path'])); ! $server_name = trim($row['server_name']); ! $server_protocol = ( $row['cookie_secure'] ) ? 'https://' : 'http://'; ! $server_port = ( $row['server_port'] <> 80 ) ? ':' . trim($row['server_port']) . '/' : '/'; ! $server_url = $server_protocol . $server_name . $server_port . $script_name; ! ! $script_name_phpbb = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($board_config['script_path'])) . '/'; ! $server_url_phpbb = $server_protocol . $server_name . $server_port . $script_name_phpbb; ! ! $this->phpbb_url = $server_url_phpbb; ! $this->portal_url = $server_url; } $db->sql_freeresult($result); *************** *** 619,626 **** case 'index': //global $s_last_visit; // declared here: includes/page_header.php ! $s_last_visit = ( $userdata['session_logged_in'] ) ? create_date($board_config['default_dateformat'], $userdata['user_lastvisit'], $board_config['board_timezone']) : ''; $script_vars = array( 'LAST_VISIT_DATE' => sprintf( $lang['You_last_visit'], $s_last_visit ), ! 'CURRENT_TIME' => sprintf( $lang['Current_time'], create_date( $board_config['default_dateformat'], time(), $board_config['board_timezone'] ) ), 'L_SEARCH_NEW' => $lang['Search_new'], 'L_SEARCH_UNANSWERED' => $lang['Search_unanswered'], --- 645,652 ---- case 'index': //global $s_last_visit; // declared here: includes/page_header.php ! $s_last_visit = ( $userdata['session_logged_in'] ) ? phpBB2::create_date($board_config['default_dateformat'], $userdata['user_lastvisit'], $board_config['board_timezone']) : ''; $script_vars = array( 'LAST_VISIT_DATE' => sprintf( $lang['You_last_visit'], $s_last_visit ), ! 'CURRENT_TIME' => sprintf( $lang['Current_time'], phpBB2::create_date( $board_config['default_dateformat'], time(), $board_config['board_timezone'] ) ), 'L_SEARCH_NEW' => $lang['Search_new'], 'L_SEARCH_UNANSWERED' => $lang['Search_unanswered'], *************** *** 631,635 **** 'L_AUTO_LOGIN' => $lang['Log_me_in'], 'L_LOGIN_LOGOUT' => $lang['Login'], ! 'S_LOGIN_ACTION' => append_sid('login.'.$phpEx) ); // --- 657,661 ---- 'L_AUTO_LOGIN' => $lang['Log_me_in'], 'L_LOGIN_LOGOUT' => $lang['Login'], ! 'S_LOGIN_ACTION' => mx_append_sid('login.'.$phpEx) ); // *************** *** 668,672 **** // Replaces same function in sessions.php // ! return append_sid( $this->full_url( $url, $non_html_amp, $portal_url ), $non_html_amp ); } --- 694,698 ---- // Replaces same function in sessions.php // ! return mx_append_sid( $this->full_url( $url, $non_html_amp, $portal_url ), $non_html_amp ); } *************** *** 1246,1250 **** 'TOTAL_USERS_ONLINE' => $l_online_users, 'LOGGED_IN_USER_LIST' => $online_userlist, ! 'RECORD_USERS' => sprintf($lang['Record_online_users'], $board_config['record_online_users'], create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone'])), 'L_WHO_IS_ONLINE' => $lang['Who_is_Online'], --- 1272,1276 ---- 'TOTAL_USERS_ONLINE' => $l_online_users, 'LOGGED_IN_USER_LIST' => $online_userlist, ! 'RECORD_USERS' => sprintf($lang['Record_online_users'], $board_config['record_online_users'], phpBB2::create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone'])), 'L_WHO_IS_ONLINE' => $lang['Who_is_Online'], Index: phpbb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/phpbb_constants.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** phpbb_constants.php 17 Jun 2006 20:14:00 -0000 1.5 --- phpbb_constants.php 9 Sep 2007 20:19:43 -0000 1.6 *************** *** 14,17 **** --- 14,22 ---- } + if ( PORTAL_BACKEND != 'phpbb2' ) + { + mx_message_die(GENERAL_MESSAGE, 'There are blocks on this page designed for mxBB with phpBB2 backend, thus not compatible with current setup.'); + } + define( 'PAGE_FORUM', -502 ); define( 'PHPBB_CONFIG_TABLE', $mx_table_prefix . 'phpbb_plugin_config' ); |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:18:41
|
Update of /cvsroot/mxbb/mx_phpbb/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24565/admin Log Message: Directory /cvsroot/mxbb/mx_phpbb/templates/_core/admin added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:18:31
|
Update of /cvsroot/mxbb/mx_phpbb/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24548/_core Log Message: Directory /cvsroot/mxbb/mx_phpbb/templates/_core added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:17:59
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver/images/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24152 Removed Files: icon_pa_download.gif icon_pa_email.gif icon_pa_post_comment.gif icon_pa_rate.gif icon_pa_search.gif icon_pa_stats.gif icon_pa_toplist.gif icon_pa_upload.gif icon_pa_viewall.gif index.htm Log Message: for 2.9.x --- icon_pa_rate.gif DELETED --- --- icon_pa_search.gif DELETED --- --- icon_pa_email.gif DELETED --- --- icon_pa_toplist.gif DELETED --- --- icon_pa_stats.gif DELETED --- --- icon_pa_viewall.gif DELETED --- --- icon_pa_download.gif DELETED --- --- icon_pa_upload.gif DELETED --- --- icon_pa_post_comment.gif DELETED --- --- index.htm DELETED --- |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:17:52
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24130/images Removed Files: icon_pa_new.gif index.htm Log Message: for 2.9.x --- icon_pa_new.gif DELETED --- --- index.htm DELETED --- |
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24130/admin Removed Files: auth_select_body.tpl index.htm mx_module_panel.tpl mx_module_parameters.tpl pa_admin_cat.tpl pa_admin_cat_delete.tpl pa_admin_cat_edit.tpl pa_admin_field.tpl pa_admin_field_add.tpl pa_admin_field_delete.tpl pa_admin_file_checker.tpl pa_admin_file_mirrors.tpl pa_admin_license.tpl pa_admin_license_add.tpl pa_admin_license_delete.tpl pa_admin_license_edit.tpl pa_admin_select_field.tpl pa_admin_select_field_type.tpl pa_admin_settings.tpl pa_auth_cat_body.tpl pa_auth_select_body.tpl pa_auth_ug_body.tpl user_select_body.tpl Log Message: for 2.9.x --- pa_admin_field.tpl DELETED --- --- pa_admin_license_edit.tpl DELETED --- --- pa_admin_select_field_type.tpl DELETED --- --- pa_admin_cat.tpl DELETED --- --- pa_admin_select_field.tpl DELETED --- --- index.htm DELETED --- --- pa_auth_select_body.tpl DELETED --- --- auth_select_body.tpl DELETED --- --- mx_module_parameters.tpl DELETED --- --- user_select_body.tpl DELETED --- --- pa_auth_cat_body.tpl DELETED --- --- pa_admin_field_delete.tpl DELETED --- --- pa_admin_field_add.tpl DELETED --- --- pa_admin_license_delete.tpl DELETED --- --- pa_admin_file_mirrors.tpl DELETED --- --- pa_auth_ug_body.tpl DELETED --- --- pa_admin_file_checker.tpl DELETED --- --- pa_admin_settings.tpl DELETED --- --- pa_admin_license_add.tpl DELETED --- --- pa_admin_license.tpl DELETED --- --- pa_admin_cat_edit.tpl DELETED --- --- pa_admin_cat_delete.tpl DELETED --- --- mx_module_panel.tpl DELETED --- |
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23668/subSilver Removed Files: index.htm pa_category_body.tpl pa_comment_body.tpl pa_comment_posting.tpl pa_custom_field.tpl pa_download_body.tpl pa_email_body.tpl pa_file_add.tpl pa_file_body.tpl pa_footer.tpl pa_header.tpl pa_license_body.tpl pa_lists.tpl pa_main_body.tpl pa_mcp.tpl pa_mini.tpl pa_mirrors_body.tpl pa_quickdl_cat_body.tpl pa_rate_body.tpl pa_search_body.tpl pa_search_result.tpl pa_stats_body.tpl pa_toplist_body.tpl pa_viewall_body.tpl subSilver.cfg Log Message: for 2.9.x --- pa_mcp.tpl DELETED --- --- pa_main_body.tpl DELETED --- --- index.htm DELETED --- --- pa_header.tpl DELETED --- --- pa_quickdl_cat_body.tpl DELETED --- --- pa_file_add.tpl DELETED --- --- pa_lists.tpl DELETED --- --- pa_mirrors_body.tpl DELETED --- --- pa_footer.tpl DELETED --- --- pa_download_body.tpl DELETED --- --- pa_rate_body.tpl DELETED --- --- pa_comment_body.tpl DELETED --- --- pa_toplist_body.tpl DELETED --- --- pa_stats_body.tpl DELETED --- --- pa_category_body.tpl DELETED --- --- pa_email_body.tpl DELETED --- --- pa_mini.tpl DELETED --- --- pa_search_body.tpl DELETED --- --- pa_viewall_body.tpl DELETED --- --- pa_license_body.tpl DELETED --- --- subSilver.cfg DELETED --- --- pa_search_result.tpl DELETED --- --- pa_file_body.tpl DELETED --- --- pa_comment_posting.tpl DELETED --- --- pa_custom_field.tpl DELETED --- |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:17:25
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/_core/images/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23668/_core/images/lang_english Added Files: icon_pa_download.gif icon_pa_email.gif icon_pa_post_comment.gif icon_pa_rate.gif icon_pa_search.gif icon_pa_stats.gif icon_pa_toplist.gif icon_pa_upload.gif icon_pa_viewall.gif index.htm Log Message: for 2.9.x --- NEW FILE: icon_pa_rate.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_pa_search.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_pa_email.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_pa_toplist.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_pa_stats.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_pa_viewall.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_pa_download.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_pa_upload.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_pa_post_comment.gif --- (This appears to be a binary file; contents omitted.) --- 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: Jon O. <jon...@us...> - 2007-09-09 20:17:24
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/_core/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23668/_core/images Added Files: icon_pa_new.gif index.htm Log Message: for 2.9.x --- NEW FILE: icon_pa_new.gif --- (This appears to be a binary file; contents omitted.) --- 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> |
Update of /cvsroot/mxbb/mx_pafiledb/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23668/_core/admin Added Files: auth_select_body.tpl index.htm mx_module_panel.tpl mx_module_parameters.tpl pa_admin_cat.tpl pa_admin_cat_delete.tpl pa_admin_cat_edit.tpl pa_admin_field.tpl pa_admin_field_add.tpl pa_admin_field_delete.tpl pa_admin_file_checker.tpl pa_admin_file_mirrors.tpl pa_admin_license.tpl pa_admin_license_add.tpl pa_admin_license_delete.tpl pa_admin_license_edit.tpl pa_admin_select_field.tpl pa_admin_select_field_type.tpl pa_admin_settings.tpl pa_auth_cat_body.tpl pa_auth_select_body.tpl pa_auth_ug_body.tpl user_select_body.tpl Log Message: for 2.9.x --- NEW FILE: pa_admin_field.tpl --- <h1>{L_FIELD_TITLE}</h1> <p>{L_FIELD_EXPLAIN}</p> <form action="{S_FIELD_ACTION}" method="post"> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th class="thHead">{L_SELECT_TITLE}</b></th> </tr> <tr> <td align="center" class="row1" > <input class="liteoption" type="submit" value="add" name="mode"> <input class="liteoption" type="submit" value="edit" name="mode"> <input class="liteoption" type="submit" value="delete" name="mode"></td> </tr> <tr> <th class="thHead">{L_FIELD_TITLE}</b></th> </tr> <!-- BEGIN field_row --> <tr> <td width="97%" class="row1" align="center"><b>{field_row.FIELD_NAME}</b><br><span class="gensmall">{field_row.FIELD_DESC}</span></td> </tr> <!-- END field_row --> </table> </form> --- NEW FILE: pa_admin_license_edit.tpl --- <h1>{L_ELICENSETITLE}</h1> <p>{L_LICENSEEXPLAIN}</p> <!-- BEGIN license_form --> <form action="{S_EDIT_LIC_ACTION}" method="post"><table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_ELICENSETITLE}</b></th> </tr> <tr> <td width="50%" class="row1">{L_LNAME}</td> <td class="row2"><input type="text" class="post" size="50" name="form[name]" value="{LICENSE_NAME}" /></td> </tr> <tr> <td class="row1">{L_LTEXT}</td> <td class="row2"><textarea name="form[text]" cols="50" rows="10" class="post">{TEXT}</textarea></td> </tr> <tr> <td align="center" class="cat" colspan="2"><input class="liteoption" type="submit" value="{L_ELICENSETITLE}" name="B1"><input type="hidden" name="ad" value="license"><input type="hidden" name="license" value="edit"><input type="hidden" name="edit" value="do"><input type="hidden" name="id" value="{SELECT}"></td> </tr> </table> </form> <!-- END license_form --> <!-- BEGIN license --> <form action="{S_EDIT_LIC_ACTION}" method="post"><table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_ELICENSETITLE}</th> </tr> {ROW} <tr> <td align="center" class="cat" colspan="2"><input class="liteoption" type="submit" value="{L_ELICENSETITLE}" name="B1"><input type="hidden" name="ad" value="license"><input type="hidden" name="license" value="edit"><input type="hidden" name="edit" value="form"></td> </tr> </table> </form> <!-- END license --> --- NEW FILE: pa_admin_select_field_type.tpl --- <h1>{L_FIELD_TITLE}</h1> <p>{L_FIELD_EXPLAIN}</p> <form action="{S_FIELD_ACTION}" method="post"> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_FIELD_TITLE}</th> </tr> <tr> <td class="row1" align="center"> {S_SELECT_FIELD_TYPE} </td> </tr> <tr> <td align="center" class="cat" colspan="2"> {S_HIDDEN_FIELDS}<input class="liteoption" type="submit" value="{L_FIELD_TITLE}" name="submit"> </td> </tr> </table> </form> --- NEW FILE: pa_admin_cat.tpl --- <h1>{L_CAT_TITLE}</h1> <p>{L_CAT_EXPLAIN}</p> <form method="post" action="{S_CAT_ACTION}"> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> <tr> <th class="thHead" colspan="5">{L_CAT_TITLE}</th> </tr> <!-- BEGIN cat_row --> <!-- IF cat_row.IS_HIGHER_CAT --> <tr> <td class="cat" valign="middle" nowrap="nowrap">{cat_row.PRE} » <a href="{cat_row.U_CAT}" class="cattitle">{cat_row.CAT_NAME}</a></td> <td class="cat" align="center" valign="middle"><span class="gen"><a href="{cat_row.U_CAT_EDIT}">{L_EDIT}</a></span></td> <td class="cat" align="center" valign="middle"><span class="gen"><a href="{cat_row.U_CAT_DELETE}">{L_DELETE}</a></span></td> <td class="cat" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{cat_row.U_CAT_MOVE_UP}">{L_MOVE_UP}</a> <a href="{cat_row.U_CAT_MOVE_DOWN}">{L_MOVE_DOWN}</a></span></td> <td class="cat" align="center" valign="middle"><span class="gen"><a href="{cat_row.U_CAT_RESYNC}">{L_RESYNC}</a></span></td> </tr> <!-- ELSE --> <tr> <td class="row1" valign="middle" nowrap="nowrap">{cat_row.PRE} » <a href="{cat_row.U_CAT}" class="cattitle">{cat_row.CAT_NAME}</a></td> <td class="row1" align="center" valign="middle"><span class="gen"><a href="{cat_row.U_CAT_EDIT}">{L_EDIT}</a></span></td> <td class="row1" align="center" valign="middle"><span class="gen"><a href="{cat_row.U_CAT_DELETE}">{L_DELETE}</a></span></td> <td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{cat_row.U_CAT_MOVE_UP}">{L_MOVE_UP}</a> <a href="{cat_row.U_CAT_MOVE_DOWN}">{L_MOVE_DOWN}</a></span></td> <td class="row1" align="center" valign="middle"><span class="gen"><a href="{cat_row.U_CAT_RESYNC}">{L_RESYNC}</a></span></td> </tr> <!-- ENDIF --> <!-- END cat_row --> <tr> <td class="cat" align="center" colspan="5">{S_HIDDEN_FIELDS}<input type="submit" class="liteoption" name="addcategory" value="{L_CREATE_CATEGORY}" /></td> </tr> </table></form> --- NEW FILE: pa_admin_select_field.tpl --- <h1>{L_FIELD_TITLE}</h1> <p>{L_FIELD_EXPLAIN}</p> <form action="{S_FIELD_ACTION}" method="post"> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_FIELD_TITLE}</th> </tr> <!-- BEGIN field_row --> <tr> <td width="3%" class="row1" align="center" valign="middle"><input type="radio" name="field_id" value="{field_row.FIELD_ID}" /></td> <td width="97%" class="row1"><b>{field_row.FIELD_NAME}</b><br /><span class="gensmall">{field_row.FIELD_DESC}</span></td></tr> <!-- END field_row --> <td align="center" class="cat" colspan="2"> {S_HIDDEN_FIELDS}<input class="liteoption" type="submit" value="{L_FIELD_TITLE}" name="submit"> </td> </tr> </table> </form> --- 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: pa_auth_select_body.tpl --- <h1>{L_AUTH_TITLE}</h1> <p>{L_AUTH_EXPLAIN}</p> <form method="post" action="{S_AUTH_ACTION}"> <table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline"> <tr> <th class="thHead" align="center">{L_AUTH_SELECT}</th> </tr> <tr> <td class="row1" align="center">{S_HIDDEN_FIELDS}{S_AUTH_SELECT} <input type="submit" value="{L_LOOK_UP}" class="mainoption" /> </td> </tr> </table> </form> --- NEW FILE: auth_select_body.tpl --- <h1>{L_AUTH_TITLE}</h1> <p>{L_AUTH_EXPLAIN}</p> <form method="post" action="{S_AUTH_ACTION}"><table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline"> <tr> <th class="thHead" align="center">{L_AUTH_SELECT}</th> </tr> <tr> <td class="row1" align="center">{S_HIDDEN_FIELDS}{S_AUTH_SELECT} <input type="submit" value="{L_LOOK_UP}" class="mainoption" /> </td> </tr> </table></form> --- NEW FILE: mx_module_parameters.tpl --- <!-- BEGIN select --> <tr> <td width="100%" colspan="2"> <table cellpadding="2" cellspacing="0" width="100%"> <tr title="{select.FIELD_DESCRIPTION}"> <td class="row1" width="50%" align="right"> <span class="topictitle">{select.PARAMETER_TITLE}:</span> <span class="gensmall">{select.PARAMETER_TITLE_EXPLAIN}</span> </td> <td class="row1"> <select name="{select.FIELD_ID}" class="post"> <option value="0">{select.L_NONE}</option> {select.SELECT_LIST} </select> </td> </tr> </table> </td> </tr> <!-- END select --> --- NEW FILE: user_select_body.tpl --- <h1>{L_USER_TITLE}</h1> <p>{L_USER_EXPLAIN}</p> <form method="post" name="post" action="{S_USER_ACTION}"><table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline"> <tr> <th class="thHead" align="center">{L_USER_SELECT}</th> </tr> <tr> <td class="row1" align="center"><input type="text" class="post" name="username" maxlength="50" size="20" /> <input type="hidden" name="mode" value="edit" />{S_HIDDEN_FIELDS}<input type="submit" name="submituser" value="{L_LOOK_UP}" class="mainoption" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></td> </tr> </table></form> --- NEW FILE: pa_auth_cat_body.tpl --- <table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline"> <tr> <!-- BEGIN pertype --> <td class="cat" align="left" nowrap="nowrap"><a href="{pertype.U_NAME}">{pertype.L_NAME}</a></td> <!-- END pertype --> </tr> </table> <br /> <h1>{L_AUTH_TITLE}</h1> <p>{L_AUTH_EXPLAIN}</p> <h2>{L_CATEGORY}<!-- IF CATEGORY_NAME neq '' --> : {CATEGORY_NAME}<!-- ENDIF --></h2> <form method="post" action="{S_CATAUTH_ACTION}"> <table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline"> <tr> <th class="thTop">{L_CATEGORY}</th> <!-- BEGIN cat_auth_titles --> <th class="thTop">{cat_auth_titles.CELL_TITLE}</th> <!-- END cat_auth_titles --> </tr> <!-- BEGIN cat_row --> <tr> <!-- IF cat_row.IS_HIGHER_CAT --> <td class="cat" align="left" nowrap="nowrap">{cat_row.PRE} » <a href="{cat_row.U_CAT}">{cat_row.CATEGORY_NAME}</a></td> <!-- ELSE --> <td class="row1" align="left" nowrap="nowrap">{cat_row.PRE} » <a href="{cat_row.U_CAT}">{cat_row.CATEGORY_NAME}</a></td> <!-- ENDIF --> <!-- BEGIN cat_auth_data --> <!-- IF cat_row.IS_HIGHER_CAT --> <td class="cat" align="center">{cat_row.cat_auth_data.S_AUTH_LEVELS_SELECT}</td> <!-- ELSE --> <td class="row1" align="center">{cat_row.cat_auth_data.S_AUTH_LEVELS_SELECT}</td> <!-- ENDIF --> <!-- END cat_auth_data --> </tr> <!-- END cat_row --> <tr> <td colspan="{S_COLUMN_SPAN}" class="cat" align="center">{S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" name="reset" class="liteoption" /> </td> </tr> </table> </form> --- NEW FILE: pa_admin_field_delete.tpl --- <h1>{L_FIELD_TITLE}</h1> <p>{L_FIELD_EXPLAIN}</p> <form action="{S_FIELD_ACTION}" method="post"> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_FIELD_TITLE}</b></th> </tr> <!-- BEGIN field_row --> <tr> <td width="3%" class="row1" align="center" valign="middle"><input type="checkbox" name="field_ids[{field_row.FIELD_ID}]" value="yes"></td> <td width="97%" class="row1"><b>{field_row.FIELD_NAME}</b><br><span class="gensmall">{field_row.FIELD_DESC}</span></td> </tr> <!-- END field_row --> <tr> <td align="center" class="cat" colspan="2">{S_HIDDEN_FIELDS}<input class="liteoption" type="submit" value="{L_FIELD_TITLE}" name="submit"></td> </tr> </table> </form> --- NEW FILE: pa_admin_field_add.tpl --- <h1>{L_FIELD_TITLE}</h1> <p>{L_FIELD_EXPLAIN}</p> <form action="{S_FIELD_ACTION}" method="post"> <!-- IF ERROR neq '' --> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <td class="row2" align="center">{ERROR}</td> </tr> </table> <br /> <!-- ENDIF --> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_FIELD_TITLE}</th> </tr> <tr> <td width="50%" class="row1">{L_FIELD_NAME}<br><span class="gensmall">{L_FIELD_NAME_INFO}</span></td> <td class="row2"><input type="text" class="post" size="50" name="field_name" value="{FIELD_NAME}" /></td> </tr> <tr> <td class="row1">{L_FIELD_DESC}<br><span class="gensmall">{L_FIELD_DESC_INFO}</span></td> <td class="row2"><input type="text" class="post" size="50" name="field_desc" value="{FIELD_DESC}" /></td> </tr> <!-- IF DATA --> <tr> <td class="row1">{L_FIELD_DATA}<br><span class="gensmall">{L_FIELD_DATA_INFO}</span></td> <td class="row2"><textarea rows="6" name="data" cols="32">{FIELD_DATA}</textarea></td> </tr> <!-- ENDIF --> <!-- IF REGEX --> <tr> <td class="row1">{L_FIELD_REGEX}<br><span class="gensmall">{L_FIELD_REGEX_INFO}</span></td> <td class="row2"><input type="text" class="post" size="50" name="regex" value="{FIELD_REGEX}" /></td> </tr> <!-- ENDIF --> <!-- IF ORDER --> <tr> <td width="50%" class="row1">{L_FIELD_ORDER}</td> <td class="row2"><input type="text" class="post" size="6" name="field_order" value="{FIELD_ORDER}" /></td> </tr> <!-- ENDIF --> <tr> <td align="center" class="cat" colspan="2"> {S_HIDDEN_FIELDS}<input class="liteoption" type="submit" value="{L_FIELD_TITLE}" name="submit"> </td> </tr> </table> </form> --- NEW FILE: pa_admin_license_delete.tpl --- <h1>{L_DLICENSETITLE}</h1> <p>{L_LICENSEEXPLAIN}</p> <form action="{S_DELETE_LIC_ACTION}" method="post"><table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_DLICENSETITLE}</th> </tr> {ROW} <tr> <td align="center" class="cat" colspan="2"><input class="liteoption" type="submit" value="{L_DLICENSETITLE}" name="B1"><input type="hidden" name="ad" value="license"><input type="hidden" name="license" value="delete"><input type="hidden" name="delete" value="do"></td> </tr> </table> </form> --- NEW FILE: pa_admin_file_mirrors.tpl --- <script language="JavaScript" type="text/javascript"> <!-- var error_msg = ""; var check_for_delete = false; var delete_mirror = false; var add_file = false; function set_check_delete(status) { check_for_delete = status; } function set_add_file(status) { add_file = status; } function checkAddForm() { if(check_for_delete) { for (i = 0; i < document.form.length; i++) { if(document.form.elements[i].checked == true) { if (confirm('Are you sure you want to delete these files??')) { return true; } else { return false; } return true; } } alert('Please Select at least one file.'); return false; } if(add_file) { if(document.form.new_location.value == "") { if(error_msg != "") { error_msg += "\n"; } error_msg += "Please fill the file name field"; } if(document.form.new_userfile.value == "" && document.form.new_download_url.value == "") { if(error_msg != "") { error_msg += "\n"; } error_msg += "Please fill the file url field or click browse to upload file from your machine"; } if(error_msg != "") { alert(error_msg); error_msg = ""; return false; } else { return true; } } return true; } // --> </script> <h1>{L_FILE_TITLE}</h1> <p>{L_FILE_EXPLAIN}</p> <form action="{S_FILE_ACTION}" method="post" name="form" enctype="multipart/form-data" onsubmit="return checkAddForm();"> <!-- IF ERROR neq '' --> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <td class="row2" align="center">{ERROR}</td> </tr> </table> <br /> <!-- ENDIF --> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_FILE_TITLE}</th> </tr> <!-- BEGIN row --> <tr> <td width="50%" class="row1">{L_MIRROR_LOCATION}</td> <td class="row2"><input type="text" class="post" size="50" name="location[{row.MIRROR_ID}]" value="{row.LOCATION}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_UPLOAD}</span><br><span class="gensmall">{L_FILEINFO_UPLOAD}</span></td> <td class="row2"> <input type="file" size="50" name="userfile[{row.MIRROR_ID}]" maxlength="{FILESIZE}" class="post" /> </td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_DELETE}</span></td> <td class="row2"><input type="checkbox" name="mirror_ids[]" value="{row.MIRROR_ID}" /></td> </tr> <!-- IF row.MIRROR_FILE --> <tr> <td class="row1"><span class="genmed">{L_UPLOADED_FILE}</span></td> <td class="row2"><a href="{row.U_UPLOADED_MIRROR}">{row.MIRROR_FILE}</a></td> </tr> <!-- ENDIF --> <tr> <td class="row1"><span class="genmed">{L_FILE_URL}</span><br><span class="gensmall">{L_FILE_URL_INFO}</span></td> <td class="row2"> <input type="text" class="post" size="50" name="download_url[{row.MIRROR_ID}]" value="{row.MIRROR_URL}"> </td> </tr> <tr> <td colspan="2" class="row3" height="2"></td> </tr> <!-- END cat_row --> <!-- IF ROW_NOT_EMPTY --> <tr> <td align="center" class="cat" colspan="2"><input class="mainoption" type="submit" value="{L_MODIFY}" name="modify" onClick="set_check_delete(false); set_add_file(false);" /> <input class="mainoption" type="submit" value="{L_DELETE}" name="delete_mirrors" onClick="set_check_delete(true);" /></td> </tr> <tr> <td colspan="2" class="row3" height="2"></td> </tr> <!-- ENDIF --> <tr> <td class="cat" colspan="2" align="center"><span class="cattitle">{L_ADD_NEW_MIRROR}</span></td> </tr> <tr> <td width="50%" class="row1">{L_MIRROR_LOCATION}</td> <td class="row2"><input type="text" class="post" size="50" name="new_location" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_UPLOAD}</span><br><span class="gensmall">{L_FILEINFO_UPLOAD}</span></td> <td class="row2"> <input type="file" size="50" name="new_userfile" maxlength="{FILESIZE}" class="post" /> </td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_URL}</span><br><span class="gensmall">{L_FILE_URL_INFO}</span></td> <td class="row2"> <input type="text" class="post" size="50" name="new_download_url" /> </td> </tr> <tr> <td align="center" class="cat" colspan="2">{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" value="{L_ADD_NEW}" name="add_new" onClick="set_check_delete(false); set_add_file(true);" /></td> </tr> </table> </form> --- NEW FILE: pa_auth_ug_body.tpl --- <table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline"> <tr> <!-- BEGIN pertype --> <td class="cat" align="left" nowrap="nowrap"><a href="{pertype.U_NAME}">{pertype.L_NAME}</a></td> <!-- END pertype --> </tr> </table> <br /> <h1>{L_AUTH_TITLE}</h1> <h2>{L_USER_OR_GROUPNAME}: {USERNAME}</h2> <form method="post" action="{S_AUTH_ACTION}"> <!-- IF USER --> <p>{USER_LEVEL}</p> <p>{USER_GROUP_MEMBERSHIPS}</p> <!-- ELSE --> <p>{GROUP_MEMBERSHIP}</p> <!-- ENDIF --> <h2>{L_PERMISSIONS}</h2> <p>{L_AUTH_EXPLAIN}</p> <table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline"> <tr> <th width="30%" class="thCornerL">{L_CAT}</th> <!-- BEGIN acltype --> <th class="thTop">{acltype.L_UG_ACL_TYPE}</th> <!-- END acltype --> <!-- IF SHOW_MOD --> <th class="thCornerR">{L_MODERATOR_STATUS}</th> <!-- ENDIF --> </tr> <!-- BEGIN cat_row --> <tr> <!-- IF cat_row.IS_HIGHER_CAT --> <td class="cat" align="left" nowrap="nowrap">{cat_row.PRE} » <a href="{cat_row.U_CAT}">{cat_row.CAT_NAME}</a></td> <!-- ELSE --> <td class="row1" align="left" nowrap="nowrap">{cat_row.PRE} » <a href="{cat_row.U_CAT}">{cat_row.CAT_NAME}</a></td> <!-- ENDIF --> <!-- BEGIN aclvalues --> <!-- IF cat_row.IS_HIGHER_CAT --> <td class="cat" align="center">{cat_row.aclvalues.S_ACL_SELECT}</td> <!-- ELSE --> <td class="row1" align="center">{cat_row.aclvalues.S_ACL_SELECT}</td> <!-- ENDIF --> <!-- END aclvalues --> <!-- IF SHOW_MOD --> <!-- IF cat_row.IS_HIGHER_CAT --> <td class="cat" align="center">{cat_row.S_MOD_SELECT}</td> <!-- ELSE --> <td class="row1" align="center">{cat_row.S_MOD_SELECT}</td> <!-- ENDIF --> <!-- ENDIF --> </tr> <!-- END cat_row --> <tr> <td colspan="{S_COLUMN_SPAN}" class="cat" align="center">{S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" class="liteoption" name="reset" /> </td> </tr> </table> </form> --- NEW FILE: pa_admin_file_checker.tpl --- <form action="{S_CHECKER_FILE_ACTION}" method="post"> <h1>{L_FILE_CHECKER}</h1> <p>{L_FCHECKER_EXPLAIN}</p> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_FILE_CHECKER}</th> </tr> <!-- BEGIN check --> <tr> <td class="row1"><span class="cattitle">{L_FILE_CHECKER_SP1}</span></td> </tr> <!-- BEGIN check_step1 --> <tr> <td class="row1"><span class="gensmall">{check.check_step1.DEL_DURL}</span></td> </tr> <!-- END check_step1 --> <tr> <td class="row1"><span class="cattitle">{L_FILE_CHECKER_SP2}</span></B></td> </tr> <!-- BEGIN check_step2 --> <tr> <td class="row1"><span class="gensmall">{check.check_step2.DEL_SSURL}</span></td> </tr> <!-- END check_step2 --> <tr> <td class="row1"><span class="cattitle">{L_FILE_CHECKER_SP3}</span></B></td> </tr> <!-- BEGIN check_step3 --> <tr> <td class="row1"><span class="gensmall">{check.check_step3.DEL_FILE}</span></td> </tr> <!-- END check_step3 --> <tr> <td class="row1"><span class="cattitle">{L_FILE_CHECKER_SAVED}:</span> <span class="gensmall">{SAVED}.</span></TD> </TR> <tr> <td class="cat"> </td> </tr> <!-- END check --> <!-- BEGIN perform --> <tr> <td class="row1">{L_FILE_SAFTEY}</td> </tr> <tr> <td align="center" class="cat"> <input class="mainoption" type="submit" value="{L_FILE_PERFORM}" name="B1"> <input type="hidden" name="safety" value="1"> </td> </tr> <!-- END perform --> </table> </form> --- NEW FILE: pa_admin_settings.tpl --- <h1>{L_CONFIGURATION_TITLE}</h1> <p>{L_CONFIGURATION_EXPLAIN}</p> <form action="{S_ACTION}" method="post"> <table width="100%" cellpadding="3" cellspacing="1" border="0" align="center" class="forumline"> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_GENERAL_TITLE}</th> </tr> <tr> <td class="row1" width="50%">{L_MODULE_NAME}<br /><span class="gensmall">{L_MODULE_NAME_EXPLAIN}</span></td> <td class="row2" width="50%"><input text="text" name="module_name" value="{MODULE_NAME}" size="20" maxlength="50" /></td> </tr> <tr> <td class="row1" width="50%">{L_ENABLE_MODULE}<br /><span class="gensmall">{L_ENABLE_MODULE_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="enable_module" value="1" {S_ENABLE_MODULE_YES} /> {L_YES} <input type="radio" name="enable_module" value="0" {S_ENABLE_MODULE_NO} /> {L_NO}</td> </tr> <tr> <td class="row1" width="50%">{L_WYSIWYG_PATH}<br /><span class="gensmall">{L_WYSIWYG_PATH_EXPLAIN}</span></td> <td class="row2" width="50%"><input text="text" name="wysiwyg_path" value="{WYSIWYG_PATH}" size="20" maxlength="50" /></td> </tr> <tr> <td class="row1">{L_UPLOAD_DIR}<br /><span class="gensmall">{L_UPLOAD_DIR_EXPLAIN}</span></td> <td class="row2"><input type="text" size="25" maxlength="100" name="upload_dir" class="post" value="{UPLOAD_DIR}" /></td> </tr> <tr> <td class="row1">{L_SCREENSHOT_DIR}<br /><span class="gensmall">{L_SCREENSHOT_DIR_EXPLAIN}</span></td> <td class="row2"><input type="text" size="25" maxlength="100" name="screenshots_dir" class="post" value="{SCREENSHOT_DIR}" /></td> </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_FILE_TITLE}</th> </tr> <tr> <td class="row1">{L_HOTLINK}<br><span class="gensmall">{L_HOTLINK_INFO}</span></td> <td class="row2" width="50%"><input type="radio" name="hotlink_prevent" value="1" {S_HOTLINK_YES} /> {L_YES} <input type="radio" name="hotlink_prevent" value="0" {S_HOTLINK_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_HOTLINK_ALLOWED}<br><span class="gensmall">{L_HOTLINK_ALLOWED_INFO}</span></td> <td class="row2"><input class="post" type="text" size="40" name="hotlink_allowed" value="{HOTLINK_ALLOWED}" /></td> </tr> <tr> <td class="row1">{L_PHP_TPL}<br><span class="gensmall">{L_PHP_TPL_INFO}</span></td> <td class="row2" width="50%"><input type="radio" name="settings_tpl_php" value="1" {S_PHP_TPL_YES} /> {L_YES} <input type="radio" name="settings_tpl_php" value="0" {S_PHP_TPL_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_MAX_FILE_SIZE}<br><span class="gensmall">{L_MAX_FILE_SIZE_INFO}</span></td> <td class="row2"><input type="text" class="post" size="8" maxlength="15" name="max_file_size" value="{MAX_FILE_SIZE}" /> {S_FILESIZE}</td> </tr> <tr> <td class="row1">{L_FORBIDDEN_EXTENSIONS}<br /><span class="gensmall">{L_FORBIDDEN_EXTENSIONS_EXPLAIN}</span></td> <td class="row2"><input type="text" size="25" maxlength="100" name="forbidden_extensions" class="post" value="{FORBIDDEN_EXTENSIONS}" /></td> </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_APPEARANCE_TITLE}</th> </tr> <tr> <td class="row1" width="50%">{L_PAGINATION}<br /><span class="gensmall">{L_PAGINATION_EXPLAIN}</span></td> <td class="row2" width="50%"><input class="post" type="text" name="pagination" value="{PAGINATION}" size="5" maxlength="4" /></td> </tr> <tr> <td class="row1" width="50%">{L_SORT_METHOD}<br /><span class="gensmall">{L_SORT_METHOD_EXPLAIN}</span></td> <td class="row2" width="50%">{SORT_METHOD} </td> </tr> <tr> <td class="row1" width="50%">{L_SORT_ORDER}<br /><span class="gensmall">{L_SORT_ORDER_EXPLAIN}</span></td> <td class="row2" width="50%">{SORT_ORDER} </td> </tr> <tr> <td class="row1">{L_TOPNUM}<br><span class="gensmall">{L_TOPNUMINFO}</span></td> <td class="row2"><input type="text" class="post" size="5" maxlength="5" name="settings_topnumber" value="{SETTINGS_TOPNUMBER}" /></td> </tr> <tr> <td class="row1">{L_USE_SIMPLE_NAVIGATION}<br /><span class="gensmall">{L_USE_SIMPLE_NAVIGATION_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="use_simple_navigation" value="1" {S_USE_SIMPLE_NAVIGATION_YES} /> {L_YES} <input type="radio" name="use_simple_navigation" value="0" {S_USE_SIMPLE_NAVIGATION_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_CAT_COL}</td> <td class="row2"><input class="post" type="text" maxlength="2" size="5" name="cat_col" value="{CAT_COL}" /></td> </tr> <tr> <td class="row1">{L_NFDAYS}<br><span class="gensmall">{L_NFDAYSINFO}</span></td> <td class="row2"><input type="text" class="post" size="5" maxlength="5" name="settings_newdays" value="{SETTINGS_NEWDAYS}" /></td> </tr> <tr> <td class="row1">{L_SHOW_VIEWALL}<br><span class="gensmall">{L_VIEWALL_INFO}</span></td> <td class="row2" width="50%"><input type="radio" name="settings_viewall" value="1" {S_VIEW_ALL_YES} /> {L_YES} <input type="radio" name="settings_viewall" value="0" {S_VIEW_ALL_NO} /> {L_NO}</td> </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_COMMENTS_TITLE}<br /><span class="gensmall">{L_COMMENTS_TITLE_EXPLAIN}</span></th> </tr> <tr> <td class="row1" width="50%">{L_USE_COMMENTS}<br /><span class="gensmall">{L_USE_COMMENTS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="use_comments" value="1" {S_USE_COMMENTS_YES} /> {L_YES} <input type="radio" name="use_comments" value="0" {S_USE_COMMENTS_NO} /> {L_NO}</td> </tr> <tr> <td class="row1" width="50%">{L_INTERNAL_COMMENTS}<br /><span class="gensmall">{L_INTERNAL_COMMENTS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="internal_comments" value="1" {S_INTERNAL_COMMENTS_INTERNAL} /> {L_INTERNAL_COMMENTS_INTERNAL} <input type="radio" name="internal_comments" value="0" {S_INTERNAL_COMMENTS_PHPBB} /> {L_INTERNAL_COMMENTS_PHPBB}</td> </tr> <tr> <td class="row1" width="50%">{L_FORUM_ID}<br /><span class="gensmall">{L_FORUM_ID_EXPLAIN}</span></td> <td class="row2" width="50%">{FORUM_LIST}</td> </tr> <tr> <td class="row1" width="50%">{L_COMMENTS_PAG}<br /><span class="gensmall">{L_COMMENTS_PAG_EXPLAIN}</span></td> <td class="row2" width="50%"><input class="post" type="text" name="comments_pagination" value="{COMMENTS_PAG}" size="5" maxlength="4" /></td> </tr> <tr> <td class="row1" width="50%">{L_AUTOGENERATE_COMMENTS}<br /><span class="gensmall">{L_AUTOGENERATE_COMMENTS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="autogenerate_comments" value="1" {S_AUTOGENERATE_COMMENTS_YES} /> {L_YES} <input type="radio" name="autogenerate_comments" value="0" {S_AUTOGENERATE_COMMENTS_NO} /> {L_NO}</td> </tr> <tr> <td class="row1" width="50%">{L_DEL_TOPIC}<br /><span class="gensmall">{L_DEL_TOPIC_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="del_topic" value="1" {S_DEL_TOPIC_YES} /> {L_YES} <input type="radio" name="del_topic" value="0" {S_DEL_TOPIC_NO} /> {L_NO}</td> </tr> <tr> <td class="row1" width="50%">{L_ALLOW_COMMENT_WYSIWYG}<br /><span class="gensmall">{L_ALLOW_COMMENT_WYSIWYG_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="allow_comment_wysiwyg" value="1" {S_ALLOW_COMMENT_WYSIWYG_YES} /> {L_YES} <input type="radio" name="allow_comment_wysiwyg" value="0" {S_ALLOW_COMMENT_WYSIWYG_NO} /> {L_NO}</td> </tr> <tr> <td class="row1" width="50%">{L_ALLOW_COMMENT_HTML}<br /><span class="gensmall">{L_ALLOW_COMMENT_HTML_EXPLAIN}</span></td> <td class="row2" width="50%"><input class="radio" type="radio" name="allow_comment_html" value="1" {S_ALLOW_COMMENT_HTML_YES} /> {L_YES} <input type="radio" name="allow_comment_html" value="0" {S_ALLOW_COMMENT_HTML_NO} /> {L_NO}</td> </tr> <tr> <td class="row1" width="50%">{L_ALLOWED_COMMENT_HTML_TAGS}<br /><span class="gensmall">{L_ALLOWED_HTML_TAGS_EXPLAIN}</span></td> <td class="row2" width="50%"><input text="text" name="allowed_comment_html_tags" value="{ALLOWED_COMMENT_HTML_TAGS}" size="15" maxlength="50" /></td> </tr> <tr> <td class="row1" width="50%">{L_ALLOW_COMMENT_BBCODE}<br /><span class="gensmall">{L_ALLOW_BBCODE_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="allow_comment_bbcode" value="1" {S_ALLOW_COMMENT_BBCODE_YES} /> {L_YES} <input type="radio" name="allow_comment_bbcode" value="0" {S_ALLOW_COMMENT_BBCODE_NO} /> {L_NO}</td> </tr> <tr> <td class="row1" width="50%">{L_ALLOW_COMMENT_SMILIES}<br /><span class="gensmall">{L_ALLOW_SMILIES_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="allow_comment_smilies" value="1" {S_ALLOW_COMMENT_SMILIES_YES} /> {L_YES} <input type="radio" name="allow_comment_smilies" value="0" {S_ALLOW_COMMENT_SMILIES_NO} /> {L_NO}</td> </tr> <tr> <td class="row1" width="50%">{L_ALLOW_COMMENT_IMAGES}<br /><span class="gensmall">{L_ALLOW_IMAGES_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="allow_comment_images" value="1" {S_ALLOW_COMMENT_IMAGES_YES} /> {L_YES} <input type="radio" name="allow_comment_images" value="0" {S_ALLOW_COMMENT_IMAGES_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_COMMENT_IMAGES_MESSAGE}<br><span class="gensmall">{L_COMMENT_IMAGES_MESSAGE_EXPLAIN}</span></td> <td class="row2"><input type="text" class="post" size="50" name="no_comment_image_message" value="{COMMENT_MESSAGE_IMAGE}" /></td> </tr> <tr> <td class="row1" width="50%">{L_ALLOW_COMMENT_LINKS}<br /><span class="gensmall">{L_ALLOW_COMMENT_LINKS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="allow_comment_links" value="1" {S_ALLOW_COMMENT_LINKS_YES} /> {L_YES} <input type="radio" name="allow_comment_links" value="0" {S_ALLOW_COMMENT_LINKS_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_COMMENT_LINKS_MESSAGE}<br><span class="gensmall">{L_COMMENT_LINKS_MESSAGE_EXPLAIN}</span></td> <td class="row2"><input type="text" class="post" size="50" name="no_comment_link_message" value="{COMMENT_MESSAGE_LINK}" /></td> </tr> <tr> <td class="row1" width="50%">{L_COMMENT_FORMAT_WORDWRAP}<br /><span class="gensmall">{L_COMMENT_FORMAT_WORDWRAP_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="formatting_comment_wordwrap" value="1" {S_COMMENT_FORMAT_WORDWRAP_YES} /> {L_YES} <input type="radio" name="formatting_comment_wordwrap" value="0" {S_COMMENT_FORMAT_WORDWRAP_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_COMMENT_FORMAT_IMAGE_RESIZE}<br><span class="gensmall">{L_COMMENT_FORMAT_IMAGE_RESIZE_EXPLAIN}</span></td> <td class="row2"><input type="text" class="post" size="50" name="formatting_comment_image_resize" value="{COMMENT_FORMAT_IMAGE_RESIZE}" /></td> </tr> <tr> <td class="row1" width="50%">{L_COMMENT_FORMAT_TRUNCATE_LINKS}<br /><span class="gensmall">{L_COMMENT_FORMAT_TRUNCATE_LINKS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="formatting_comment_truncate_links" value="1" {S_COMMENT_FORMAT_TRUNCATE_LINKS_YES} /> {L_YES} <input type="radio" name="formatting_comment_truncate_links" value="0" {S_COMMENT_FORMAT_TRUNCATE_LINKS_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_COMMENT_MAX_SUBJECT_CHAR}<br><span class="gensmall">{L_COMMENT_MAX_SUBJECT_CHAR_EXPLAIN}</span></td> <td class="row2"><input type="text" class="post" size="50" name="max_comment_subject_chars" value="{COMMENT_MAX_SUBJECT_CHAR}" /></td> </tr> <tr> <td class="row1">{L_COMMENT_MAX_CHAR}<br><span class="gensmall">{L_COMMENT_MAX_CHAR_EXPLAIN}</span></td> <td class="row2"><input type="text" class="post" size="50" name="max_comment_chars" value="{COMMENT_MAX_CHAR}" /></td> </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_RATINGS_TITLE}<br /><span class="gensmall">{L_RATINGS_TITLE_EXPLAIN}</span></th> </tr> <tr> <td class="row1" width="50%">{L_USE_RATINGS}<br /><span class="gensmall">{L_USE_RATINGS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="use_ratings" value="1" {S_USE_RATINGS_YES} /> {L_YES} <input type="radio" name="use_ratings" value="0" {S_USE_RATINGS_NO} /> {L_NO}</td> </tr> <tr> <td class="row1" width="50%">{L_VOTES_CHECK_IP}<br /><span class="gensmall">{L_VOTES_CHECK_IP_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="votes_check_ip" value="1" {S_VOTES_CHECK_IP_YES} /> {L_YES} <input type="radio" name="votes_check_ip" value="0" {S_VOTES_CHECK_IP_NO} /> {L_NO}</td> </tr> <tr> <td class="row1" width="50%">{L_VOTES_CHECK_USERID}<br /><span class="gensmall">{L_VOTES_CHECK_USERID_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="votes_check_userid" value="1" {S_VOTES_CHECK_USERID_YES} /> {L_YES} <input type="radio" name="votes_check_userid" value="0" {S_VOTES_CHECK_USERID_NO} /> {L_NO}</td> </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_INSTRUCTIONS_TITLE}</th> </tr> <tr> <td class="row1" width="50%">{L_PRE_TEXT_NAME}<br /><span class="gensmall">{L_PRE_TEXT_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="show_pretext" value="1" {S_SHOW_PRETEXT} /> {L_SHOW} <input type="radio" name="show_pretext" value="0" {S_HIDE_PRETEXT} /> {L_HIDE}</td> </tr> <tr> <td class="row1" width="50%">{L_PRE_TEXT_HEADER}</td> <td class="row2" width="50%"><input text="text" name="pt_header" value="{L_PT_HEADER}" size="40" maxlength="100" /></td> </tr> <tr> <td class="row1" width="50%">{L_PRE_TEXT_BODY}</td> <td class="row2" width="50%"><textarea name="pt_body" cols="40" rows="5">{L_PT_BODY}</textarea></td> </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_NOTIFICATIONS_TITLE}</th> </tr> <tr> <td class="row1" width="50%">{L_NOTIFY}<br /><span class="gensmall">{L_NOTIFY_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="notify" value="0" {S_NOTIFY_NONE} />{L_NONE} <input type="radio" name="notify" value="2" {S_NOTIFY_EMAIL} />{L_EMAIL} <input type="radio" name="notify" value="1" {S_NOTIFY_PM} />{L_PM}</td> </tr> <tr> <td class="row1" width="50%">{L_NOTIFY_GROUP}<br /><span class="gensmall">{L_NOTIFY_GROUP_EXPLAIN}</span></td> <td class="row2" width="50%">{NOTIFY_GROUP}</td> </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th colspan="2" class="thHead"> {L_PERMISSION_SETTINGS}</th> </tr> <tr> <td class="row1" width="50%">{L_ATUH_SEARCH}<br><span class="gensmall">{L_ATUH_SEARCH_INFO}</span></td> <td class="row2" width="50%">{S_ATUH_SEARCH}</td> </tr> <tr> <td class="row1" width="50%">{L_ATUH_STATS}<br><span class="gensmall">{L_ATUH_STATS_INFO}</span></td> <td class="row2" width="50%">{S_ATUH_STATS}</td> </tr> <tr> <td class="row1" width="50%">{L_ATUH_TOPLIST}<br><span class="gensmall">{L_ATUH_TOPLIST_INFO}</span></td> <td class="row2" width="50%">{S_ATUH_TOPLIST}</td> </tr> <tr> <td class="row1" width="50%">{L_ATUH_VIEWALL}<br><span class="gensmall">{L_ATUH_VIEWALL_INFO}</span></td> <td class="row2" width="50%">{S_ATUH_VIEWALL}</td> </tr> <tr> <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" class="liteoption" /></td> </tr> </table> </form> --- NEW FILE: pa_admin_license_add.tpl --- <h1>{L_ALICENSETITLE}</h1> <p>{L_LICENSEEXPLAIN}</p> <form action="{S_ADD_LIC_ACTION}" method="post"><table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_ALICENSETITLE}</th> </tr> <tr> <td width="50%" class="row1">{L_LNAME}</td> <td class="row2"><input type="text" class="post" size="50" name="form[name]" /></td> </tr> <tr> <td class="row1">{L_LTEXT}</td> <td class="row2"><textarea name="form[text]" cols="50" rows="10" class="forminput"></textarea> </td> </tr> <tr> <td align="center" class="cat" colspan="2"><input class="liteoption" type="submit" value="{L_ALICENSETITLE}" name="B1"><input type="hidden" name="ad" value="license"><input type="hidden" name="license" value="add"><input type="hidden" name="add" value="do"></td> </tr> </table> </form> --- NEW FILE: pa_admin_license.tpl --- <h1>{L_LICENSETITLE}</h1> <p>{L_LICENSEEXPLAIN}</p> <form action="{S_DELETE_LIC_ACTION}" method="post"><table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th class="thHead">{L_LICENSETITLE}</th> </tr> {ROW} <tr> <td align="center" class="cat" > <input class="liteoption" type="submit" value="add" name="license"> <input class="liteoption" type="submit" value="edit" name="license"> <input class="liteoption" type="submit" value="delete" name="license"> </td> </tr> </table> </form> --- NEW FILE: pa_admin_cat_edit.tpl --- <script language="JavaScript" type="text/javascript"> <!-- var error_msg = ""; function checkAddForm() { error_msg = ""; if(document.form.cat_name.value == "") { error_msg += "{L_CAT_NAME_FIELD_EMPTY}"; } if(error_msg != "") { alert(error_msg); error_msg = ""; return false; } else { return true; } } // --> </script> <h1>{L_CAT_TITLE}</h1> <p>{L_CAT_EXPLAIN}</p> <!-- BEGIN pafiledb_error --> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <td class="row2" align="center">{ERROR}</td> </tr> </table> <br /> <!-- END pafiledb_error --> <form action="{S_CAT_ACTION}" method="post" name="form" onsubmit="return checkAddForm();"> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_CAT_TITLE}</th> </tr> <tr> <td width="50%" class="row1">{L_CAT_NAME}<br><span class="gensmall">{L_CAT_NAME_INFO}</span></td> <td class="row2"><input type="text" class="post" size="50" name="cat_name" value="{CAT_NAME}"></td> </tr> <tr> <td class="row1">{L_CAT_DESC}<br><span class="gensmall">{L_CAT_DESC_INFO}</span></td> <td class="row2"><input type="text" class="post" size="50" name="cat_desc" value="{CAT_DESC}"></td> </tr> <tr> <td class="row1">{L_CAT_PARENT}<br><span class="gensmall">{L_CAT_PARENT_INFO}</span></td> <td class="row2"><select name="cat_parent" class="forminput">{S_CAT_LIST}</select></td> </tr> <tr> <td class="row1">{L_CAT_ALLOWFILE}<br><span class="gensmall">{L_CAT_ALLOWFILE_INFO}</span></td> <td class="row2"> <input type="radio" name="cat_allow_file" value="1" {CHECKED_YES}>{L_YES} <input type="radio" name="cat_allow_file" value="0" {CHECKED_NO}>{L_NO} </td> </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_COMMENTS_TITLE}</th> </tr> <tr> <td class="row1" width="50%">{L_USE_COMMENTS}<br /><span class="gensmall">{L_USE_COMMENTS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="cat_allow_comments" value="-1" {S_USE_COMMENTS_DEFAULT} /> {L_DEFAULT} <input type="radio" name="cat_allow_comments" value="1" {S_USE_COMMENTS_YES} /> {L_YES} <input type="radio" name="cat_allow_comments" value="0" {S_USE_COMMENTS_NO} /> {L_NO}</td> </tr> <tr> <td class="row1" width="50%">{L_INTERNAL_COMMENTS}<br /><span class="gensmall">{L_INTERNAL_COMMENTS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="internal_comments" value="-1" {S_INTERNAL_COMMENTS_DEFAULT} /> {L_DEFAULT} <input type="radio" name="internal_comments" value="1" {S_INTERNAL_COMMENTS_INTERNAL} /> {L_INTERNAL_COMMENTS_INTERNAL} <input type="radio" name="internal_comments" value="0" {S_INTERNAL_COMMENTS_PHPBB} /> {L_INTERNAL_COMMENTS_PHPBB}</td> </tr> <tr> <td class="row1" width="50%">{L_FORUM_ID}<br /><span class="gensmall">{L_FORUM_ID_EXPLAIN}</span></td> <td class="row2" width="50%">{FORUM_LIST}</td> </tr> <tr> <td class="row1" width="50%">{L_AUTOGENERATE_COMMENTS}<br /><span class="gensmall">{L_AUTOGENERATE_COMMENTS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="autogenerate_comments" value="-1" {S_AUTOGENERATE_COMMENTS_DEFAULT} /> {L_DEFAULT} <input type="radio" name="autogenerate_comments" value="1" {S_AUTOGENERATE_COMMENTS_YES} /> {L_YES} <input type="radio" name="autogenerate_comments" value="0" {S_AUTOGENERATE_COMMENTS_NO} /> {L_NO}</td> </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_RATINGS_TITLE}</th> </tr> <tr> <td class="row1" width="50%">{L_USE_RATINGS}<br /><span class="gensmall">{L_USE_RATINGS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="cat_allow_ratings" value="-1" {S_USE_RATINGS_DEFAULT} /> {L_DEFAULT} <input type="radio" name="cat_allow_ratings" value="1" {S_USE_RATINGS_YES} /> {L_YES} <input type="radio" name="cat_allow_ratings" value="0" {S_USE_RATINGS_NO} /> {L_NO}</td> </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_INSTRUCTIONS_TITLE}</th> </tr> <tr> <td class="row1" width="50%">{L_PRE_TEXT_NAME}<br /><span class="gensmall">{L_PRE_TEXT_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="show_pretext" value="-1" {S_DEFAULT_PRETEXT} /> {L_DEFAULT} <input type="radio" name="show_pretext" value="1" {S_SHOW_PRETEXT} /> {L_SHOW} <input type="radio" name="show_pretext" value="0" {S_HIDE_PRETEXT} /> {L_HIDE}</td> </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_NOTIFICATIONS_TITLE}</th> </tr> <tr> <td class="row1" width="50%">{L_NOTIFY}<br /><span class="gensmall">{L_NOTIFY_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="notify" value="-1" {S_NOTIFY_DEFAULT} />{L_DEFAULT} <input type="radio" name="notify" value="0" {S_NOTIFY_NONE} />{L_NONE} <input type="radio" name="notify" value="2" {S_NOTIFY_EMAIL} />{L_EMAIL} <input type="radio" name="notify" value="1" {S_NOTIFY_PM} />{L_PM}</td> </tr> <tr> <td class="row1" width="50%">{L_NOTIFY_GROUP}<br /><span class="gensmall">{L_NOTIFY_GROUP_EXPLAIN}</span></td> <td class="row2" width="50%">{NOTIFY_GROUP}</td> </tr> <tr> <td align="center" class="cat" colspan="2"> {S_HIDDEN_FIELDS} <input class="liteoption" type="submit" value="{L_CAT_TITLE}" name="submit"> </tr> </table> </form> --- NEW FILE: pa_admin_cat_delete.tpl --- <script language="JavaScript" type="text/javascript"> <!-- function disableFileMode() { if(document.form.file_mode[0].checked) { document.form.file_to_cat_id.disabled = true; } if(document.form.file_mode[1].checked) { document.form.file_to_cat_id.disabled = false; } document.form.cat_id.disabled = true; } function disableSubcatMode() { if(document.form.subcat_mode[0].checked) { document.form.subcat_to_cat_id.disabled = true; } if(document.form.subcat_mode[1].checked) { document.form.subcat_to_cat_id.disabled = false; } } function checkDelete() { var error_msg = "" if (document.form.file_to_cat_id.value == -1 && document.form.file_mode[1].checked) { error_msg += "You can't move the file to a category that doesn't allow file on it"; } if(document.form.cat_id.options[document.form.cat_id.selectedIndex].value == document.form.file_to_cat_id.options[document.form.file_to_cat_id.selectedIndex].value && document.form.file_mode[1].checked) { if(error_msg != "") { error_msg += "\n"; } error_msg += "You can't move the files to the same deleted category."; } if(document.form.cat_id.options[document.form.cat_id.selectedIndex].value == document.form.subcat_to_cat_id.options[document.form.subcat_to_cat_id.selectedIndex].value && document.form.subcat_mode[1].checked) { if(error_msg != "") { error_msg += "\n"; } error_msg += "You can't move the sub category to the same deleted category."; } if(error_msg != "") { alert(error_msg); return false; } else { return true; } } // --> </script> <body onLoad="disableFileMode(); disableSubcatMode();"> <form action="{S_DELETE_CAT_ACTION}" method="post" name="form" onsubmit="return checkDelete();"> <h1>{L_CAT_TITLE}</h1> <p>{L_CAT_EXPLAIN}</p> <!-- IF ERROR neq '' --> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <td class="row2" align="center">{ERROR}</td> </tr> </table> <br /> <!-- ENDIF --> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_CAT_TITLE}</th> </tr> <tr> <td colspan="2" class="row1" align="center" valign="middle">{L_SELECT_CAT} <select name="cat_id" class="forminput"> {S_SELECT_CAT} </select> </td> </tr> <tr> <td class="row2" colspan="2">{L_DO_FILE} <input type="radio" name="file_mode" value="delete" checked onClick="disableFileMode();" />{L_DELETE} <input type="radio" name="file_mode" value="move" onClick="disableFileMode();" />{L_MOVE}</td> </tr> <tr> <td colspan="2" class="row2" align="center" valign="middle">{L_MOVE_TO}: <select name="file_to_cat_id" class="forminput"> {S_FILE_SELECT_CAT} </select> </td> </tr> <tr> <td class="row2" colspan="2">{L_DO_CAT} <input type="radio" name="subcat_mode" value="delete" checked onClick="disableSubcatMode();" />{L_DELETE} <input type="radio" name="subcat_mode" value="move" onClick="disableSubcatMode();" />{L_MOVE} </td> </tr> <tr> <td colspan="2" class="row2" align="center" valign="middle">{L_MOVE_TO}: <select name="subcat_to_cat_id" class="forminput"> {S_SELECT_CAT} </select> </td> </tr> <tr> <td align="center" class="cat" colspan="2"> {S_HIDDEN_FIELDS} <input class="liteoption" type="submit" value="{L_CAT_TITLE}" name="submit"> </td> </tr> </table> </form> --- NEW FILE: mx_module_panel.tpl --- <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead">{L_PANEL_TITLE}</th> </tr> <tr> <td class="genmed">{L_PANEL_TITLE_EXPLAIN}</td> </tr> <tr> <td align="center"> {RESULT_MESSAGE} </td> </tr> <tr> <td align="center"> <form action="{S_ACTION}" method="post"> <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline"> <tr> <th class="cat" align="left">{L_MAP_PAFILEDB}</th> <th class="cat" align="left">{L_MAP_MXBB}</th> <th class="cat" align="left"></th> </tr> <!-- BEGIN map_row --> <tr> <td class="row1" align="center" valign="top"><select name="map_cat_id_{map_row.CAT_ID}" class="post">{map_row.CAT_LIST}</span></td> <td class="row1" align="left" valign="top">{map_row.DYN_LIST}</td> <td class="row1" align="left" valign="top"><a href="{map_row.DELETE}">{map_row.L_DELETE}</a></td> </tr> <!-- END map_row --> <tr> <td class="cat" colspan="3" align="center">{S_HIDDEN_UPDATE_FIELDS}<input type="submit" name="submit" value="{L_EDIT}" class="mainoption" /></td> </tr> </table> </form> <form action="{S_ACTION}" method="post"> <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline"> <tr> <th class="cat" align="left">{L_MAP_PAFILEDB}</th> <th class="cat" align="left">{L_MAP_MXBB}</th> </tr> <tr> <td align="left" class="row1" width="50%"><select name="map_cat_id" class="post">{S_MAP_CAT_LIST}</select></td> <td align="left" class="row1" width="50%">{S_MAP_DYN_LIST}</td> </tr> <tr> <td class="cat" colspan="2" align="center">{S_HIDDEN_ADD_FIELDS}<input type="submit" name="submit" value="{L_ADD}" class="mainoption" /></td> </tr> </table> </form> </td> </tr> </table> |
Update of /cvsroot/mxbb/mx_pafiledb/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23668/_core Added Files: _core.cfg index.htm pa_category_body.tpl pa_comment_body.tpl pa_comment_posting.tpl pa_custom_field.tpl pa_download_body.tpl pa_email_body.tpl pa_file_add.tpl pa_file_body.tpl pa_footer.tpl pa_header.tpl pa_license_body.tpl pa_lists.tpl pa_main_body.tpl pa_mcp.tpl pa_mini.tpl pa_mirrors_body.tpl pa_quickdl_cat_body.tpl pa_rate_body.tpl pa_search_body.tpl pa_search_result.tpl pa_stats_body.tpl pa_toplist_body.tpl pa_viewall_body.tpl Log Message: for 2.9.x --- NEW FILE: pa_mcp.tpl --- <script language='javascript'> <!-- var addItem = false; var deleteItem = false; function set_add_item(status) { addItem = status; } function set_delete_item(status) { deleteItem = status; } function delete_item(theURL) { if (confirm('Are you sure you want to delete this item??')) { window.location.href=theURL; } else { alert ('No Action has been taken.'); } } function disable_cat_list() { if(document.form.mode_mcp.options[document.form.mode_mcp.selectedIndex].value != 'cat') { document.form.cat_id.selectedIndex = '0'; document.form.cat_id.disabled = true; } if(document.form.mode_mcp.options[document.form.mode_mcp.selectedIndex].value == 'cat') { document.form.cat_id.disabled = false; } } // // Taking from the Attachment MOD of Acyd Burn // function select(status) { for (i = 0; i < document.ids.length; i++) { document.ids.elements[i].checked = status; } } function check() { if(addItem) { return true; } for (i = 0; i < document.ids.length; i++) { if(document.ids.elements[i].checked == true) { if(deleteItem) { if (confirm('Are you sure you want to delete these items??')) { return true; } else { return false; } } return true; } } alert('Please Select at least one item.'); return false; } --> </script> <!-- INCLUDE pa_header.tpl --> <body onLoad="disable_cat_list();"> <form method="post" action="{S_ACTION}" name="form"> <table width="100%" cellpadding="3" cellspacing="1"> <tr> <td> <br /><b><span class="genmed">{L_MODE}:</span></b> <select name="mode_mcp" onchange="disable_cat_list();">{S_MODE_SELECT}</select> <b><span class="genmed">{L_CATEGORY}:</span></b> {S_CAT_LIST} <input type="submit" class="liteoption" name="go" value="{L_GO}" /> </td> </tr> </table> {S_HIDDEN_FIELDS} </form> <form method="post" action="{S_ACTION}" name="ids" onsubmit="return check();"> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_DOWNLOAD}" class="nav">{DOWNLOAD}</a> » {L_MCP_TITLE}</span> </td> </tr> </table> <!-- BEGIN mcp_mode --> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <th colspan="6" class="thHead"> {mcp_mode.L_MODE}</span></th> </tr> <!-- IF mcp_mode.DATA --> <!-- BEGIN row --> <tr> <td class="row1" align="center" width="5%"><span class="genmed">{mcp_mode.row.NUMBER}</span></td> <td class="row1" width="50%"><span class="genmed">{mcp_mode.row.NAME}</span></td> <td class="row1" align="center" width="10%"><span class="gen"><a href="{mcp_mode.row.U_EDIT}">{L_EDIT}</a></span></td> <td class="row1" align="center" width="10%"><span class="gen"><a href="javascript:delete_item('{mcp_mode.row.U_DELETE}')">{L_DELETE}</a></span></td> <td class="row1" align="center" width="20%"><span class="gen"><a href="{mcp_mode.row.U_APPROVE}">{mcp_mode.row.L_APPROVE}</a></span></td> <td class="row1" align="center" width="5%"><span class="genmed"><input type="checkbox" name="ids[]" value="{mcp_mode.row.ID}" /></span></td> </tr> <!-- END row --> <!-- ELSE --> <tr> <td class="row1" align="center"><span class="gen">{L_NO_ITEMS}</span></td> </tr> <!-- ENDIF --> </table> <br /> <!-- END mcp_mode --> <table width="100%" cellspacing="2" border="0" cellpadding="2"> <tr> <td align="right" nowrap="nowrap"><span class="nav">{PAGINATION}</span></td> </tr> <tr> <td align="right" nowrap="nowrap"><span class="nav">{PAGE_NUMBER}</span></td> </tr> </table> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <td class="cat" align="center"> {S_HIDDEN_FIELDS} <input type="submit" class="mainoption" name="do_approve" value="{L_APPROVE_ITEM}" onClick="set_add_item(true); set_delete_item(false);" /> <input type="submit" class="mainoption" name="do_unapprove" value="{L_UNAPPROVE_ITEM}" onClick="set_add_item(true); set_delete_item(false);" /> <input type="submit" class="liteoption" name="do_delete" value="{L_DELETE_ITEM}" onClick="set_add_item(false); set_delete_item(true);" /> </td> </tr> </table> </form> <!-- INCLUDE pa_footer.tpl --> --- NEW FILE: _core.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: _core.cfg,v 1.1 2007/09/09 20:17:07 jonohlsson 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 // ------------------------------------------------------------------------- $mx_images['pa_search'] = "$current_template_images/{LANG}/icon_pa_search.gif"; $mx_images['pa_stats'] = "$current_template_images/{LANG}/icon_pa_stats.gif"; $mx_images['pa_toplist'] = "$current_template_images/{LANG}/icon_pa_toplist.gif"; $mx_images['pa_upload'] = "$current_template_images/{LANG}/icon_pa_upload.gif"; $mx_images['pa_viewall'] = "$current_template_images/{LANG}/icon_pa_viewall.gif"; $mx_images['pa_download'] = "$current_template_images/{LANG}/icon_pa_download.gif"; $mx_images['pa_rate'] = "$current_template_images/{LANG}/icon_pa_rate.gif"; $mx_images['pa_email'] = "$current_template_images/{LANG}/icon_pa_email.gif"; $mx_images['pa_comment_post'] = "$current_template_images/{LANG}/icon_pa_post_comment.gif"; $mx_images['pa_file_new'] = "$current_template_images/icon_pa_new.gif"; $mx_images['pa_icon_approve'] = $images['icon_approve']; // ?? ?? $mx_images['pa_icon_unapprove'] = $images['icon_unapprove']; // ?? ?? // ------------------------------------------------------------------------- // Redefine phpBB images // ------------------------------------------------------------------------- $mx_images['pa_icon_minipost'] = $images['icon_minipost']; $mx_images['pa_icon_edit'] = $images['icon_edit']; $mx_images['pa_icon_delpost'] = $images['icon_delpost']; $mx_images['pa_icon_latest_reply'] = $images['icon_latest_reply']; $mx_images['pa_folder'] = $images['folder']; $mx_images['pa_folder_new'] = $images['folder_new']; $mx_images['pa_folder_sticky'] = $images['folder_sticky']; $mx_images['pa_voting_graphic'] = $images['voting_graphic']; ?> --- NEW FILE: pa_main_body.tpl --- <!-- INCLUDE pa_header.tpl --> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_DOWNLOAD}" class="nav ask target-block_{BLOCK_ID}">{DOWNLOAD}</a></span> </td> </tr> </table> <!-- IF CAT_NAV_STANDARD --> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" width="6%"> </th> <th class="thTop"> {L_CATEGORY} </th> <th class="thCornerR" width="10%"> {L_LAST_FILE} </th> <th class="thCornerR" width="8%"> {L_FILES} </th> </tr> <!-- BEGIN no_cat_parent --> <!-- IF no_cat_parent.IS_HIGHER_CAT --> <tr> <td class="cat" colspan="2" valign="middle"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}">{no_cat_parent.CAT_NAME}</a></td> <td class="rowpic" colspan="2" align="right"> </td> </tr> <!-- ELSE --> <tr> <td class="row1" valign="middle" align="center"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}"><img src="{no_cat_parent.CAT_IMAGE}" border="0" alt="{no_cat_parent.CAT_NEW_FILE}"></a></td> <td class="row1" valign="middle" onmouseout="this.className='row1';" onmouseover="this.className='row2';" onclick="window.location.href='{no_cat_parent.U_CAT}';"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}">{no_cat_parent.CAT_NAME}</a><br><span class="genmed">{no_cat_parent.CAT_DESC}</span><span class="gensmall">{no_cat_parent.SUB_CAT}</span></b></td> <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="genmed">{no_cat_parent.LAST_FILE}</span></td> <td class="row2" align="center" valign="middle"><span class="genmed">{no_cat_parent.FILECAT}</span></td> </tr> <!-- ENDIF --> <!-- END no_cat_parent --> <tr> <td class="cat" colspan="4"> </td> </tr> </table> <!-- ENDIF --> <!-- IF CAT_NAV_SIMPLE --> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thHead">{L_CATEGORY}</th> </tr> <tr> <td class="row1"> <table border="0" cellpadding="2" cellspacing="1" width="100%" > <!-- BEGIN catcol --> <tr> <!-- BEGIN no_cat_parent --> <td width="{WIDTH}%"> <table border="0" cellpadding="2" cellspacing="2" width="100%"> <tr> <td> <a href="{catcol.no_cat_parent.U_CAT}"><img src="{catcol.no_cat_parent.CAT_IMAGE}" alt="{catcol.no_cat_parent.CAT_NAME}" align="absmiddle" border="0" /></a> </td> <td width="100%" valign="middle" nowrap="nowrap"> <a href="{catcol.no_cat_parent.U_CAT}" class="cattitle">{catcol.no_cat_parent.CAT_NAME}</a> <span class="gensmall">({catcol.no_cat_parent.FILECAT})</span><br> {catcol.no_cat_parent.SUB_CAT} </td> </tr> </table> </td> <!-- END no_cat_parent --> </tr> <!-- END catcol --> </table> </td> </tr> </table> <!-- ENDIF --> <!-- INCLUDE pa_footer.tpl --> --- 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: pa_header.tpl --- <SCRIPT LANGUAGE="JavaScript"> <!-- function mpFoto(img) { foto1= new Image(); foto1.src=(img); mpControl(img); } function mpControl(img) { if((foto1.width!=0)&&(foto1.height!=0)) { viewFoto(img); } else { mpFunc="mpControl('"+img+"')"; intervallo=setTimeout(mpFunc,20); } } function viewFoto(img) { largh=foto1.width+20; altez=foto1.height+20; string="width="+largh+",height="+altez; finestra=window.open(img,"",string); } function MM_jumpMenu(targ,selObj,restore) { //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) { selObj.selectedIndex=0; } } function delete_file(theURL) { if (confirm('Are you sure you want to delete this file??')) { window.location.href=theURL; } else { alert ('No Action has been taken.'); } } //--> </script> <!-- <script type="text/javascript" src="{MX_ROOT_PATH}modules/mx_shared/ajax/ask.js"></script> --> <table width="100%" border="0" cellpadding="4" cellspacing="1" class="forumline" style="border-top:none;"> <tr> <td align="center" class="row1"> <!-- IF IS_AUTH_SEARCH --> <b> <a href="{U_PASEARCH}" class="gensmall"><img src="{SEARCH_IMG}" border="0" alt="{L_SEARCH}" align="middle" /></a> </b> <!-- ENDIF --> <!-- IF IS_AUTH_STATS --> <b> <a href="{U_PASTATS}" class="gensmall"><img src="{STATS_IMG}" border="0" alt="{L_STATS}" align="middle" /></a> </b> <!-- ENDIF --> <!-- IF IS_AUTH_TOPLIST --> <b> <a href="{U_TOPLIST}" class="gensmall"><img src="{TOPLIST_IMG}" border="0" alt="{L_TOPLIST}" align="middle" /></a> </b> <!-- ENDIF --> <!-- IF IS_AUTH_UPLOAD --> <b> <a href="{U_UPLOAD}" class="gensmall"><img src="{UPLOAD_IMG}" border="0" alt="{L_UPLOAD}" align="middle" /></a> </b> <!-- ENDIF --> <!-- IF IS_AUTH_VIEWALL --> <b> <a href="{U_VIEW_ALL}" class="gensmall"><img src="{VIEW_ALL_IMG}" border="0" alt="{L_VIEW_ALL}" align="middle" /></a> </b> <!-- ENDIF --> <br /> <!-- IF IS_AUTH_MCP --> <b> <a href="{U_MCP}" class="gensmall">[{MCP_LINK}]</a> </b> <!-- ENDIF --> </td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td align="center" width="100%" height="100%" valign="top"> <table width="100%" height="30" border="0" cellpadding="0" cellspacing="0" class="table" align="center"> <tr> <td width="100%" valign="top" colspan="2"> --- NEW FILE: pa_quickdl_cat_body.tpl --- <table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <tr> <td> <table width="100%" cellpadding="3" cellspacing="0"> <tr> <td class="cat"> <span class="nav"><a href="{U_DOWNLOAD}" class="nav">{BACK}</a>{DOWNLOAD}</span> </td> </tr> </table> <!-- IF CAT_NAV_STANDARD --> <table width="100%" cellpadding="3" cellspacing="0" > <!-- BEGIN no_cat_parent --> <!-- IF no_cat_parent.IS_HIGHER_CAT --> <tr> <td class="row2" valign="middle"><a href="{no_cat_parent.U_CAT}" class="cattitle">{no_cat_parent.CAT_NAME}</a></td> <td class="rowpic" align="right"> </td> </tr> <!-- ELSE --> <tr> <td class="row2" align="left" width="20" valign="middle"><a href="{no_cat_parent.U_CAT}" class="cattitle"><img src="{no_cat_parent.CAT_IMAGE}" border="0" alt="{no_cat_parent.CAT_NEW_FILE}"></a></td> <td class="row1" valign="middle" onmouseout="this.className='row1';" onmouseover="this.className='row2';" onclick="window.location.href='{no_cat_parent.U_CAT}';"><a href="{no_cat_parent.U_CAT}" class="cattitle">{no_cat_parent.CAT_NAME}</a><br><span class="gensmall">{no_cat_parent.CAT_DESC}</span></td> </tr> <!-- ENDIF --> <!-- END no_cat_parent --> <tr> <td class="row2" colspan="2" valign="middle"><hr></td> </tr> </table> <!-- ENDIF --> <!-- IF FILELIST --> <table width="100%" cellpadding="3" cellspacing="0" > <!-- BEGIN file_rows --> <tr> <td class="row1" align="center" width="15" valign="middle"><a href="{file_rows.U_FILE_JUMP}" class="topictitle"><img src="{file_rows.PIN_IMAGE}" border="0"></a></td> <td class="row1" valign="middle" onmouseout="this.className='row1';" onmouseover="this.className='row2';" onclick="window.location.href='{file_rows.U_FILE_JUMP}';"><a href="{file_rows.U_FILE_JUMP}" class="topictitle">{file_rows.FILE_NAME}</a><br><span class="gensmall">{file_rows.FILE_DESC} ({file_rows.UPDATED})</span></td> </tr> <tr> <td class="row1" align="right" valign="middle" colspan="2"> <a href="{file_rows.U_FILE_JUMP_SAVE_AS}" class="topictitle"><img src="{file_rows.SAVE_AS_IMAGE}" border="0" alt="{file_rows.L_SAVE_AS}"></a> </td> </tr> <!-- END file_rows --> </table> <!-- ENDIF --> <!-- IF NO_FILE --> <table width="100%" cellspacing="0" cellpadding="3"> <tr> <td class="row1" align="center" height="30"><span class="genmed">{L_NO_FILES_CAT}</span></td> </tr> </table> <!-- ENDIF --> </td> </tr> </table> --- NEW FILE: pa_file_add.tpl --- <!-- INCLUDE pa_header.tpl --> <script language="JavaScript" type="text/javascript"> <!-- var error_msg = ""; function checkAddForm() { error_msg = ""; if (document.form.cat_id.value == -1) { error_msg = "You can't add file to category that does not allow files on it"; } if(document.form.name.value == "") { if(error_msg != "") { error_msg += "\n"; } error_msg += "Please fill the file name field"; } if(document.form.long_desc.value == "") { if(error_msg != "") { error_msg += "\n"; } error_msg += "Please fill the file long descritpion field"; } <!-- IF MODE eq 'ADD' --> if(document.form.userfile.value == "" && document.form.download_url.value == "") { if(error_msg != "") { error_msg += "\n"; } error_msg += "Please fill the file url field or click browse to upload file from your machine"; } <!-- ENDIF --> if(error_msg != "") { alert(error_msg); error_msg = ""; return false; } else { return true; } } // --> </script> <form enctype="multipart/form-data" action="{S_ADD_FILE_ACTION}" method="post" name="form" onsubmit="return checkAddForm();"> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_DOWNLOAD}" class="nav">{DOWNLOAD}</a> » {L_UPLOAD}</span> </td> </tr> </table> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_FILE_TITLE}</th> </tr> <tr> <td width="50%" class="row1"><span class="genmed">{L_FILE_NAME}</span><br><span class="gensmall">{L_FILE_NAME_INFO}</span></td> <td class="row2"><input type="text" class="post" size="50" name="name" value="{FILE_NAME}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_SHORT_DESC}</span><br><span class="gensmall">{L_FILE_SHORT_DESC_INFO}</span></td> <td class="row2"><input type="text" class="post" size="50" name="short_desc" value="{FILE_DESC}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_LONG_DESC}</span><br><span class="gensmall">{L_FILE_LONG_DESC_INFO}</span></td> <td class="row2"><textarea rows="6" name="long_desc" cols="32">{FILE_LONG_DESC}</textarea></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_AUTHOR}</span><br><span class="gensmall">{L_FILE_AUTHOR_INFO}</span></td> <td class="row2"><input type="text" class="post" size="50" name="author" value="{FILE_AUTHOR}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_VERSION}</span><br><span class="gensmall">{L_FILE_VERSION_INFO}</span></td> <td class="row2"><input type="text" class="post" size="50" name="version" value="{FILE_VERSION}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_WEBSITE}</span><br><span class="gensmall">{L_FILE_WEBSITE_INFO}</span></td> <td class="row2"><input type="text" class="post" size="50" name="website" value="{FILE_WEBSITE}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_POSTICONS}</span><br><span class="gensmall">{L_FILE_POSTICONS_INFO}</span></td> <td class="row2">{S_POSTICONS}</td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_CAT}</span><br><span class="gensmall">{L_FILE_CAT_INFO}</span></td> <td class="row2"> <select name="cat_id" class="post"> {S_CAT_LIST} </select> </td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_LICENSE}</span><br><span class="gensmall">{L_FILE_LICENSE_INFO}</span></td> <td class="row2"> <select name="license" class="post"> {S_LICENSE_LIST} </select> </td> </tr> <!-- IF IS_ADMIN or IS_MOD --> <tr> <td class="row1"><span class="genmed">{L_FILE_PINNED}</span><br><span class="gensmall">{L_FILE_PINNED_INFO}</span></td> <td class="row2"> <input type="radio" name="pin" value="1"{PIN_CHECKED_YES} /><span class="genmed">{L_YES}</span> <input type="radio" name="pin" value="0"{PIN_CHECKED_NO} /><span class="genmed">{L_NO}</span> </td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_DOWNLOAD}</span></td> <td class="row2"><input type="text" class="post" size="10" name="file_download" value="{FILE_DOWNLOAD}" /></td> </tr> <!-- ENDIF --> <tr> <td class="cat" colspan="2" align="center"><span class="cattitle">{L_SCREENSHOT}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILESS_UPLOAD}</span><br><span class="gensmall">{L_FILESSINFO_UPLOAD}</span></td> <td class="row2"> <input type="file" size="50" name="screen_shot" maxlength="{FILESIZE}" class="post" /> </td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILESS}</span><br><span class="gensmall">{L_FILESSINFO}</span></td> <td class="row2"> <input type="text" class="post" size="50" name="screen_shot_url" value="{FILE_SSURL}"> </td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_SSLINK}</span><br><span class="gensmall">{L_FILE_SSLINK_INFO}</span></td> <td class="row2"> <input type="radio" name="sshot_link" value="1" {SS_CHECKED_YES}><span class="genmed">{L_YES}</span> <input type="radio" name="sshot_link" value="0" {SS_CHECKED_NO}><span class="genmed">{L_NO}</span> </td> </tr> <tr> <td class="cat" colspan="2" align="center"><span class="cattitle">{L_FILES}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_UPLOAD}</span><br><span class="gensmall">{L_FILEINFO_UPLOAD}</span></td> <td class="row2"> <input type="file" size="50" name="userfile" maxlength="{FILESIZE}" class="post" /> </td> </tr> <tr> <td class="row1"><span class="genmed">{L_FILE_URL}</span><br><span class="gensmall">{L_FILE_URL_INFO}</span></td> <td class="row2"> <input type="text" class="post" size="50" name="download_url" value="{FILE_DLURL}"> </td> </tr> <!-- IF CUSTOM_EXIST --> <tr> <td class="cat" colspan="2" align="center"><span class="cattitle">{L_ADDTIONAL_FIELD}</span></td> </tr> <!-- ENDIF --> <!-- INCLUDE pa_custom_field.tpl --> <tr> <td align="center" class="cat" colspan="2">{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" value="{L_FILE_TITLE}" name="submit"></td> </tr> </table> </form> <!-- INCLUDE pa_footer.tpl --> --- NEW FILE: pa_lists.tpl --- <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" style="border-top:none;"><tr><td> <!-- IF FILELIST --> <table width="100%" cellpadding="2" cellspacing="0"> <!-- BEGIN file_rows --> <tr> <td rowspan="2" class="{file_rows.COLOR}" valign="middle"> <img src="{file_rows.PIN_IMAGE}" border="0" ></td> <td width="100%" class="{file_rows.COLOR}"> <a href="{file_rows.U_FILE}" class="topictitle">{file_rows.FILE_NAME}</a> <!-- BEGIN IS_NEW_FILE --> <!-- <img src="{file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"> --> <!-- END IS_NEW_FILE --> <br><span class="genmed">{file_rows.FILE_DESC}</span> </td> </tr> <tr> <td valign="top" align="left" class="{file_rows.COLOR}"> <span class="gensmall"> <!-- BEGIN display_username --> • {L_SUBMITED_BY} {file_rows.POSTER}<br /> <!-- END display_username --> <!-- BEGIN display_date --> • {L_UPDATE_TIME}: {file_rows.DATE}<br /> <!-- END display_date --> <!-- BEGIN display_counter --> • {L_DOWNLOADS}: {file_rows.FILE_DLS}<br /> <!-- END display_counter --> <!-- BEGIN display_rate --> • {file_rows.L_RATING}: {file_rows.RATING} ({file_rows.FILE_VOTES} {L_VOTES}) {file_rows.DO_RATE}<br /> <!-- END display_rate --> </span> </td> </tr> <!-- END file_rows --> <!-- BEGIN toplist_pagination --> <tr valign="middle"> <td align="right" colspan="2" valign="top" nowrap="nowrap" height="28" class="cat"><span class="gensmall">{BLOCK_PAGINATION}</span></td> </tr> <!-- END toplist_pagination --> </table> <!-- ENDIF --> <!-- IF NO_FILE --> <table width="100%" cellspacing="1" cellpadding="4"> <tr> <td class="row1" align="center" height="30"><span class="genmed">{L_NO_FILES_CAT}</span></td> </tr> </table> <!-- ENDIF --> </td></tr></table> --- NEW FILE: pa_mirrors_body.tpl --- <!-- INCLUDE pa_header.tpl --> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_DOWNLOAD_HOME}" class="nav">{DOWNLOAD}</a><!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_CAT}" class="nav">{navlinks.CAT_NAME}</a><!-- END navlinks --> » {FILE_NAME}</span> </td> </tr> </table> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <th class="thCornerL">{L_MIRRORS}</th> <th class="thCornerR">{L_MIRROR_LOCATION}</th> </tr> <!-- BEGIN mirror_row --> <tr> <td class="row2" valign="middle"><span class="genmed"><a href="{mirror_row.U_DOWNLOAD}">{L_DOWNLOAD}</a></span></td> <td class="row1" valign="middle"><span class="genmed">{mirror_row.MIRROR_LOCATION}</span></td> </tr> <!-- END mirror_row --> <tr> <td class="cat" align="center" colspan="2"></td> </tr> </table> <!-- INCLUDE pa_footer.tpl --> --- NEW FILE: pa_footer.tpl --- </td> </tr> <tr> <td align="left" valign="top" height="35" width="50%"> <br /><form method="get" name="jumpbox" action="{S_JUMPBOX_ACTION}" onSubmit="if(document.jumpbox.cat_id.value == -1){return false;}"> <input type="hidden" name="action" value="category" /> <input type="hidden" name="page" value="{MX_PAGE}" /> <select name="cat_id" onchange="if(this.options[this.selectedIndex].value != -1){ forms['jumpbox'].submit() }"> <option value="-1">{L_QUICK_JUMP}</option> {JUMPMENU} </select> <input type="submit" value="{L_QUICK_GO}" class="liteoption" /> </span> </form> </td> <td align="right" width="50%"><span class="gensmall">{S_AUTH_LIST}</span></td> </tr> </table> </td> </tr> </table> <!-- BEGIN copy_footer --> <div align="center"><span class="copyright"><br /> Powered by {L_MODULE_VERSION}, {L_MODULE_ORIG_AUTHOR} & <a href="http://www.mx-system.com/" target="_phpbb" class="copyright">{L_MODULE_AUTHOR}</a> © 2002-2005 <br /><a href="http://www.phpbb.com/phpBB/viewtopic.php?t=193124" target="_phpbb" class="copyright">PHPBB.com MOD</a> </span></div> <!-- END copy_footer --> --- NEW FILE: pa_download_body.tpl --- <table width="100%" height="99%" cellpadding="2" cellspacing="0"> <tr> <td align="center" width="100%" height="100%" valign="top"> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <td align="center" class="row2" onMouseOver="this.style.backgroundColor='#F0F0F0'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="#E0E4E8" onclick="window.location.href='{U_PASEARCH}'"><b> <a href="{U_PASEARCH}" class="gensmall">{L_SEARCH}</a> </b></td> <td align="center" class="row2" onMouseOver="this.style.backgroundColor='#F0F0F0'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="#E0E4E8" onclick="window.location.href='{U_PASTATS}'"><b> <a href="{U_PASTATS}" class="gensmall">{L_STATS}</a> </b></td> <td align="center" class="row2" onMouseOver="this.style.backgroundColor='#F0F0F0'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="#E0E4E8" onclick="window.location.href='{U_TOPLIST}'"><b> <a href="{U_TOPLIST}" class="gensmall">{L_TOPLIST}</a> </b></td> <td align="center" class="row2" onMouseOver="this.style.backgroundColor='#F0F0F0'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="#E0E4E8" onclick="window.location.href='{U_UPLOAD}'"><b> <a href="{U_UPLOAD}" class="gensmall">{L_UPLOAD}</a> </b></td> <!-- IF VIEW_ALL_FILES --> <td align="center" class="row2" onMouseOver="this.style.backgroundColor='#F0F0F0'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="#E0E4E8" onclick="window.location.href='{U_VIEW_ALL}'"><b> <a href="{U_VIEW_ALL}" class="gensmall">{L_VIEW_ALL}</a> </b></td> <!-- ENDIF --> </tr> </table> <table width="100%" height="30" border="0" cellpadding="2" cellspacing="0" class="table" align="center"> <tr> <td width="100%" valign="top" colspan="2"> {ACTION_INCLUDE} </td> </tr> <tr> <td align="left" valign="top">{JUMPMENU}</td> <td align="right" valign="top"><span class="gensmall">{S_TIMEZONE}</span></td> </tr> </table> </td> </tr> </table> <br clear="all" /> --- NEW FILE: pa_rate_body.tpl --- <!-- INCLUDE pa_header.tpl --> <script language="JavaScript" type="text/javascript"> <!-- function checkRateForm() { if (document.rateform.rating.value == -1) { return false; } else { return true; } } // --> </script> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_DOWNLOAD_HOME}" class="nav">{DOWNLOAD}</a><!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_CAT}" class="nav">{navlinks.CAT_NAME}</a><!-- END navlinks --> » <a href="{U_FILE_NAME}" class="nav">{FILE_NAME}</a> » {L_RATE}</span> </td> </tr> </table> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead">{L_RATE}</th> </tr> <tr> <td class="row1" width="90%"><span class="genmed">{RATEINFO}</span></td> <td class="row2"> <form name="rateform" action="{S_RATE_ACTION}" method="post" onsubmit="return checkRateForm();"> <select size="1" name="rating" class="forminput"> <option value="-1" selected>{L_RATE}</option> <option value="1">{L_R1}</option> <option value="2">{L_R2}</option> <option value="3">{L_R3}</option> <option value="4">{L_R4}</option> <option value="5">{L_R5}</option> <option value="6">{L_R6}</option> <option value="7">{L_R7}</option> <option value="8">{L_R8}</option> <option value="9">{L_R9}</option> <option value="10">{L_R10}</option> <input type="hidden" name="action" value="rate"> <input type="hidden" name="file_id" value="{ID}"> </select> </td> </tr> <tr> <td colspan="2" class="cat" align="center"><input class="liteoption" type="submit" value="{L_RATE}" name="submit"> </td> </tr> </table> </form> <!-- INCLUDE pa_footer.tpl --> --- NEW FILE: pa_comment_body.tpl --- <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <th class="thCornerL">{L_AUTHOR}</th> <th class="thCornerR">{L_COMMENTS}</th> </tr> <!-- IF NO_COMMENTS --> <tr> <td colspan="2" class="row1" align="center"><span class="genmed">{L_NO_COMMENTS}</span></td> </tr> <!-- ENDIF --> <!-- BEGIN text --> <tr> <td width="150" align="left" valign="top" class="row1"><span class="name"><b>{text.POSTER}</b></span><br /><span class="postdetails">{text.POSTER_RANK}<br />{text.RANK_IMAGE}{text.POSTER_AVATAR}<br /><br />{text.POSTER_JOINED}<br />{text.POSTER_POSTS}<br />{text.POSTER_FROM}</span><br /> </td> <td class="row1" height="28" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%" valign="middle"><span class="postdetails"><img src="{text.ICON_MINIPOST_IMG}" width="12" height="9" border="0" />{L_POSTED}: {text.TIME}<span class="gen"> </span> {L_COMMENT_SUBJECT}: {text.TITLE}</span></td> <td align="right"> <!-- IF text.AUTH_COMMENT_DELETE --> <a href="{text.U_COMMENT_DELETE}"><img src="{text.DELETE_IMG}" alt="{L_COMMENT_DELETE}" title="{L_COMMENT_DELETE}" border="0"></a> <!-- ENDIF --> </td> </tr> <tr> <td colspan="2"><hr /></td> </tr> <tr> <td colspan="2"valign="top"><span class="postbody">{text.TEXT}</span></td> </tr> </table> </td> </tr> <tr> <td class="row1" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td> <td class="row1"></td> </tr> <tr> <td class="spaceRow" colspan="2" height="1"><img src="{text.ICON_SPACER}" alt="" width="1" height="1" /></td> </tr> <!-- END text --> <tr> <td colspan="2" class="cat"> </td> </tr> </table> <!-- IF AUTH_POST --> <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> <td><a href="{U_COMMENT_DO}"><img src="{REPLY_IMG}" border="0" alt="{L_COMMENT_ADD}" align="middle" /></a></td> </tr> </table> <br clear="all" /> <!-- ENDIF --> --- NEW FILE: pa_toplist_body.tpl --- <!-- INCLUDE pa_header.tpl --> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_DOWNLOAD}" class="nav">{DOWNLOAD}</a> » {L_TOPLIST}</span> </td> </tr> </table> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <th class="thHead" colspan="7"> {L_TOPLIST}</th> </tr> <tr> <td colspan="7" class="row1" align="center"><span class="gen"><b>{L_CURRENT_TOPLIST} - {L_NEW_FILES}</b></span></td> </tr> <tr> <td colspan="7" class="row2" align="center"><span class="genmed"><a href="{U_NEWEST_FILE}" class="genmed">{L_NEWEST_FILE}</a> | <a href="{U_MOST_POPULAR}" class="genmed">{L_MOST_POPULAR}</a> | <a href="{U_TOP_RATED}" class="genmed">{L_TOP_RATED}</a></span></td> </tr> <!-- IF IS_NEWEST --> <tr> <td colspan="7" class="row1" align="center"> <span class="gen"> <b>{L_TOTAL_NEW_FILE}:</b> {L_LAST_WEEK} ( {TOTAL_FILE_WEEK} ) | {L_LAST_30_DAYS} ( {TOTAL_FILE_MONTH} )<br /> <b>{L_SHOW}:</b> <a href="{U_ONE_WEEK}" class="gen">{L_ONE_WEEK}</a> - <a href="{U_TWO_WEEK}" class="gen">{L_TWO_WEEK}</a> - <a href="{U_30_DAYS}" class="gen">{L_30_DAYS}</a> </span> </td> </tr> <!-- IF FILE_DATE --> <tr> <td colspan="7" class="row1" align="center"> <span class="gen"> <!-- BEGIN files_date --> <strong><big>·</big></strong> <a href="{files_date.U_DATES}">{files_date.DATES}</a> ({files_date.TOTAL_DOWNLOADS})<br /> <!-- END files_date --> </span> </td> </tr> <!-- ENDIF --> <!-- ENDIF --> <!-- IF IS_POPULAR --> <tr> <td colspan="7" class="row1" align="center"> <span class="genmed"> <b>{L_SHOW_TOP}:</b> [ <a href="{U_TOP_10}" class="genmed">10</a> - <a href="{U_TOP_25}" class="genmed">25</a> - <a href="{U_TOP_50}" class="genmed">50</a> ] <b>{L_OR_TOP}:</b> [ <a href="{U_TOP_PER_1}" class="genmed">1%</a> - <a href="{U_TOP_PER_5}" class="genmed">5%</a> - <a href="{U_TOP_PER_10}" class="genmed">10%</a> ] </span> </td> </tr> <!-- ENDIF --> <!-- IF FILE_LIST --> <tr> <td width="4%" align="center" class="cat" nowrap="nowrap"> </td> <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_CATEGORY} </span></td> <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_FILE} </span></td> <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_SUBMITER} </span></td> <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_UPDATE_TIME} </span></td> <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_DOWNLOADS} </span></td> <!-- IF SHOW_RATINGS --> <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_RATE} </span></td> <!-- ENDIF --> </tr> <!-- BEGIN files_row --> <tr> <td class="row1" align="center" valign="middle"><a href="{files_row.U_FILE}" class="topictitle">{files_row.PIN_IMAGE}</a></td> <td class="row1"><span class="forumlink"><a href="{files_row.U_CAT}" class="forumlink">{files_row.CAT_NAME}</a></span></td> <td class="row1" valign="middle"><a href="{files_row.U_FILE}" class="topictitle">{files_row.FILE_NAME}</a> <!-- IF files_row.IS_NEW_FILE --><img src="{files_row.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"><!-- ENDIF --><br /><span class="genmed">{files_row.FILE_DESC}</span></td> <td class="row1" align="center" valign="middle"><span class="name">{files_row.FILE_SUBMITER}</span></td> <td class="row2" align="center" valign="middle"><span class="postdetails">{files_row.UPDATED}</span></td> <td class="row1" align="center" valign="middle"><span class="postdetails">{files_row.DOWNLOADS}</span></td> <!-- IF files_row.SHOW_RATINGS --> <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{files_row.RATING}</span></td> <!-- ENDIF --> </tr> <!-- END files_row --> <tr> <td colspan="7" class="cat" align="center">  </td> </tr> <!-- ENDIF --> </table> <!-- IF NO_FILE --> <table class="forumline" width="100%" cellspacing="0" cellpadding="4"> <tr> <th class="thHead">{L_NO_FILES}</th> </tr> <tr> <td class="row1" align="center" height="30"><span class="genmed">{L_NO_FILES_CAT}</span></td> </tr> </table> <!-- ENDIF --> <!-- INCLUDE pa_footer.tpl --> --- NEW FILE: pa_stats_body.tpl --- <!-- INCLUDE pa_header.tpl --> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_DOWNLOAD}" class="nav">{DOWNLOAD}</a> » {L_STATISTICS}</span> </td> </tr> </table> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead"> {L_STATISTICS}</th> </tr> <tr> <td colspan="2" class="cat" align="center"><span class="cattitle">{L_GENERAL_INFO}</span></td> </tr> <tr> <td colspan="2" class="row1"><span class="genmed">{STATS_TEXT}</span></td> </tr> <tr> <td class="cat" width="50%" align="center"><span class="cattitle">{L_DOWNLOADS_STATS}</span></td> <td class="cat" width="50%" align="center"><span class="cattitle">{L_RATING_STATS}</span></td> </tr> <tr> <td class="row2" colspan="2" align="center"><span class="genmed">{L_OS}</span></td> </tr> <tr> <td class="row1" align="center"> <table cellspacing="0" cellpadding="2" border="0"> <!-- BEGIN downloads_os --> <tr> <td><img src="{downloads_os.OS_IMG}" alt="" /> <span class="gen">{downloads_os.OS_NAME}</span></td> <td> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><img src="{U_VOTE_LCAP}" width="4" alt="" height="12" /></td> <td><img src="{downloads_os.OS_OPTION_IMG}" width="{downloads_os.OS_OPTION_IMG_WIDTH}" height="12" alt="{downloads_os.OS_OPTION_RESULT}" /></td> <td><img src="{U_VOTE_RCAP}" width="4" alt="" height="12" /></td> </tr> </table> </td> <td align="center"><span class="gen">[ {downloads_os.OS_OPTION_RESULT} ]</span></td> </tr> <!-- END downloads_os --> </table> </td> <td class="row1" align="center"> <table cellspacing="0" cellpadding="2" border="0"> <!-- BEGIN rating_os --> <tr> <td><img src="{rating_os.OS_IMG}" alt="" /> <span class="gen">{rating_os.OS_NAME}</span></td> <td> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><img src="{U_VOTE_LCAP}" width="4" alt="" height="12" /></td> <td><img src="{rating_os.OS_OPTION_IMG}" width="{rating_os.OS_OPTION_IMG_WIDTH}" height="12" alt="{rating_os.OS_OPTION_RESULT}" /></td> <td><img src="{U_VOTE_RCAP}" width="4" alt="" height="12" /></td> </tr> </table> </td> <td align="center"><span class="gen">[ {rating_os.OS_OPTION_RESULT} ]</span></td> </tr> <!-- END rating_os --> </table> </td> </tr> <tr> <td class="row2" colspan="2" align="center"><span class="genmed">{L_BROWSERS}</span></td> </tr> <tr> <td class="row1" align="center"> <table cellspacing="0" cellpadding="2" border="0"> <!-- BEGIN downloads_b --> <tr> <td><img src="{downloads_b.B_IMG}" alt="" /> <span class="gen">{downloads_b.B_NAME}</span></td> <td> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><img src="{U_VOTE_LCAP}" width="4" alt="" height="12" /></td> <td><img src="{downloads_b.B_OPTION_IMG}" width="{downloads_b.B_OPTION_IMG_WIDTH}" height="12" alt="{downloads_b.B_OPTION_RESULT}" /></td> <td><img src="{U_VOTE_RCAP}" width="4" alt="" height="12" /></td> </tr> </table> </td> <td align="center"><span class="gen">[ {downloads_b.B_OPTION_RESULT} ]</span></td> </tr> <!-- END downloads_b --> </table> </td> <td class="row1" align="center"> <table cellspacing="0" cellpadding="2" border="0"> <!-- BEGIN rating_b --> <tr> <td><img src="{rating_b.B_IMG}" alt="" /> <span class="gen">{rating_b.B_NAME}</span></td> <td> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><img src="{U_VOTE_LCAP}" width="4" alt="" height="12" /></td> <td><img src="{rating_b.B_OPTION_IMG}" width="{rating_b.B_OPTION_IMG_WIDTH}" height="12" alt="{rating_b.B_OPTION_RESULT}" /></td> <td><img src="{U_VOTE_RCAP}" width="4" alt="" height="12" /></td> </tr> </table> </td> <td align="center"><span class="gen">[ {rating_b.B_OPTION_RESULT} ]</span></td> </tr> <!-- END rating_b --> </table> </td> </tr> <tr> <td colspan="2" class="cat" height="28"> </td> </tr> </table> <!-- INCLUDE pa_footer.tpl --> --- NEW FILE: pa_category_body.tpl --- <!-- INCLUDE pa_header.tpl --> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_DOWNLOAD}" class="nav ask target-block_{BLOCK_ID}">{DOWNLOAD}</a><!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_CAT}" class="nav ask target-block_{BLOCK_ID}">{navlinks.CAT_NAME}</a><!-- END navlinks --></span> </td> </tr> </table> <!-- IF CAT_NAV_STANDARD --> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" width="6%"> </th> <th class="thTop"> {L_CATEGORY} </th> <th class="thCornerR" width="10%"> {L_LAST_FILE} </th> <th class="thCornerR" width="8%"> {L_FILES} </th> </tr> <!-- BEGIN no_cat_parent --> <!-- IF no_cat_parent.IS_HIGHER_CAT --> <tr> <td class="cat" colspan="2" valign="middle"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}">{no_cat_parent.CAT_NAME}</a></td> <td class="rowpic" colspan="2" align="right"> </td> </tr> <!-- ELSE --> <tr> <td class="row1" valign="middle" align="center"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}"><img src="{no_cat_parent.CAT_IMAGE}" border="0" alt="{no_cat_parent.CAT_NEW_FILE}"></a></td> <td class="row1" valign="middle" onmouseout="this.className='row1';" onmouseover="this.className='row2';" onclick="window.location.href='{no_cat_parent.U_CAT}';"><a href="{no_cat_parent.U_CAT}" class="cattitle ask target-block_{BLOCK_ID}">{no_cat_parent.CAT_NAME}</a><br><span class="genmed">{no_cat_parent.CAT_DESC}</span><span class="gensmall">{no_cat_parent.SUB_CAT}</span></b></td> <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="genmed">{no_cat_parent.LAST_FILE}</span></td> <td class="row2" align="center" valign="middle"><span class="genmed">{no_cat_parent.FILECAT}</span></td> </tr> <!-- ENDIF --> <!-- END no_cat_parent --> <tr> <td class="cat" colspan="4"> </td> </tr> </table> <br /> <!-- ENDIF --> <!-- IF CAT_NAV_SIMPLE --> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th class="thHead" colspan="2">{L_CATEGORY}</th> </tr> <tr> <td class="row1" colspan="2"> <table border="0" cellpadding="2" cellspacing="1" width="100%" > <!-- BEGIN catcol --> <tr> <!-- BEGIN no_cat_parent --> <td width="{WIDTH}%"> <table border="0" cellpadding="2" cellspacing="2" width="100%"> <tr> <td> <a href="{catcol.no_cat_parent.U_CAT}"><img src="{catcol.no_cat_parent.CAT_IMAGE}" alt="{catcol.no_cat_parent.CAT_NAME}" align="absmiddle" border="0" /></a> </td> <td width="100%" valign="middle" nowrap="nowrap"> <a href="{catcol.no_cat_parent.U_CAT}" class="cattitle">{catcol.no_cat_parent.CAT_NAME}</a> <span class="gensmall">({catcol.no_cat_parent.FILECAT})</span><br> {catcol.no_cat_parent.SUB_CAT} </td> </tr> </table> </td> <!-- END no_cat_parent --> </tr> <!-- END catcol --> </table> </td> </tr> </table> <br /> <!-- ENDIF --> <!-- IF FILELIST --> <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline"><tr><td> <!-- IF ORIGINAL_STYLE --> <table width="100%" cellpadding="4" cellspacing="1"> <tr> <th class="thCornerL" width="5%"> </th> <th class="thTop" width="57%"> {L_FILE} </th> <th class="thTop" width="15%"> {L_UPDATE_TIME} </th> <th class="thTop" width="10%"> {L_DOWNLOADS} </th> <!-- IF SHOW_RATINGS --> <th class="thTop" width="10%"> {L_RATING} </th> <!-- ENDIF --> <th class="thCornerR" width="3%"> </th> </tr> <!-- BEGIN file_rows --> <tr> <td class="row1" align="center" valign="middle"><a href="{file_rows.U_FILE}" class="topictitle ask target-block_{BLOCK_ID}"><img src="{file_rows.PIN_IMAGE}" border="0"></a></td> <td class="row1" valign="middle" onmouseout="this.className='row1';" onmouseover="this.className='row2';" onclick="window.location.href='{file_rows.U_FILE}';"><a href="{file_rows.U_FILE}" class="topictitle ask target-block_{BLOCK_ID}">{file_rows.FILE_NAME}</a> <!-- IF file_rows.IS_NEW_FILE --><img src="{file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"><!-- ENDIF --><br><span class="genmed">{file_rows.FILE_DESC}</span></td> <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{file_rows.UPDATED}</td> <td class="row2" align="center" valign="middle"><span class="postdetails">{file_rows.FILE_DLS}</td> <!-- IF file_rows.SHOW_RATINGS --> <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{file_rows.RATING}</td> <!-- ENDIF --> <td class="row2" align="center" valign="middle"> <!-- IF file_rows.HAS_SCREENSHOTS --> <!-- IF file_rows.SS_AS_LINK --> <a href="{file_rows.FILE_SCREENSHOT}" class="topictitle" target="_blank"><img src="{file_rows.FILE_SCREENSHOT_URL}" border="0" alt="{L_SCREENSHOTS}"></a> <!-- ELSE --> <a href="javascript:mpFoto('{file_rows.FILE_SCREENSHOT}')" class="topictitle"><img src="{file_rows.FILE_SCREENSHOT_URL}" border="0" alt="{L_SCREENSHOTS}"></a> <!-- ENDIF --> <!-- ELSE --> <!-- ENDIF --> </td> </tr> <!-- END file_rows --> </table> <!-- ELSE --> <table width="100%" cellpadding="3" cellspacing="1"> <tr> <th class="thHead" colspan="2">{L_FILES}</th> </tr> <!-- BEGIN file_rows --> <tr> <td rowspan="2" class="{file_rows.COLOR}" valign="middle"> <img src="{file_rows.PIN_IMAGE}" border="0" ></td> <td width="100%" class="{file_rows.COLOR}"> <a href="{file_rows.U_FILE}" class="topictitle">{file_rows.FILE_NAME}</a> <!-- IF file_rows.IS_NEW_FILE --> <img src="{file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"> <!-- ENDIF --> <br><span class="genmed">{file_rows.FILE_DESC}</span> </td> </tr> <tr> <td valign="top" align="left" class="{file_rows.COLOR}"> <span class="gensmall"> {L_UPDATE_TIME}: {file_rows.UPDATED} • {L_DOWNLOADS}: {file_rows.FILE_DLS} • {L_SUBMITED_BY} {file_rows.POSTER} <!-- IF SHOW_RATINGS --> • {file_rows.L_RATING}: {file_rows.RATING} ({file_rows.FILE_VOTES} {L_VOTES}) {file_rows.DO_RATE} <!-- ENDIF --> <!-- IF SHOW_COMMENTS --> • {file_rows.L_COMMENT}: {file_rows.COMMENTS} <!-- ENDIF --> </span> </td> </tr> <!-- END file_rows --> </table> <!-- ENDIF --> <form action="{S_ACTION_SORT}" method="post"> <table width="100%" cellpadding="4" cellspacing="1"> <input type="hidden" name="action" value="category"> <input type="hidden" name="cat_id" value="{ID}"> <input type="hidden" name="start" value="{START}"> <tr> <td class="cat" align="center" colspan="6"><span class="genmed">{L_SELECT_SORT_METHOD}: <select name="sort_method"> <option {SORT_NAME} value='file_name'>{L_NAME}</option> <option {SORT_TIME} value='file_time'>{L_DATE}</option> <!-- IF SHOW_RATINGS --> <option {SORT_RATING} value='file_rating'>{L_RATING}</option> <!-- ENDIF --> <option {SORT_DOWNLOADS} value='file_dls'>{L_DOWNLOADS}</option> <option {SORT_UPDATE_TIME} value='file_update_time'>{L_UPDATE_TIME}</option> </select> {L_ORDER}: <select name="sort_order"> <option {SORT_ASC} value="ASC">{L_ASC}</option> <option {SORT_DESC} value="DESC">{L_DESC}</option> </select> <input type="submit" name="submit" value="{L_SORT}" class="liteoption" /> </span></td> </tr> </table> </form> </td></tr></table> <!-- ENDIF --> <table width="100%" cellspacing="2" border="0" cellpadding="2"> <tr> <td align="left" nowrap="nowrap"><span class="nav">{PAGE_NUMBER}</span></td> <td align="right" nowrap="nowrap"><span class="nav">{PAGINATION}</span></td> </tr> </table> <!-- IF NO_FILE --> <table class="forumline" width="100%" cellspacing="1" cellpadding="4"> <tr> <th class="thHead">{L_NO_FILES}</th> </tr> <tr> <td class="row1" align="center" height="30"><span class="genmed">{L_NO_FILES_CAT}</span></td> </tr> </table> <!-- ENDIF --> <!-- INCLUDE pa_footer.tpl --> --- NEW FILE: pa_email_body.tpl --- <script language="JavaScript" type="text/javascript"> <!-- function checkForm(formObj) { formErrors = false; if (formObj.message.value.length < 2) { formErrors = "{L_EMPTY_MESSAGE_EMAIL}"; } else if ( formObj.subject.value.length < 2) { formErrors = "{L_EMPTY_SUBJECT_EMAIL}"; } if (formErrors) { alert(formErrors); return false; } } //--> </script> <!-- INCLUDE pa_header.tpl --> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_DOWNLOAD_HOME}" class="nav">{DOWNLOAD}</a><!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_CAT}" class="nav">{navlinks.CAT_NAME}</a><!-- END navlinks --> » <a href="{U_FILE_NAME}" class="nav">{FILE_NAME}</a> » {L_EMAIL}</span> </td> </tr> </table> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <th class="thHead" colspan="2">{L_EMAIL}</th> </tr> <tr> <td class="row2" colspan="2"><span class="genmed">{L_EMAILINFO}</span></td> </tr> <form action="{S_EMAIL_ACTION}" method="post" onSubmit="return checkForm(this)" name="post"> <tr> <td class="row1" width="30%"><span class="genmed">{L_YNAME}: </span></td> <td class="row2" width="70%"><!-- IF USER_LOGGED --><input class="post" type="text" size="50" name="sname"><!-- ELSE --><b><span class="genmed">{SNAME}</span></b><!-- ENDIF --></td> </tr> <tr> <td class="row1"><span class="genmed">{L_YEMAIL}: </span></td> <td class="row2"><!-- IF USER_LOGGED --><input class="post" type="text" size="50" name="semail"><!-- ELSE --><b><span class="genmed">{SEMAIL}</span></b><!-- ENDIF --></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FNAME}: </span></td> <td class="row2"><input class="post" type="text" size="50" name="fname"></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FEMAIL}: * </span></td> <td class="row2"><input class="post" type="text" size="50" name="femail"></td> </tr> <tr> <td class="row1"><span class="genmed">{L_ESUB}: </span></td> <td class="row2"><input class="post" type="text" size="50" name="subject" value="{FILE_NAME}"></td> </tr> <tr> <td class="row1"><span class="genmed">{L_ETEXT}: </span></td> <td class="row2"><textarea cols="38" rows="10" name="message">{L_DEFAULTMAIL} {FILE_URL}</textarea></td> </tr> <tr> <td class="cat" align="center" colspan="2">{S_HIDDEN_FIELDS}<input type="hidden" name="action" value="email"><input type="hidden" name="file_id" value="{ID}"><input class="liteoption" type="submit" name="submit" value="{L_SEMAIL}"></td> </tr> </form> </table> <!-- INCLUDE pa_footer.tpl --> --- NEW FILE: pa_mini.tpl --- <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" style="border-top:none;"><tr><td> <tr> <td> <table width="100%" cellpadding="4" cellspacing="1"> <tr><td align="center" class="row2"> <form method="get" name="jumpbox" action="{S_JUMPBOX_ACTION}" onSubmit="if(document.jumpbox.cat_id.value == -1){return false;}"> <input type="hidden" name="action" value="category" /> <input type="hidden" name="page" value="{MX_PAGE}" /> <select name="cat_id" onchange="if(this.options[this.selectedIndex].value != -1){ forms['jumpbox'].submit() }"> <option value="-1">{L_QUICK_JUMP}</option> {BLOCK_JUMPMENU} </select> <!--<input type="submit" value="{L_QUICK_GO}" class="liteoption" />--> </span> </form> </td></tr> </table> </td> </tr> <tr> <td align="center"> <!-- IF CAT_NAV_SIMPLE --> <table width="100%" cellpadding="2" cellspacing="1" border="0"> <tr><td class="row1"><table border="0" cellpadding="2" cellspacing="0" width="100%" > <!-- BEGIN catcol --> <!-- BEGIN no_cat_parent --> <tr> <td> <a href="{catcol.no_cat_parent.U_CAT}"><img src="{catcol.no_cat_parent.CAT_IMAGE}" alt="{catcol.no_cat_parent.CAT_NAME}" align="absmiddle" border="0" /></a> </td> <td width="100%" valign="middle" nowrap="nowrap"> <a href="{catcol.no_cat_parent.U_CAT}" class="topictitle">{catcol.no_cat_parent.CAT_NAME}</a> <span class="gensmall">({catcol.no_cat_parent.FILECAT})</span> </td> </tr> <!-- END no_cat_parent --> <!-- END catcol --> </table></td></tr> <tr valign="middle"> <td class="cat"><span class="gensmall"> </span></td> </tr> </table> <!-- ENDIF --> <!-- IF FILELIST --> <table width="100%" cellpadding="2" cellspacing="0"> <!-- BEGIN file_rows --> <tr> <td rowspan="2" class="{file_rows.COLOR}" valign="middle"> <img src="{file_rows.PIN_IMAGE}" border="0" ></td> <td width="100%" class="{file_rows.COLOR}"> <a href="{file_rows.U_FILE_JUMP}" class="topictitle">{file_rows.FILE_NAME}</a> <!-- BEGIN IS_NEW_FILE --> <!-- <img src="{file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"> --> <!-- END IS_NEW_FILE --> <br><span class="genmed">{file_rows.FILE_DESC}</span> </td> </tr> <tr> <td valign="top" align="left" class="{file_rows.COLOR}"> <span class="gensmall"> <!-- BEGIN display_username --> • {L_SUBMITED_BY} {file_rows.POSTER}<br /> <!-- END display_username --> <!-- BEGIN display_date --> • {L_UPDATE_TIME}: {file_rows.DATE}<br /> <!-- END display_date --> <!-- BEGIN display_counter --> • {L_DOWNLOADS}: {file_rows.FILE_DLS}<br /> <!-- END display_counter --> <!-- BEGIN display_rate --> • {file_rows.L_RATING}: {file_rows.RATING} ({file_rows.FILE_VOTES} {L_VOTES}) {file_rows.DO_RATE}<br /> <!-- END display_rate --> </span> </td> </tr> <!-- END file_rows --> <tr valign="middle"> <td align="right" colspan="2" valign="top" nowrap="nowrap" height="28" class="cat"><span class="gensmall">{BLOCK_PAGINATION}</span></td> </tr> </table> <!-- ENDIF --> <!-- IF NO_FILE --> <table width="100%" cellspacing="1" cellpadding="4"> <tr> <td class="row1" align="center" height="30"><span class="genmed">{L_NO_FILES_CAT}</span></td> </tr> </table> <!-- ENDIF --> </td></tr></table> --- NEW FILE: pa_search_body.tpl --- <!-- INCLUDE pa_header.tpl --> <form action="{S_SEARCH_ACTION}" method="post"> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_DOWNLOAD}" class="nav">{L_MODULE}</a> » {L_SEARCH}</span> </td> </tr> </table> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <th class="thHead" colspan="2"> {L_SEARCH}</th> </tr> <tr> <td class="row1" width="50%"><span class="gen">{L_SEARCH_KEYWORDS}:</span><br /><span class="gensmall">{L_SEARCH_KEYWORDS_EXPLAIN}</span></td> <td class="row2" valign="top"><span class="genmed"><input type="text" style="width: 300px" class="post" name="search_keywords" size="30" /><br /><input type="radio" name="search_terms" value="any" checked="checked" /> {L_SEARCH_ANY_TERMS}<br /><input type="radio" name="search_terms" value="all" /> {L_SEARCH_ALL_TERMS}</span></td> </tr> <tr> <td class="row1"><span class="gen">{L_SEARCH_AUTHOR}:</span><br /><span class="gensmall">{L_SEARCH_AUTHOR_EXPLAIN}</span></td> <td class="row2" valign="middle"><span class="genmed"><input type="text" style="width: 300px" class="post" name="search_author" size="30" /></span></td> </tr> <tr> <th class="thHead" colspan="2" height="25"> {L_SEARCH_OPTIONS}</th> </tr> <tr> <td class="row1" width="50%"><span class="genmed">{L_CHOOSE_CAT} </span></td> <td class="row2"><select name="cat_id" class="forminput"><option value="0" selected>{L_ALL}</option>{S_CAT_MENU}</select></td> </tr> <tr> <td class="row1" width="50%"><span class="genmed">{L_INCLUDE_COMMENTS}: </span></td> <td class="row2"><span class="genmed"><input type="radio" name="comments_search" value="YES" checked="checked" /> {L_YES} <input type="radio" name="comments_search" value="NO" /> {L_NO}</span></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SORT_BY}: </span></td> <td class="row2" valign="middle" nowrap="nowrap"><span class="genmed"> <select class="post" name="sort_method"> <option value='file_name'>{L_NAME}</option> <option selected="selected" value='file_time'>{L_DATE}</option> <option value='file_rating'>{L_RATING}</option> <option value='file_dls'>{L_DOWNLOADS}</option> <option value='file_update_time'>{L_UPDATE_TIME}</option> </select></span> </td> </tr> <tr> <td class="row1"><span class="genmed">{L_SORT_DIR}: </span></td> <td class="row2" valign="middle" nowrap="nowrap"><span class="genmed"><input type="radio" name="sort_order" value="ASC" /> {L_SORT_ASCENDING} <input type="radio" name="sort_order" value="DESC" checked /> {L_SORT_DESCENDING}</span> </td> </tr> <tr> <td class="cat" align="center" colspan="2"><input type="hidden" name="action" value="search"><input class="liteoption" type="submit" name="submit" value="{L_SEARCH}"></td> </tr> </form> </table> <!-- INCLUDE pa_footer.tpl --> --- NEW FILE: pa_viewall_body.tpl --- <!-- INCLUDE pa_header.tpl --> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_DOWNLOAD}" class="nav">{DOWNLOAD}</a> » {L_VIEWALL}</span> </td> </tr> </table> <!-- IF FILELIST --> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <th class="thCornerL" width="5%"> </th> <th class="thTop" width="35%">{L_FILE}</th> <th class="thTop" nowrap="nowrap"> {L_CATEGORY} </th> <th class="thTop" width="15%">{L_DATE}</th> <th class="thTop" width="10%">{L_DOWNLOADS}</th> <!-- IF SHOW_RATINGS --> <th class="thTop" width="10%">{L_RATING}</th> <!-- ENDIF --> <th class="thCornerR" width="3%"> </th> </tr> <!-- BEGIN file_rows --> <tr> <td class="row1" align="center" valign="middle"><a href="{file_rows.U_FILE}" class="topictitle"><img src="{file_rows.PIN_IMAGE}" border="0"></a></td> <td class="row1" valign="middle"><a href="{file_rows.U_FILE}" class="topictitle">{file_rows.FILE_NAME}</a> <!-- IF file_rows.IS_NEW_FILE --><img src="{file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"><!-- ENDIF --><br><span class="genmed">{file_rows.FILE_DESC}</span></td> <td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="forumlink"><a href="{file_rows.U_CAT}" class="forumlink">{file_rows.CAT_NAME}</a></span></td> <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{file_rows.DATE}</td> <td class="row2" align="center" valign="middle"><span class="postdetails">{file_rows.FILE_DLS}</td> <!-- IF file_rows.SHOW_RATINGS --> <td class="row2" align="center" valign="mid... [truncated message content] |
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23199/admin Modified Files: admin_cat_manage.php admin_catauth_manage.php admin_custom_manage.php admin_license_manage.php admin_settings.php admin_ug_auth_manage.php Log Message: for 2.9.x Index: admin_cat_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/admin/admin_cat_manage.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_cat_manage.php 13 Aug 2006 19:44:45 -0000 1.3 --- admin_cat_manage.php 9 Sep 2007 20:16:16 -0000 1.4 *************** *** 18,22 **** function main( $action ) { ! global $db, $images, $template, $pafiledb_template, $lang, $phpEx, $pafiledb_functions, $pafiledb_cache, $pafiledb_config, $phpbb_root_path, $module_root_path, $mx_root_path, $mx_request_vars; // --- 18,22 ---- function main( $action ) { ! global $db, $images, $template, $template, $lang, $phpEx, $pafiledb_functions, $pafiledb_cache, $pafiledb_config, $phpbb_root_path, $module_root_path, $mx_root_path, $mx_request_vars; // *************** *** 36,40 **** { $this->_pafiledb(); ! $message = $lang['Catadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=cat_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_edit_permissions'], '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=catauth_manage&cat_id=$new_cat_id" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 36,40 ---- { $this->_pafiledb(); ! $message = $lang['Catadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=cat_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_edit_permissions'], '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=catauth_manage&cat_id=$new_cat_id" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 47,51 **** { $this->_pafiledb(); ! $message = $lang['Catedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=cat_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_edit_permissions'], '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=catauth_manage&cat_id=$new_cat_id" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 47,51 ---- { $this->_pafiledb(); ! $message = $lang['Catedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=cat_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_edit_permissions'], '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=catauth_manage&cat_id=$new_cat_id" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 58,62 **** { $this->_pafiledb(); ! $message = $lang['Catsdeleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=cat_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 58,62 ---- { $this->_pafiledb(); ! $message = $lang['Catsdeleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=cat_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . mx_append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 107,115 **** } ! $pafiledb_template->set_filenames( array( 'admin' => $template_file ) ); ! if ( sizeof( $this->error ) ) $pafiledb_template->assign_block_vars( 'pafiledb_error', array() ); ! $pafiledb_template->assign_vars( array( 'L_CAT_TITLE' => $l_title, 'L_CAT_EXPLAIN' => $l_explain, --- 107,115 ---- } ! $template->set_filenames( array( 'admin' => $template_file ) ); ! if ( sizeof( $this->error ) ) $template->assign_block_vars( 'pafiledb_error', array() ); ! $template->assign_vars( array( 'L_CAT_TITLE' => $l_title, 'L_CAT_EXPLAIN' => $l_explain, *************** *** 117,126 **** 'ERROR' => ( sizeof( $this->error ) ) ? implode( '<br />', $this->error ) : '', 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_CAT_ACTION' => append_sid( "admin_pafiledb.$phpEx?action=cat_manage" ) )); if ( $mode == '' || $mode == 'cat_order' || $mode == 'sync' || $mode == 'sync_all' ) { ! $pafiledb_template->assign_vars( array( 'L_CREATE_CATEGORY' => $lang['Create_category'], 'L_EDIT' => $lang['Edit'], --- 117,126 ---- 'ERROR' => ( sizeof( $this->error ) ) ? implode( '<br />', $this->error ) : '', 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_CAT_ACTION' => mx_append_sid( "admin_pafiledb.$phpEx?action=cat_manage" ) )); if ( $mode == '' || $mode == 'cat_order' || $mode == 'sync' || $mode == 'sync_all' ) { ! $template->assign_vars( array( 'L_CREATE_CATEGORY' => $lang['Create_category'], 'L_EDIT' => $lang['Edit'], *************** *** 261,265 **** } ! $pafiledb_template->assign_vars( array( 'CAT_NAME' => $cat_name, 'CAT_DESC' => $cat_desc, --- 261,265 ---- } ! $template->assign_vars( array( 'CAT_NAME' => $cat_name, 'CAT_DESC' => $cat_desc, *************** *** 366,370 **** $file_to_select_cat = $this->generate_jumpbox( 0, 0, '', true ); ! $pafiledb_template->assign_vars( array( 'S_SELECT_CAT' => $select_cat, 'S_FILE_SELECT_CAT' => $file_to_select_cat, --- 366,370 ---- $file_to_select_cat = $this->generate_jumpbox( 0, 0, '', true ); ! $template->assign_vars( array( 'S_SELECT_CAT' => $select_cat, 'S_FILE_SELECT_CAT' => $file_to_select_cat, *************** *** 380,384 **** } ! $pafiledb_template->display( 'admin' ); $this->_pafiledb(); --- 380,384 ---- } ! $template->pparse( 'admin' ); $this->_pafiledb(); Index: admin_settings.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/admin/admin_settings.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_settings.php 13 Aug 2006 19:44:45 -0000 1.4 --- admin_settings.php 9 Sep 2007 20:16:17 -0000 1.5 *************** *** 71,75 **** if ( $config_name == 'tpl_php' && isset( $_POST[$config_name] ) && $new[$config_name] != $pa_config[$config_name] ) { ! $pafiledb_template->compile_cache_clear(); } --- 71,75 ---- if ( $config_name == 'tpl_php' && isset( $_POST[$config_name] ) && $new[$config_name] != $pa_config[$config_name] ) { ! $template->compile_cache_clear(); } *************** *** 81,85 **** { $pafiledb_cache->unload(); ! $message = $lang['Settings_changed'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=settings" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 81,85 ---- { $pafiledb_cache->unload(); ! $message = $lang['Settings_changed'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=settings" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . mx_append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 269,273 **** $template->assign_vars( array( ! 'S_SETTINGS_ACTION' => append_sid( "admin_pafiledb.$phpEx?action=settings" ), 'L_CONFIGURATION_TITLE' => $lang['Panel_config_title'], --- 269,273 ---- $template->assign_vars( array( ! 'S_SETTINGS_ACTION' => mx_append_sid( "admin_pafiledb.$phpEx?action=settings" ), 'L_CONFIGURATION_TITLE' => $lang['Panel_config_title'], Index: admin_ug_auth_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/admin/admin_ug_auth_manage.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_ug_auth_manage.php 13 Aug 2006 19:44:45 -0000 1.4 --- admin_ug_auth_manage.php 9 Sep 2007 20:16:17 -0000 1.5 *************** *** 18,22 **** function main( $action ) { ! global $db, $images, $template, $pafiledb_template, $lang, $phpEx, $pafiledb_functions, $pafiledb_cache, $pafiledb_config, $phpbb_root_path, $module_root_path, $mx_root_path, $mx_request_vars; global $cat_auth_fields, $cat_auth_const, $cat_auth_levels, $global_auth_fields; global $optionlist_mod, $optionlist_acl_adv; --- 18,22 ---- function main( $action ) { ! global $db, $images, $template, $template, $lang, $phpEx, $pafiledb_functions, $pafiledb_cache, $pafiledb_config, $phpbb_root_path, $module_root_path, $mx_root_path, $mx_request_vars; global $cat_auth_fields, $cat_auth_const, $cat_auth_levels, $global_auth_fields; global $optionlist_mod, $optionlist_acl_adv; *************** *** 64,77 **** $permissions_menu = array( ! append_sid( "admin_pafiledb.$phpEx?action=catauth_manage" ) => $lang['Cat_Permissions'], ! append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=user" ) => $lang['User_Permissions'], ! append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=group" ) => $lang['Group_Permissions'], ! append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=global_user" ) => $lang['User_Global_Permissions'], ! append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=global_group" ) => $lang['Group_Global_Permissions'] ); foreach( $permissions_menu as $url => $l_name ) { ! $pafiledb_template->assign_block_vars( 'pertype', array( 'U_NAME' => $url, 'L_NAME' => $l_name --- 64,77 ---- $permissions_menu = array( ! mx_append_sid( "admin_pafiledb.$phpEx?action=catauth_manage" ) => $lang['Cat_Permissions'], ! mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=user" ) => $lang['User_Permissions'], ! mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=group" ) => $lang['Group_Permissions'], ! mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=global_user" ) => $lang['User_Global_Permissions'], ! mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=global_group" ) => $lang['Group_Global_Permissions'] ); foreach( $permissions_menu as $url => $l_name ) { ! $template->assign_block_vars( 'pertype', array( 'U_NAME' => $url, 'L_NAME' => $l_name *************** *** 242,246 **** $l_auth_return = ( $mode == 'user' ) ? $lang['Click_return_userauth'] : $lang['Click_return_groupauth']; ! $message = $lang['Auth_updated'] . '<br /><br />' . sprintf( $l_auth_return, '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=$mode" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 242,246 ---- $l_auth_return = ( $mode == 'user' ) ? $lang['Click_return_userauth'] : $lang['Click_return_groupauth']; ! $message = $lang['Auth_updated'] . '<br /><br />' . sprintf( $l_auth_return, '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=$mode" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . mx_append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 372,376 **** $l_auth_return = ( $mode == 'global_user' ) ? $lang['Click_return_userauth'] : $lang['Click_return_groupauth']; ! $message = $lang['Auth_updated'] . '<br /><br />' . sprintf( $l_auth_return, '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=$mode" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 372,376 ---- $l_auth_return = ( $mode == 'global_user' ) ? $lang['Click_return_userauth'] : $lang['Click_return_groupauth']; ! $message = $lang['Auth_updated'] . '<br /><br />' . sprintf( $l_auth_return, '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=$mode" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . mx_append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 530,534 **** $ug = ( $mode == 'user' ) ? 'group&' . POST_GROUPS_URL : 'user&' . POST_USERS_URL; ! $t_usergroup_list .= ( ( $t_usergroup_list != '' ) ? ', ' : '' ) . '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=$ug=" . $id[$i] ) . '">' . $name[$i] . '</a>'; } } --- 530,534 ---- $ug = ( $mode == 'user' ) ? 'group&' . POST_GROUPS_URL : 'user&' . POST_USERS_URL; ! $t_usergroup_list .= ( ( $t_usergroup_list != '' ) ? ', ' : '' ) . '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=$ug=" . $id[$i] ) . '">' . $name[$i] . '</a>'; } } *************** *** 542,546 **** $cell_title = $field_names[$cat_auth_fields[$i]]; ! $pafiledb_template->assign_block_vars( 'acltype', array( 'L_UG_ACL_TYPE' => $cell_title ) ); $s_column_span++; } --- 542,546 ---- $cell_title = $field_names[$cat_auth_fields[$i]]; ! $template->assign_block_vars( 'acltype', array( 'L_UG_ACL_TYPE' => $cell_title ) ); $s_column_span++; } *************** *** 549,557 **** $s_hidden_fields .= ( $mode == 'user' ) ? '<input type="hidden" name="' . POST_USERS_URL . '" value="' . $user_id . '" />' : '<input type="hidden" name="' . POST_GROUPS_URL . '" value="' . $group_id . '" />'; ! $pafiledb_template->set_filenames( array( 'body' => 'admin/pa_auth_ug_body.tpl' ) ); if ( $mode == 'user' ) { ! $pafiledb_template->assign_vars( array( 'USER' => true, 'USERNAME' => $t_username, --- 549,557 ---- $s_hidden_fields .= ( $mode == 'user' ) ? '<input type="hidden" name="' . POST_USERS_URL . '" value="' . $user_id . '" />' : '<input type="hidden" name="' . POST_GROUPS_URL . '" value="' . $group_id . '" />'; ! $template->set_filenames( array( 'body' => 'admin/pa_auth_ug_body.tpl' ) ); if ( $mode == 'user' ) { ! $template->assign_vars( array( 'USER' => true, 'USERNAME' => $t_username, *************** *** 562,566 **** else { ! $pafiledb_template->assign_vars( array( 'USER' => false, 'USERNAME' => $t_groupname, --- 562,566 ---- else { ! $template->assign_vars( array( 'USER' => false, 'USERNAME' => $t_groupname, *************** *** 569,573 **** } ! $pafiledb_template->assign_vars( array( 'SHOW_MOD' => true, 'L_USER_OR_GROUPNAME' => ( $mode == 'user' ) ? $lang['Username'] : $lang['Group_name'], --- 569,573 ---- } ! $template->assign_vars( array( 'SHOW_MOD' => true, 'L_USER_OR_GROUPNAME' => ( $mode == 'user' ) ? $lang['Username'] : $lang['Group_name'], *************** *** 581,588 **** 'L_CAT' => $lang['Category'], ! 'U_USER_OR_GROUP' => append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage" ), 'S_COLUMN_SPAN' => $s_column_span + 2, ! 'S_AUTH_ACTION' => append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage" ), 'S_HIDDEN_FIELDS' => $s_hidden_fields )); --- 581,588 ---- 'L_CAT' => $lang['Category'], ! 'U_USER_OR_GROUP' => mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage" ), 'S_COLUMN_SPAN' => $s_column_span + 2, ! 'S_AUTH_ACTION' => mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage" ), 'S_HIDDEN_FIELDS' => $s_hidden_fields )); *************** *** 714,728 **** } ! $pafiledb_template->assign_block_vars( 'cat_row', array( 'CAT_NAME' => ( $mode == 'global_user' ) ? $lang['User_Global_Permissions'] : $lang['Group_Global_Permissions'], 'IS_HIGHER_CAT' => false, 'PRE' => '', ! 'U_CAT' => append_sid( "admin_pafiledb.$phpEx?action=settings" ) )); for( $j = 0; $j < count( $global_auth_fields ); $j++ ) { ! $pafiledb_template->assign_block_vars( 'cat_row.aclvalues', array( 'S_ACL_SELECT' => $optionlist_acl_adv[$j] ) ); } --- 714,728 ---- } ! $template->assign_block_vars( 'cat_row', array( 'CAT_NAME' => ( $mode == 'global_user' ) ? $lang['User_Global_Permissions'] : $lang['Group_Global_Permissions'], 'IS_HIGHER_CAT' => false, 'PRE' => '', ! 'U_CAT' => mx_append_sid( "admin_pafiledb.$phpEx?action=settings" ) )); for( $j = 0; $j < count( $global_auth_fields ); $j++ ) { ! $template->assign_block_vars( 'cat_row.aclvalues', array( 'S_ACL_SELECT' => $optionlist_acl_adv[$j] ) ); } *************** *** 754,758 **** $ug = ( $mode == 'global_user' ) ? 'global_group&' . POST_GROUPS_URL : 'global_user&' . POST_USERS_URL; ! $t_usergroup_list .= ( ( $t_usergroup_list != '' ) ? ', ' : '' ) . '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=$ug=" . $id[$i] ) . '">' . $name[$i] . '</a>'; } } --- 754,758 ---- $ug = ( $mode == 'global_user' ) ? 'global_group&' . POST_GROUPS_URL : 'global_user&' . POST_USERS_URL; ! $t_usergroup_list .= ( ( $t_usergroup_list != '' ) ? ', ' : '' ) . '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=$ug=" . $id[$i] ) . '">' . $name[$i] . '</a>'; } } *************** *** 766,770 **** $cell_title = $global_fields_names[$global_auth_fields[$i]]; ! $pafiledb_template->assign_block_vars( 'acltype', array( 'L_UG_ACL_TYPE' => $cell_title ) ); $s_column_span++; } --- 766,770 ---- $cell_title = $global_fields_names[$global_auth_fields[$i]]; ! $template->assign_block_vars( 'acltype', array( 'L_UG_ACL_TYPE' => $cell_title ) ); $s_column_span++; } *************** *** 773,781 **** $s_hidden_fields .= ( $mode == 'global_user' ) ? '<input type="hidden" name="' . POST_USERS_URL . '" value="' . $user_id . '" />' : '<input type="hidden" name="' . POST_GROUPS_URL . '" value="' . $group_id . '" />'; ! $pafiledb_template->set_filenames( array( 'body' => 'admin/pa_auth_ug_body.tpl' ) ); if ( $mode == 'global_user' ) { ! $pafiledb_template->assign_vars( array( 'USER' => true, 'USERNAME' => $t_username, --- 773,781 ---- $s_hidden_fields .= ( $mode == 'global_user' ) ? '<input type="hidden" name="' . POST_USERS_URL . '" value="' . $user_id . '" />' : '<input type="hidden" name="' . POST_GROUPS_URL . '" value="' . $group_id . '" />'; ! $template->set_filenames( array( 'body' => 'admin/pa_auth_ug_body.tpl' ) ); if ( $mode == 'global_user' ) { ! $template->assign_vars( array( 'USER' => true, 'USERNAME' => $t_username, *************** *** 786,790 **** else { ! $pafiledb_template->assign_vars( array( 'USER' => false, 'USERNAME' => $t_groupname, --- 786,790 ---- else { ! $template->assign_vars( array( 'USER' => false, 'USERNAME' => $t_groupname, *************** *** 793,797 **** } ! $pafiledb_template->assign_vars( array( 'SHOW_MOD' => false, --- 793,797 ---- } ! $template->assign_vars( array( 'SHOW_MOD' => false, *************** *** 805,812 **** 'L_CAT' => ( $mode == 'global_user' ) ? $lang['User_Global_Permissions'] : $lang['Group_Global_Permissions'], ! 'U_USER_OR_GROUP' => append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage" ), 'S_COLUMN_SPAN' => $s_column_span + 1, ! 'S_AUTH_ACTION' => append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage" ), 'S_HIDDEN_FIELDS' => $s_hidden_fields )); --- 805,812 ---- 'L_CAT' => ( $mode == 'global_user' ) ? $lang['User_Global_Permissions'] : $lang['Group_Global_Permissions'], ! 'U_USER_OR_GROUP' => mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage" ), 'S_COLUMN_SPAN' => $s_column_span + 1, ! 'S_AUTH_ACTION' => mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage" ), 'S_HIDDEN_FIELDS' => $s_hidden_fields )); *************** *** 816,826 **** // Select a user/group ! $pafiledb_template->set_filenames( array( 'body' => ( $mode == 'user' || $mode == 'global_user' ) ? 'admin/user_select_body.tpl' : 'admin/auth_select_body.tpl' ) ); if ( $mode == 'user' || $mode == 'global_user' ) { ! $pafiledb_template->assign_vars( array( 'L_FIND_USERNAME' => $lang['Find_username'], ! 'U_SEARCH_USER' => append_sid( $phpbb_root_path . "search.$phpEx?mode=searchuser" ) )); } --- 816,826 ---- // Select a user/group ! $template->set_filenames( array( 'body' => ( $mode == 'user' || $mode == 'global_user' ) ? 'admin/user_select_body.tpl' : 'admin/auth_select_body.tpl' ) ); if ( $mode == 'user' || $mode == 'global_user' ) { ! $template->assign_vars( array( 'L_FIND_USERNAME' => $lang['Find_username'], ! 'U_SEARCH_USER' => mx_append_sid( $phpbb_root_path . "search.$phpEx?mode=searchuser" ) )); } *************** *** 846,850 **** } ! $pafiledb_template->assign_vars( array( 'S_AUTH_SELECT' => $select_list ) ); } --- 846,850 ---- } ! $template->assign_vars( array( 'S_AUTH_SELECT' => $select_list ) ); } *************** *** 853,857 **** $l_type = ( $mode == 'user' || $mode == 'global_user' ) ? 'USER' : 'AUTH'; ! $pafiledb_template->assign_vars( array( 'L_' . $l_type . '_TITLE' => ( $mode == 'user' || $mode == 'global_user' ) ? $lang['Auth_Control_User'] : $lang['Auth_Control_Group'], 'L_' . $l_type . '_EXPLAIN' => ( $mode == 'user' || $mode == 'global_user' ) ? $lang['User_auth_explain'] : $lang['Group_auth_explain'], --- 853,857 ---- $l_type = ( $mode == 'user' || $mode == 'global_user' ) ? 'USER' : 'AUTH'; ! $template->assign_vars( array( 'L_' . $l_type . '_TITLE' => ( $mode == 'user' || $mode == 'global_user' ) ? $lang['Auth_Control_User'] : $lang['Auth_Control_Group'], 'L_' . $l_type . '_EXPLAIN' => ( $mode == 'user' || $mode == 'global_user' ) ? $lang['User_auth_explain'] : $lang['Group_auth_explain'], *************** *** 860,868 **** 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_' . $l_type . '_ACTION' => append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage" ) )); } ! $pafiledb_template->display( 'body' ); $this->_pafiledb(); --- 860,868 ---- 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_' . $l_type . '_ACTION' => mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage" ) )); } ! $template->pparse( 'body' ); $this->_pafiledb(); Index: admin_custom_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/admin/admin_custom_manage.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_custom_manage.php 13 Aug 2006 19:44:45 -0000 1.4 --- admin_custom_manage.php 9 Sep 2007 20:16:17 -0000 1.5 *************** *** 18,22 **** function main( $action ) { ! global $db, $images, $template, $pafiledb_template, $lang, $phpEx, $pafiledb_functions, $pafiledb_cache, $pafiledb_config, $phpbb_root_path, $module_root_path, $mx_root_path, $mx_request_vars; // --- 18,22 ---- function main( $action ) { ! global $db, $images, $template, $template, $lang, $phpEx, $pafiledb_functions, $pafiledb_cache, $pafiledb_config, $phpbb_root_path, $module_root_path, $mx_root_path, $mx_request_vars; // *************** *** 65,69 **** $custom_field->update_add_field( $field_type ); ! $message = $lang['Fieldadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( 'admin_pafiledb.' . $phpEx . '?action=custom_manage' ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( 'index.' . $phpEx . '?pane=right' ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 65,69 ---- $custom_field->update_add_field( $field_type ); ! $message = $lang['Fieldadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( 'admin_pafiledb.' . $phpEx . '?action=custom_manage' ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . mx_append_sid( 'index.' . $phpEx . '?pane=right' ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 72,76 **** $custom_field->update_add_field( $field_type, $field_id ); ! $message = $lang['Fieldedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( 'admin_pafiledb.' . $phpEx . '?action=custom_manage' ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( 'index.' . $phpEx . '?pane=right' ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 72,76 ---- $custom_field->update_add_field( $field_type, $field_id ); ! $message = $lang['Fieldedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( 'admin_pafiledb.' . $phpEx . '?action=custom_manage' ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . mx_append_sid( 'index.' . $phpEx . '?pane=right' ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 82,91 **** } ! $message = $lang['Fieldsdel'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( 'admin_pafiledb.' . $phpEx . '?action=custom_manage' ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( 'index.' . $phpEx . '?pane=right' ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } } ! $pafiledb_template->set_filenames( array( 'admin' => $template_file ) ); switch ( $mode ) --- 82,91 ---- } ! $message = $lang['Fieldsdel'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( 'admin_pafiledb.' . $phpEx . '?action=custom_manage' ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . mx_append_sid( 'index.' . $phpEx . '?pane=right' ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } } ! $template->set_filenames( array( 'admin' => $template_file ) ); switch ( $mode ) *************** *** 128,132 **** } ! $pafiledb_template->assign_vars( array( 'L_FIELD_TITLE' => $l_title, 'L_FIELD_EXPLAIN' => $lang['Fieldexplain'], --- 128,132 ---- } ! $template->assign_vars( array( 'L_FIELD_TITLE' => $l_title, 'L_FIELD_EXPLAIN' => $lang['Fieldexplain'], *************** *** 134,138 **** 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_FIELD_ACTION' => append_sid( "admin_pafiledb.$phpEx?action=custom_manage" ) )); --- 134,138 ---- 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_FIELD_ACTION' => mx_append_sid( "admin_pafiledb.$phpEx?action=custom_manage" ) )); *************** *** 144,148 **** } ! $pafiledb_template->assign_vars( array( 'L_FIELD_NAME' => $lang['Fieldname'], 'L_FIELD_NAME_INFO' => $lang['Fieldnameinfo'], --- 144,148 ---- } ! $template->assign_vars( array( 'L_FIELD_NAME' => $lang['Fieldname'], 'L_FIELD_NAME_INFO' => $lang['Fieldnameinfo'], *************** *** 177,181 **** $field_type_list .= '</select>'; ! $pafiledb_template->assign_vars( array( 'S_SELECT_FIELD_TYPE' => $field_type_list ) ); } elseif ( $mode == 'edit' || $mode == 'delete' || $mode == 'select' ) --- 177,181 ---- $field_type_list .= '</select>'; ! $template->assign_vars( array( 'S_SELECT_FIELD_TYPE' => $field_type_list ) ); } elseif ( $mode == 'edit' || $mode == 'delete' || $mode == 'select' ) *************** *** 183,187 **** foreach( $custom_field->field_rowset as $field_id => $field_data ) { ! $pafiledb_template->assign_block_vars( 'field_row', array( 'FIELD_ID' => $field_id, 'FIELD_NAME' => $field_data['custom_name'], --- 183,187 ---- foreach( $custom_field->field_rowset as $field_id => $field_data ) { ! $template->assign_block_vars( 'field_row', array( 'FIELD_ID' => $field_id, 'FIELD_NAME' => $field_data['custom_name'], *************** *** 192,196 **** // Output ! $pafiledb_template->display( 'admin' ); $this->_pafiledb(); $pafiledb_cache->unload(); --- 192,196 ---- // Output ! $template->pparse( 'admin' ); $this->_pafiledb(); $pafiledb_cache->unload(); Index: admin_catauth_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/admin/admin_catauth_manage.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_catauth_manage.php 13 Aug 2006 19:44:45 -0000 1.4 --- admin_catauth_manage.php 9 Sep 2007 20:16:17 -0000 1.5 *************** *** 18,22 **** function main( $action ) { ! global $db, $images, $template, $pafiledb_template, $lang, $phpEx, $pafiledb_functions, $pafiledb_cache, $pafiledb_config, $phpbb_root_path, $module_root_path, $mx_root_path, $mx_request_vars; global $cat_auth_fields, $cat_auth_const, $cat_auth_levels, $global_auth_fields; global $cat_auth_approval_fields, $cat_auth_approval_const, $cat_auth_approval_levels; --- 18,22 ---- function main( $action ) { ! global $db, $images, $template, $template, $lang, $phpEx, $pafiledb_functions, $pafiledb_cache, $pafiledb_config, $phpbb_root_path, $module_root_path, $mx_root_path, $mx_request_vars; global $cat_auth_fields, $cat_auth_const, $cat_auth_levels, $global_auth_fields; global $cat_auth_approval_fields, $cat_auth_approval_const, $cat_auth_approval_levels; *************** *** 104,108 **** } ! $message = $lang['Category_auth_updated'] . '<br /><br />' . sprintf( $lang['Click_return_catauth'], '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=catauth_manage" ) . '">', "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 104,108 ---- } ! $message = $lang['Category_auth_updated'] . '<br /><br />' . sprintf( $lang['Click_return_catauth'], '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=catauth_manage" ) . '">', "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 112,128 **** // specified ! $pafiledb_template->set_filenames( array( 'body' => 'admin/pa_auth_cat_body.tpl' ) ); $permissions_menu = array( ! append_sid( "admin_pafiledb.$phpEx?action=catauth_manage" ) => $lang['Cat_Permissions'], ! append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=user" ) => $lang['User_Permissions'], ! append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=group" ) => $lang['Group_Permissions'], ! append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=global_user" ) => $lang['User_Global_Permissions'], ! append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=global_group" ) => $lang['Group_Global_Permissions'] ); foreach( $permissions_menu as $url => $l_name ) { ! $pafiledb_template->assign_block_vars( 'pertype', array( 'U_NAME' => $url, 'L_NAME' => $l_name --- 112,128 ---- // specified ! $template->set_filenames( array( 'body' => 'admin/pa_auth_cat_body.tpl' ) ); $permissions_menu = array( ! mx_append_sid( "admin_pafiledb.$phpEx?action=catauth_manage" ) => $lang['Cat_Permissions'], ! mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=user" ) => $lang['User_Permissions'], ! mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=group" ) => $lang['Group_Permissions'], ! mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=global_user" ) => $lang['User_Global_Permissions'], ! mx_append_sid( "admin_pafiledb.$phpEx?action=ug_auth_manage&mode=global_group" ) => $lang['Group_Global_Permissions'] ); foreach( $permissions_menu as $url => $l_name ) { ! $template->assign_block_vars( 'pertype', array( 'U_NAME' => $url, 'L_NAME' => $l_name *************** *** 137,141 **** $cell_title = $field_names[$cat_auth_fields[$j]]; ! $pafiledb_template->assign_block_vars( 'cat_auth_titles', array( 'CELL_TITLE' => $cell_title ) ); } --- 137,141 ---- $cell_title = $field_names[$cat_auth_fields[$j]]; ! $template->assign_block_vars( 'cat_auth_titles', array( 'CELL_TITLE' => $cell_title ) ); } *************** *** 144,148 **** $cell_title = $field_names[$cat_auth_approval_fields[$j]]; ! $pafiledb_template->assign_block_vars( 'cat_auth_titles', array( 'CELL_TITLE' => $cell_title ) ); } --- 144,148 ---- $cell_title = $field_names[$cat_auth_approval_fields[$j]]; ! $template->assign_block_vars( 'cat_auth_titles', array( 'CELL_TITLE' => $cell_title ) ); } *************** *** 154,161 **** elseif ( !empty( $cat_id ) ) { ! $pafiledb_template->assign_block_vars( 'cat_row', array( 'CATEGORY_NAME' => $this->cat_rowset[$cat_id]['cat_name'], 'IS_HIGHER_CAT' => ( $this->cat_rowset[$cat_id] ) ? false : true, ! 'U_CAT' => append_sid( "admin_pafiledb.$phpEx?action=catauth_manage&cat_parent={$this->cat_rowset[$cat_id]['cat_parent']}" ) )); --- 154,161 ---- elseif ( !empty( $cat_id ) ) { ! $template->assign_block_vars( 'cat_row', array( 'CATEGORY_NAME' => $this->cat_rowset[$cat_id]['cat_name'], 'IS_HIGHER_CAT' => ( $this->cat_rowset[$cat_id] ) ? false : true, ! 'U_CAT' => mx_append_sid( "admin_pafiledb.$phpEx?action=catauth_manage&cat_parent={$this->cat_rowset[$cat_id]['cat_parent']}" ) )); *************** *** 174,178 **** $custom_auth[$j] .= '</select> '; ! $pafiledb_template->assign_block_vars( 'cat_row.cat_auth_data', array( 'S_AUTH_LEVELS_SELECT' => $custom_auth[$j] ) ); } --- 174,178 ---- $custom_auth[$j] .= '</select> '; ! $template->assign_block_vars( 'cat_row.cat_auth_data', array( 'S_AUTH_LEVELS_SELECT' => $custom_auth[$j] ) ); } *************** *** 191,195 **** $custom_auth_approval[$j] .= '</select> '; ! $pafiledb_template->assign_block_vars( 'cat_row.cat_auth_data', array( 'S_AUTH_LEVELS_SELECT' => $custom_auth_approval[$j] ) ); } --- 191,195 ---- $custom_auth_approval[$j] .= '</select> '; ! $template->assign_block_vars( 'cat_row.cat_auth_data', array( 'S_AUTH_LEVELS_SELECT' => $custom_auth_approval[$j] ) ); } *************** *** 200,204 **** $s_column_span = count( $cat_auth_fields ) + count( $cat_auth_approval_fields ) + 2; ! $pafiledb_template->assign_vars( array( 'CATEGORY_NAME' => $cat_name, --- 200,204 ---- $s_column_span = count( $cat_auth_fields ) + count( $cat_auth_approval_fields ) + 2; ! $template->assign_vars( array( 'CATEGORY_NAME' => $cat_name, *************** *** 209,213 **** 'L_RESET' => $lang['Reset'], ! 'S_CATAUTH_ACTION' => append_sid( "admin_pafiledb.$phpEx?action=catauth_manage" ), 'S_COLUMN_SPAN' => $s_column_span, 'S_HIDDEN_FIELDS' => $s_hidden_fields --- 209,213 ---- 'L_RESET' => $lang['Reset'], ! 'S_CATAUTH_ACTION' => mx_append_sid( "admin_pafiledb.$phpEx?action=catauth_manage" ), 'S_COLUMN_SPAN' => $s_column_span, 'S_HIDDEN_FIELDS' => $s_hidden_fields *************** *** 215,219 **** // Output ! $pafiledb_template->display( 'body' ); $this->_pafiledb(); $pafiledb_cache->unload(); --- 215,219 ---- // Output ! $template->pparse( 'body' ); $this->_pafiledb(); $pafiledb_cache->unload(); Index: admin_license_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/admin/admin_license_manage.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_license_manage.php 13 Aug 2006 19:44:45 -0000 1.3 --- admin_license_manage.php 9 Sep 2007 20:16:17 -0000 1.4 *************** *** 54,58 **** } ! $message = $lang['Licenseadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=license_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 54,58 ---- } ! $message = $lang['Licenseadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=license_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . mx_append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 61,65 **** { $template->assign_vars( array( ! 'S_ADD_LIC_ACTION' => append_sid( "admin_pafiledb.$phpEx?action=license_manage" ), 'L_ALICENSETITLE' => $lang['Alicensetitle'], 'L_LICENSEEXPLAIN' => $lang['Licenseexplain'], --- 61,65 ---- { $template->assign_vars( array( ! 'S_ADD_LIC_ACTION' => mx_append_sid( "admin_pafiledb.$phpEx?action=license_manage" ), 'L_ALICENSETITLE' => $lang['Alicensetitle'], 'L_LICENSEEXPLAIN' => $lang['Licenseexplain'], *************** *** 100,104 **** } ! $message = $lang['Licenseedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=license_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 100,104 ---- } ! $message = $lang['Licenseedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=license_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . mx_append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 124,128 **** $template->assign_vars( array( ! 'S_EDIT_LIC_ACTION' => append_sid( "admin_pafiledb.$phpEx?action=license_manage" ), 'L_ELICENSETITLE' => $lang['Elicensetitle'], 'L_LICENSEEXPLAIN' => $lang['Licenseexplain'], --- 124,128 ---- $template->assign_vars( array( ! 'S_EDIT_LIC_ACTION' => mx_append_sid( "admin_pafiledb.$phpEx?action=license_manage" ), 'L_ELICENSETITLE' => $lang['Elicensetitle'], 'L_LICENSEEXPLAIN' => $lang['Licenseexplain'], *************** *** 152,156 **** $template->assign_vars( array( ! 'S_EDIT_LIC_ACTION' => append_sid( "admin_pafiledb.$phpEx?action=license_manage" ), 'L_ELICENSETITLE' => $lang['Elicensetitle'], 'L_LICENSEEXPLAIN' => $lang['Licenseexplain'], --- 152,156 ---- $template->assign_vars( array( ! 'S_EDIT_LIC_ACTION' => mx_append_sid( "admin_pafiledb.$phpEx?action=license_manage" ), 'L_ELICENSETITLE' => $lang['Elicensetitle'], 'L_LICENSEEXPLAIN' => $lang['Licenseexplain'], *************** *** 180,184 **** if ( empty( $select ) ) { ! $message = $lang['lderror'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=license_manage&license=delete" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); --- 180,184 ---- if ( empty( $select ) ) { ! $message = $lang['lderror'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=license_manage&license=delete" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); *************** *** 203,207 **** } ! $message = $lang['Ldeleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_pafiledb.$phpEx?action=license_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); --- 203,207 ---- } ! $message = $lang['Ldeleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( "admin_pafiledb.$phpEx?action=license_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . mx_append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); *************** *** 224,228 **** $template->assign_vars( array( ! 'S_DELETE_LIC_ACTION' => append_sid( "admin_pafiledb.$phpEx?action=license_manage" ), 'L_DLICENSETITLE' => $lang['Dlicensetitle'], 'L_LICENSEEXPLAIN' => $lang['Licenseexplain'], --- 224,228 ---- $template->assign_vars( array( ! 'S_DELETE_LIC_ACTION' => mx_append_sid( "admin_pafiledb.$phpEx?action=license_manage" ), 'L_DLICENSETITLE' => $lang['Dlicensetitle'], 'L_LICENSEEXPLAIN' => $lang['Licenseexplain'], *************** *** 253,257 **** $template->assign_vars( array( ! 'S_DELETE_LIC_ACTION' => append_sid( "admin_pafiledb.$phpEx?action=license_manage" ), 'L_LICENSETITLE' => $lang['License_title'], 'L_ALICENSETITLE' => $lang['Alicensetitle'], --- 253,257 ---- $template->assign_vars( array( ! 'S_DELETE_LIC_ACTION' => mx_append_sid( "admin_pafiledb.$phpEx?action=license_manage" ), 'L_LICENSETITLE' => $lang['License_title'], 'L_ALICENSETITLE' => $lang['Alicensetitle'], |
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23199/includes Modified Files: functions.php functions_admin.php functions_comment.php functions_field.php functions_mx.php functions_pafiledb.php Log Message: for 2.9.x Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** functions.php 6 Aug 2007 21:14:10 -0000 1.38 --- functions.php 9 Sep 2007 20:16:17 -0000 1.39 *************** *** 94,100 **** function generate_smilies( $mode, $page_id ) { ! global $db, $board_config, $pafiledb_template, $lang, $images, $theme, $phpEx, $phpbb_root_path; global $user_ip, $session_length, $starttime; ! global $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx; --- 94,100 ---- function generate_smilies( $mode, $page_id ) { ! global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path; global $user_ip, $session_length, $starttime; ! global $userdata, $mx_user; global $mx_root_path, $module_root_path, $is_block, $phpEx; *************** *** 105,110 **** --- 105,113 ---- if ( $mode == 'window' ) { + /* $userdata = session_pagestart( $user_ip, $page_id ); init_userprefs( $userdata ); + */ + $mx_user->init($user_ip, PAGE_INDEX); $gen_simple_header = true; *************** *** 114,118 **** include( $mx_root_path . 'includes/page_header.' . $phpEx ); ! $pafiledb_template->set_filenames( array( 'smiliesbody' => 'posting_smilies.tpl' ) ); } --- 117,121 ---- include( $mx_root_path . 'includes/page_header.' . $phpEx ); ! $template->set_filenames( array( 'smiliesbody' => 'posting_smilies.tpl' ) ); } *************** *** 147,154 **** if ( !$col ) { ! $pafiledb_template->assign_block_vars( 'smilies_row', array() ); } ! $pafiledb_template->assign_block_vars( 'smilies_row.smilies_col', array( 'SMILEY_CODE' => $data['code'], 'SMILEY_IMG' => $phpbb_root_path . $board_config['smilies_path'] . '/' . $smile_url, --- 150,157 ---- if ( !$col ) { ! $template->assign_block_vars( 'smilies_row', array() ); } ! $template->assign_block_vars( 'smilies_row.smilies_col', array( 'SMILEY_CODE' => $data['code'], 'SMILEY_IMG' => $phpbb_root_path . $board_config['smilies_path'] . '/' . $smile_url, *************** *** 175,187 **** if ( $mode == 'inline' && $num_smilies > $inline_rows * $inline_columns ) { ! $pafiledb_template->assign_block_vars( 'switch_smilies_extra', array() ); ! $pafiledb_template->assign_vars( array( 'L_MORE_SMILIES' => $lang['More_emoticons'], ! 'U_MORE_SMILIES' => append_sid( $phpbb_root_path . "posting.$phpEx?mode=smilies" ) )); } ! $pafiledb_template->assign_vars( array( 'L_EMOTICONS' => $lang['Emoticons'], 'L_CLOSE_WINDOW' => $lang['Close_window'], --- 178,190 ---- if ( $mode == 'inline' && $num_smilies > $inline_rows * $inline_columns ) { ! $template->assign_block_vars( 'switch_smilies_extra', array() ); ! $template->assign_vars( array( 'L_MORE_SMILIES' => $lang['More_emoticons'], ! 'U_MORE_SMILIES' => mx_append_sid( $phpbb_root_path . "posting.$phpEx?mode=smilies" ) )); } ! $template->assign_vars( array( 'L_EMOTICONS' => $lang['Emoticons'], 'L_CLOSE_WINDOW' => $lang['Close_window'], *************** *** 193,197 **** if ( $mode == 'window' ) { ! $pafiledb_template->display( 'smiliesbody' ); include( $mx_root_path . 'includes/page_tail.' . $phpEx ); } --- 196,200 ---- if ( $mode == 'window' ) { ! $template->pparse( 'smiliesbody' ); include( $mx_root_path . 'includes/page_tail.' . $phpEx ); } *************** *** 248,252 **** function page_header( $page_title ) { ! global $pafiledb_config, $lang, $pafiledb_template, $userdata, $images, $action, $pafiledb; global $template, $db, $theme, $gen_simple_header, $starttime, $phpEx, $board_config, $user_ip, $phpbb_root_path; global $admin_level, $level_prior, $tree, $do_gzip_compress; --- 251,255 ---- function page_header( $page_title ) { ! global $pafiledb_config, $lang, $template, $userdata, $images, $action, $pafiledb; global $template, $db, $theme, $gen_simple_header, $starttime, $phpEx, $board_config, $user_ip, $phpbb_root_path; global $admin_level, $level_prior, $tree, $do_gzip_compress; *************** *** 260,265 **** if ( $action == 'category' ) { ! $upload_url = append_sid( $pafiledb->this_mxurl( "action=user_upload&cat_id={$_REQUEST['cat_id']}" ) ); ! $mcp_url = append_sid( $pafiledb->this_mxurl( "action=mcp&cat_id={$_REQUEST['cat_id']}" ) ); $upload_auth = $pafiledb->modules[$pafiledb->module_name]->auth_user[$_REQUEST['cat_id']]['auth_upload']; --- 263,268 ---- if ( $action == 'category' ) { ! $upload_url = mx_append_sid( $pafiledb->this_mxurl( "action=user_upload&cat_id={$_REQUEST['cat_id']}" ) ); ! $mcp_url = mx_append_sid( $pafiledb->this_mxurl( "action=mcp&cat_id={$_REQUEST['cat_id']}" ) ); $upload_auth = $pafiledb->modules[$pafiledb->module_name]->auth_user[$_REQUEST['cat_id']]['auth_upload']; *************** *** 268,272 **** else { ! $upload_url = append_sid( $pafiledb->this_mxurl( "action=user_upload" ) ); $cat_list = $pafiledb->modules[$pafiledb->module_name]->generate_jumpbox( 0, 0, '', true, true ); --- 271,275 ---- else { ! $upload_url = mx_append_sid( $pafiledb->this_mxurl( "action=user_upload" ) ); $cat_list = $pafiledb->modules[$pafiledb->module_name]->generate_jumpbox( 0, 0, '', true, true ); *************** *** 277,281 **** } ! $pafiledb_template->assign_vars( array( 'L_TITLE' => $title, 'IS_AUTH_VIEWALL' => ( $pafiledb_config['settings_viewall'] ) ? ( ( $pafiledb->modules[$pafiledb->module_name]->auth_global['auth_viewall'] ) ? true : false ) : false, 'IS_AUTH_SEARCH' => ( $pafiledb->modules[$pafiledb->module_name]->auth_global['auth_search'] ) ? true : false, --- 280,284 ---- } ! $template->assign_vars( array( 'L_TITLE' => $title, 'IS_AUTH_VIEWALL' => ( $pafiledb_config['settings_viewall'] ) ? ( ( $pafiledb->modules[$pafiledb->module_name]->auth_global['auth_viewall'] ) ? true : false ) : false, 'IS_AUTH_SEARCH' => ( $pafiledb->modules[$pafiledb->module_name]->auth_global['auth_search'] ) ? true : false, *************** *** 303,311 **** 'VIEW_ALL_IMG' => $images['pa_viewall'], ! 'U_TOPLIST' => append_sid( $pafiledb->this_mxurl( "action=toplist" ) ), ! 'U_PASEARCH' => append_sid( $pafiledb->this_mxurl( "action=search" ) ), 'U_UPLOAD' => $upload_url, ! 'U_VIEW_ALL' => append_sid( $pafiledb->this_mxurl( "action=viewall" ) ), ! 'U_PASTATS' => append_sid( $pafiledb->this_mxurl( "action=stats" ) ), 'MX_ROOT_PATH' => $mx_root_path, --- 306,314 ---- 'VIEW_ALL_IMG' => $images['pa_viewall'], ! 'U_TOPLIST' => mx_append_sid( $pafiledb->this_mxurl( "action=toplist" ) ), ! 'U_PASEARCH' => mx_append_sid( $pafiledb->this_mxurl( "action=search" ) ), 'U_UPLOAD' => $upload_url, ! 'U_VIEW_ALL' => mx_append_sid( $pafiledb->this_mxurl( "action=viewall" ) ), ! 'U_PASTATS' => mx_append_sid( $pafiledb->this_mxurl( "action=stats" ) ), 'MX_ROOT_PATH' => $mx_root_path, *************** *** 321,335 **** function page_footer() { ! global $pafiledb_cache, $lang, $pafiledb_template, $board_config, $pafiledb, $userdata, $phpbb_root_path; global $phpEx, $template, $do_gzip_compress, $debug, $db, $starttime; global $mx_root_path, $module_root_path, $is_block, $phpEx, $page_id; global $pa_module_version, $pa_module_orig_author, $pa_module_author; ! $pafiledb_template->assign_vars( array( 'L_QUICK_GO' => $lang['Quick_go'], 'L_QUICK_NAV' => $lang['Quick_nav'], 'L_QUICK_JUMP' => $lang['Quick_jump'], 'JUMPMENU' => $pafiledb->modules[$pafiledb->module_name]->generate_jumpbox( 0, 0, array( $_GET['cat_id'] => 1 ) ), ! 'S_JUMPBOX_ACTION' => append_sid( $pafiledb->this_mxurl( ) ), 'S_AUTH_LIST' => $pafiledb->modules[$pafiledb->module_name]->auth_can_list, --- 324,338 ---- function page_footer() { ! global $pafiledb_cache, $lang, $template, $board_config, $pafiledb, $userdata, $phpbb_root_path; global $phpEx, $template, $do_gzip_compress, $debug, $db, $starttime; global $mx_root_path, $module_root_path, $is_block, $phpEx, $page_id; global $pa_module_version, $pa_module_orig_author, $pa_module_author; ! $template->assign_vars( array( 'L_QUICK_GO' => $lang['Quick_go'], 'L_QUICK_NAV' => $lang['Quick_nav'], 'L_QUICK_JUMP' => $lang['Quick_jump'], 'JUMPMENU' => $pafiledb->modules[$pafiledb->module_name]->generate_jumpbox( 0, 0, array( $_GET['cat_id'] => 1 ) ), ! 'S_JUMPBOX_ACTION' => mx_append_sid( $pafiledb->this_mxurl( ) ), 'S_AUTH_LIST' => $pafiledb->modules[$pafiledb->module_name]->auth_can_list, *************** *** 346,355 **** if ( !MXBB_MODULE || MXBB_27x ) { ! $pafiledb_template->assign_block_vars( 'copy_footer', array() ); } if ( !isset( $_GET['explain'] ) ) { ! $pafiledb_template->display( 'body' ); } --- 349,358 ---- if ( !MXBB_MODULE || MXBB_27x ) { ! $template->assign_block_vars( 'copy_footer', array() ); } if ( !isset( $_GET['explain'] ) ) { ! $template->pparse( 'body' ); } *************** *** 1363,1367 **** function add_comment( $file_id ) { ! global $pafiledb_template; if ( $this->field_data_exist() ) { --- 1366,1370 ---- function add_comment( $file_id ) { ! global $template; if ( $this->field_data_exist() ) { *************** *** 1423,1427 **** function display_data( $file_id ) { ! global $pafiledb_template; if ( $this->field_data_exist() ) { --- 1426,1430 ---- function display_data( $file_id ) { ! global $template; if ( $this->field_data_exist() ) { *************** *** 1446,1450 **** } ! $pafiledb_template->assign_block_vars( 'custom_field', array( 'CUSTOM_NAME' => $this->field_rowset[$field_id]['custom_name'], 'DATA' => $field_data ) --- 1449,1453 ---- } ! $template->assign_block_vars( 'custom_field', array( 'CUSTOM_NAME' => $this->field_rowset[$field_id]['custom_name'], 'DATA' => $field_data ) *************** *** 1527,1534 **** function display_edit_input( $file_id, $field_id, $field_data ) { ! global $pafiledb_template; $field_value_temp = (!empty( $this->field_data_rowset[$file_id][$field_id]['data'] )) ? $this->field_data_rowset[$file_id][$field_id]['data'] : ''; $field_value = !empty( $_POST['field'][$field_data['custom_id']] ) ? $_POST['field'][$field_data['custom_id']] : $field_value_temp ; ! $pafiledb_template->assign_block_vars( 'input', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], --- 1530,1537 ---- function display_edit_input( $file_id, $field_id, $field_data ) { ! global $template; $field_value_temp = (!empty( $this->field_data_rowset[$file_id][$field_id]['data'] )) ? $this->field_data_rowset[$file_id][$field_id]['data'] : ''; $field_value = !empty( $_POST['field'][$field_data['custom_id']] ) ? $_POST['field'][$field_data['custom_id']] : $field_value_temp ; ! $template->assign_block_vars( 'input', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], *************** *** 1547,1554 **** function display_edit_textarea( $file_id, $field_id, $field_data ) { ! global $pafiledb_template; $field_value_temp = ( !empty( $this->field_data_rowset[$file_id][$field_id]['data'] ) ) ? $this->field_data_rowset[$file_id][$field_id]['data'] : ''; $field_value = !empty( $_POST['field'][$field_data['custom_id']] ) ? $_POST['field'][$field_data['custom_id']] : $field_value_temp ; ! $pafiledb_template->assign_block_vars( 'textarea', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], --- 1550,1557 ---- function display_edit_textarea( $file_id, $field_id, $field_data ) { ! global $template; $field_value_temp = ( !empty( $this->field_data_rowset[$file_id][$field_id]['data'] ) ) ? $this->field_data_rowset[$file_id][$field_id]['data'] : ''; $field_value = !empty( $_POST['field'][$field_data['custom_id']] ) ? $_POST['field'][$field_data['custom_id']] : $field_value_temp ; ! $template->assign_block_vars( 'textarea', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], *************** *** 1567,1572 **** function display_edit_radio( $file_id, $field_id, $field_data ) { ! global $pafiledb_template; ! $pafiledb_template->assign_block_vars( 'radio', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], --- 1570,1575 ---- function display_edit_radio( $file_id, $field_id, $field_data ) { ! global $template; ! $template->assign_block_vars( 'radio', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], *************** *** 1582,1586 **** foreach( $field_datas as $key => $value ) { ! $pafiledb_template->assign_block_vars( 'radio.row', array( 'FIELD_VALUE' => $value, 'FIELD_SELECTED' => ( $data == $value ) ? ' checked="checked"' : '' ) --- 1585,1589 ---- foreach( $field_datas as $key => $value ) { ! $template->assign_block_vars( 'radio.row', array( 'FIELD_VALUE' => $value, 'FIELD_SELECTED' => ( $data == $value ) ? ' checked="checked"' : '' ) *************** *** 1599,1604 **** function display_edit_select( $file_id, $field_id, $field_data ) { ! global $pafiledb_template; ! $pafiledb_template->assign_block_vars( 'select', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], --- 1602,1607 ---- function display_edit_select( $file_id, $field_id, $field_data ) { ! global $template; ! $template->assign_block_vars( 'select', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], *************** *** 1614,1618 **** foreach( $field_datas as $key => $value ) { ! $pafiledb_template->assign_block_vars( 'select.row', array( 'FIELD_VALUE' => $value, 'FIELD_SELECTED' => ( $data == $value ) ? ' selected="selected"' : '' ) --- 1617,1621 ---- foreach( $field_datas as $key => $value ) { ! $template->assign_block_vars( 'select.row', array( 'FIELD_VALUE' => $value, 'FIELD_SELECTED' => ( $data == $value ) ? ' selected="selected"' : '' ) *************** *** 1631,1636 **** function display_edit_select_multiple( $file_id, $field_id, $field_data ) { ! global $pafiledb_template; ! $pafiledb_template->assign_block_vars( 'select_multiple', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], --- 1634,1639 ---- function display_edit_select_multiple( $file_id, $field_id, $field_data ) { ! global $template; ! $template->assign_block_vars( 'select_multiple', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], *************** *** 1655,1659 **** } } ! $pafiledb_template->assign_block_vars( 'select_multiple.row', array( 'FIELD_VALUE' => $value, 'FIELD_SELECTED' => $selected ) --- 1658,1662 ---- } } ! $template->assign_block_vars( 'select_multiple.row', array( 'FIELD_VALUE' => $value, 'FIELD_SELECTED' => $selected ) *************** *** 1672,1677 **** function display_edit_checkbox( $file_id, $field_id, $field_data ) { ! global $pafiledb_template; ! $pafiledb_template->assign_block_vars( 'checkbox', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], --- 1675,1680 ---- function display_edit_checkbox( $file_id, $field_id, $field_data ) { ! global $template; ! $template->assign_block_vars( 'checkbox', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], *************** *** 1696,1700 **** } } ! $pafiledb_template->assign_block_vars( 'checkbox.row', array( 'FIELD_VALUE' => $value, 'FIELD_CHECKED' => $checked ) --- 1699,1703 ---- } } ! $template->assign_block_vars( 'checkbox.row', array( 'FIELD_VALUE' => $value, 'FIELD_CHECKED' => $checked ) Index: functions_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_admin.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** functions_admin.php 1 Aug 2006 21:03:24 -0000 1.7 --- functions_admin.php 9 Sep 2007 20:16:17 -0000 1.8 *************** *** 45,49 **** function admin_display_cat_auth( $cat_parent = 0, $depth = 0 ) { ! global $lang, $phpbb_root_path, $pafiledb_template, $phpEx; global $cat_auth_fields, $cat_auth_const, $cat_auth_levels; global $cat_auth_approval_fields, $cat_auth_approval_const, $cat_auth_approval_levels; --- 45,49 ---- function admin_display_cat_auth( $cat_parent = 0, $depth = 0 ) { ! global $lang, $phpbb_root_path, $template, $phpEx; global $cat_auth_fields, $cat_auth_const, $cat_auth_levels; global $cat_auth_approval_fields, $cat_auth_approval_const, $cat_auth_approval_levels; *************** *** 54,62 **** foreach( $this->subcat_rowset[$cat_parent] as $sub_cat_id => $cat_data ) { ! $pafiledb_template->assign_block_vars( 'cat_row', array( 'CATEGORY_NAME' => $cat_data['cat_name'], 'IS_HIGHER_CAT' => ( $cat_data['cat_allow_file'] ) ? false : true, 'PRE' => $pre, ! 'U_CAT' => append_sid( "admin_pafiledb.$phpEx?action=catauth_manage&cat_parent=$sub_cat_id" ) )); --- 54,62 ---- foreach( $this->subcat_rowset[$cat_parent] as $sub_cat_id => $cat_data ) { ! $template->assign_block_vars( 'cat_row', array( 'CATEGORY_NAME' => $cat_data['cat_name'], 'IS_HIGHER_CAT' => ( $cat_data['cat_allow_file'] ) ? false : true, 'PRE' => $pre, ! 'U_CAT' => mx_append_sid( "admin_pafiledb.$phpEx?action=catauth_manage&cat_parent=$sub_cat_id" ) )); *************** *** 72,76 **** $custom_auth[$j] .= '</select> '; ! $pafiledb_template->assign_block_vars( 'cat_row.cat_auth_data', array( 'S_AUTH_LEVELS_SELECT' => $custom_auth[$j] ) ); } --- 72,76 ---- $custom_auth[$j] .= '</select> '; ! $template->assign_block_vars( 'cat_row.cat_auth_data', array( 'S_AUTH_LEVELS_SELECT' => $custom_auth[$j] ) ); } *************** *** 86,90 **** $custom_auth_approval[$j] .= '</select> '; ! $pafiledb_template->assign_block_vars( 'cat_row.cat_auth_data', array( 'S_AUTH_LEVELS_SELECT' => $custom_auth_approval[$j] ) ); } --- 86,90 ---- $custom_auth_approval[$j] .= '</select> '; ! $template->assign_block_vars( 'cat_row.cat_auth_data', array( 'S_AUTH_LEVELS_SELECT' => $custom_auth_approval[$j] ) ); } *************** *** 98,102 **** function admin_display_cat_auth_ug( $cat_parent = 0, $depth = 0 ) { ! global $phpbb_root_path, $pafiledb_template, $phpEx; global $cat_auth_fields, $cat_auth_const, $cat_auth_levels, $optionlist_mod, $optionlist_acl_adv; --- 98,102 ---- function admin_display_cat_auth_ug( $cat_parent = 0, $depth = 0 ) { ! global $phpbb_root_path, $template, $phpEx; global $cat_auth_fields, $cat_auth_const, $cat_auth_levels, $optionlist_mod, $optionlist_acl_adv; *************** *** 106,114 **** foreach( $this->subcat_rowset[$cat_parent] as $sub_cat_id => $cat_data ) { ! $pafiledb_template->assign_block_vars( 'cat_row', array( 'CAT_NAME' => $cat_data['cat_name'], 'IS_HIGHER_CAT' => ( $cat_data['cat_allow_file'] ) ? false : true, 'PRE' => $pre, ! 'U_CAT' => append_sid( "admin_pafiledb.$phpEx?action=catauth&cat_id=$sub_cat_id" ), 'S_MOD_SELECT' => $optionlist_mod[$sub_cat_id] )); --- 106,114 ---- foreach( $this->subcat_rowset[$cat_parent] as $sub_cat_id => $cat_data ) { ! $template->assign_block_vars( 'cat_row', array( 'CAT_NAME' => $cat_data['cat_name'], 'IS_HIGHER_CAT' => ( $cat_data['cat_allow_file'] ) ? false : true, 'PRE' => $pre, ! 'U_CAT' => mx_append_sid( "admin_pafiledb.$phpEx?action=catauth&cat_id=$sub_cat_id" ), 'S_MOD_SELECT' => $optionlist_mod[$sub_cat_id] )); *************** *** 116,120 **** for( $j = 0; $j < count( $cat_auth_fields ); $j++ ) { ! $pafiledb_template->assign_block_vars( 'cat_row.aclvalues', array( 'S_ACL_SELECT' => $optionlist_acl_adv[$sub_cat_id][$j] ) ); } $this->admin_display_cat_auth_ug( $sub_cat_id, $depth + 1 ); --- 116,120 ---- for( $j = 0; $j < count( $cat_auth_fields ); $j++ ) { ! $template->assign_block_vars( 'cat_row.aclvalues', array( 'S_ACL_SELECT' => $optionlist_acl_adv[$sub_cat_id][$j] ) ); } $this->admin_display_cat_auth_ug( $sub_cat_id, $depth + 1 ); *************** *** 127,131 **** function admin_cat_main( $cat_parent = 0, $depth = 0 ) { ! global $phpbb_root_path, $pafiledb_template, $phpEx; $pre = str_repeat( ' ', $depth ); --- 127,131 ---- function admin_cat_main( $cat_parent = 0, $depth = 0 ) { ! global $phpbb_root_path, $template, $phpEx; $pre = str_repeat( ' ', $depth ); *************** *** 134,145 **** foreach( $this->subcat_rowset[$cat_parent] as $subcat_id => $cat_data ) { ! $pafiledb_template->assign_block_vars( 'cat_row', array( 'IS_HIGHER_CAT' => ( $cat_data['cat_allow_file'] == PA_CAT_ALLOW_FILE ) ? false : true, ! 'U_CAT' => append_sid( "admin_pafiledb.$phpEx?action=cat_manage&cat_id=$subcat_id" ), ! 'U_CAT_EDIT' => append_sid( "admin_pafiledb.$phpEx?action=cat_manage&mode=edit&cat_id=$subcat_id" ), ! 'U_CAT_DELETE' => append_sid( "admin_pafiledb.$phpEx?action=cat_manage&mode=delete&cat_id=$subcat_id" ), ! 'U_CAT_MOVE_UP' => append_sid( "admin_pafiledb.$phpEx?action=cat_manage&mode=cat_order&move=-15&cat_id_other=$subcat_id" ), ! 'U_CAT_MOVE_DOWN' => append_sid( "admin_pafiledb.$phpEx?action=cat_manage&mode=cat_order&move=15&cat_id_other=$subcat_id" ), ! 'U_CAT_RESYNC' => append_sid( "admin_pafiledb.$phpEx?action=cat_manage&mode=sync&cat_id_other=$subcat_id" ), 'CAT_NAME' => $cat_data['cat_name'], 'PRE' => $pre --- 134,145 ---- foreach( $this->subcat_rowset[$cat_parent] as $subcat_id => $cat_data ) { ! $template->assign_block_vars( 'cat_row', array( 'IS_HIGHER_CAT' => ( $cat_data['cat_allow_file'] == PA_CAT_ALLOW_FILE ) ? false : true, ! 'U_CAT' => mx_append_sid( "admin_pafiledb.$phpEx?action=cat_manage&cat_id=$subcat_id" ), ! 'U_CAT_EDIT' => mx_append_sid( "admin_pafiledb.$phpEx?action=cat_manage&mode=edit&cat_id=$subcat_id" ), ! 'U_CAT_DELETE' => mx_append_sid( "admin_pafiledb.$phpEx?action=cat_manage&mode=delete&cat_id=$subcat_id" ), ! 'U_CAT_MOVE_UP' => mx_append_sid( "admin_pafiledb.$phpEx?action=cat_manage&mode=cat_order&move=-15&cat_id_other=$subcat_id" ), ! 'U_CAT_MOVE_DOWN' => mx_append_sid( "admin_pafiledb.$phpEx?action=cat_manage&mode=cat_order&move=15&cat_id_other=$subcat_id" ), ! 'U_CAT_RESYNC' => mx_append_sid( "admin_pafiledb.$phpEx?action=cat_manage&mode=sync&cat_id_other=$subcat_id" ), 'CAT_NAME' => $cat_data['cat_name'], 'PRE' => $pre Index: functions_mx.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_mx.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** functions_mx.php 7 Jun 2006 20:29:52 -0000 1.7 --- functions_mx.php 9 Sep 2007 20:16:18 -0000 1.8 *************** *** 49,53 **** $board_config['smilies_path'] = $smilies_path; $template->assign_vars(array( ! 'U_MORE_SMILIES' => append_sid(PHPBB_URL . "posting.$phpEx?mode=smilies")) ); } --- 49,53 ---- $board_config['smilies_path'] = $smilies_path; $template->assign_vars(array( ! 'U_MORE_SMILIES' => mx_append_sid(PHPBB_URL . "posting.$phpEx?mode=smilies")) ); } Index: functions_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_comment.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** functions_comment.php 12 Jul 2007 22:51:22 -0000 1.25 --- functions_comment.php 9 Sep 2007 20:16:17 -0000 1.26 *************** *** 18,55 **** * */ ! class pafiledb_comments { - // - // Comments - // - var $cid = ''; // comment id - var $comments_type = ''; // internal or phpbb - [...1307 lines suppressed...] - break; - - case 'insert': - $return_data = $this->insert_phpbb_post( $title, $comments_text, $this->forum_id, $user_id, $username, $user_attach_sig, $this->topic_id, '', $title_first, $comments_text_first, $comment_bbcode_uid ); - break; - - case 'update': - $return_data = $this->insert_phpbb_post( $title, $comments_text, $this->forum_id, $user_id, $username, $user_attach_sig, $this->topic_id, $cid, $title_first, $comments_text_first, $comment_bbcode_uid ); - break; - - default: - mx_message_die(GENERAL_ERROR, 'bad post mode'); - } - - return $return_data; - } } ?> \ No newline at end of file --- 147,150 ---- Index: functions_field.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_field.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** functions_field.php 1 Aug 2006 21:03:24 -0000 1.9 --- functions_field.php 9 Sep 2007 20:16:18 -0000 1.10 *************** *** 104,108 **** function add_comment( $file_id ) { ! global $pafiledb_template; if ( $this->field_data_exist() ) { --- 104,108 ---- function add_comment( $file_id ) { ! global $template; if ( $this->field_data_exist() ) { *************** *** 164,168 **** function display_data( $file_id ) { ! global $pafiledb_template; if ( $this->field_data_exist() ) { --- 164,168 ---- function display_data( $file_id ) { ! global $template; if ( $this->field_data_exist() ) { *************** *** 187,191 **** } ! $pafiledb_template->assign_block_vars( 'custom_field', array( 'CUSTOM_NAME' => $this->field_rowset[$field_id]['custom_name'], 'DATA' => $field_data ) --- 187,191 ---- } ! $template->assign_block_vars( 'custom_field', array( 'CUSTOM_NAME' => $this->field_rowset[$field_id]['custom_name'], 'DATA' => $field_data ) *************** *** 268,275 **** function display_edit_input( $file_id, $field_id, $field_data ) { ! global $pafiledb_template; $field_value_temp = (!empty( $this->field_data_rowset[$file_id][$field_id]['data'] )) ? $this->field_data_rowset[$file_id][$field_id]['data'] : ''; $field_value = !empty( $_POST['field'][$field_data['custom_id']] ) ? $_POST['field'][$field_data['custom_id']] : $field_value_temp ; ! $pafiledb_template->assign_block_vars( 'input', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], --- 268,275 ---- function display_edit_input( $file_id, $field_id, $field_data ) { ! global $template; $field_value_temp = (!empty( $this->field_data_rowset[$file_id][$field_id]['data'] )) ? $this->field_data_rowset[$file_id][$field_id]['data'] : ''; $field_value = !empty( $_POST['field'][$field_data['custom_id']] ) ? $_POST['field'][$field_data['custom_id']] : $field_value_temp ; ! $template->assign_block_vars( 'input', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], *************** *** 288,295 **** function display_edit_textarea( $file_id, $field_id, $field_data ) { ! global $pafiledb_template; $field_value_temp = ( !empty( $this->field_data_rowset[$file_id][$field_id]['data'] ) ) ? $this->field_data_rowset[$file_id][$field_id]['data'] : ''; $field_value = !empty( $_POST['field'][$field_data['custom_id']] ) ? $_POST['field'][$field_data['custom_id']] : $field_value_temp ; ! $pafiledb_template->assign_block_vars( 'textarea', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], --- 288,295 ---- function display_edit_textarea( $file_id, $field_id, $field_data ) { ! global $template; $field_value_temp = ( !empty( $this->field_data_rowset[$file_id][$field_id]['data'] ) ) ? $this->field_data_rowset[$file_id][$field_id]['data'] : ''; $field_value = !empty( $_POST['field'][$field_data['custom_id']] ) ? $_POST['field'][$field_data['custom_id']] : $field_value_temp ; ! $template->assign_block_vars( 'textarea', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], *************** *** 308,313 **** function display_edit_radio( $file_id, $field_id, $field_data ) { ! global $pafiledb_template; ! $pafiledb_template->assign_block_vars( 'radio', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], --- 308,313 ---- function display_edit_radio( $file_id, $field_id, $field_data ) { ! global $template; ! $template->assign_block_vars( 'radio', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], *************** *** 323,327 **** foreach( $field_datas as $key => $value ) { ! $pafiledb_template->assign_block_vars( 'radio.row', array( 'FIELD_VALUE' => $value, 'FIELD_SELECTED' => ( $data == $value ) ? ' checked="checked"' : '' ) --- 323,327 ---- foreach( $field_datas as $key => $value ) { ! $template->assign_block_vars( 'radio.row', array( 'FIELD_VALUE' => $value, 'FIELD_SELECTED' => ( $data == $value ) ? ' checked="checked"' : '' ) *************** *** 340,345 **** function display_edit_select( $file_id, $field_id, $field_data ) { ! global $pafiledb_template; ! $pafiledb_template->assign_block_vars( 'select', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], --- 340,345 ---- function display_edit_select( $file_id, $field_id, $field_data ) { ! global $template; ! $template->assign_block_vars( 'select', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], *************** *** 355,359 **** foreach( $field_datas as $key => $value ) { ! $pafiledb_template->assign_block_vars( 'select.row', array( 'FIELD_VALUE' => $value, 'FIELD_SELECTED' => ( $data == $value ) ? ' selected="selected"' : '' ) --- 355,359 ---- foreach( $field_datas as $key => $value ) { ! $template->assign_block_vars( 'select.row', array( 'FIELD_VALUE' => $value, 'FIELD_SELECTED' => ( $data == $value ) ? ' selected="selected"' : '' ) *************** *** 372,377 **** function display_edit_select_multiple( $file_id, $field_id, $field_data ) { ! global $pafiledb_template; ! $pafiledb_template->assign_block_vars( 'select_multiple', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], --- 372,377 ---- function display_edit_select_multiple( $file_id, $field_id, $field_data ) { ! global $template; ! $template->assign_block_vars( 'select_multiple', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], *************** *** 396,400 **** } } ! $pafiledb_template->assign_block_vars( 'select_multiple.row', array( 'FIELD_VALUE' => $value, 'FIELD_SELECTED' => $selected ) --- 396,400 ---- } } ! $template->assign_block_vars( 'select_multiple.row', array( 'FIELD_VALUE' => $value, 'FIELD_SELECTED' => $selected ) *************** *** 413,418 **** function display_edit_checkbox( $file_id, $field_id, $field_data ) { ! global $pafiledb_template; ! $pafiledb_template->assign_block_vars( 'checkbox', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], --- 413,418 ---- function display_edit_checkbox( $file_id, $field_id, $field_data ) { ! global $template; ! $template->assign_block_vars( 'checkbox', array( 'FIELD_NAME' => $field_data['custom_name'], 'FIELD_ID' => $field_data['custom_id'], *************** *** 437,441 **** } } ! $pafiledb_template->assign_block_vars( 'checkbox.row', array( 'FIELD_VALUE' => $value, 'FIELD_CHECKED' => $checked ) --- 437,441 ---- } } ! $template->assign_block_vars( 'checkbox.row', array( 'FIELD_VALUE' => $value, 'FIELD_CHECKED' => $checked ) Index: functions_pafiledb.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_pafiledb.php,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** functions_pafiledb.php 10 Aug 2007 18:36:22 -0000 1.48 --- functions_pafiledb.php 9 Sep 2007 20:16:18 -0000 1.49 *************** *** 398,402 **** break; } ! $cat_sub .= (!empty($cat_sub) ? '<span class=' . $class . '>, </span>' : '') . '<a href="' . append_sid( $this->this_mxurl( 'action=category&cat_id=' . $cat_row['cat_id'] ) ) . '" class=' . $class . '>' . $cat_row['cat_name'] . '</a>'; } /* --- 398,402 ---- break; } ! $cat_sub .= (!empty($cat_sub) ? '<span class=' . $class . '>, </span>' : '') . '<a href="' . mx_append_sid( $this->this_mxurl( 'action=category&cat_id=' . $cat_row['cat_id'] ) ) . '" class=' . $class . '>' . $cat_row['cat_name'] . '</a>'; } /* *************** *** 415,419 **** break; } ! $cat_sub .= (!empty($cat_sub) ? '<span class=' . $class . '>, </span>' : '') . '<a href="' . append_sid( $this->this_mxurl( 'action=category&cat_id=' . $sub_cat_row['cat_id'] ) ) . '" class=' . $class . '>' . $sub_cat_row['cat_name'] . '</a>'; } } --- 415,419 ---- break; } ! $cat_sub .= (!empty($cat_sub) ? '<span class=' . $class . '>, </span>' : '') . '<a href="' . mx_append_sid( $this->this_mxurl( 'action=category&cat_id=' . $sub_cat_row['cat_id'] ) ) . '" class=' . $class . '>' . $sub_cat_row['cat_name'] . '</a>'; } } *************** *** 438,442 **** function generate_navigation( $cat_id ) { ! global $pafiledb_template, $db; if ( $this->cat_rowset[$cat_id]['parents_data'] == '' ) --- 438,442 ---- function generate_navigation( $cat_id ) { ! global $template, $db; if ( $this->cat_rowset[$cat_id]['parents_data'] == '' ) *************** *** 463,476 **** foreach ( $cat_nav as $parent_cat_id => $parent_name ) { ! $pafiledb_template->assign_block_vars( 'navlinks', array( 'CAT_NAME' => $parent_name, ! 'U_VIEW_CAT' => append_sid( $this->this_mxurl( 'action=category&cat_id=' . $parent_cat_id ) ) ) ); } } ! $pafiledb_template->assign_block_vars( 'navlinks', array( 'CAT_NAME' => $this->cat_rowset[$cat_id]['cat_name'], ! 'U_VIEW_CAT' => append_sid( $this->this_mxurl( 'action=category&cat_id=' . $this->cat_rowset[$cat_id]['cat_id'] ) ) ) ); --- 463,476 ---- foreach ( $cat_nav as $parent_cat_id => $parent_name ) { ! $template->assign_block_vars( 'navlinks', array( 'CAT_NAME' => $parent_name, ! 'U_VIEW_CAT' => mx_append_sid( $this->this_mxurl( 'action=category&cat_id=' . $parent_cat_id ) ) ) ); } } ! $template->assign_block_vars( 'navlinks', array( 'CAT_NAME' => $this->cat_rowset[$cat_id]['cat_name'], ! 'U_VIEW_CAT' => mx_append_sid( $this->this_mxurl( 'action=category&cat_id=' . $this->cat_rowset[$cat_id]['cat_id'] ) ) ) ); *************** *** 586,590 **** function display_categories( $cat_id = PA_ROOT_CAT ) { ! global $db, $pafiledb_template, $lang, $userdata, $phpEx, $images; global $pafiledb_config, $board_config, $debug; --- 586,590 ---- function display_categories( $cat_id = PA_ROOT_CAT ) { ! global $db, $template, $lang, $userdata, $phpEx, $images; global $pafiledb_config, $board_config, $debug; *************** *** 594,603 **** { $redirect = ( $cat_id != PA_ROOT_CAT ) ? $this->this_mxurl( "action=category&cat_id=$cat_id" ) : $this->this_mxurl(); ! redirect( append_sid( "login.$phpEx?redirect=$redirect", true ) ); } mx_message_die( GENERAL_ERROR, 'Either you are not allowed to view any category, or there is no category in the database' ); } ! $pafiledb_template->assign_vars( array( 'CAT_NAV_SIMPLE' => true, 'L_SUB_CAT' => $lang['Sub_category'], --- 594,603 ---- { $redirect = ( $cat_id != PA_ROOT_CAT ) ? $this->this_mxurl( "action=category&cat_id=$cat_id" ) : $this->this_mxurl(); ! mx_redirect( mx_append_sid( "login.$phpEx?redirect=$redirect", true ) ); } mx_message_die( GENERAL_ERROR, 'Either you are not allowed to view any category, or there is no category in the database' ); } ! $template->assign_vars( array( 'CAT_NAV_SIMPLE' => true, 'L_SUB_CAT' => $lang['Sub_category'], *************** *** 621,625 **** } ! $pafiledb_template->assign_vars( array( 'WIDTH' => 100 / $catcol ) ); $i = 0; --- 621,625 ---- } ! $template->assign_vars( array( 'WIDTH' => 100 / $catcol ) ); $i = 0; *************** *** 628,632 **** if ( $i == 0 || $i == $catcol) { ! $pafiledb_template->assign_block_vars( 'catcol', array() ); $i = 0; } --- 628,632 ---- if ( $i == 0 || $i == $catcol) { ! $template->assign_block_vars( 'catcol', array() ); $i = 0; } *************** *** 638,646 **** if ( !empty( $last_file_info['file_id'] ) && $this->auth_user[$subcat_id]['auth_read'] ) { ! $last_file_time = create_date( $board_config['default_dateformat'], $last_file_info['file_time'], $board_config['board_timezone'] ); $last_file = $last_file_time . '<br />'; $last_file_name = ( strlen( stripslashes( $last_file_info['file_name'] ) ) > 20 ) ? substr( stripslashes( $last_file_info['file_name'] ), 0, 20 ) . '...' : stripslashes( $last_file_info['file_name'] ); ! $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'action=file&file_id=' . $last_file_info['file_id'] ) ) . '" alt="' . stripslashes( $last_file_info['file_name'] ) . '" title="' . stripslashes( $last_file_info['file_name'] ) . '">' . $last_file_name . '</a> '; ! $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'action=file&file_id=' . $last_file_info['file_id'] ) ) . '"><img src="' . $images['pa_icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_file'] . '" title="' . $lang['View_latest_file'] . '" /></a>'; } else --- 638,646 ---- if ( !empty( $last_file_info['file_id'] ) && $this->auth_user[$subcat_id]['auth_read'] ) { ! $last_file_time = phpBB2::create_date( $board_config['default_dateformat'], $last_file_info['file_time'], $board_config['board_timezone'] ); $last_file = $last_file_time . '<br />'; $last_file_name = ( strlen( stripslashes( $last_file_info['file_name'] ) ) > 20 ) ? substr( stripslashes( $last_file_info['file_name'] ), 0, 20 ) . '...' : stripslashes( $last_file_info['file_name'] ); ! $last_file .= '<a href="' . mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $last_file_info['file_id'] ) ) . '" alt="' . stripslashes( $last_file_info['file_name'] ) . '" title="' . stripslashes( $last_file_info['file_name'] ) . '">' . $last_file_name . '</a> '; ! $last_file .= '<a href="' . mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $last_file_info['file_id'] ) ) . '"><img src="' . $images['pa_icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_file'] . '" title="' . $lang['View_latest_file'] . '" /></a>'; } else *************** *** 656,661 **** $sub_cat = $this->get_sub_cat( $subcat_id ); ! $pafiledb_template->assign_block_vars( 'catcol.no_cat_parent', array( ! 'U_CAT' => append_sid( $this->this_mxurl( 'action=category&cat_id=' . $subcat_id ) ), 'SUB_CAT' => ( !empty( $sub_cat ) ) ? " $sub_cat" : "", 'CAT_IMAGE' => ( $is_new ) ? $images['pa_folder_new'] : $images['pa_folder'], --- 656,661 ---- $sub_cat = $this->get_sub_cat( $subcat_id ); ! $template->assign_block_vars( 'catcol.no_cat_parent', array( ! 'U_CAT' => mx_append_sid( $this->this_mxurl( 'action=category&cat_id=' . $subcat_id ) ), 'SUB_CAT' => ( !empty( $sub_cat ) ) ? " $sub_cat" : "", 'CAT_IMAGE' => ( $is_new ) ? $images['pa_folder_new'] : $images['pa_folder'], *************** *** 674,678 **** function display_categories_original( $cat_id = PA_ROOT_CAT, $action_name = 'action', $action_default = 'category', $map_xtra = '' ) { ! global $db, $pafiledb_template, $lang, $userdata, $phpEx, $images; global $pafiledb_config, $board_config, $debug; global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $phpEx; --- 674,678 ---- function display_categories_original( $cat_id = PA_ROOT_CAT, $action_name = 'action', $action_default = 'category', $map_xtra = '' ) { ! global $db, $template, $lang, $userdata, $phpEx, $images; global $pafiledb_config, $board_config, $debug; global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $phpEx; *************** *** 683,692 **** { $redirect = ( $cat_id != PA_ROOT_CAT ) ? $this->this_mxurl( "$action_name=$action_default&cat_id=$cat_id" ) : $this->this_mxurl(); ! redirect( append_sid( "login.$phpEx?redirect=$redirect", true ) ); } mx_message_die( GENERAL_ERROR, 'Either you are not allowed to view any category, or there is no category in the database' ); } ! $pafiledb_template->assign_vars( array( 'CAT_NAV_STANDARD' => true, 'L_SUB_CAT' => $lang['Sub_category'], --- 683,692 ---- { $redirect = ( $cat_id != PA_ROOT_CAT ) ? $this->this_mxurl( "$action_name=$action_default&cat_id=$cat_id" ) : $this->this_mxurl(); ! mx_redirect( mx_append_sid( "login.$phpEx?redirect=$redirect", true ) ); } mx_message_die( GENERAL_ERROR, 'Either you are not allowed to view any category, or there is no category in the database' ); } ! $template->assign_vars( array( 'CAT_NAV_STANDARD' => true, 'L_SUB_CAT' => $lang['Sub_category'], *************** *** 711,719 **** if ( !empty( $last_file_info['file_id'] ) && $this->auth_user[$subcat_id]['auth_read'] ) { ! $last_file_time = create_date( $board_config['default_dateformat'], $last_file_info['file_time'], $board_config['board_timezone'] ); $last_file = $last_file_time . '<br />'; $last_file_name = ( strlen( stripslashes( $last_file_info['file_name'] ) ) > 20 ) ? substr( stripslashes( $last_file_info['file_name'] ), 0, 20 ) . '...' : stripslashes( $last_file_info['file_name'] ); ! $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'action=file&file_id=' . $last_file_info['file_id'] ) ) . '" alt="' . stripslashes( $last_file_info['file_name'] ) . '" title="' . stripslashes( $last_file_info['file_name'] ) . '">' . $last_file_name . '</a> '; ! $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'action=file&file_id=' . $last_file_info['file_id'] ) ) . '"><img src="' . $images['pa_icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_file'] . '" title="' . $lang['View_latest_file'] . '" /></a>'; } else --- 711,719 ---- if ( !empty( $last_file_info['file_id'] ) && $this->auth_user[$subcat_id]['auth_read'] ) { ! $last_file_time = phpBB2::create_date( $board_config['default_dateformat'], $last_file_info['file_time'], $board_config['board_timezone'] ); $last_file = $last_file_time . '<br />'; $last_file_name = ( strlen( stripslashes( $last_file_info['file_name'] ) ) > 20 ) ? substr( stripslashes( $last_file_info['file_name'] ), 0, 20 ) . '...' : stripslashes( $last_file_info['file_name'] ); ! $last_file .= '<a href="' . mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $last_file_info['file_id'] ) ) . '" alt="' . stripslashes( $last_file_info['file_name'] ) . '" title="' . stripslashes( $last_file_info['file_name'] ) . '">' . $last_file_name . '</a> '; ! $last_file .= '<a href="' . mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $last_file_info['file_id'] ) ) . '"><img src="' . $images['pa_icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_file'] . '" title="' . $lang['View_latest_file'] . '" /></a>'; } else *************** *** 730,736 **** $sub_cat = $this->get_sub_cat( $subcat_id ); ! $pafiledb_template->assign_block_vars( 'no_cat_parent', array( 'IS_HIGHER_CAT' => false, ! 'U_CAT' => append_sid( $this->this_mxurl( "$action_name=$action_default&cat_id=" . $subcat_id . $map_xtra ) ), 'SUB_CAT' => ( !empty( $sub_cat ) ) ? '<br /><b>' . $lang['Sub_category'] . ': </b>' . $sub_cat : '', 'CAT_IMAGE' => ( $is_new ) ? $images['pa_folder_new'] : $images['pa_folder'], --- 730,736 ---- $sub_cat = $this->get_sub_cat( $subcat_id ); ! $template->assign_block_vars( 'no_cat_parent', array( 'IS_HIGHER_CAT' => false, ! 'U_CAT' => mx_append_sid( $this->this_mxurl( "$action_name=$action_default&cat_id=" . $subcat_id . $map_xtra ) ), 'SUB_CAT' => ( !empty( $sub_cat ) ) ? '<br /><b>' . $lang['Sub_category'] . ': </b>' . $sub_cat : '', 'CAT_IMAGE' => ( $is_new ) ? $images['pa_folder_new'] : $images['pa_folder'], *************** *** 773,779 **** if ( $total_sub_cat ) { ! $pafiledb_template->assign_block_vars( 'no_cat_parent', array( 'IS_HIGHER_CAT' => true, ! 'U_CAT' => append_sid( $this->this_mxurl( "$action_name=$action_default&cat_id=" . $subcat_id . $map_xtra) ), 'CAT_NAME' => $subcat_row['cat_name'] ) ); --- 773,779 ---- if ( $total_sub_cat ) { ! $template->assign_block_vars( 'no_cat_parent', array( 'IS_HIGHER_CAT' => true, ! 'U_CAT' => mx_append_sid( $this->this_mxurl( "$action_name=$action_default&cat_id=" . $subcat_id . $map_xtra) ), 'CAT_NAME' => $subcat_row['cat_name'] ) ); *************** *** 789,797 **** if ( !empty( $last_file_info['file_id'] ) && $this->auth_user[$sub_cat_rowset[$k]['cat_id']]['auth_read'] ) { ! $last_file_time = create_date( $board_config['default_dateformat'], $last_file_info['file_time'], $board_config['board_timezone'] ); $last_file = $last_file_time . '<br />'; $last_file_name = ( strlen( $last_file_info['file_name'] ) > 20 ) ? substr( $last_file_info['file_name'], 0, 20 ) . '...' : $last_file_info['file_name']; ! $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'action=file&file_id=' . $last_file_info['file_id'] ) ) . '">' . $last_file_name . '</a> '; ! $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'action=file&file_id=' . $last_file_info['file_id'] ) ) . '"><img src="' . $images['pa_icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_file'] . '" title="' . $lang['View_latest_file'] . '" /></a>'; } else --- 789,797 ---- if ( !empty( $last_file_info['file_id'] ) && $this->auth_user[$sub_cat_rowset[$k]['cat_id']]['auth_read'] ) { ! $last_file_time = phpBB2::create_date( $board_config['default_dateformat'], $last_file_info['file_time'], $board_config['board_timezone'] ); $last_file = $last_file_time . '<br />'; $last_file_name = ( strlen( $last_file_info['file_name'] ) > 20 ) ? substr( $last_file_info['file_name'], 0, 20 ) . '...' : $last_file_info['file_name']; ! $last_file .= '<a href="' . mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $last_file_info['file_id'] ) ) . '">' . $last_file_name . '</a> '; ! $last_file .= '<a href="' . mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $last_file_info['file_id'] ) ) . '"><img src="' . $images['pa_icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_file'] . '" title="' . $lang['View_latest_file'] . '" /></a>'; } else *************** *** 809,815 **** $sub_cat = $this->get_sub_cat( $sub_cat_rowset[$k]['cat_id'] ); ! $pafiledb_template->assign_block_vars( 'no_cat_parent', array( 'IS_HIGHER_CAT' => false, ! 'U_CAT' => append_sid( $this->this_mxurl( "$action_name=$action_default&cat_id=" . $sub_cat_rowset[$k]['cat_id'] . $map_xtra ) ), 'SUB_CAT' => ( !empty( $sub_cat ) ) ? '<br /><b>' . $lang['Sub_category'] . ': </b>' . $sub_cat : '', 'CAT_IMAGE' => ( $is_new ) ? $images['pa_folder_new'] : $images['pa_folder'], --- 809,815 ---- $sub_cat = $this->get_sub_cat( $sub_cat_rowset[$k]['cat_id'] ); ! $template->assign_block_vars( 'no_cat_parent', array( 'IS_HIGHER_CAT' => false, ! 'U_CAT' => mx_append_sid( $this->this_mxurl( "$action_name=$action_default&cat_id=" . $sub_cat_rowset[$k]['cat_id'] . $map_xtra ) ), 'SUB_CAT' => ( !empty( $sub_cat ) ) ? '<br /><b>' . $lang['Sub_category'] . ': </b>' . $sub_cat : '', 'CAT_IMAGE' => ( $is_new ) ? $images['pa_folder_new'] : $images['pa_folder'], *************** *** 841,845 **** function display_items( $sort_method, $sort_order, $start, $cat_id = false, $show_file_message = true, $sort_options_list = false, $sql_xtra = '', $target_page_id = false ) { ! global $db, $pafiledb_config, $pafiledb_template, $board_config; global $images, $lang, $phpEx, $pafiledb_functions; global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $phpEx; --- 841,845 ---- function display_items( $sort_method, $sort_order, $start, $cat_id = false, $show_file_message = true, $sort_options_list = false, $sql_xtra = '', $target_page_id = false ) { ! global $db, $pafiledb_config, $template, $board_config; global $images, $lang, $phpEx, $pafiledb_functions; global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $phpEx; *************** *** 1005,1010 **** // Format the date for the given file // =================================================== ! $date = create_date( $board_config['default_dateformat'], $file_rowset[$i]['file_time'], $board_config['board_timezone'] ); ! $date_updated = create_date( $board_config['default_dateformat'], $file_rowset[$i]['file_update_time'], $board_config['board_timezone'] ); // =================================================== // Get rating and comments for the file and format it --- 1005,1010 ---- // Format the date for the given file // =================================================== ! $date = phpBB2::create_date( $board_config['default_dateformat'], $file_rowset[$i]['file_time'], $board_config['board_timezone'] ); ! $date_updated = phpBB2::create_date( $board_config['default_dateformat'], $file_rowset[$i]['file_update_time'], $board_config['board_timezone'] ); // =================================================== // Get rating and comments for the file and format it *************** *** 1022,1026 **** $cat_name = ( empty( $cat_id ) ) ? $this->cat_rowset[$file_rowset[$i]['file_catid']]['cat_name'] : ''; ! $cat_url = append_sid( $this->this_mxurl( 'action=category&cat_id=' . $file_rowset[$i]['file_catid'] ) ); // =================================================== // Get the post icon fot this file --- 1022,1026 ---- $cat_name = ( empty( $cat_id ) ) ? $this->cat_rowset[$file_rowset[$i]['file_catid']]['cat_name'] : ''; ! $cat_url = mx_append_sid( $this->this_mxurl( 'action=category&cat_id=' . $file_rowset[$i]['file_catid'] ) ); // =================================================== // Get the post icon fot this file *************** *** 1047,1051 **** // Poster // ! $file_poster = ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . append_sid( $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $file_rowset[$i]['user_id'] ) . '" target=_blank>' : ''; $file_poster .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? $file_rowset[$i]['username'] : $file_rowset[$i]['post_username'] . '(' . $lang['Guest'] . ')'; $file_poster .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : ''; --- 1047,1051 ---- // Poster // ! $file_poster = ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . mx_append_sid( $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $file_rowset[$i]['user_id'] ) . '" target=_blank>' : ''; $file_poster .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? $file_rowset[$i]['username'] : $file_rowset[$i]['post_username'] . '(' . $lang['Guest'] . ')'; $file_poster .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : ''; *************** *** 1055,1059 **** // =================================================== ! $pafiledb_template->assign_block_vars( "file_rows", array( 'L_NEW_FILE' => $lang['New_file'], 'L_SAVE_AS' => $lang['Save_as'], --- 1055,1059 ---- // =================================================== ! $template->assign_block_vars( "file_rows", array( 'L_NEW_FILE' => $lang['New_file'], 'L_SAVE_AS' => $lang['Save_as'], *************** *** 1065,1070 **** 'UPDATED' => $date_updated, 'L_RATING' => $lang['DlRating'], ! 'DO_RATE' => $this->auth_user[$cat_id]['auth_rate'] ? '<a href="' . append_sid( $this->this_mxurl( 'action=rate&file_id=' . $file_rowset[$i]['file_id'] ) ) . '">' . $lang['Do_rate'] . '</a>' : '', ! 'L_COMMENT' => '<a href="' . append_sid( $this->this_mxurl( 'action=post_comment&item_id=' . $file_rowset[$i]['file_id'] . '&cat_id=' . $file_rowset[$i]['file_catid'] ) ) . '">' . $lang['Comments'] . '</a>', 'RATING' => $rating, 'FILE_VOTES' => $file_rowset[$i]['total_votes'], --- 1065,1070 ---- 'UPDATED' => $date_updated, 'L_RATING' => $lang['DlRating'], ! 'DO_RATE' => $this->auth_user[$cat_id]['auth_rate'] ? '<a href="' . mx_append_sid( $this->this_mxurl( 'action=rate&file_id=' . $file_rowset[$i]['file_id'] ) ) . '">' . $lang['Do_rate'] . '</a>' : '', ! 'L_COMMENT' => '<a href="' . mx_append_sid( $this->this_mxurl( 'action=post_comment&item_id=' . $file_rowset[$i]['file_id'] . '&cat_id=' . $file_rowset[$i]['file_catid'] ) ) . '">' . $lang['Comments'] . '</a>', 'RATING' => $rating, 'FILE_VOTES' => $file_rowset[$i]['total_votes'], *************** *** 1075,1081 **** 'U_CAT' => $cat_url, 'SHOW_RATINGS' => ( $pa_use_ratings ? true : false ), ! 'U_FILE' => append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_rowset[$i]['file_id'], false, false, $target_page_id ) ), ! 'U_FILE_JUMP' => append_sid( $this->this_mxurl( 'action=download&file_id=' . $file_rowset[$i]['file_id'], true, false ) ), ! 'U_FILE_JUMP_SAVE_AS' => append_sid( $this->this_mxurl( 'action=download&file_id=' . $file_rowset[$i]['file_id'] . '&save_as', true, false ) ), 'COLOR' => ( ( $i % 2 ) ? "row2" : "row1" ), 'POSTER' => $file_poster, --- 1075,1081 ---- 'U_CAT' => $cat_url, 'SHOW_RATINGS' => ( $pa_use_ratings ? true : false ), ! 'U_FILE' => mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_rowset[$i]['file_id'], false, false, $target_page_id ) ), ! 'U_FILE_JUMP' => mx_append_sid( $this->this_mxurl( 'action=download&file_id=' . $file_rowset[$i]['file_id'], true, false ) ), ! 'U_FILE_JUMP_SAVE_AS' => mx_append_sid( $this->this_mxurl( 'action=download&file_id=' . $file_rowset[$i]['file_id'] . '&save_as', true, false ) ), 'COLOR' => ( ( $i % 2 ) ? "row2" : "row1" ), 'POSTER' => $file_poster, *************** *** 1098,1111 **** { case 'date': ! $pafiledb_template->assign_block_vars( "file_rows.display_date", array()); break; case 'username': ! $pafiledb_template->assign_block_vars( "file_rows.display_username", array()); break; case 'counter': ! $pafiledb_template->assign_block_vars( "file_rows.display_counter", array()); break; case 'rate': ! $pafiledb_template->assign_block_vars( "file_rows.display_rate", array()); break; } --- 1098,1111 ---- { case 'date': ! $template->assign_block_vars( "file_rows.display_date", array()); break; case 'username': ! $template->assign_block_vars( "file_rows.display_username", array()); break; case 'counter': ! $template->assign_block_vars( "file_rows.display_counter", array()); break; case 'rate': ! $template->assign_block_vars( "file_rows.display_rate", array()); break; } *************** *** 1120,1124 **** { $action = ( empty( $cat_id ) ) ? 'viewall' : 'category&cat_id=' . $cat_id; ! $pafiledb_template->assign_vars( array( 'FILELIST' => $filelist, 'ORIGINAL_STYLE' => false, --- 1120,1124 ---- { $action = ( empty( $cat_id ) ) ? 'viewall' : 'category&cat_id=' . $cat_id; ! $template->assign_vars( array( 'FILELIST' => $filelist, 'ORIGINAL_STYLE' => false, *************** *** 1150,1154 **** 'SORT_ASC' => ( $sort_order == 'ASC' ) ? 'selected="selected"' : '', 'SORT_DESC' => ( $sort_order == 'DESC' ) ? 'selected="selected"' : '', ! 'PAGINATION' => generate_pagination( append_sid( $this->this_mxurl( "action=$action&sort_method=$sort_method&sort_order=$sort_order" ) ), $total_file, $pafiledb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $pafiledb_config['pagination'] ) + 1 ), ceil( $total_file / $pafiledb_config['pagination'] ) ), 'ID' => $cat_id, --- 1150,1154 ---- 'SORT_ASC' => ( $sort_order == 'ASC' ) ? 'selected="selected"' : '', 'SORT_DESC' => ( $sort_order == 'DESC' ) ? 'selected="selected"' : '', ! 'PAGINATION' => phpBB2::generate_pagination( mx_append_sid( $this->this_mxurl( "action=$action&sort_method=$sort_method&sort_order=$sort_order" ) ), $total_file, $pafiledb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $pafiledb_config['pagination'] ) + 1 ), ceil( $total_file / $pafiledb_config['pagination'] ) ), 'ID' => $cat_id, *************** *** 1156,1165 **** 'SHOW_RATINGS' => ( $pa_use_ratings ) ? true : false, ! 'S_ACTION_SORT' => append_sid( $this->this_mxurl( "action=$action" ) ) ) ); } else { ! $pafiledb_template->assign_vars( array( 'L_CATEGORY' => $lang['Category'], 'L_RATING' => $lang['DlRating'], --- 1156,1165 ---- 'SHOW_RATINGS' => ( $pa_use_ratings ) ? true : false, ! 'S_ACTION_SORT' => mx_append_sid( $this->this_mxurl( "action=$action" ) ) ) ); } else { ! $template->assign_vars( array( 'L_CATEGORY' => $lang['Category'], 'L_RATING' => $lang['DlRating'], *************** *** 1191,1195 **** function display_items_quickdl( $sort_method, $sort_order, $start, $show_file_message, $cat_id = false ) { ! global $db, $pafiledb_config, $pafiledb_template, $board_config; global $images... [truncated message content] |
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23199/modules Modified Files: pa_category.php pa_download.php pa_email.php pa_file.php pa_license.php pa_lists.php pa_main.php pa_mcp.php pa_mini.php pa_post_comment.php pa_quickdl.php pa_rate.php pa_search.php pa_stats.php pa_toplist.php pa_ucp.php pa_user_upload.php pa_viewall.php Log Message: for 2.9.x Index: pa_viewall.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_viewall.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** pa_viewall.php 13 Aug 2006 19:44:46 -0000 1.20 --- pa_viewall.php 9 Sep 2007 20:16:20 -0000 1.21 *************** *** 27,31 **** function main( $action ) { ! global $pafiledb_template, $lang, $phpEx, $pafiledb_config, $userdata; $start = ( isset( $_REQUEST['start'] ) ) ? intval( $_REQUEST['start'] ) : 0; --- 27,31 ---- function main( $action ) { ! global $template, $lang, $phpEx, $pafiledb_config, $userdata; $start = ( isset( $_REQUEST['start'] ) ) ? intval( $_REQUEST['start'] ) : 0; *************** *** 86,90 **** if ( !$userdata['session_logged_in'] ) { ! redirect( append_sid( "login.$phpEx?redirect=dload.$phpEx?action=viewall", true ) ); } --- 86,90 ---- if ( !$userdata['session_logged_in'] ) { ! mx_redirect( mx_append_sid( "login.$phpEx?redirect=dload.$phpEx?action=viewall", true ) ); } *************** *** 93,102 **** } ! $pafiledb_template->assign_vars( array( 'L_VIEWALL' => $lang['Viewall'], 'L_INDEX' => "<<", ! 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'] --- 93,102 ---- } ! $template->assign_vars( array( 'L_VIEWALL' => $lang['Viewall'], 'L_INDEX' => "<<", ! 'U_INDEX' => mx_append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'] Index: pa_download.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_download.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** pa_download.php 22 Feb 2007 10:12:06 -0000 1.21 --- pa_download.php 9 Sep 2007 20:16:18 -0000 1.22 *************** *** 78,82 **** if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=download&file_id=" . $file_id), true)); } --- 78,82 ---- if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=download&file_id=" . $file_id), true)); } *************** *** 145,152 **** if ( !empty( $mirrors_data ) && !$mirror_id ) { ! global $pafiledb_template; global $template, $db, $theme, $gen_simple_header, $starttime; ! $pafiledb_template->assign_vars( array( 'L_INDEX' => "<<", 'L_MIRRORS' => $lang['Mirrors'], --- 145,152 ---- if ( !empty( $mirrors_data ) && !$mirror_id ) { ! global $template; global $template, $db, $theme, $gen_simple_header, $starttime; ! $template->assign_vars( array( 'L_INDEX' => "<<", 'L_MIRRORS' => $lang['Mirrors'], *************** *** 154,159 **** 'L_DOWNLOAD' => $lang['Download_file'], ! 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD_HOME' => append_sid( $this->this_mxurl() ), 'FILE_NAME' => $file_data['file_name'], --- 154,159 ---- 'L_DOWNLOAD' => $lang['Download_file'], ! 'U_INDEX' => mx_append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD_HOME' => mx_append_sid( $this->this_mxurl() ), 'FILE_NAME' => $file_data['file_name'], *************** *** 161,166 **** )); ! $pafiledb_template->assign_block_vars( 'mirror_row', array( ! 'U_DOWNLOAD' => append_sid( $$this->this_mxurl( 'action=download&file_id=' . $file_id . '&mirror_id=-1' ) ), 'MIRROR_LOCATION' => $board_config['sitename'] )); --- 161,166 ---- )); ! $template->assign_block_vars( 'mirror_row', array( ! 'U_DOWNLOAD' => mx_append_sid( $$this->this_mxurl( 'action=download&file_id=' . $file_id . '&mirror_id=-1' ) ), 'MIRROR_LOCATION' => $board_config['sitename'] )); *************** *** 168,173 **** foreach( $mirrors_data as $mir_id => $mirror_data ) { ! $pafiledb_template->assign_block_vars( 'mirror_row', array( ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl( 'action=download&file_id=' . $file_id . '&mirror_id=' . $mir_id ) ), 'MIRROR_LOCATION' => $mirror_data['mirror_location'] )); --- 168,173 ---- foreach( $mirrors_data as $mir_id => $mirror_data ) { ! $template->assign_block_vars( 'mirror_row', array( ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl( 'action=download&file_id=' . $file_id . '&mirror_id=' . $mir_id ) ), 'MIRROR_LOCATION' => $mirror_data['mirror_location'] )); Index: pa_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_post_comment.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** pa_post_comment.php 13 Aug 2006 19:44:45 -0000 1.21 --- pa_post_comment.php 9 Sep 2007 20:16:19 -0000 1.22 *************** *** 27,31 **** function main( $action ) { ! global $pafiledb_template, $pafiledb_functions, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images, $userdata, $_POST; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars; --- 27,31 ---- function main( $action ) { ! global $template, $pafiledb_functions, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images, $userdata, $_POST; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars; *************** *** 70,74 **** if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=post_comment&item_id=" . $item_id), true)); } --- 70,74 ---- if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=post_comment&item_id=" . $item_id), true)); } *************** *** 183,187 **** $this->_pafiledb(); ! $message = $lang['Comment_deleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( "action=file&file_id=$item_id" ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 183,187 ---- $this->_pafiledb(); ! $message = $lang['Comment_deleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( "action=file&file_id=$item_id" ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 200,204 **** $this->update_add_comment($file_data, $item_id, $cid, '', '', $html_on, $bbcode_on, $smilies_on); ! $message = $lang['Comment_posted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( 'action=file&file_id=' . $item_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 200,204 ---- $this->update_add_comment($file_data, $item_id, $cid, '', '', $html_on, $bbcode_on, $smilies_on); ! $message = $lang['Comment_posted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $item_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 228,234 **** } ! //$pafiledb_template->set_filenames( array( 'preview' => 'pa_post_preview.tpl' ) ); ! $pafiledb_template->assign_vars( array( 'L_PREVIEW' => $lang['Preview'], 'PREVIEW' => true, --- 228,234 ---- } ! //$template->set_filenames( array( 'preview' => 'pa_post_preview.tpl' ) ); ! $template->assign_vars( array( 'L_PREVIEW' => $lang['Preview'], 'PREVIEW' => true, *************** *** 276,282 **** // Output the data to the template // ! $pafiledb_template->assign_vars( array( 'HTML_STATUS' => $html_status, ! 'BBCODE_STATUS' => sprintf($bbcode_status, '<a href="' . PHPBB_URL . append_sid("faq.$phpEx?mode=bbcode") . '" target="_phpbbcode">', '</a>'), 'SMILIES_STATUS' => $smilies_status, 'LINKS_STATUS' => $links_status, --- 276,282 ---- // Output the data to the template // ! $template->assign_vars( array( 'HTML_STATUS' => $html_status, ! 'BBCODE_STATUS' => sprintf($bbcode_status, '<a href="' . PHPBB_URL . mx_append_sid("faq.$phpEx?mode=bbcode") . '" target="_phpbbcode">', '</a>'), 'SMILIES_STATUS' => $smilies_status, 'LINKS_STATUS' => $links_status, *************** *** 347,355 **** 'L_STYLES_TIP' => $lang['Styles_tip'], ! 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD_HOME' => append_sid( $this->this_mxurl() ), ! 'U_FILE_NAME' => append_sid( $this->this_mxurl( 'action=file&item_id=' . $item_id ) ), ! 'S_POST_ACTION' => append_sid( $this->this_mxurl() ), 'S_HIDDEN_FORM_FIELDS' => $hidden_form_fields ) ); --- 347,355 ---- 'L_STYLES_TIP' => $lang['Styles_tip'], ! 'U_INDEX' => mx_append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD_HOME' => mx_append_sid( $this->this_mxurl() ), ! 'U_FILE_NAME' => mx_append_sid( $this->this_mxurl( 'action=file&item_id=' . $item_id ) ), ! 'S_POST_ACTION' => mx_append_sid( $this->this_mxurl() ), 'S_HIDDEN_FORM_FIELDS' => $hidden_form_fields ) ); Index: pa_user_upload.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_user_upload.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** pa_user_upload.php 5 Aug 2007 22:09:09 -0000 1.24 --- pa_user_upload.php 9 Sep 2007 20:16:20 -0000 1.25 *************** *** 28,32 **** { global $pafiledb_config, $board_config, $phpbb_root_path; ! global $pafiledb_template, $db, $lang, $userdata, $user_ip, $phpEx, $pafiledb_functions; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; --- 28,32 ---- { global $pafiledb_config, $board_config, $phpbb_root_path; ! global $template, $db, $lang, $userdata, $user_ip, $phpEx, $pafiledb_functions; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; *************** *** 149,153 **** $this->delete_items( $file_id ); $this->_pafiledb(); ! $message = $lang['Filedeleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( "action=category&cat_id=" . $cat_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 149,153 ---- $this->delete_items( $file_id ); $this->_pafiledb(); ! $message = $lang['Filedeleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( "action=category&cat_id=" . $cat_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 175,183 **** if ( $this->auth_user[$cat_id]['auth_approval'] || $this->auth_user[$cat_id]['auth_mod'] ) { ! $message = $lang['Fileadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( "action=file&file_id=" . $file_id ) ) . '">', '</a>' ); } else { ! $message = $lang['Fileadded_not_validated'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( "action=category&cat_id=" . $cat_id ) ) . '">', '</a>' ); } --- 175,183 ---- if ( $this->auth_user[$cat_id]['auth_approval'] || $this->auth_user[$cat_id]['auth_mod'] ) { ! $message = $lang['Fileadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( "action=file&file_id=" . $file_id ) ) . '">', '</a>' ); } else { ! $message = $lang['Fileadded_not_validated'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( "action=category&cat_id=" . $cat_id ) ) . '">', '</a>' ); } *************** *** 200,208 **** if ( $this->auth_user[$cat_id]['auth_approval_edit'] || $this->auth_user[$cat_id]['auth_mod'] ) { ! $message = $lang['Fileedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( "action=file&file_id=" . $file_id ) ) . '">', '</a>' ); } else { ! $message = $lang['Fileedited_not_validated'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( "action=category&cat_id=" . $cat_id ) ) . '">', '</a>' ); } --- 200,208 ---- if ( $this->auth_user[$cat_id]['auth_approval_edit'] || $this->auth_user[$cat_id]['auth_mod'] ) { ! $message = $lang['Fileedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( "action=file&file_id=" . $file_id ) ) . '">', '</a>' ); } else { ! $message = $lang['Fileedited_not_validated'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( "action=category&cat_id=" . $cat_id ) ) . '">', '</a>' ); } *************** *** 313,318 **** $s_hidden_fields .= '<input type="hidden" name="action" value="user_upload">'; ! $pafiledb_template->assign_vars( array( ! 'S_ADD_FILE_ACTION' => append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'], --- 313,318 ---- $s_hidden_fields .= '<input type="hidden" name="action" value="user_upload">'; ! $template->assign_vars( array( ! 'S_ADD_FILE_ACTION' => mx_append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'], *************** *** 384,388 **** 'S_HIDDEN_FIELDS' => $s_hidden_fields, 'MODE' => $mode, ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ) )); --- 384,388 ---- 'S_HIDDEN_FIELDS' => $s_hidden_fields, 'MODE' => $mode, ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl() ) )); Index: pa_ucp.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_ucp.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** pa_ucp.php 13 Aug 2006 19:44:46 -0000 1.6 --- pa_ucp.php 9 Sep 2007 20:16:20 -0000 1.7 *************** *** 28,32 **** function main( $action ) { ! global $pafiledb_template, $lang, $board_config, $phpEx, $pafiledb_config, $debug; return false; } --- 28,32 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $pafiledb_config, $debug; return false; } Index: pa_file.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_file.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** pa_file.php 13 Aug 2006 19:44:45 -0000 1.22 --- pa_file.php 9 Sep 2007 20:16:19 -0000 1.23 *************** *** 27,31 **** function main( $action ) { ! global $pafiledb_template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images; global $phpbb_root_path, $userdata, $db, $pafiledb_functions; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; --- 27,31 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images; global $phpbb_root_path, $userdata, $db, $pafiledb_functions; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; *************** *** 94,98 **** if ( !$userdata['session_logged_in'] ) { ! mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=file&file_id=" . $file_id), true)); } */ --- 94,98 ---- if ( !$userdata['session_logged_in'] ) { ! mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=file&file_id=" . $file_id), true)); } */ *************** *** 101,109 **** } ! $pafiledb_template->assign_vars( array( 'L_INDEX' => "<<", ! 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD_HOME' => append_sid( $this->this_mxurl() ), 'FILE_NAME' => $file_data['file_name'], --- 101,109 ---- } ! $template->assign_vars( array( 'L_INDEX' => "<<", ! 'U_INDEX' => mx_append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD_HOME' => mx_append_sid( $this->this_mxurl() ), 'FILE_NAME' => $file_data['file_name'], *************** *** 114,132 **** // Prepare file info to display them // =================================================== ! $file_time = create_date( $board_config['default_dateformat'], $file_data['file_time'], $board_config['board_timezone'] ); ! $file_last_download = ( $file_data['file_last'] ) ? create_date( $board_config['default_dateformat'], $file_data['file_last'], $board_config['board_timezone'] ) : $lang['never']; ! $file_update_time = ( $file_data['file_update_time'] ) ? create_date( $board_config['default_dateformat'], $file_data['file_update_time'], $board_config['board_timezone'] ) : $lang['never']; $file_author = trim( $file_data['file_creator'] ); $file_version = trim( $file_data['file_version'] ); $file_screenshot_url = trim( $file_data['file_ssurl'] ); $file_website_url = trim( $file_data['file_docsurl'] ); ! $file_download_link = ( $file_data['file_license'] > 0 ) ? append_sid( $this->this_mxurl( 'action=license&license_id=' . $file_data['file_license'] . '&file_id=' . $file_id ) ) : append_sid( $this->this_mxurl( 'action=download&file_id=' . $file_id, 1 ) ); $file_size = $pafiledb_functions->get_file_size( $file_id, $file_data ); ! $file_poster = ( $file_data['user_id'] != ANONYMOUS ) ? '<a href="' . append_sid( $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $file_data['user_id'] ) . '">' : ''; $file_poster .= ( $file_data['user_id'] != ANONYMOUS ) ? $file_data['username'] : $lang['Guest']; $file_poster .= ( $file_data['user_id'] != ANONYMOUS ) ? '</a>' : ''; ! $pafiledb_template->assign_vars( array( 'L_CLICK_HERE' => $lang['Click_here'], 'L_AUTHOR' => $lang['Creator'], --- 114,132 ---- // Prepare file info to display them // =================================================== ! $file_time = phpBB2::create_date( $board_config['default_dateformat'], $file_data['file_time'], $board_config['board_timezone'] ); ! $file_last_download = ( $file_data['file_last'] ) ? phpBB2::create_date( $board_config['default_dateformat'], $file_data['file_last'], $board_config['board_timezone'] ) : $lang['never']; ! $file_update_time = ( $file_data['file_update_time'] ) ? phpBB2::create_date( $board_config['default_dateformat'], $file_data['file_update_time'], $board_config['board_timezone'] ) : $lang['never']; $file_author = trim( $file_data['file_creator'] ); $file_version = trim( $file_data['file_version'] ); $file_screenshot_url = trim( $file_data['file_ssurl'] ); $file_website_url = trim( $file_data['file_docsurl'] ); ! $file_download_link = ( $file_data['file_license'] > 0 ) ? mx_append_sid( $this->this_mxurl( 'action=license&license_id=' . $file_data['file_license'] . '&file_id=' . $file_id ) ) : mx_append_sid( $this->this_mxurl( 'action=download&file_id=' . $file_id, 1 ) ); $file_size = $pafiledb_functions->get_file_size( $file_id, $file_data ); ! $file_poster = ( $file_data['user_id'] != ANONYMOUS ) ? '<a href="' . mx_append_sid( $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $file_data['user_id'] ) . '">' : ''; $file_poster .= ( $file_data['user_id'] != ANONYMOUS ) ? $file_data['username'] : $lang['Guest']; $file_poster .= ( $file_data['user_id'] != ANONYMOUS ) ? '</a>' : ''; ! $template->assign_vars( array( 'L_CLICK_HERE' => $lang['Click_here'], 'L_AUTHOR' => $lang['Creator'], *************** *** 176,183 **** 'U_DOWNLOAD' => $file_download_link, ! 'U_DELETE' => append_sid( $this->this_mxurl( 'action=user_upload&do=delete&file_id=' . $file_id ) ), ! 'U_EDIT' => append_sid( $this->this_mxurl( 'action=user_upload&file_id=' . $file_id ) ), ! 'U_EMAIL' => append_sid( $this->this_mxurl( 'action=email&file_id=' . $file_id ) ) )); --- 176,183 ---- 'U_DOWNLOAD' => $file_download_link, ! 'U_DELETE' => mx_append_sid( $this->this_mxurl( 'action=user_upload&do=delete&file_id=' . $file_id ) ), ! 'U_EDIT' => mx_append_sid( $this->this_mxurl( 'action=user_upload&file_id=' . $file_id ) ), ! 'U_EMAIL' => mx_append_sid( $this->this_mxurl( 'action=email&file_id=' . $file_id ) ) )); *************** *** 198,202 **** } ! $pafiledb_template->assign_block_vars( 'use_ratings', array( 'L_RATING' => $lang['DlRating'], 'L_RATE' => $lang['Rate'], --- 198,202 ---- } ! $template->assign_block_vars( 'use_ratings', array( 'L_RATING' => $lang['DlRating'], 'L_RATE' => $lang['Rate'], *************** *** 209,213 **** // 'RATE_IMG' => $rate_img, ! 'U_RATE' => append_sid( $this->this_mxurl( 'action=rate&file_id=' . $file_id ) ), )); } --- 209,213 ---- // 'RATE_IMG' => $rate_img, ! 'U_RATE' => mx_append_sid( $this->this_mxurl( 'action=rate&file_id=' . $file_id ) ), )); } Index: pa_license.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_license.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** pa_license.php 13 Aug 2006 19:44:45 -0000 1.19 --- pa_license.php 9 Sep 2007 20:16:19 -0000 1.20 *************** *** 27,31 **** function main( $action ) { ! global $pafiledb_template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images, $userdata; global $_REQUEST, $phpbb_root_path; global $mx_root_path, $module_root_path, $is_block, $page_id, $phpEx; --- 27,31 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images, $userdata; global $_REQUEST, $phpbb_root_path; global $mx_root_path, $module_root_path, $is_block, $page_id, $phpEx; *************** *** 69,73 **** if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(append_sid($mx_root_path . 'login.'.$phpEx.'?redirect='.$this->this_mxurl('action=license&license_id=' . $license_id . '&file_id=' . $file_id), true)); } --- 69,73 ---- if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(mx_append_sid($mx_root_path . 'login.'.$phpEx.'?redirect='.$this->this_mxurl('action=license&license_id=' . $license_id . '&file_id=' . $file_id), true)); } *************** *** 92,96 **** $db->sql_freeresult( $result ); ! $pafiledb_template->assign_vars( array( 'L_INDEX' => "<<", 'L_LICENSE' => $lang['License'], --- 92,96 ---- $db->sql_freeresult( $result ); ! $template->assign_vars( array( 'L_INDEX' => "<<", 'L_LICENSE' => $lang['License'], *************** *** 99,106 **** 'L_NOT_AGREE' => $lang['Dontagree'], ! 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD_HOME' => append_sid( $this->this_mxurl() ), ! 'U_FILE_NAME' => append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_id ) ), ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl( 'action=download&file_id=' . $file_id, 1 ) ), 'LE_NAME' => $license['license_name'], --- 99,106 ---- 'L_NOT_AGREE' => $lang['Dontagree'], ! 'U_INDEX' => mx_append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD_HOME' => mx_append_sid( $this->this_mxurl() ), ! 'U_FILE_NAME' => mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_id ) ), ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl( 'action=download&file_id=' . $file_id, 1 ) ), 'LE_NAME' => $license['license_name'], Index: pa_mcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_mcp.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** pa_mcp.php 13 Aug 2006 19:44:45 -0000 1.16 --- pa_mcp.php 9 Sep 2007 20:16:19 -0000 1.17 *************** *** 29,33 **** global $db, $lang, $userdata, $board_config, $phpEx, $images, $debug; global $mx_root_path, $phpbb_root_path, $module_root_path, $is_block, $phpEx; ! global $pafiledb_functions, $pafiledb_template, $pafiledb_config; $cat_id = ( isset( $_REQUEST['cat_id'] ) ) ? intval( $_REQUEST['cat_id'] ) : 0; --- 29,33 ---- global $db, $lang, $userdata, $board_config, $phpEx, $images, $debug; global $mx_root_path, $phpbb_root_path, $module_root_path, $is_block, $phpEx; ! global $pafiledb_functions, $template, $pafiledb_config; $cat_id = ( isset( $_REQUEST['cat_id'] ) ) ? intval( $_REQUEST['cat_id'] ) : 0; *************** *** 275,279 **** } ! $pafiledb_template->set_filenames( array( 'admin' => $template_item ) ); if ($mode == 'cat') --- 275,279 ---- } ! $template->set_filenames( array( 'admin' => $template_item ) ); if ($mode == 'cat') *************** *** 282,293 **** } ! $pafiledb_template->assign_vars( array( 'DOWNLOAD' => $pafiledb_config['module_name'], // Module specific ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), // Module specific 'L_MCP_TITLE' => $l_title, 'L_MCP_EXPLAIN' => $l_explain, 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_ACTION' => append_sid( $this->this_mxurl( "action=mcp" ) ) )); --- 282,293 ---- } ! $template->assign_vars( array( 'DOWNLOAD' => $pafiledb_config['module_name'], // Module specific ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl() ), // Module specific 'L_MCP_TITLE' => $l_title, 'L_MCP_EXPLAIN' => $l_explain, 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_ACTION' => mx_append_sid( $this->this_mxurl( "action=mcp" ) ) )); *************** *** 482,486 **** $cat_list .= '</select>'; ! $pafiledb_template->assign_vars( array( 'L_EDIT' => $lang['Editfile'], 'L_DELETE' => $lang['Delete'], --- 482,486 ---- $cat_list .= '</select>'; ! $template->assign_vars( array( 'L_EDIT' => $lang['Editfile'], 'L_DELETE' => $lang['Delete'], *************** *** 495,499 **** 'L_NO_ITEMS' => $lang['No_item'], ! 'PAGINATION' => generate_pagination( append_sid( $this->this_mxurl( "action=mcp&mode_mcp=$mode&sort_method=$sort_method&sort_order=$sort_order" ) . ($mode == 'cat' ? "&cat_id=$cat_id" : '') ), $total_num, $pafiledb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $pafiledb_config['pagination'] ) + 1 ), ceil( $total_num / $pafiledb_config['pagination'] ) ), --- 495,499 ---- 'L_NO_ITEMS' => $lang['No_item'], ! 'PAGINATION' => phpBB2::generate_pagination( mx_append_sid( $this->this_mxurl( "action=mcp&mode_mcp=$mode&sort_method=$sort_method&sort_order=$sort_order" ) . ($mode == 'cat' ? "&cat_id=$cat_id" : '') ), $total_num, $pafiledb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $pafiledb_config['pagination'] ) + 1 ), ceil( $total_num / $pafiledb_config['pagination'] ) ), *************** *** 519,523 **** } ! $pafiledb_template->assign_block_vars( 'mcp_mode', array( 'L_MODE' => $data['lang_var'], 'DATA' => ( isset( $data['row_set'] ) ) ? true : false, --- 519,523 ---- } ! $template->assign_block_vars( 'mcp_mode', array( 'L_MODE' => $data['lang_var'], 'DATA' => ( isset( $data['row_set'] ) ) ? true : false, *************** *** 533,543 **** { $approve_mode = ( $item_data['file_approved'] ) ? 'do_unapprove' : 'do_approve'; ! $pafiledb_template->assign_block_vars( 'mcp_mode.row', array( 'NAME' => $item_data['file_name'], 'NUMBER' => $i++, 'ID' => $item_data['file_id'], ! 'U_EDIT' => append_sid( $this->this_mxurl( "action=user_upload&mode_mcp=edit&file_id={$item_data['file_id']}" ) ), ! 'U_DELETE' => append_sid( $this->this_mxurl( "action=mcp&mode_mcp=$mode&do_mode=do_delete&id={$item_data['file_id']}" ) ), ! 'U_APPROVE' => append_sid( $this->this_mxurl( "action=mcp&mode_mcp=$mode&do_mode=$approve_mode&id={$item_data['file_id']}" ) . ($mode == 'cat' ? "&cat_id=$cat_id" : '') ), 'L_APPROVE' => ( $item_data['file_approved'] ) ? $lang['Unapprove'] : $lang['Approve'] ) ); --- 533,543 ---- { $approve_mode = ( $item_data['file_approved'] ) ? 'do_unapprove' : 'do_approve'; ! $template->assign_block_vars( 'mcp_mode.row', array( 'NAME' => $item_data['file_name'], 'NUMBER' => $i++, 'ID' => $item_data['file_id'], ! 'U_EDIT' => mx_append_sid( $this->this_mxurl( "action=user_upload&mode_mcp=edit&file_id={$item_data['file_id']}" ) ), ! 'U_DELETE' => mx_append_sid( $this->this_mxurl( "action=mcp&mode_mcp=$mode&do_mode=do_delete&id={$item_data['file_id']}" ) ), ! 'U_APPROVE' => mx_append_sid( $this->this_mxurl( "action=mcp&mode_mcp=$mode&do_mode=$approve_mode&id={$item_data['file_id']}" ) . ($mode == 'cat' ? "&cat_id=$cat_id" : '') ), 'L_APPROVE' => ( $item_data['file_approved'] ) ? $lang['Unapprove'] : $lang['Approve'] ) ); *************** *** 553,557 **** $this->update_add_item_notify($itemId, $mode_notification); ! $pafiledb_template->assign_vars( array( 'ERROR' => ( sizeof( $this->error ) ) ? implode( '<br />', $this->error ) : '' ) ); $this->display( $lang['MCP'], $template_item ); --- 553,557 ---- $this->update_add_item_notify($itemId, $mode_notification); ! $template->assign_vars( array( 'ERROR' => ( sizeof( $this->error ) ) ? implode( '<br />', $this->error ) : '' ) ); $this->display( $lang['MCP'], $template_item ); Index: pa_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_category.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** pa_category.php 13 Aug 2006 19:44:45 -0000 1.19 --- pa_category.php 9 Sep 2007 20:16:18 -0000 1.20 *************** *** 27,31 **** function main( $action ) { ! global $pafiledb_template, $lang, $phpEx, $pafiledb_config, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; --- 27,31 ---- function main( $action ) { ! global $template, $lang, $phpEx, $pafiledb_config, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; *************** *** 112,116 **** if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=". $this->this_mxurl("action=category&cat_id=" . $cat_id, true), true)); } --- 112,116 ---- if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=". $this->this_mxurl("action=category&cat_id=" . $cat_id, true), true)); } *************** *** 136,141 **** } ! $pafiledb_template->assign_vars( array( ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'] ) ); --- 136,141 ---- } ! $template->assign_vars( array( ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'] ) ); Index: pa_email.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_email.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** pa_email.php 13 Aug 2006 19:44:45 -0000 1.17 --- pa_email.php 9 Sep 2007 20:16:18 -0000 1.18 *************** *** 27,31 **** function main( $action ) { ! global $pafiledb_template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images, $userdata; global $_REQUEST, $_POST, $phpbb_root_path; global $mx_root_path, $module_root_path, $is_block, $phpEx; --- 27,31 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images, $userdata; global $_REQUEST, $_POST, $phpbb_root_path; global $mx_root_path, $module_root_path, $is_block, $phpEx; *************** *** 60,64 **** if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=email&file_id=" . $file_id), true)); } --- 60,64 ---- if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=email&file_id=" . $file_id), true)); } *************** *** 171,175 **** $emailer->reset(); ! $message = $lang['Econf'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( 'action=file&id=' . $file_id ) ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_forum'], '<a href="' . append_sid( $mx_root_path . 'index.' . $phpEx ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 171,175 ---- $emailer->reset(); ! $message = $lang['Econf'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( 'action=file&id=' . $file_id ) ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_forum'], '<a href="' . mx_append_sid( $mx_root_path . 'index.' . $phpEx ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 181,187 **** } ! $pafiledb_template->assign_vars( array( 'USER_LOGGED' => ( !$userdata['session_logged_in'] ) ? true : false, ! 'S_EMAIL_ACTION' => append_sid( $this->this_mxurl() ), 'S_HIDDEN_FIELDS' => '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />', --- 181,187 ---- } ! $template->assign_vars( array( 'USER_LOGGED' => ( !$userdata['session_logged_in'] ) ? true : false, ! 'S_EMAIL_ACTION' => mx_append_sid( $this->this_mxurl() ), 'S_HIDDEN_FIELDS' => '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />', *************** *** 201,207 **** 'L_EMPTY_MESSAGE_EMAIL' => $lang['Empty_message_email'], ! 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD_HOME' => append_sid( $this->this_mxurl() ), ! 'U_FILE_NAME' => append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_id ) ), 'FILE_NAME' => $file_data['file_name'], --- 201,207 ---- 'L_EMPTY_MESSAGE_EMAIL' => $lang['Empty_message_email'], ! 'U_INDEX' => mx_append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD_HOME' => mx_append_sid( $this->this_mxurl() ), ! 'U_FILE_NAME' => mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_id ) ), 'FILE_NAME' => $file_data['file_name'], Index: pa_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_lists.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pa_lists.php 12 Sep 2006 19:31:37 -0000 1.3 --- pa_lists.php 9 Sep 2007 20:16:19 -0000 1.4 *************** *** 27,31 **** function main( $action ) { ! global $pafiledb_template, $lang, $phpEx, $pafiledb_config, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; global $toplist_page_id, $toplist_config; --- 27,31 ---- function main( $action ) { ! global $template, $lang, $phpEx, $pafiledb_config, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; global $toplist_page_id, $toplist_config; *************** *** 132,145 **** $pafiledb_config['pagination'] = $tmp_pag; ! $pafiledb_template->assign_vars( array( ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'], ! 'BLOCK_PAGINATION' => mx_generate_pagination(append_sid( $this->this_mxurl( '', false, false ) ), $total_num_items, $toplist_config['toplist_pagination'], $start, true, true, true, false, 'pa_start'), )); if ($toplist_config['toplist_use_pagination'] == 'TRUE') { ! $pafiledb_template->assign_block_vars( "toplist_pagination", array()); } --- 132,145 ---- $pafiledb_config['pagination'] = $tmp_pag; ! $template->assign_vars( array( ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'], ! 'BLOCK_PAGINATION' => mx_generate_pagination(mx_append_sid( $this->this_mxurl( '', false, false ) ), $total_num_items, $toplist_config['toplist_pagination'], $start, true, true, true, false, 'pa_start'), )); if ($toplist_config['toplist_use_pagination'] == 'TRUE') { ! $template->assign_block_vars( "toplist_pagination", array()); } Index: pa_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_main.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** pa_main.php 13 Aug 2006 19:44:45 -0000 1.18 --- pa_main.php 9 Sep 2007 20:16:19 -0000 1.19 *************** *** 27,37 **** function main( $action ) { ! global $pafiledb_template, $lang, $board_config, $phpEx, $pafiledb_config, $debug, $phpbb_root_path; // // Assign vars // ! $pafiledb_template->assign_vars( array( ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'], 'TREE' => $menu_output --- 27,37 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $pafiledb_config, $debug, $phpbb_root_path; // // Assign vars // ! $template->assign_vars( array( ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'], 'TREE' => $menu_output Index: pa_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_search.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** pa_search.php 16 May 2007 19:41:22 -0000 1.21 --- pa_search.php 9 Sep 2007 20:16:20 -0000 1.22 *************** *** 27,31 **** function main( $action ) { ! global $pafiledb_template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images; global $_REQUEST, $_POST, $phpbb_root_path, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx; --- 27,31 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images; global $_REQUEST, $_POST, $phpbb_root_path, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx; *************** *** 35,39 **** if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=stats"), true)); } --- 35,39 ---- if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=stats"), true)); } *************** *** 518,531 **** $l_search_matches = ( $total_match_count == 1 ) ? sprintf( $lang['Found_search_match'], $total_match_count ) : sprintf( $lang['Found_search_matches'], $total_match_count ); ! $pafiledb_template->assign_vars( array( 'L_SEARCH_MATCHES' => $l_search_matches ) ); for( $i = 0; $i < count( $searchset ); $i++ ) { ! $cat_url = append_sid( $this->this_mxurl( 'action=category&cat_id=' . $searchset[$i]['cat_id'] ) ); ! $file_url = append_sid( $this->this_mxurl( 'action=file&file_id=' . $searchset[$i]['file_id'] ) ); // =================================================== // Format the date for the given file // =================================================== ! $date = create_date( $board_config['default_dateformat'], $searchset[$i]['file_time'], $board_config['board_timezone'] ); // =================================================== // Get rating for the file and format it --- 518,531 ---- $l_search_matches = ( $total_match_count == 1 ) ? sprintf( $lang['Found_search_match'], $total_match_count ) : sprintf( $lang['Found_search_matches'], $total_match_count ); ! $template->assign_vars( array( 'L_SEARCH_MATCHES' => $l_search_matches ) ); for( $i = 0; $i < count( $searchset ); $i++ ) { ! $cat_url = mx_append_sid( $this->this_mxurl( 'action=category&cat_id=' . $searchset[$i]['cat_id'] ) ); ! $file_url = mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $searchset[$i]['file_id'] ) ); // =================================================== // Format the date for the given file // =================================================== ! $date = phpBB2::create_date( $board_config['default_dateformat'], $searchset[$i]['file_time'], $board_config['board_timezone'] ); // =================================================== // Get rating for the file and format it *************** *** 559,567 **** } ! $poster = ( $searchset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . append_sid( $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $searchset[$i]['user_id'] ) . '">' : ''; $poster .= ( $searchset[$i]['user_id'] != ANONYMOUS ) ? $searchset[$i]['username'] : $lang['Guest']; $poster .= ( $searchset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : ''; ! $pafiledb_template->assign_block_vars( 'searchresults', array( 'CAT_NAME' => $searchset[$i]['cat_name'], 'FILE_NEW_IMAGE' => $images['pa_file_new'], --- 559,567 ---- } ! $poster = ( $searchset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . mx_append_sid( $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $searchset[$i]['user_id'] ) . '">' : ''; $poster .= ( $searchset[$i]['user_id'] != ANONYMOUS ) ? $searchset[$i]['username'] : $lang['Guest']; $poster .= ( $searchset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : ''; ! $template->assign_block_vars( 'searchresults', array( 'CAT_NAME' => $searchset[$i]['cat_name'], 'FILE_NEW_IMAGE' => $images['pa_file_new'], *************** *** 579,591 **** ); } ! $base_url = append_sid( $this->this_mxurl( "action=search&search_id=$search_id" ) ); ! $pafiledb_template->assign_vars( array( ! 'PAGINATION' => generate_pagination( $base_url, $total_match_count, $pafiledb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $pafiledb_config['pagination'] ) + 1 ), ceil( $total_match_count / $pafiledb_config['pagination'] ) ), 'L_MODULE' => $pafiledb_config['module_name'], ! 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), 'L_INDEX' => "<<", --- 579,591 ---- ); } ! $base_url = mx_append_sid( $this->this_mxurl( "action=search&search_id=$search_id" ) ); ! $template->assign_vars( array( ! 'PAGINATION' => phpBB2::generate_pagination( $base_url, $total_match_count, $pafiledb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $pafiledb_config['pagination'] ) + 1 ), ceil( $total_match_count / $pafiledb_config['pagination'] ) ), 'L_MODULE' => $pafiledb_config['module_name'], ! 'U_INDEX' => mx_append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl() ), 'L_INDEX' => "<<", *************** *** 611,622 **** $dropmenu = $this->generate_jumpbox(); ! $pafiledb_template->assign_vars( array( ! 'S_SEARCH_ACTION' => append_sid( $this->this_mxurl() ), 'S_CAT_MENU' => $dropmenu, 'L_MODULE' => $pafiledb_config['module_name'], ! 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), 'L_YES' => $lang['Yes'], --- 611,622 ---- $dropmenu = $this->generate_jumpbox(); ! $template->assign_vars( array( ! 'S_SEARCH_ACTION' => mx_append_sid( $this->this_mxurl() ), 'S_CAT_MENU' => $dropmenu, 'L_MODULE' => $pafiledb_config['module_name'], ! 'U_INDEX' => mx_append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl() ), 'L_YES' => $lang['Yes'], Index: pa_quickdl.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_quickdl.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** pa_quickdl.php 15 Aug 2006 19:08:33 -0000 1.13 --- pa_quickdl.php 9 Sep 2007 20:16:19 -0000 1.14 *************** *** 27,31 **** function main( $action ) { ! global $pafiledb_template, $lang, $phpEx, $pafiledb_config, $_REQUEST, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx, $pafiledb_quickdl, $page_id; --- 27,31 ---- function main( $action ) { ! global $template, $lang, $phpEx, $pafiledb_config, $_REQUEST, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx, $pafiledb_quickdl, $page_id; *************** *** 141,145 **** if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("actionqdl=category&cat_id=" . $cat_id), true)); } --- 141,145 ---- if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("actionqdl=category&cat_id=" . $cat_id), true)); } *************** *** 168,173 **** //$map_xtra = !empty( $pa_get_dynamic[$pafiledb_quickdl['pa_quick_cat']] ) ? '&dynamic_block=' . $pa_get_dynamic[$pafiledb_quickdl['pa_quick_cat']] : ''; ! $pafiledb_template->assign_vars( array( ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl( 'actionqdl=quickdl&cat_id=' . $pafiledb_quickdl['pa_quick_cat'] . $map_xtra ) ), 'DOWNLOAD' => $quickdl['cat_name'], 'BACK' => $quickdl_back --- 168,173 ---- //$map_xtra = !empty( $pa_get_dynamic[$pafiledb_quickdl['pa_quick_cat']] ) ? '&dynamic_block=' . $pa_get_dynamic[$pafiledb_quickdl['pa_quick_cat']] : ''; ! $template->assign_vars( array( ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl( 'actionqdl=quickdl&cat_id=' . $pafiledb_quickdl['pa_quick_cat'] . $map_xtra ) ), 'DOWNLOAD' => $quickdl['cat_name'], 'BACK' => $quickdl_back Index: pa_rate.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_rate.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** pa_rate.php 13 Aug 2006 19:44:45 -0000 1.18 --- pa_rate.php 9 Sep 2007 20:16:20 -0000 1.19 *************** *** 27,31 **** function main( $action ) { ! global $pafiledb_template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $userdata; global $phpbb_root_path, $pafiledb_user, $pafiledb_functions; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; --- 27,31 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $userdata; global $phpbb_root_path, $pafiledb_user, $pafiledb_functions; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; *************** *** 63,67 **** if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=rate&file_id=" . $file_id), true)); } --- 63,67 ---- if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=rate&file_id=" . $file_id), true)); } *************** *** 70,80 **** } ! $pafiledb_template->assign_vars( array( 'L_INDEX' => "<<", 'L_RATE' => $lang['Rate'], ! 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD_HOME' => append_sid( $this->this_mxurl() ), ! 'U_FILE_NAME' => append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_id ) ), 'FILE_NAME' => $file_data['file_name'], --- 70,80 ---- } ! $template->assign_vars( array( 'L_INDEX' => "<<", 'L_RATE' => $lang['Rate'], ! 'U_INDEX' => mx_append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD_HOME' => mx_append_sid( $this->this_mxurl() ), ! 'U_FILE_NAME' => mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_id ) ), 'FILE_NAME' => $file_data['file_name'], *************** *** 99,103 **** $result_msg = str_replace( "{newrating}", $rate_info, $result_msg ); ! $message = $result_msg . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 99,103 ---- $result_msg = str_replace( "{newrating}", $rate_info, $result_msg ); ! $message = $result_msg . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 106,111 **** $rate_info = str_replace( "{filename}", $file_data['file_name'], $lang['Rateinfo'] ); ! $pafiledb_template->assign_vars( array( ! 'S_RATE_ACTION' => append_sid( $this->this_mxurl( 'action=rate&file_id=' . $file_id ) ), 'L_RATE' => $lang['Rate'], 'L_RERROR' => $lang['Rerror'], --- 106,111 ---- $rate_info = str_replace( "{filename}", $file_data['file_name'], $lang['Rateinfo'] ); ! $template->assign_vars( array( ! 'S_RATE_ACTION' => mx_append_sid( $this->this_mxurl( 'action=rate&file_id=' . $file_id ) ), 'L_RATE' => $lang['Rate'], 'L_RERROR' => $lang['Rerror'], Index: pa_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_mini.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pa_mini.php 2 Jun 2007 19:47:06 -0000 1.5 --- pa_mini.php 9 Sep 2007 20:16:19 -0000 1.6 *************** *** 27,31 **** function main( $action ) { ! global $pafiledb_template, $lang, $phpEx, $pafiledb_config, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars, $mini_config; global $page_id; --- 27,31 ---- function main( $action ) { ! global $template, $lang, $phpEx, $pafiledb_config, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars, $mini_config; global $page_id; *************** *** 69,73 **** if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=". $this->this_mxurl("action=category&cat_id=" . $cat_id, true), true)); } --- 69,73 ---- if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=". $this->this_mxurl("action=category&cat_id=" . $cat_id, true), true)); } *************** *** 101,106 **** } ! $pafiledb_template->assign_vars( array( ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'], --- 101,106 ---- } ! $template->assign_vars( array( ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'], *************** *** 108,113 **** 'MX_PAGE' => $page_id, ! 'S_JUMPBOX_ACTION' => append_sid( $this->this_mxurl( ) ), ! 'BLOCK_PAGINATION' => mx_generate_pagination(append_sid( $this->this_mxurl( 'cat_id=' . $cat_id, false, false ) ), $total_num_items, $mini_config['mini_pagination'], $start, true, true, true, false, 'mini_start'), )); --- 108,113 ---- 'MX_PAGE' => $page_id, ! 'S_JUMPBOX_ACTION' => mx_append_sid( $this->this_mxurl( ) ), ! 'BLOCK_PAGINATION' => mx_generate_pagination(mx_append_sid( $this->this_mxurl( 'cat_id=' . $cat_id, false, false ) ), $total_num_items, $mini_config['mini_pagination'], $start, true, true, true, false, 'mini_start'), )); Index: pa_toplist.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_toplist.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** pa_toplist.php 16 May 2007 19:41:22 -0000 1.23 --- pa_toplist.php 9 Sep 2007 20:16:20 -0000 1.24 *************** *** 27,31 **** function main( $action ) { ! global $pafiledb_template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images; global $phpbb_root_path, $userdata, $db; global $mx_root_path, $module_root_path, $is_block, $phpEx; --- 27,31 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $pafiledb_config, $db, $images; global $phpbb_root_path, $userdata, $db; global $mx_root_path, $module_root_path, $is_block, $phpEx; *************** *** 35,39 **** if ( !$userdata['session_logged_in'] ) { ! redirect( append_sid( "login.$phpEx?redirect=dload.$phpEx?action=stats", true ) ); } --- 35,39 ---- if ( !$userdata['session_logged_in'] ) { ! mx_redirect( mx_append_sid( "login.$phpEx?redirect=dload.$phpEx?action=stats", true ) ); } *************** *** 61,72 **** } ! $pafiledb_template->assign_vars( array( 'DOWNLOAD' => $pafiledb_config['module_name'], ! 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), ! 'U_NEWEST_FILE' => append_sid( $this->this_mxurl( 'action=toplist&mode=newest' ) ), ! 'U_MOST_POPULAR' => append_sid( $this->this_mxurl( 'action=toplist&mode=downloads' ) ), ! 'U_TOP_RATED' => append_sid( $this->this_mxurl( 'action=toplist&mode=rating' ) ), 'L_CURRENT_TOPLIST' => $l_current_toplist, --- 61,72 ---- } ! $template->assign_vars( array( 'DOWNLOAD' => $pafiledb_config['module_name'], ! 'U_INDEX' => mx_append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl() ), ! 'U_NEWEST_FILE' => mx_append_sid( $this->this_mxurl( 'action=toplist&mode=newest' ) ), ! 'U_MOST_POPULAR' => mx_append_sid( $this->this_mxurl( 'action=toplist&mode=downloads' ) ), ! 'U_TOP_RATED' => mx_append_sid( $this->this_mxurl( 'action=toplist&mode=rating' ) ), 'L_CURRENT_TOPLIST' => $l_current_toplist, *************** *** 126,130 **** } ! $pafiledb_template->assign_vars( array( 'IS_NEWEST' => true, 'FILE_DATE' => ( empty( $selected_date ) ) ? true : false, --- 126,130 ---- } ! $template->assign_vars( array( 'IS_NEWEST' => true, 'FILE_DATE' => ( empty( $selected_date ) ) ? true : false, *************** *** 142,148 **** 'L_NEW_FILES' => sprintf( $lang['New_Files'], $days ), ! 'U_ONE_WEEK' => append_sid( $this->this_mxurl( 'action=toplist&mode=newest&days=7' ) ), ! 'U_TWO_WEEK' => append_sid( $this->this_mxurl( 'action=toplist&mode=newest&days=14' ) ), ! 'U_30_DAYS' => append_sid( $this->this_mxurl( 'action=toplist&mode=newest&days=30' ) ) ) ); --- 142,148 ---- 'L_NEW_FILES' => sprintf( $lang['New_Files'], $days ), ! 'U_ONE_WEEK' => mx_append_sid( $this->this_mxurl( 'action=toplist&mode=newest&days=7' ) ), ! 'U_TWO_WEEK' => mx_append_sid( $this->this_mxurl( 'action=toplist&mode=newest&days=14' ) ), ! 'U_30_DAYS' => mx_append_sid( $this->this_mxurl( 'action=toplist&mode=newest&days=30' ) ) ) ); *************** *** 163,168 **** } ! $pafiledb_template->assign_block_vars( 'files_date', array( ! 'U_DATES' => append_sid( $this->this_mxurl( 'action=toplist&mode=newest&days=7&selected_date=' . $day_time ) ), 'DATES' => date( 'F d, Y', $day_time ), 'TOTAL_DOWNLOADS' => $file_num ) --- 163,168 ---- } ! $template->assign_block_vars( 'files_date', array( ! 'U_DATES' => mx_append_sid( $this->this_mxurl( 'action=toplist&mode=newest&days=7&selected_date=' . $day_time ) ), 'DATES' => date( 'F d, Y', $day_time ), 'TOTAL_DOWNLOADS' => $file_num ) *************** *** 172,176 **** else { ! $pafiledb_template->assign_vars( array( 'FILE_LIST' => true, --- 172,176 ---- else { ! $template->assign_vars( array( 'FILE_LIST' => true, *************** *** 258,268 **** for ( $i = 0; $i < count( $file_rowset ); $i++ ) { ! $cat_url = append_sid( $this->this_mxurl( 'action=category&cat_id=' . $file_rowset[$i]['file_catid'] ) ); ! $file_url = append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_rowset[$i]['file_id'] ) ); // =================================================== // Format the date for the given file // =================================================== ! $date = create_date( $board_config['default_dateformat'], $file_rowset[$i]['file_time'], $board_config['board_timezone'] ); ! $date_updated = create_date( $board_config['default_dateformat'], $file_rowset[$i]['file_update_time'], $board_config['board_timezone'] ); // =================================================== // Get rating for the file and format it --- 258,268 ---- for ( $i = 0; $i < count( $file_rowset ); $i++ ) { ! $cat_url = mx_append_sid( $this->this_mxurl( 'action=category&cat_id=' . $file_rowset[$i]['file_catid'] ) ); ! $file_url = mx_append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_rowset[$i]['file_id'] ) ); // =================================================== // Format the date for the given file // =================================================== ! $date = phpBB2::create_date( $board_config['default_dateformat'], $file_rowset[$i]['file_time'], $board_config['board_timezone'] ); ! $date_updated = phpBB2::create_date( $board_config['default_dateformat'], $file_rowset[$i]['file_update_time'], $board_config['board_timezone'] ); // =================================================== // Get rating for the file and format it *************** *** 298,302 **** } ! $poster = ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . append_sid( $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $file_rowset[$i]['user_id'] ) . '">' : ''; $poster .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? $file_rowset[$i]['username'] : $lang['Guest']; $poster .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ... [truncated message content] |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:16:24
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/uploads In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23199/uploads Modified Files: index.php Log Message: for 2.9.x Index: index.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/uploads/index.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.php 2 May 2006 23:28:16 -0000 1.3 --- index.php 9 Sep 2007 20:16:21 -0000 1.4 *************** *** 79,83 **** if ((!$userdata['session_logged_in']) && ($userdata['user_level'] != ADMIN)) { ! redirect(append_sid("index.$phpEx", true)); } --- 79,83 ---- if ((!$userdata['session_logged_in']) && ($userdata['user_level'] != ADMIN)) { ! mx_redirect(mx_append_sid("index.$phpEx", true)); } |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:15:52
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23161 Modified Files: dload.php dload_lists.php dload_mini.php dload_quickdl.php Log Message: for 2.9.x Index: dload_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_mini.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** dload_mini.php 13 Aug 2006 19:44:45 -0000 1.2 --- dload_mini.php 9 Sep 2007 20:15:46 -0000 1.3 *************** *** 47,51 **** // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); ! $pafiledb_template->destroy(); // =================================================== --- 47,51 ---- // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); ! //$pafiledb_template->destroy(); // =================================================== Index: dload_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_lists.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** dload_lists.php 13 Aug 2006 19:44:45 -0000 1.24 --- dload_lists.php 9 Sep 2007 20:15:46 -0000 1.25 *************** *** 50,54 **** // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); ! $pafiledb_template->destroy(); // =================================================== --- 50,54 ---- // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); ! //$pafiledb_template->destroy(); // =================================================== Index: dload.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** dload.php 13 Aug 2006 19:44:45 -0000 1.23 --- dload.php 9 Sep 2007 20:15:46 -0000 1.24 *************** *** 99,103 **** // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); ! $pafiledb_template->destroy(); // =================================================== --- 99,103 ---- // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); ! //$pafiledb_template->destroy(); // =================================================== Index: dload_quickdl.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_quickdl.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** dload_quickdl.php 13 Aug 2006 19:44:45 -0000 1.14 --- dload_quickdl.php 9 Sep 2007 20:15:47 -0000 1.15 *************** *** 47,51 **** // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); ! $pafiledb_template->destroy(); // =================================================== --- 47,51 ---- // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); ! //$pafiledb_template->destroy(); // =================================================== |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:15:50
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23161/pafiledb Modified Files: pafiledb_common.php Log Message: for 2.9.x Index: pafiledb_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/pafiledb_common.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** pafiledb_common.php 13 Aug 2006 19:44:46 -0000 1.19 --- pafiledb_common.php 9 Sep 2007 20:15:47 -0000 1.20 *************** *** 81,85 **** //include_once( $module_root_path . 'pafiledb/includes/functions_mx.' . $phpEx ); include_once( $module_root_path . 'pafiledb/includes/functions_pafiledb.' . $phpEx ); ! include_once( $module_root_path . 'pafiledb/includes/template.' . $phpEx ); // =================================================== --- 81,86 ---- //include_once( $module_root_path . 'pafiledb/includes/functions_mx.' . $phpEx ); include_once( $module_root_path . 'pafiledb/includes/functions_pafiledb.' . $phpEx ); ! //include_once( $module_root_path . 'pafiledb/includes/template.' . $phpEx ); ! // Removed old template class, display->pparse, ... // =================================================== *************** *** 99,104 **** } ! $pafiledb_template = new pafiledb_template(); ! $pafiledb_template->set_template( $theme['template_name'] ); $pafiledb_user = new mx_user_info(); --- 100,105 ---- } ! //$pafiledb_template = new pafiledb_template(); ! //$pafiledb_template->set_template( $theme['template_name'] ); $pafiledb_user = new mx_user_info(); |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:15:49
|
Update of /cvsroot/mxbb/mx_pafiledb/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23161/admin Modified Files: mx_module_defs.php Log Message: for 2.9.x Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/mx_module_defs.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mx_module_defs.php 13 Aug 2006 19:44:45 -0000 1.9 --- mx_module_defs.php 9 Sep 2007 20:15:46 -0000 1.10 *************** *** 275,279 **** 'S_HIDDEN_ADD_FIELDS' => $s_hidden_add_fields, 'S_HIDDEN_UPDATE_FIELDS' => $s_hidden_update_fields, ! 'S_ACTION' => append_sid(PORTAL_URL . $s_action_file), )); --- 275,279 ---- 'S_HIDDEN_ADD_FIELDS' => $s_hidden_add_fields, 'S_HIDDEN_UPDATE_FIELDS' => $s_hidden_update_fields, ! 'S_ACTION' => mx_append_sid(PORTAL_URL . $s_action_file), )); *************** *** 281,285 **** { $template->assign_block_vars('block_mode', array( ! 'U_RETURN' => append_sid(PORTAL_URL . "index.$phpEx?page=$portalpage") )); } --- 281,285 ---- { $template->assign_block_vars('block_mode', array( ! 'U_RETURN' => mx_append_sid(PORTAL_URL . "index.$phpEx?page=$portalpage") )); } *************** *** 298,302 **** $pa_map_dynid_tmp = get_list_formatted( 'block_list', $pa_mapping_data[$i]['map_dyn_id'], $pa_map_dynid_id ); ! $pa_delete_url = append_sid($mx_root_path . $s_action_file . $deletemode . '&delete_id=' . $i . '&sid=' . $userdata['session_id']); $template->assign_block_vars( 'map_row', array( --- 298,302 ---- $pa_map_dynid_tmp = get_list_formatted( 'block_list', $pa_mapping_data[$i]['map_dyn_id'], $pa_map_dynid_id ); ! $pa_delete_url = mx_append_sid($mx_root_path . $s_action_file . $deletemode . '&delete_id=' . $i . '&sid=' . $userdata['session_id']); $template->assign_block_vars( 'map_row', array( |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:15:01
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22716 Modified Files: subSilver.cfg Log Message: update-check-before-removal Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/subSilver.cfg,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** subSilver.cfg 29 May 2006 15:41:46 -0000 1.2 --- subSilver.cfg 9 Sep 2007 20:14:55 -0000 1.3 *************** *** 26,29 **** --- 26,34 ---- // ------------------------------------------------------------------------- + // 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 // ------------------------------------------------------------------------- |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:14:12
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/_core/images/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22617/lang_english Log Message: Directory /cvsroot/mxbb/mx_pafiledb/templates/_core/images/lang_english added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:13:53
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/_core/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22202/images Log Message: Directory /cvsroot/mxbb/mx_pafiledb/templates/_core/images added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:13:53
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22202/admin Log Message: Directory /cvsroot/mxbb/mx_pafiledb/templates/_core/admin added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:13:43
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22170/_core Log Message: Directory /cvsroot/mxbb/mx_pafiledb/templates/_core added to the repository |