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:13:13
|
Update of /cvsroot/mxbb/mx_newssuite/templates/subSilver/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22077/images Removed Files: contract.gif expand.gif index.htm mini_post.gif mini_post_new.gif Log Message: for 2.9.x --- mini_post_new.gif DELETED --- --- contract.gif DELETED --- --- mini_post.gif DELETED --- --- expand.gif DELETED --- --- index.htm DELETED --- |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:13:11
|
Update of /cvsroot/mxbb/mx_newssuite/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22077/admin Removed Files: index.htm mx_module_parameters.tpl Log Message: for 2.9.x --- mx_module_parameters.tpl DELETED --- --- index.htm DELETED --- |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:13:02
|
Update of /cvsroot/mxbb/mx_newssuite/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21668/_core Added Files: _core.cfg _core.css index.htm news_body.tpl news_body_nav.tpl news_body_paper.tpl Log Message: for 2.9.x --- NEW FILE: news_body_nav.tpl --- <table width="100%" cellpadding="4" cellspacing="1" border="0" class="{NEWS_BLOCK_BORDER_STYLE}" style="border-top:none;"> <!-- BEGIN newsrow --> <!-- BEGIN news_mode_category --> </tbody> <tr> <td class="row2" height="5" align="center" width="10"> <span class="mx_rollup_button" onClick="mx_toggle(this, 'phpbbCategory_{newsrow.news_mode_category.BLOCK_ID}{newsrow.news_mode_category.CAT_ID}', '{MX_EXPAND}', '{MX_CONTRACT}');"> <!-- BEGIN switch_cat_on --> <img src="{MX_CONTRACT}" border="0" /> <!-- END switch_cat_on --> <!-- BEGIN switch_cat_off --> <img src="{MX_EXPAND}" border="0" /> <!-- END switch_cat_off --> </span> </td> <td class="row2" align="left" width="100%"> <hr> {newsrow.news_mode_category.MAIN_PHPBB_CAT} <!-- BEGIN switch_cat_link_on --> <span class="cattitle" ><a href="{newsrow.news_mode_category.CATEGORY_URL}" class="cattitle">{newsrow.news_mode_category.CATEGORY_TITLE}</a></span></td> <!-- END switch_cat_link_on --> <!-- BEGIN switch_cat_link_off --> <span class="cattitle" >{newsrow.news_mode_category.CATEGORY_TITLE}</span> </td> <!-- END switch_cat_link_off --> </tr> <!-- BEGIN switch_cat_on --> <tbody id="phpbbCategory_{newsrow.news_mode_category.BLOCK_ID}{newsrow.news_mode_category.CAT_ID}" style="display: ;"> <!-- END switch_cat_on --> <!-- BEGIN switch_cat_off --> <tbody id="phpbbCategory_{newsrow.news_mode_category.BLOCK_ID}{newsrow.news_mode_category.CAT_ID}" style="display: none;"> <!-- END switch_cat_off --> <!-- END news_mode_category --> <tr> <td class="row1" colspan = "2" > <!-- BEGIN newspaper_display_title --> {newsrow.newspaper_display_title.TOPIC_TITLE_IMG}<span class="newstitle" > {newsrow.newspaper_display_title.TOPIC_TITLE} </span> <!-- END newspaper_display_title --> <!-- BEGIN newspaper_display_title_type_nav --> <span class="newstype" >{newsrow.newspaper_display_title_type_nav.TYPE}<br /></span> <!-- END newspaper_display_title_type_nav --> <!-- BEGIN newspaper_display_category_title --> <span class="gensmall" ><a href="{newsrow.newspaper_display_category_title.CATEGORY_URL}" class="gensmall">{newsrow.newspaper_display_category_title.CATEGORY_TITLE}</a><br /></span> <!-- END newspaper_display_category_title --> <!-- BEGIN newspaper_display_title_nav --> {newsrow.newspaper_display_title_nav.TOPIC_TITLE_IMG}<span class="gensmall" > <a href="{newsrow.newspaper_display_title_nav.TOPIC_LINK}" class="gensmall"><b>{newsrow.newspaper_display_title_nav.TOPIC_TITLE}</b> </a></span> <!-- END newspaper_display_title_nav --> <!-- BEGIN news_display_original_poster --> <span class="gensmall">{newsrow.news_block_footer_nav.ORIGINAL_POST} </span> <!-- END news_display_original_poster --> <!-- BEGIN news_block_footer_nav --> <div align="right"><span class="gensmall">{newsrow.news_block_footer_nav.LATEST_POST}</span></div> <!-- END news_block_footer_nav --> <!-- BEGIN category_nav_off --> <br /><span class="genmed">{newsrow.MESSAGE}</span><span class="genmed">{newsrow.SIGNATURE}</span><span class="gensmall">{newsrow.EDITED_MESSAGE}</span> <!-- END category_nav_off --> </td> </tr> <!-- BEGIN switch_poll_vote --> <tr> <td class="row1" colspan = "2" style="border-bottom: solid 1px #FFFFFF;"><form method="POST" action="{newsrow.switch_poll_vote.S_POLL_ACTION}" style="display:inline;"> <table cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <td align="center"><span class="gen"><b>{newsrow.switch_poll_vote.POLL_QUESTION}</b></span></td> </tr> <tr> <td align="center"> <table cellspacing="0" cellpadding="2" border="0"> <!-- BEGIN poll_option --> <tr> <td><input type="radio" name="vote_id" value="{newsrow.switch_poll_vote.poll_option.POLL_OPTION_ID}" id="radio_vote_id_{newsrow.switch_poll_vote.poll_option.POLL_OPTION_ID}" /> </td> <td><span class="gen"><label for="radio_vote_id_{newsrow.switch_poll_vote.poll_option.POLL_OPTION_ID}">{newsrow.switch_poll_vote.poll_option.POLL_OPTION_CAPTION}</label></span></td> </tr> <!-- END poll_option --> </table> </td> </tr> <tr> <td align="center"> <input type="submit" name="submit" value="{L_SUBMIT_VOTE}" class="liteoption" /> </td> </tr> <tr> <td align="center"><span class="gensmall"><b><a href="{newsrow.switch_poll_vote.U_VIEW_RESULTS}" class="gensmall">{L_VIEW_RESULTS}</a></b></span></td> </tr> </table> {newsrow.switch_poll_vote.S_HIDDEN_FIELDS} </form> <hr /> </td> </tr> <!-- END switch_poll_vote --> <!-- BEGIN switch_poll_view --> <tr> <td class="row1" colspan = "2" style="border-bottom: solid 1px #FFFFFF;"> <table cellspacing="0" cellpadding="2" border="0" align="center"> <tr> <td colspan="4" align="center"><span class="gen"><b>{newsrow.switch_poll_view.POLL_QUESTION}</b></span></td> </tr> <tr> <td align="center"> <table cellspacing="0" cellpadding="2" border="0"> <!-- BEGIN poll_option --> <tr> <td><span class="gen">{newsrow.switch_poll_view.poll_option.POLL_OPTION_CAPTION}</span></td> <td align="center"><b><span class="gen"> {newsrow.switch_poll_view.poll_option.POLL_OPTION_PERCENT} </span></b></td> <td align="center"><span class="gen">[ {newsrow.switch_poll_view.poll_option.POLL_OPTION_RESULT} ]</span></td> </tr> <!-- END poll_option --> </table> </td> </tr> <tr> <td colspan="4" align="center"><span class="gen"><b>{L_TOTAL_VOTES} : {newsrow.switch_poll_view.TOTAL_VOTES}</b></span></td> </tr> </table> <hr /> </td> </tr> <!-- END switch_poll_view --> <!-- BEGIN news_block_footer --> <tr> <td class="row1" colspan = "2" align="center"><span class="gensmall">{newsrow.news_block_footer.POSTED_BY_ON} ({newsrow.news_block_footer.READS})<br />(<b><a href="{newsrow.news_block_footer.TOPIC_LINK}">{L_READ_MORE}...</a></b> | <a href="{newsrow.news_block_footer.TOPIC_LAST_POST_LINK}">{newsrow.news_block_footer.TOPIC_REPLIES} {newsrow.news_block_footer.L_COMMENT}</a>)</span></td> </tr> <!-- END news_block_footer --> <!-- END newsrow --> </tbody> <!-- BEGIN no_news --> <tr> <td class="row1" colspan = "2" align="center"><span class="gensmall">{no_news.INFO}</span></td> </tr> <!-- END no_news --> <tr> <td class="cat" width="50%" align="right" colspan = "2"> <hr> <span class="gensmall"> <!-- BEGIN read_previous --> <span class="mx_rollup_button" onClick="set_mx_cookie('cat_start', '{X_READ_HOME}');"> <a href="{U_READ_HOME}" class="gensmall"><b>{L_READ_HOME}</b></a> | </span> <span class="mx_rollup_button" onClick="set_mx_cookie('cat_start', '{X_READ_PREVIOUS}');"> <a href="{U_READ_PREVIOUS}" class="gensmall"><b>{L_READ_PREVIOUS}</b></a> </span> {X_SPAN} <!-- END read_previous --> <!-- BEGIN read_next --> <span class="mx_rollup_button" onClick="set_mx_cookie('cat_start', '{X_READ_NEXT}');"> <a href="{U_READ_NEXT}" class="gensmall"><b>{L_READ_NEXT}</b></a> </span> <!-- END read_next --> </span> </td> </tr> </table> --- NEW FILE: news_body_paper.tpl --- <table width="100%" cellpadding="4" cellspacing="1" border="0" class="{NEWS_BLOCK_BORDER_STYLE}" style="border-top:none;"> <!-- BEGIN newsrow --> <!-- BEGIN news_mode_category --> </tbody> <tr> <td class="row2" height="5" align="center" width="10"> <span class="mx_rollup_button" onClick="mx_toggle(this, 'phpbbCategory_{newsrow.news_mode_category.BLOCK_ID}{newsrow.news_mode_category.CAT_ID}', '{MX_EXPAND}', '{MX_CONTRACT}');"> <!-- BEGIN switch_cat_on --> <img src="{MX_CONTRACT}" border="0" /> <!-- END switch_cat_on --> <!-- BEGIN switch_cat_off --> <img src="{MX_EXPAND}" border="0" /> <!-- END switch_cat_off --> </span> </td> <td class="row2" align="left" width="100%"> <hr> {newsrow.news_mode_category.MAIN_PHPBB_CAT} <!-- BEGIN switch_cat_link_on --> <span class="cattitle" ><a href="{newsrow.news_mode_category.CATEGORY_URL}" class="cattitle">{newsrow.news_mode_category.CATEGORY_TITLE}</a></span></td> <!-- END switch_cat_link_on --> <!-- BEGIN switch_cat_link_off --> <span class="cattitle" >{newsrow.news_mode_category.CATEGORY_TITLE}</span> </td> <!-- END switch_cat_link_off --> </tr> <!-- BEGIN switch_cat_on --> <tbody id="phpbbCategory_{newsrow.news_mode_category.BLOCK_ID}{newsrow.news_mode_category.CAT_ID}" style="display: ;"> <!-- END switch_cat_on --> <!-- BEGIN switch_cat_off --> <tbody id="phpbbCategory_{newsrow.news_mode_category.BLOCK_ID}{newsrow.news_mode_category.CAT_ID}" style="display: none;"> <!-- END switch_cat_off --> <!-- END news_mode_category --> <tr> <td class="row1" colspan = "2" > <!-- BEGIN newspaper_display_title_type_nav --> <span class="newstype_paper" >{newsrow.newspaper_display_title_type_nav.TYPE}<br /></span> <!-- END newspaper_display_title_type_nav --> <!-- BEGIN newspaper_display_title --> {newsrow.newspaper_display_title.TOPIC_TITLE_IMG}<span class="newstitle" > {newsrow.newspaper_display_title.TOPIC_TITLE} </span> <!-- END newspaper_display_title --> <!-- BEGIN newspaper_display_title_nav --> {newsrow.newspaper_display_title_nav.TOPIC_TITLE_IMG}<span class="gensmall" > <a href="{newsrow.newspaper_display_title_nav.TOPIC_LINK}" class="gensmall">{newsrow.newspaper_display_title_nav.TOPIC_TITLE} </a></span> <!-- END newspaper_display_title_nav --> <!-- BEGIN news_block_footer_nav --> <span class="gensmall">{newsrow.news_block_footer_nav.ORIGINAL_POST} </span> <div align="right"><span class="gensmall">{newsrow.news_block_footer_nav.LATEST_POST}</span></div> <!-- END news_block_footer_nav --> <!-- BEGIN newspaper_display_category_title --> <span class="gensmall" ><br /><a href="{newsrow.newspaper_display_category_title.CATEGORY_URL}" class="gensmall">{newsrow.newspaper_display_category_title.CATEGORY_TITLE}</a></span> <!-- END newspaper_display_category_title --> <!-- BEGIN category_nav_off --> <br /><span class="genmed">{newsrow.MESSAGE}</span><span class="genmed">{newsrow.SIGNATURE}</span><span class="gensmall">{newsrow.EDITED_MESSAGE}</span> <!-- END category_nav_off --> </td> </tr> <!-- BEGIN switch_poll_vote --> <tr> <td class="row1" colspan = "2" style="border-bottom: solid 1px #FFFFFF;"><form method="POST" action="{newsrow.switch_poll_vote.S_POLL_ACTION}" style="display:inline;"> <table cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <td align="center"><span class="gen"><b>{newsrow.switch_poll_vote.POLL_QUESTION}</b></span></td> </tr> <tr> <td align="center"> <table cellspacing="0" cellpadding="2" border="0"> <!-- BEGIN poll_option --> <tr> <td><input type="radio" name="vote_id" value="{newsrow.switch_poll_vote.poll_option.POLL_OPTION_ID}" id="radio_vote_id_{newsrow.switch_poll_vote.poll_option.POLL_OPTION_ID}" /> </td> <td><span class="gen"><label for="radio_vote_id_{newsrow.switch_poll_vote.poll_option.POLL_OPTION_ID}">{newsrow.switch_poll_vote.poll_option.POLL_OPTION_CAPTION}</label></span></td> </tr> <!-- END poll_option --> </table> </td> </tr> <tr> <td align="center"> <input type="submit" name="submit" value="{L_SUBMIT_VOTE}" class="liteoption" /> </td> </tr> <tr> <td align="center"><span class="gensmall"><b><a href="{newsrow.switch_poll_vote.U_VIEW_RESULTS}" class="gensmall">{L_VIEW_RESULTS}</a></b></span></td> </tr> </table> {newsrow.switch_poll_vote.S_HIDDEN_FIELDS} </form> <hr /> </td> </tr> <!-- END switch_poll_vote --> <!-- BEGIN switch_poll_view --> <tr> <td class="row1" colspan = "2" style="border-bottom: solid 1px #FFFFFF;"> <table cellspacing="0" cellpadding="2" border="0" align="center"> <tr> <td colspan="4" align="center"><span class="gen"><b>{newsrow.switch_poll_view.POLL_QUESTION}</b></span></td> </tr> <tr> <td align="center"> <table cellspacing="0" cellpadding="2" border="0"> <!-- BEGIN poll_option --> <tr> <td><span class="gen">{newsrow.switch_poll_view.poll_option.POLL_OPTION_CAPTION}</span></td> <td align="center"><b><span class="gen"> {newsrow.switch_poll_view.poll_option.POLL_OPTION_PERCENT} </span></b></td> <td align="center"><span class="gen">[ {newsrow.switch_poll_view.poll_option.POLL_OPTION_RESULT} ]</span></td> </tr> <!-- END poll_option --> </table> </td> </tr> <tr> <td colspan="4" align="center"><span class="gen"><b>{L_TOTAL_VOTES} : {newsrow.switch_poll_view.TOTAL_VOTES}</b></span></td> </tr> </table> <hr /> </td> </tr> <!-- END switch_poll_view --> <!-- BEGIN news_block_footer --> <tr> <td class="row1" colspan = "2" align="center"><span class="gensmall">{newsrow.news_block_footer.POSTED_BY_ON} ({newsrow.news_block_footer.READS})<br />(<b><a href="{newsrow.news_block_footer.TOPIC_LINK}">{L_READ_MORE}...</a></b> | <a href="{newsrow.news_block_footer.TOPIC_LAST_POST_LINK}">{newsrow.news_block_footer.TOPIC_REPLIES} {newsrow.news_block_footer.L_COMMENT}</a>)</span></td> </tr> <!-- END news_block_footer --> <!-- END newsrow --> </tbody> <!-- BEGIN no_news --> <tr> <td class="row1" colspan = "2" align="center"><span class="gensmall">{no_news.INFO}</span></td> </tr> <!-- END no_news --> <tr> <td class="row1" width="50%" align="right" colspan = "2"> <!-- BEGIN read_previous --> <hr> <span class="gensmall"> <span class="mx_rollup_button" onClick="set_mx_cookie('cat_start', '{X_READ_HOME}');"> <a href="{U_READ_HOME}" class="gensmall"><b>{L_READ_HOME}</b></a> | </span> <span class="mx_rollup_button" onClick="set_mx_cookie('cat_start', '{X_READ_PREVIOUS}');"> <a href="{U_READ_PREVIOUS}" class="gensmall"><b>{L_READ_PREVIOUS}</b></a> </span> {X_SPAN} <!-- END read_previous --> <!-- BEGIN read_next --> <span class="mx_rollup_button" onClick="set_mx_cookie('cat_start', '{X_READ_NEXT}');"> <a href="{U_READ_NEXT}" class="gensmall"><b>{L_READ_NEXT}</b></a> </span> </span> <!-- END read_next --> </td> </tr> </table> --- NEW FILE: news_body.tpl --- <!-- BEGIN newsrow --> <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="{NEWS_BLOCK_BORDER_STYLE}" style="border-top:none;"> <!-- BEGIN news_display_block_title --> <tr> <th class="{newsrow.news_display_block_title.NEWS_BLOCK_HEADER_STYLE}" align="left">{newsrow.news_display_block_title.TOPIC_TITLE}</th> </tr> <!-- END news_display_block_title --> <!-- BEGIN news_display_block_title_nostyle --> <tr> <td class="row2" align="left"><span class="gen"><b>{newsrow.news_display_block_title_nostyle.TOPIC_TITLE}</b></span></td> </tr> <!-- END news_display_block_title_nostyle --> <!-- BEGIN switch_poll_vote --> <tr> <td class="row1" style="border-bottom: solid 1px #FFFFFF"><form method="POST" action="{newsrow.switch_poll_vote.S_POLL_ACTION}" style="display:inline"><table cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <td align="center"><span class="gen"><b>{newsrow.switch_poll_vote.POLL_QUESTION}</b></span></td> </tr> <tr> <td align="center"><table cellspacing="0" cellpadding="2" border="0"> <!-- BEGIN poll_option --> <tr> <td><input type="radio" name="vote_id" value="{newsrow.switch_poll_vote.poll_option.POLL_OPTION_ID}" id="radio_vote_id_{newsrow.switch_poll_vote.poll_option.POLL_OPTION_ID}" /> </td> <td><span class="gen"><label for="radio_vote_id_{newsrow.switch_poll_vote.poll_option.POLL_OPTION_ID}">{newsrow.switch_poll_vote.poll_option.POLL_OPTION_CAPTION}</label></span></td> </tr> <!-- END poll_option --> </table></td> </tr> <tr> <td align="center"> <input type="submit" name="submit" value="{L_SUBMIT_VOTE}" class="liteoption" /> </td> </tr> <tr> <td align="center"><span class="gensmall"><b><a href="{newsrow.switch_poll_vote.U_VIEW_RESULTS}" class="gensmall">{L_VIEW_RESULTS}</a></b></span></td> </tr> </table>{newsrow.switch_poll_vote.S_HIDDEN_FIELDS}</form><hr /></td> </tr> <!-- END switch_poll_vote --> <!-- BEGIN switch_poll_view --> <tr> <td class="row1" style="border-bottom: solid 1px #FFFFFF"><table cellspacing="0" cellpadding="2" border="0" align="center"> <tr> <td colspan="4" align="center"><span class="gen"><b>{newsrow.switch_poll_view.POLL_QUESTION}</b></span></td> </tr> <tr> <td align="center"><table cellspacing="0" cellpadding="2" border="0"> <!-- BEGIN poll_option --> <tr> <td><span class="gen">{newsrow.switch_poll_view.poll_option.POLL_OPTION_CAPTION}</span></td> <td align="center"><b><span class="gen"> {newsrow.switch_poll_view.poll_option.POLL_OPTION_PERCENT} </span></b></td> <td align="center"><span class="gen">[ {newsrow.switch_poll_view.poll_option.POLL_OPTION_RESULT} ]</span></td> </tr> <!-- END poll_option --> </table></td> </tr> <tr> <td colspan="4" align="center"><span class="gen"><b>{L_TOTAL_VOTES} : {newsrow.switch_poll_view.TOTAL_VOTES}</b></span></td> </tr> </table><hr /></td> </tr> <!-- END switch_poll_view --> <tr> <td class="row1"><span class="postbody">{newsrow.MESSAGE}{newsrow.SIGNATURE}</span><span class="gensmall">{newsrow.EDITED_MESSAGE}</span></td> </tr> <!-- BEGIN news_block_footer --> <tr> <td class="row2" align="center"><span class="gensmall">{newsrow.news_block_footer.POSTED_BY_ON} ({newsrow.news_block_footer.READS})<br />(<b><a href="{newsrow.news_block_footer.TOPIC_LINK}">{L_READ_MORE}...</a></b> | <a href="{newsrow.news_block_footer.TOPIC_LAST_POST_LINK}">{newsrow.news_block_footer.TOPIC_REPLIES} {newsrow.news_block_footer.L_COMMENT}</a>)</span></td> </tr> <!-- END news_block_footer --> </table> <!-- END newsrow --> --- 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:12:57 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['newssuite_title'] = "$current_template_images/{LANG}/newssuite.gif"; $mx_images['newssuite_mini_message'] = "$current_template_images/mini_post.gif"; $mx_images['newssuite_mini_message_new'] = "$current_template_images/mini_post_new.gif"; // ------------------------------------------------------------------------- // Redefine phpBB images // ------------------------------------------------------------------------- $mx_images['newssuite_folder_announce'] = $images['folder_announce']; $mx_images['newssuite_folder_sticky'] = $images['folder_sticky']; $mx_images['newssuite_folder'] = $images['folder']; $mx_images['newssuite_icon_newest_reply'] = $images['icon_newest_reply']; $mx_images['newssuite_icon_latest_reply'] = $images['icon_latest_reply']; $mx_images['newssuite_voting_graphic'] = $images['voting_graphic']; $mx_images['newssuite_vote_lcap'] = $images['mx_vote_lcap']; $mx_images['newssuite_vote_rcap'] = $images['mx_vote_rcap']; ?> --- NEW FILE: _core.css --- /************************************************************\ | Addon or redefined CSS definitions for mxBB-Portal - Newssuite Module \************************************************************/ /* Newssuite - Never enlarge images */ img.noenlarge { border: 0px; cursor: hand; } /* Newssuite - Never enlarge images */ div.imagediv { overflow: hidden; margin: 0px; padding: 0px; width: 150px; } /* Newssuite - Quote & Code blocks */ .news_code { font-family: "Courier New", Courier, mono; font-size: 10; } /* Newssuite */ .newstitle { font-variant: small-caps; font-weight: bolder; font-size: 8pt; } a.newstitle { text-decoration: none; color: #006699; } a.newstitle:hover { text-decoration: underline; color: #DD6900; } /* Newssuite */ .newstype { font-weight: lighter; font-size: 5pt; color: #110000; } a.newstype { text-decoration: none; color: #006699; } a.newstype:hover{ text-decoration: underline; color: #DD6900; } /* Newssuite */ .newstype_paper { font-weight: lighter; font-size: 5pt; color: #990000; } a.newstype_paper { text-decoration: none; color: #990000; } a.newstype_paper:hover{ text-decoration: underline; color: #990000; } --- 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_newssuite/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21668/subSilver Removed Files: index.htm news_body.tpl news_body_nav.tpl news_body_paper.tpl subSilver.cfg subSilver.css Log Message: for 2.9.x --- news_body_nav.tpl DELETED --- --- news_body_paper.tpl DELETED --- --- news_body.tpl DELETED --- --- subSilver.cfg DELETED --- --- index.htm DELETED --- --- subSilver.css DELETED --- |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:13:01
|
Update of /cvsroot/mxbb/mx_newssuite/templates/_core/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21668/_core/images Added Files: contract.gif expand.gif index.htm mini_post.gif mini_post_new.gif Log Message: for 2.9.x --- NEW FILE: mini_post_new.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: contract.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mini_post.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: expand.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:13:01
|
Update of /cvsroot/mxbb/mx_newssuite/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21668/_core/admin Added Files: index.htm mx_module_parameters.tpl Log Message: for 2.9.x --- NEW FILE: mx_module_parameters.tpl --- <script type="text/javascript" src="{MX_ROOT_PATH}modules/mx_shared/lib/rollout_toggle.js"></script> <tr> <td width="100%" colspan="2"> <!-- BEGIN switch_forums_phpbb --> <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline"> <tr> <th align="center" class="thTop" nowrap="nowrap" colspan="2"> {L_NEWS_FORUMS} </th> <th align="center" class="thTop" nowrap="nowrap"> <img src="{I_ANNOUNCE}" border="0" alt="{L_ANNOUNCEMENT}" /> {L_ANNOUNCEMENT}</th> <th align="center" class="thTop" nowrap="nowrap"> <img src="{I_STICKY}" border="0" alt="{L_STICKY}" /> {L_STICKY}</th> <th align="center" class="thTop" nowrap="nowrap"> <img src="{I_NORMAL}" border="0" alt="{L_NORMAL}" /> </th> </tr> <!-- END switch_forums_phpbb --> <!-- BEGIN switch_forums_kb --> <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline"> <tr> <th align="center" class="thTop" nowrap="nowrap" colspan="2"> {L_NEWS_FORUMS} </th> <!-- BEGIN types_name --> <th align="center" class="thTop" nowrap="nowrap"> {switch_forums_kb.types_name.TYPES_NAME} </th> <!-- END types_name --> </tr> <!-- END switch_forums_kb --> <!-- BEGIN catrow --> <tr> <td class="cat" align="center"><a href="#" onClick="toggle('cat_{catrow.CAT_ID}', '{MX_IMAGES_ROOT}'); return false;"><img src="{MX_IMAGES_ROOT}contract.gif" border="0" id="cat_{catrow.CAT_ID}_img" /></a> <td class="cat" colspan="{catrow.COLSPAN}"><span class="cattitle">{catrow.CAT_NAME}</span></td> </tr> <tbody id="cat_{catrow.CAT_ID}"> <!-- BEGIN forumrow_phpbb --> <tr> <td class="row1" align="center" valign="top"><input type="checkbox" name="forum_news[{catrow.forumrow_phpbb.FORUM_ID}]" value="1" {catrow.forumrow_phpbb.CHECKED} /></td> <td class="row1" align="left" valign="top"><span class="forumlink">{catrow.forumrow_phpbb.FORUM_NAME}</span><br /><span class="gensmall">{catrow.forumrow_phpbb.FORUM_DESC}</span></td> <td class="row2" align="center" valign="top"><input type="checkbox" name="forum_news_announce[{catrow.forumrow_phpbb.FORUM_ID}]" value="1" {catrow.forumrow_phpbb.ANNOUNCE_CHECKED} /></td> <td class="row2" align="center" valign="top"><input type="checkbox" name="forum_news_sticky[{catrow.forumrow_phpbb.FORUM_ID}]" value="1" {catrow.forumrow_phpbb.STICKY_CHECKED} /></td> <td class="row2" align="center" valign="top"><input type="checkbox" name="forum_news_post[{catrow.forumrow_phpbb.FORUM_ID}]" value="1" {catrow.forumrow_phpbb.NORMAL_CHECKED} /></td> </tr> <!-- END forumrow_phpbb --> <!-- BEGIN forumrow_kb --> <tr> <td class="row1" align="center" valign="top"><input type="checkbox" name="forum_news[{catrow.forumrow_kb.FORUM_ID}]" value="1" {catrow.forumrow_kb.CHECKED} /></td> <td class="row1" align="left" valign="top"><span class="forumlink">{catrow.forumrow_kb.FORUM_NAME}</span><br /><span class="gensmall">{catrow.forumrow_kb.FORUM_DESC}</span></td> <!-- BEGIN types --> <td class="row2" align="center" valign="top"><input type="checkbox" name="{catrow.forumrow_kb.types.TYPE}[{catrow.forumrow_kb.FORUM_ID}]" value="{catrow.forumrow_kb.types.VALUE}" {catrow.forumrow_kb.types.CHECKED} /></td> <!-- END types --> </tr> <!-- END forumrow_kb --> </tbody> <!-- END catrow --> </table> </td> </tr> --- 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:12:50
|
Update of /cvsroot/mxbb/mx_newssuite/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21640/includes Modified Files: news.php newssuite_functions.php Log Message: for 2.9.x Index: news.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/includes/news.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** news.php 16 Aug 2006 20:29:45 -0000 1.20 --- news.php 9 Sep 2007 20:12:47 -0000 1.21 *************** *** 212,216 **** $orig_word = array(); $replacement_word = array(); ! obtain_word_list( $orig_word, $replacement_word ); // --- 212,216 ---- $orig_word = array(); $replacement_word = array(); ! phpBB2::obtain_word_list( $orig_word, $replacement_word ); // *************** *** 267,271 **** $l_edit_time_total = ( $news[$i]['post_edit_count'] == 1 ) ? $lang['Edited_time_total'] : $lang['Edited_times_total']; ! $l_edited_by = '<br />' . sprintf( $l_edit_time_total, $poster, create_date( $newssuite_config['default_dateformat'], $news[$i]['post_edit_time'], $board_config['board_timezone'] ), $news[$i]['post_edit_count'] ); } else --- 267,271 ---- $l_edit_time_total = ( $news[$i]['post_edit_count'] == 1 ) ? $lang['Edited_time_total'] : $lang['Edited_times_total']; ! $l_edited_by = '<br />' . sprintf( $l_edit_time_total, $poster, phpBB2::create_date( $newssuite_config['default_dateformat'], $news[$i]['post_edit_time'], $board_config['board_timezone'] ), $news[$i]['post_edit_count'] ); } else *************** *** 295,299 **** $message = explode( $newssuite_config['news_trim_char'], $message ); $message = $message[0]; ! $message .= ' <span> ... :: <a class="gensmall" href="' . append_sid( PHPBB_URL . "viewtopic.$phpEx?t=" . $news[$i]['topic_id'] ) . '">' . $lang['Read more'] . '</a> </span>'; } --- 295,299 ---- $message = explode( $newssuite_config['news_trim_char'], $message ); $message = $message[0]; ! $message .= ' <span> ... :: <a class="gensmall" href="' . mx_append_sid( PHPBB_URL . "viewtopic.$phpEx?t=" . $news[$i]['topic_id'] ) . '">' . $lang['Read more'] . '</a> </span>'; } *************** *** 348,359 **** $l_comment = ( num_of_replies( $i, $newssuite_config, $news ) == "1" ) ? strtolower( $lang['Comment'] ) : strtolower( $lang['Comments'] ); ! $poster_name = '<a class="gensmall" href="' . append_sid( PHPBB_URL . "profile.$phpEx?mode=viewprofile&u=" . $news[$i]['user_id'] ) . "\">$poster</a>"; ! $topic_time = create_date( $newssuite_config['news_time_format'], $news[$i][$item_time], $board_config['board_timezone'] ); $topic_type = $news[$i][$item_type]; ! $last_post_time = create_date( $newssuite_config['news_time_format'], $news[$i]['post_time'], $board_config['board_timezone'] ); ! $last_post_author = ( $news[$i]['id2'] == ANONYMOUS ) ? ( ( $news[$i]['post_username2'] != '' ) ? $news[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a class="gensmall" href="' . append_sid( $phpbb_root_path . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $news[$i]['id2'] ) . '">' . $news[$i]['user2'] . '</a>'; $folder = $images['newssuite_mini_message']; --- 348,359 ---- $l_comment = ( num_of_replies( $i, $newssuite_config, $news ) == "1" ) ? strtolower( $lang['Comment'] ) : strtolower( $lang['Comments'] ); ! $poster_name = '<a class="gensmall" href="' . mx_append_sid( PHPBB_URL . "profile.$phpEx?mode=viewprofile&u=" . $news[$i]['user_id'] ) . "\">$poster</a>"; ! $topic_time = phpBB2::create_date( $newssuite_config['news_time_format'], $news[$i][$item_time], $board_config['board_timezone'] ); $topic_type = $news[$i][$item_type]; ! $last_post_time = phpBB2::create_date( $newssuite_config['news_time_format'], $news[$i]['post_time'], $board_config['board_timezone'] ); ! $last_post_author = ( $news[$i]['id2'] == ANONYMOUS ) ? ( ( $news[$i]['post_username2'] != '' ) ? $news[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a class="gensmall" href="' . mx_append_sid( $phpbb_root_path . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $news[$i]['id2'] ) . '">' . $news[$i]['user2'] . '</a>'; $folder = $images['newssuite_mini_message']; *************** *** 689,693 **** 'TOTAL_VOTES' => $vote_results_sum, ! 'S_POLL_ACTION' => append_sid( $phpbb_root_path . "posting.$phpEx?" . POST_TOPIC_URL . "=$topic_id" ) ) ); --- 689,693 ---- 'TOTAL_VOTES' => $vote_results_sum, ! 'S_POLL_ACTION' => mx_append_sid( $phpbb_root_path . "posting.$phpEx?" . POST_TOPIC_URL . "=$topic_id" ) ) ); *************** *** 732,738 **** 'S_HIDDEN_FIELDS' => '<input type="hidden" name="topic_id" value="' . $news[$i]['topic_id'] . '"><input type="hidden" name="mode" value="vote">', ! 'S_POLL_ACTION' => append_sid( $phpbb_root_path . "posting.$phpEx?" . POST_TOPIC_URL . '=' . $news[$i]['topic_id'] ), ! 'U_VIEW_RESULTS' => append_sid( $mx_root_path . 'index.php?page=' . $page_id . '&' . ( $cat_id ? POST_CAT_URL . '=' . $cat_id . '&' : '' ) . "vote=viewresult" ) ) ); --- 732,738 ---- 'S_HIDDEN_FIELDS' => '<input type="hidden" name="topic_id" value="' . $news[$i]['topic_id'] . '"><input type="hidden" name="mode" value="vote">', ! 'S_POLL_ACTION' => mx_append_sid( $phpbb_root_path . "posting.$phpEx?" . POST_TOPIC_URL . '=' . $news[$i]['topic_id'] ), ! 'U_VIEW_RESULTS' => mx_append_sid( $mx_root_path . 'index.php?page=' . $page_id . '&' . ( $cat_id ? POST_CAT_URL . '=' . $cat_id . '&' : '' ) . "vote=viewresult" ) ) ); *************** *** 760,770 **** // Pagination // ! $read_home_url = append_sid( $mx_root_path . 'index.php?page=' . $page_id . '&cat_start_' . $block_id . '=1' ); $temp_previous_url = ( $cat_start[$block_id] > 1 ? intval( $cat_start[$block_id] - $newssuite_config['news_items'] ) : '1' ); ! $read_previous_url = append_sid( $mx_root_path . 'index.php?page=' . $page_id . '&cat_start_' . $block_id . '=' . $temp_previous_url ); $temp_next_url = intval( $cat_start[$block_id] + $newssuite_config['news_items'] ); ! $read_next_url = append_sid( $mx_root_path . 'index.php?page=' . $page_id . '&cat_start_' . $block_id . '=' . $temp_next_url ); if ( $newssuite_config['news_items'] == 1 ) --- 760,770 ---- // Pagination // ! $read_home_url = mx_append_sid( $mx_root_path . 'index.php?page=' . $page_id . '&cat_start_' . $block_id . '=1' ); $temp_previous_url = ( $cat_start[$block_id] > 1 ? intval( $cat_start[$block_id] - $newssuite_config['news_items'] ) : '1' ); ! $read_previous_url = mx_append_sid( $mx_root_path . 'index.php?page=' . $page_id . '&cat_start_' . $block_id . '=' . $temp_previous_url ); $temp_next_url = intval( $cat_start[$block_id] + $newssuite_config['news_items'] ); ! $read_next_url = mx_append_sid( $mx_root_path . 'index.php?page=' . $page_id . '&cat_start_' . $block_id . '=' . $temp_next_url ); if ( $newssuite_config['news_items'] == 1 ) Index: newssuite_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/includes/newssuite_functions.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** newssuite_functions.php 26 Jun 2006 21:35:00 -0000 1.3 --- newssuite_functions.php 9 Sep 2007 20:12:47 -0000 1.4 *************** *** 21,29 **** { case 'phpbb': ! $tmp = append_sid( $phpbb_root_path . "viewtopic.$phpEx?p=" . $news[$i]['topic_last_post_id'] . "#" . $news[$i]['topic_last_post_id'] ); return $tmp; break; case 'kb': ! $tmp = append_sid( $phpbb_root_path . "viewtopic.$phpEx?t=" . $news[$i]['topic_id'] ); return $tmp; break; --- 21,29 ---- { case 'phpbb': ! $tmp = mx_append_sid( $phpbb_root_path . "viewtopic.$phpEx?p=" . $news[$i]['topic_last_post_id'] . "#" . $news[$i]['topic_last_post_id'] ); return $tmp; break; case 'kb': ! $tmp = mx_append_sid( $phpbb_root_path . "viewtopic.$phpEx?t=" . $news[$i]['topic_id'] ); return $tmp; break; *************** *** 36,44 **** { case 'phpbb': ! $tmp = append_sid( $phpbb_root_path . "viewtopic.$phpEx?t=" . $news[$i][$item_id] ); return $tmp; break; case 'kb': ! $tmp = append_sid( $mx_root_path . "modules/mx_kb/kb.$phpEx?mode=article&k=" . $news[$i][$item_id] ); return $tmp; break; --- 36,44 ---- { case 'phpbb': ! $tmp = mx_append_sid( $phpbb_root_path . "viewtopic.$phpEx?t=" . $news[$i][$item_id] ); return $tmp; break; case 'kb': ! $tmp = mx_append_sid( $mx_root_path . "modules/mx_kb/kb.$phpEx?mode=article&k=" . $news[$i][$item_id] ); return $tmp; break; *************** *** 51,59 **** { case 'phpbb': ! $tmp = append_sid( $phpbb_root_path . "viewforum.$phpEx?f=" . $news[$i][$item_cat_id] ); return $tmp; break; case 'kb': ! $tmp = append_sid( $mx_root_path . "modules/mx_kb/kb.$phpEx?mode=cat&cat=" . $news[$i][$item_cat_id] ); return $tmp; break; --- 51,59 ---- { case 'phpbb': ! $tmp = mx_append_sid( $phpbb_root_path . "viewforum.$phpEx?f=" . $news[$i][$item_cat_id] ); return $tmp; break; case 'kb': ! $tmp = mx_append_sid( $mx_root_path . "modules/mx_kb/kb.$phpEx?mode=cat&cat=" . $news[$i][$item_cat_id] ); return $tmp; break; *************** *** 82,90 **** { case 'phpbb': ! $tmp = '<br /> <a class="gensmall" href="' . append_sid( PHPBB_URL . "viewtopic.$phpEx?t=" . $news[$i][$item_id] ) . '">' . $lang['Read more'] . '</a>... '; return $tmp; break; case 'kb': ! $tmp = '<br /> <a class="gensmall" href="' . append_sid( $mx_root_path . "modules/mx_kb/kb.$phpEx?mode=article&k=" . $news[$i][$item_id] ) . '">' . $lang['Read more'] . '</a>... '; return $tmp; break; --- 82,90 ---- { case 'phpbb': ! $tmp = '<br /> <a class="gensmall" href="' . mx_append_sid( PHPBB_URL . "viewtopic.$phpEx?t=" . $news[$i][$item_id] ) . '">' . $lang['Read more'] . '</a>... '; return $tmp; break; case 'kb': ! $tmp = '<br /> <a class="gensmall" href="' . mx_append_sid( $mx_root_path . "modules/mx_kb/kb.$phpEx?mode=article&k=" . $news[$i][$item_id] ) . '">' . $lang['Read more'] . '</a>... '; return $tmp; break; |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:12:50
|
Update of /cvsroot/mxbb/mx_newssuite In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21640 Modified Files: news.php Log Message: for 2.9.x Index: news.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/news.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** news.php 16 Aug 2006 20:29:45 -0000 1.16 --- news.php 9 Sep 2007 20:12:47 -0000 1.17 *************** *** 124,128 **** $template->assign_vars( array( 'BLOCK_SIZE' => $block_size, 'BLOCK_ID' => $block_id, ! 'NEWS_LINK' => append_sid( 'news.' . $phpEx ), 'L_TITLE' => $title, 'L_DESCRIPTION' => $description, --- 124,128 ---- $template->assign_vars( array( 'BLOCK_SIZE' => $block_size, 'BLOCK_ID' => $block_id, ! 'NEWS_LINK' => mx_append_sid( 'news.' . $phpEx ), 'L_TITLE' => $title, 'L_DESCRIPTION' => $description, |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:12:02
|
Update of /cvsroot/mxbb/mx_newssuite/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21227 Modified Files: subSilver.cfg Log Message: update-check-before-removal Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/templates/subSilver/subSilver.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** subSilver.cfg 5 Apr 2006 21:27:42 -0000 1.1 --- subSilver.cfg 9 Sep 2007 20:11:59 -0000 1.2 *************** *** 14,19 **** // 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 // --- 14,19 ---- // 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 // *************** *** 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:11:17
|
Update of /cvsroot/mxbb/mx_newssuite/templates/_core/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21149/images Log Message: Directory /cvsroot/mxbb/mx_newssuite/templates/_core/images added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:11:17
|
Update of /cvsroot/mxbb/mx_newssuite/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21149/admin Log Message: Directory /cvsroot/mxbb/mx_newssuite/templates/_core/admin added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:11:08
|
Update of /cvsroot/mxbb/mx_newssuite/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21044/_core Log Message: Directory /cvsroot/mxbb/mx_newssuite/templates/_core added to the repository |
Update of /cvsroot/mxbb/mx_linkdb/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20709 Removed Files: index.htm linkdb_admin_auth_body.tpl linkdb_admin_cat.tpl linkdb_admin_cat_delete.tpl linkdb_admin_cat_edit.tpl linkdb_admin_select_body.tpl linkdb_admin_settings.tpl linkdb_field_add.tpl linkdb_select.tpl linkdb_select_field_delete.tpl linkdb_select_field_edit.tpl linkdb_select_field_type.tpl mx_module_parameters.tpl Log Message: for 2.9.x --- linkdb_select_field_type.tpl DELETED --- --- index.htm DELETED --- --- linkdb_select_field_edit.tpl DELETED --- --- linkdb_select_field_delete.tpl DELETED --- --- linkdb_admin_settings.tpl DELETED --- --- linkdb_admin_cat_delete.tpl DELETED --- --- linkdb_field_add.tpl DELETED --- --- mx_module_parameters.tpl DELETED --- --- linkdb_admin_auth_body.tpl DELETED --- --- linkdb_select.tpl DELETED --- --- linkdb_admin_cat_edit.tpl DELETED --- --- linkdb_admin_select_body.tpl DELETED --- --- linkdb_admin_cat.tpl DELETED --- |
Update of /cvsroot/mxbb/mx_linkdb/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20223/subSilver Removed Files: index.htm link_add.tpl link_category_body.tpl link_comment_posting.tpl link_custom_field.tpl link_footer.tpl link_header.tpl link_link_body.tpl link_lists.tpl link_main_body.tpl link_mcp.tpl link_mini.tpl link_rate_body.tpl link_search_body.tpl link_search_result.tpl link_viewall_body.tpl subSilver.cfg Log Message: for 2.9.x --- link_mini.tpl DELETED --- --- link_category_body.tpl DELETED --- --- link_mcp.tpl DELETED --- --- link_header.tpl DELETED --- --- link_viewall_body.tpl DELETED --- --- link_search_body.tpl DELETED --- --- link_footer.tpl DELETED --- --- subSilver.cfg DELETED --- --- link_search_result.tpl DELETED --- --- link_add.tpl DELETED --- --- link_custom_field.tpl DELETED --- --- link_lists.tpl DELETED --- --- link_link_body.tpl DELETED --- --- link_main_body.tpl DELETED --- --- link_rate_body.tpl DELETED --- --- index.htm DELETED --- --- link_comment_posting.tpl DELETED --- |
Update of /cvsroot/mxbb/mx_linkdb/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20223/_core/admin Added Files: index.htm linkdb_admin_auth_body.tpl linkdb_admin_cat.tpl linkdb_admin_cat_delete.tpl linkdb_admin_cat_edit.tpl linkdb_admin_select_body.tpl linkdb_admin_settings.tpl linkdb_field_add.tpl linkdb_select.tpl linkdb_select_field_delete.tpl linkdb_select_field_edit.tpl linkdb_select_field_type.tpl mx_module_parameters.tpl Log Message: for 2.9.x --- NEW FILE: linkdb_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: 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: linkdb_select_field_edit.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: linkdb_select_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: linkdb_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"><span class="genmed">{L_SITE_LOGO}</span></td> <td class="row2"><input class="post" type="text" maxlength="100" size="60" name="site_logo" value="{SITE_LOGO}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_SITE_URL}</span></td> <td class="row2"><input class="post" type="text" maxlength="100" size="60" name="site_url" value="{SITE_URL}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_DISPLAY_INTERVAL}</span></td> <td class="row2"><input class="post" type="text" maxlength="9" size="5" name="display_interval" value="{INTERVAL}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_LOCK_SUBMIT_SITE}</span></td> <td class="row2"><input type="radio" name="lock_submit_site" value="1" {LOCK_SUBMIT_SITE_YES} /> {L_YES} <input type="radio" name="lock_submit_site" value="0" {LOCK_SUBMIT_SITE_NO} /> {L_NO}</td> </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_LINK_TITLE}</th> </tr> <tr> <td class="row1"><span class="genmed">{L_WIDTH}</span></td> <td class="row2"><input class="post" type="text" maxlength="5" size="5" name="width" value="{WIDTH}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_HEIGHT}</span></td> <td class="row2"><input class="post" type="text" maxlength="2" size="5" name="height" value="{HEIGHT}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_DISPLAY_LINKS_LOGO}</span></td> <td class="row2"><input type="radio" name="display_links_logo" value="1" {DISLAY_LINKS_LOGO_YES} /> {L_YES} <input type="radio" name="display_links_logo" value="0" {DISLAY_LINKS_LOGO_NO} /> {L_NO}</td> </tr> <tr> <td class="row1"><span class="genmed">{L_ALLOW_NO_LOGO}</span></td> <td class="row2"><input type="radio" name="allow_no_logo" value="1" {ALLOW_NO_LOGO_YES} /> {L_YES} <input type="radio" name="allow_no_logo" value="0" {ALLOW_NO_LOGO_NO} /> {L_NO}</td> </tr> <tr> <td class="row1"><span class="genmed">{L_SPLIT_LINKS}</span></td> <td class="row2"><input type="radio" name="split_links" value="1" {SPLIT_LINKS_YES} /> {L_YES} <input type="radio" name="split_links" value="0" {SPLIT_LINKS_NO} /> {L_NO}</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_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> <!-- 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> <td align="center" class="cat" colspan="2"><input class="liteoption" type="submit" value="{L_SUBMIT}" name="submit" /> <input type="reset" value="{L_RESET}" class="liteoption" /> </td> </tr> </table> </form> --- NEW FILE: linkdb_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 link to a category that doesn't allow link 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 += "{LINK_SAME_CAT}"; } 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 += "{LINK_MOVE_CAT}"; } 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> <!-- BEGIN linkdb_error --> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <td class="row2" align="center">{ERROR}</td> </tr> </table> <br /> <!-- END linkdb_error --> <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: linkdb_field_add.tpl --- <h1>{L_FIELD_TITLE}</h1> <p>{L_FIELD_EXPLAIN}</p> <form action="{S_FIELD_ACTION}" method="post"> <!-- BEGIN error --> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <td class="row2" align="center">{ERROR}</td> </tr> </table> <br /> <!-- END error --> <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> <!-- BEGIN 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> <!-- END data --> <!-- BEGIN 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> <!-- END regex --> <!-- BEGIN 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> <!-- END order --> <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: 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: linkdb_admin_auth_body.tpl --- <h1>{L_AUTH_TITLE}</h1> <p>{L_AUTH_EXPLAIN}</p> <form action="{S_ACTION}" method="post"> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> <tr> <th class="thCornerL" height="25" nowrap="nowrap">{L_GROUPS}</th> <th class="thTop" nowrap="nowrap">{L_VIEW}</th> <th class="thTop" nowrap="nowrap">{L_EDIT}</th> <th class="thTop" nowrap="nowrap">{L_DELETE}</th> <th class="thTop" nowrap="nowrap">{L_UPLOAD}</th> <th class="thTop" nowrap="nowrap">{L_RATE}</th> <th class="thTop" nowrap="nowrap">{L_VIEW_COMMENT}</th> <th class="thTop" nowrap="nowrap">{L_POST_COMMENT}</th> <th class="thTop" nowrap="nowrap">{L_EDIT_COMMENT}</th> <th class="thTop" nowrap="nowrap">{L_DELETE_COMMENT}</th> <th class="thCornerR" nowrap="nowrap">{L_IS_MODERATOR}</th> </tr> <!-- BEGIN grouprow --> <tr> <td class="row1" align="center" height="28"><span class="gen">{grouprow.GROUP_NAME}</span></td> <td class="row2" align="center"> <input name="view[]" type="checkbox" {grouprow.VIEW_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="edit[]" type="checkbox" {grouprow.EDIT_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="delete[]" type="checkbox" {grouprow.DELETE_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="post[]" type="checkbox" {grouprow.POST_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="rate[]" type="checkbox" {grouprow.RATE_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="view_comment[]" type="checkbox" {grouprow.COMMENT_VIEW_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="post_comment[]" type="checkbox" {grouprow.COMMENT_POST_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="edit_comment[]" type="checkbox" {grouprow.COMMENT_EDIT_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="delete_comment[]" type="checkbox" {grouprow.COMMENT_DELETE_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="moderator[]" type="checkbox" {grouprow.MODERATOR_CHECKED} value="{grouprow.GROUP_ID}" /> </td> </tr> <!-- END grouprow --> <tr> <td class="cat" height="25" align="center" colspan="11"><input type="reset" value="{L_RESET}" class="liteoption" /> <input name="submit" type="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table> </form> <br /> --- NEW FILE: linkdb_select.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: linkdb_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 linkdb_error --> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <td class="row2" align="center">{ERROR}</td> </tr> </table> <br /> <!-- END linkdb_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_ALLOWLINK}<br><span class="gensmall">{L_CAT_ALLOWLINK_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> <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" height="25" nowrap="nowrap" colspan="2">{L_CAT_PERMISSIONS}</th> </tr> <tr> <td class="row1" width="50%">{L_VIEW_LEVEL}<br><span class="gensmall">{L_VIEW_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_VIEW_LEVEL}</td> </tr> <tr> <td class="row1" width="50%">{L_EDIT_LEVEL}<br><span class="gensmall">{L_EDIT_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_EDIT_LEVEL}</td> </tr> <tr> <td class="row1" width="50%">{L_DELETE_LEVEL}<br><span class="gensmall">{L_DELETE_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_DELETE_LEVEL}</td> </tr> <tr> <td class="row1" width="50%">{L_UPLOAD_LEVEL}<br><span class="gensmall">{L_UPLOAD_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_UPLOAD_LEVEL}</td> </tr> <tr> <td class="row1" width="50%">{L_APPROVAL_LEVEL}<br><span class="gensmall">{L_APPROVAL_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_APPROVAL_LEVEL}</td> </tr> <tr> <td class="row1" width="50%">{L_APPROVAL_EDIT_LEVEL}<br><span class="gensmall">{L_APPROVAL_EDIT_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_APPROVAL_EDIT_LEVEL}</td> </tr> <tr> <td class="row1" width="50%">{L_RATE_LEVEL}<br><span class="gensmall">{L_RATE_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_RATE_LEVEL}</td> </tr> <tr> <td class="row1" width="50%">{L_VIEW_COMMENT_LEVEL}<br><span class="gensmall">{L_VIEW_COMMENT_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_VIEW_COMMENT_LEVEL}</td> </tr> <tr> <td class="row1" width="50%">{L_POST_COMMENT_LEVEL}<br><span class="gensmall">{L_POST_COMMENT_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_POST_COMMENT_LEVEL}</td> </tr> <tr> <td class="row1" width="50%">{L_EDIT_COMMENT_LEVEL}<br><span class="gensmall">{L_EDIT_COMMENT_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_EDIT_COMMENT_LEVEL}</td> </tr> <tr> <td class="row1" width="50%">{L_DELETE_COMMENT_LEVEL}<br><span class="gensmall">{L_DELETE_COMMENT_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_DELETE_COMMENT_LEVEL}</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: linkdb_admin_select_body.tpl --- <h1>{L_LINKDB_AUTH_TITLE}</h1> <p>{L_LINKDB_AUTH_EXPLAIN}</p> <form action="{S_LINKDB_ACTION}" method="post"> <table width="50%" align="center" cellpadding="3" cellspacing="1" border="0" class="forumline"> <tr> <th class="thHead" colspan="2" height="28">{L_SELECT_CAT}</th> </tr> <tr> <td class="row1" height="25"><select name="cat_id">{CAT_SELECT_TITLE}</select></td> <td class="row1" width="100%" align="center"><input name="submit" type="submit" value="{L_LOOK_UP_CAT}" class="liteoption" /> </td> </tr> </table> </form> <br /> --- NEW FILE: linkdb_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 --> <tr> <td class="{cat_row.COLOR}" valign="middle" nowrap="nowrap">{cat_row.PRE} » <a href="{cat_row.U_CAT}" class="cattitle">{cat_row.CAT_NAME}</a></td> <td class="{cat_row.COLOR}" align="center" valign="middle"><span class="gen"><a href="{cat_row.U_CAT_EDIT}">{L_EDIT}</a></span></td> <td class="{cat_row.COLOR}" align="center" valign="middle"><span class="gen"><a href="{cat_row.U_CAT_DELETE}">{L_DELETE}</a></span></td> <td class="{cat_row.COLOR}" 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_row.COLOR}" align="center" valign="middle"><span class="gen"><a href="{cat_row.U_CAT_RESYNC}">{L_RESYNC}</a></span></td> </tr> <!-- 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> |
Update of /cvsroot/mxbb/mx_linkdb/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20223/_core Added Files: _core.cfg index.htm link_add.tpl link_category_body.tpl link_comment_posting.tpl link_custom_field.tpl link_footer.tpl link_header.tpl link_link_body.tpl link_lists.tpl link_main_body.tpl link_mcp.tpl link_mini.tpl link_rate_body.tpl link_search_body.tpl link_search_result.tpl link_viewall_body.tpl Log Message: for 2.9.x --- NEW FILE: link_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"> <!-- BEGIN 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 catrow --> <!-- BEGIN catcol --> <tr> <td><a href="{CAT_NAV_SIMPLE.catrow.catcol.U_CATEGORY}"><img src="{CAT_NAV_SIMPLE.catrow.catcol.CAT_IMAGE}" alt="{CAT_NAV_SIMPLE.catrow.catcol.CAT_DESCRIPTION}" align="absmiddle" border="0" /></a></td> <td width="100%" valign="middle" nowrap="nowrap"><a href="{CAT_NAV_SIMPLE.catrow.catcol.U_CATEGORY}" class="topictitle">{CAT_NAV_SIMPLE.catrow.catcol.CATEGORY}</a> <span class="gensmall">({CAT_NAV_SIMPLE.catrow.catcol.CAT_LINKS})</span> </td> </tr> <!-- END catcol --> <!-- END catrow --> </table></td></tr> <tr valign="middle"> <td class="cat"><span class="gensmall"> </span></td> </tr> </table> <!-- END CAT_NAV_SIMPLE --> <!-- BEGIN FILELIST --> <table width="100%" cellpadding="2" cellspacing="0"> <!-- BEGIN file_rows --> <tr> <td rowspan="2" class="{FILELIST.file_rows.COLOR}" valign="top"> {FILELIST.file_rows.PIN_IMAGE}</td> <td width="100%" class="{FILELIST.file_rows.COLOR}"> <a href="{FILELIST.file_rows.U_FILE}" class="topictitle" target="_blank">{FILELIST.file_rows.FILE_NAME}</a> <!-- BEGIN is_new_file --> <img src="{FILELIST.file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"> <!-- END is_new_file --> <br><span class="genmed">{FILELIST.file_rows.FILE_DESC}</span> </td> </tr> <tr> <td valign="top" align="left" class="{FILELIST.file_rows.COLOR}"> <span class="gensmall"> <!-- BEGIN display_username --> • {L_SUBMITED_BY} {FILELIST.file_rows.POSTER}<br /> <!-- END display_username --> <!-- BEGIN display_date --> • {L_DATE}: {FILELIST.file_rows.DATE}<br /> <!-- END display_date --> <!-- BEGIN display_counter --> • {L_DOWNLOADS}: {FILELIST.file_rows.FILE_DLS}<br /> <!-- END display_counter --> <!-- BEGIN display_rate --> • {FILELIST.file_rows.L_RATING}: {FILELIST.file_rows.RATING} ({FILELIST.file_rows.FILE_VOTES} {L_VOTES}) {FILELIST.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> <!-- END FILELIST --> <!-- BEGIN 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> <!-- END NO_FILE --> </td></tr></table> --- NEW FILE: link_category_body.tpl --- <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom" nowrap="nowrap"> <span class="nav"><a href="{U_LINK}" class="nav">{LINKS}</a> <!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_CAT}" class="nav">{navlinks.CAT_NAME}</a> <!-- END navlinks --> </span> </td> </tr> </table> <!-- BEGIN CAT_NAV_STANDARD --> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" > <tr> <th class="thCornerL" width="6%"> </th> <th class="thTop" nowrap="nowrap"> {L_CATEGORY} </th> <th class="thCornerR" width="10%"> {L_LAST_LINK} </th> <th class="thCornerR" width="50" nowrap="nowrap"> {L_LINKS} </th> </tr> <!-- BEGIN catrow --> <!-- BEGIN catcol --> <tr> <td class="row1" align="center" valign="middle"><img src="{CAT_NAV_STANDARD.catrow.catcol.CAT_IMAGE}" border="0" alt="{CAT_NAV_STANDARD.catrow.catcol.CAT_DESCRIPTION}"></td> <td class="row1" onmouseout="this.className='row1';" onmouseover="this.className='row2';" ><a href="{CAT_NAV_STANDARD.catrow.catcol.U_CATEGORY}" class="cattitle">{CAT_NAV_STANDARD.catrow.catcol.CATEGORY}</a><br /><span class="genmed">{CAT_NAV_STANDARD.catrow.catcol.CAT_DESCRIPTION}</span></td> <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="genmed">{CAT_NAV_STANDARD.catrow.catcol.LAST_LINK}</span></td> <td class="row2" align="center" valign="middle"><span class="genmed">{CAT_NAV_STANDARD.catrow.catcol.CAT_LINKS}</span></td> </tr> <!-- BEGIN show_subs --> <tr> <td class="row2" width="6%"> </td> <td class="row2" colspan="2"><span class="genmed"><b>{CAT_NAV_STANDARD.catrow.catcol.L_SUB_CAT}:</b> {CAT_NAV_STANDARD.catrow.catcol.SUB_CAT}</span></td> <td class="row2" align="center" valign="middle"> </td> </tr> <!-- END show_subs --> <!-- END catcol --> <!-- END catrow --> <!-- BEGIN no_cats --> <tr> <td class="row1" align="center" colspan="4" height="50"><span class="genmed">{CAT_NAV_STANDARD.no_cats.COMMENT}</span></td> </tr> <!-- END no_cats --> <tr> <td class="cat" colspan="4"> </td> </tr> </table> <br> <!-- END CAT_NAV_STANDARD --> <!-- BEGIN CAT_NAV_SIMPLE --> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> <tr> <th class="thHead">{L_CATEGORY}</th> </tr> <tr><td class="row1"> <table border="0" cellpadding="5" cellspacing="1" width="100%"> <!-- BEGIN catrow --> <tr> <!-- BEGIN catcol --> <td width="{WIDTH}%"> <table border="0" cellpadding="2" cellspacing="2" width="100%"> <tr> <td><a href="{CAT_NAV_SIMPLE.catrow.catcol.U_CATEGORY}"><img src="{CAT_NAV_SIMPLE.catrow.catcol.CAT_IMAGE}" alt="{CAT_NAV_SIMPLE.catrow.catcol.CAT_DESCRIPTION}" align="absmiddle" border="0" /></a></td> <td width="100%" valign="middle" nowrap="nowrap"><a href="{CAT_NAV_SIMPLE.catrow.catcol.U_CATEGORY}" class="cattitle">{CAT_NAV_SIMPLE.catrow.catcol.CATEGORY}</a> <span class="gensmall">({CAT_NAV_SIMPLE.catrow.catcol.CAT_LINKS})</span><br> {CAT_NAV_SIMPLE.catrow.catcol.SUB_CAT} </td> </tr></table> </td> <!-- END catcol --> </tr> <!-- END catrow --> </table> </td></tr> </table> <br /> <!-- END CAT_NAV_SIMPLE --> <!-- BEGIN FILELIST --> <table width="100%" cellpadding="0" cellspacing="0" class="forumline"> <tr> <th class="thHead">{LINKS}</th> </tr> <tr> <td> <!-- BEGIN no_split_links --> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <!-- END no_split_links --> <!-- BEGIN file_rows --> <!-- BEGIN split_links --> <table width="100%" cellpadding="3" cellspacing="1" > <!-- END split_links --> <tr> <td rowspan="2" class="{FILELIST.file_rows.COLOR}" valign="top"> {FILELIST.file_rows.PIN_IMAGE}</td> <td width="100%" class="{FILELIST.file_rows.COLOR}"> <a href="{FILELIST.file_rows.U_FILE}" class="topictitle" target="_blank">{FILELIST.file_rows.FILE_NAME}</a> <a href="{FILELIST.file_rows.U_FILE_MORE}" class="topictitle">[{FILELIST.file_rows.L_FILE_MORE}]</a> <!-- BEGIN is_new_file --> <img src="{FILELIST.file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"> <!-- END is_new_file --> <br><span class="genmed">{FILELIST.file_rows.FILE_DESC}</span> </td> </tr> <tr> <td valign="top" align="left" class="{FILELIST.file_rows.COLOR}"><span class="gensmall">{L_DATE}: {FILELIST.file_rows.DATE} • {L_DOWNLOADS}: {FILELIST.file_rows.FILE_DLS} • {L_SUBMITED_BY} {FILELIST.file_rows.POSTER} <!-- BEGIN show_ratings --> • {FILELIST.file_rows.L_RATING}: {FILELIST.file_rows.RATING} ({FILELIST.file_rows.FILE_VOTES} {L_VOTES}) {FILELIST.file_rows.DO_RATE} <!-- END show_ratings --> </span> </td> </tr> <!-- BEGIN split_links --> </table> <!-- END split_links --> <!-- END file_rows --> <!-- BEGIN no_split_links --> </table> <!-- END no_split_links --> </td> </tr> <form action="{S_ACTION_SORT}" method="post"> <input type="hidden" name="action" value="category"> <input type="hidden" name="cat_id" value="{ID}"> <input type="hidden" name="start" value="{START}"> <tr> <td align="center" colspan="2" class="cat"><span class="genmed">{L_SELECT_SORT_METHOD}: <select name="sort_method"> <option {SORT_NAME} value='link_name'>{L_NAME}</option> <option {SORT_TIME} value='link_time'>{L_DATE}</option> <option {SORT_LONGDESC} value='link_longdesc'>{L_LINK_SITE_DESC}</option> <option {SORT_DOWNLOADS} value='link_hits'>{L_DOWNLOADS}</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> </form> </table> <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2"> <tr> <td align="left" valign="top"><span class="nav">{PAGE_NUMBER}</span></td> <td align="right" valign="top" nowrap="nowrap"><span class="nav">{PAGINATION}</span></td> </tr> </table> <!-- END FILELIST --> <!-- BEGIN NO_FILE --> <table class="forumline" width="100%" cellspacing="1" cellpadding="3"> <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> <!-- END NO_FILE --> --- NEW FILE: link_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> <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_LINKS}" class="nav">{LINKS}</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> <!-- 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 --> <!-- BEGIN no_data --> <tr> <td class="row1" align="center"><span class="gen">{L_NO_ITEMS}</span></td> </tr> <!-- END no_data --> </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> --- 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:09:49 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['linkdb_comment_post'] = $images['reply_new']; // ------------------------------------------------------------------------- // Redefine phpBB images // ------------------------------------------------------------------------- $mx_images['linkdb_folder'] = $images['folder']; $mx_images['linkdb_folder_new'] = $images['folder_new']; $mx_images['linkdb_icon_latest_reply'] = $images['icon_latest_reply']; $mx_images['linkdb_icon_minipost'] = $images['icon_minipost']; $mx_images['linkdb_icon_edit'] = $images['icon_edit']; $mx_images['linkdb_icon_delpost'] = $images['icon_delpost']; ?> --- NEW FILE: link_header.tpl --- <table width="100%" cellpadding="0" cellspacing="0" > <tr> <td align="center" width="100%" height="100%" valign="top"> <table width="100%" cellpadding="3" cellspacing="1" class="forumline" style="border-top:none;"> <tr> <td align="center" class="row1"> <span class="gen"> <a href="{U_PASEARCH}" class="gen">{L_SEARCH}</a> <!-- BEGIN ADD_LINK --> • <a href="{U_UPLOAD}" class="gen"><b>{L_UPLOAD}</b></a> <!-- END ADD_LINK --> <!-- BEGIN MCP --> • <a href="{U_MCP}" class="gen"><b>{L_MCP}</b></a> <!-- END MCP --> </span><br /> <span class="genmed"> <a href="{U_VIEW_ALL}" class="gensmall">{L_VIEW_ALL}</a> • <a href="{U_DESCEND_BY_HITS}" class="gensmall">{L_STATS_MOST_POPULAR}</a> <!-- BEGIN switch_toprated --> • <a href="{U_DESCEND_BY_RATINGS}" class="gensmall">{L_STATS_TOPRATED}</a> <!-- END switch_toprated --> • <a href="{U_DESCEND_BY_JOIN}" class="gensmall">{L_STATS_LATEST}</a> </span> <br /><hr> </td> </tr> </table> <table width="100%" height="30" border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td width="100%" valign="top" colspan="2"> --- NEW FILE: link_viewall_body.tpl --- <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_LINK}" class="nav">{LINKS}</a> » {SEARCH_TYPE}</span> </td> </tr> </table> <!-- BEGIN FILELIST --> <table width="100%" cellpadding="0" cellspacing="1" class="forumline"> <tr> <th class="thHead">{LINKS} :: {SEARCH_TYPE}</th> </tr> <tr> <td> <!-- BEGIN no_split_links --> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <!-- END no_split_links --> <!-- tr> <th colspan="2" class="thTop" width="57%">{L_FILE}</th> </tr --> <!-- BEGIN file_rows --> <!-- BEGIN split_links --> <table width="100%" cellpadding="3" cellspacing="1"> <!-- END split_links --> <tr> <td rowspan="2" class="{FILELIST.file_rows.COLOR}" valign="top"> {FILELIST.file_rows.PIN_IMAGE}</td> <td width="100%" class="{FILELIST.file_rows.COLOR}"> <a href="{FILELIST.file_rows.U_FILE}" class="topictitle" target="_blank">{FILELIST.file_rows.FILE_NAME}</a> <a href="{FILELIST.file_rows.U_FILE_MORE}" class="topictitle">[{FILELIST.file_rows.L_FILE_MORE}]</a> <!-- BEGIN IS_NEW_FILE --> <img src="{FILELIST.file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"> <!-- END IS_NEW_FILE --> <br><span class="genmed">{FILELIST.file_rows.FILE_DESC}</span> <span class="genmed">({L_CATEGORY}: {FILELIST.file_rows.CAT_NAME})</span> </td> </tr> <tr> <td valign="top" align="left" class="{FILELIST.file_rows.COLOR}"><span class="gensmall">{L_DATE}: {FILELIST.file_rows.DATE}, {L_DOWNLOADS}: {FILELIST.file_rows.FILE_DLS}, {L_SUBMITED_BY} {FILELIST.file_rows.POSTER} <!-- BEGIN LINK_VOTE --> » {FILELIST.file_rows.L_RATING}: {FILELIST.file_rows.RATING} ({FILELIST.file_rows.FILE_VOTES} {L_VOTES}) <!-- END LINK_VOTE --> </span></td> </tr> <!-- BEGIN split_links --> </table> <!-- END split_links --> <!-- END file_rows --> <!-- BEGIN no_split_links --> </table> <!-- END no_split_links --> </td> </tr> <form action="{S_VIEWALL_ACTION}" method="post"> <input type="hidden" name="action" value="viewall"> <input type="hidden" name="start" value="{START}"> <tr> <td align="center" colspan="2" class="cat"><span class="genmed">{L_SELECT_SORT_METHOD}: <select name="sort_method"> <option {SORT_NAME} value='link_name'>{L_NAME}</option> <option {SORT_TIME} value='link_time'>{L_DATE}</option> <option {SORT_LONGDESC} value='link_longdesc'>{L_LINK_SITE_DESC}</option> <option {SORT_DOWNLOADS} value='link_hits'>{L_DOWNLOADS}</option> <option {SORT_RATINGS} value='rating'>{L_VOTES}</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> </form> </table> <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2"> <tr> <td align="left" valign="top"><span class="nav">{PAGE_NUMBER}</span></td> <td align="right" valign="top" nowrap="nowrap"><span class="nav">{PAGINATION}</span></td> </tr> </table> <!-- END FILELIST --> <!-- BEGIN NO_FILE --> <table class="forumline" width="100%" cellspacing="1" cellpadding="3"> <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> <!-- END NO_FILE --> --- NEW FILE: link_search_body.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_LINK}" class="nav">{LINKS}</a> » {L_SEARCH}</span> </td> </tr> </table> <table width="100%" cellpadding="3" 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='link_name'>{L_NAME}</option> <option selected="selected" value='link_time'>{L_DATE}</option> <option value='link_longdesc'>{L_RATING}</option> <option value='link_hits'>{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> --- NEW FILE: link_footer.tpl --- </td> </tr> <tr> <td align="left" valign="middle" height="35" width="50%"> <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_JUMP}</option> {JUMPMENU} </select> </form> </td> <td align="right" valign="middle" width="50%"> <!--<span class="gensmall" >{S_TIMEZONE}</span>--> </td> </tr> </table> </td> </tr> </table> --- NEW FILE: link_search_result.tpl --- <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> <td align="left" valign="bottom"><span class="maintitle">{L_SEARCH_MATCHES}</span><br /></td> </tr> </table> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_LINK}" class="nav">{LINKS}</a> » {L_SEARCH}</span> </td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="1" class="forumline"> <tr> <th class="thHead">{LINKS} :: {L_SEARCH}</th> </tr> <tr> <td> <!-- BEGIN no_split_links --> <table width="100%" cellpadding="3" cellspacing="1" > <!-- END no_split_links --> <!-- BEGIN searchresults --> <!-- BEGIN split_links --> <table width="100%" cellpadding="3" cellspacing="1" > <!-- END split_links --> <tr> <td rowspan="2" class="{searchresults.COLOR}" valign="top"> {searchresults.PIN_IMAGE}</td> <td width="100%" class="{searchresults.COLOR}"> <a href="{searchresults.U_FILE}" class="topictitle" target="_blank">{searchresults.FILE_NAME}</a> <!-- BEGIN IS_NEW_FILE --> <img src="{searchresults.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"> <!-- END IS_NEW_FILE --> <br><span class="genmed">{searchresults.FILE_DESC}</span> <span class="genmed">({L_CATEGORY}: {searchresults.CAT_NAME})</span> </td> </tr> <tr> <td valign="top" align="left" class="{searchresults.COLOR}"><span class="gensmall">{L_DATE}: {searchresults.DATE}, {L_DOWNLOADS}: {searchresults.FILE_DLS}, {L_SUBMITER} {searchresults.FILE_SUBMITER} <!-- BEGIN LINK_VOTE --> » {searchresults.L_RATING}: {searchresults.RATING} ({searchresults.FILE_VOTES} {L_VOTES}) <!-- END LINK_VOTE --> </span></td> </tr> <!-- BEGIN split_links --> </table> <!-- END split_links --> <!-- END searchresults --> <!-- BEGIN no_split_links --> </table> <!-- END no_split_links --> </td> </tr> </table> <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2"> <tr> <td align="left" valign="top"><span class="nav">{PAGE_NUMBER}</span></td> <td align="right" valign="top" nowrap="nowrap"><span class="nav">{PAGINATION}</span></td> </tr> </table> --- NEW FILE: link_add.tpl --- <script language="JavaScript" type="text/javascript"> <!-- function checkAddForm() { error_msg = ""; if (document.form.cat_id.value == -1) { error_msg = "{LINK_CAT_NOT_ALLOW}"; } if({ALLOW_GUEST} && document.form.post_username.value == "") { if(error_msg != "") { error_msg += "\n"; } error_msg += "{LINK_GUEST_FIELD}"; } if(document.form.name.value == "") { if(error_msg != "") { error_msg += "\n"; } error_msg += "{LINK_NAME_FIELD}"; } if(document.form.download_url.value == "") { if(error_msg != "") { error_msg += "\n"; } error_msg += "{LINK_URL_FIELD}"; } if(document.form.link_logo_src.value == "") { if(!{ALLOW_NO_LOGO}) { if(error_msg != "") { error_msg += "\n"; } error_msg += "{LINK_LOGO_FIELD}"; } } if(document.form.long_desc.value == "") { if(error_msg != "") { error_msg += "\n"; } error_msg += "{LINK_LONG_DES_FIELD}"; } if(error_msg != "") { alert(error_msg); error_msg = ""; return false; } else { return true; } } // --> </script> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom"> <span class="nav"><a href="{U_LINK}" class="nav">{LINKS}</a> » {L_FILE_TITLE}</span> </td> </tr> </table> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <form enctype="multipart/form-data" action="{S_ADD_FILE_ACTION}" method="post" name="form" onsubmit="return checkAddForm();"> <tr> <th colspan="2" class="thHead"> {L_FILE_TITLE}</th> </tr> <!-- BEGIN guestname --> <tr> <td class="row1"><span class="genmed">{L_GUESTNAME}</span></td> <td class="row2"><input type="text" class="post" name="post_username" size="25" maxlength="25" /></td> </tr> <!-- END guestname --> <tr> <td width="40%" 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_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> <tr> <td class="row1"><span class="genmed">{L_LINK_LOGO}</span><br><span class="gensmall">{L_LINK_LOGO_SRC}</span></td> <td class="row2"><input type="text" size="50" name="link_logo_src" value="{LINK_LOGO_SRC}" class="post"><span class="gensmall"> [<a href="javascript: void(0)" onclick="var img_src=document.form.link_logo_src.value;if(img_src=='' || img_src=='http://') img_src='modules/mx_linkdb/linkdb/images/weblink_88x31.png';_preview=window.open(img_src, '_preview', 'toolbar=no,width=200,height=100,top=300,left=300');" class="gensmall">{L_PREVIEW}</a>]</span></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" class="post">{FILE_LONG_DESC}</textarea></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> <!-- BEGIN custom_data_fields --> <tr> <td class="cat" colspan="2" align="center"><span class="cattitle">{custom_data_fields.L_ADDTIONAL_FIELD}</span></td> </tr> <!-- END custom_data_fields --> <!-- BEGIN input --> <tr> <td class="row1"><span class="genmed">{input.FIELD_NAME}</span><br><span class="gensmall">{input.FIELD_DESCRIPTION}</span></td> <td class="row2"> <input type="text" class="post" size="50" name="field[{input.FIELD_ID}]" value="{input.FIELD_VALUE}" /> </td> </tr> <!-- END input --> <!-- SPILT --> <!-- BEGIN textarea --> <tr> <td class="row1"><span class="genmed">{textarea.FIELD_NAME}</span><br><span class="gensmall">{textarea.FIELD_DESCRIPTION}</span></td> <td class="row2"> <textarea rows="6" class="post" name="field[{textarea.FIELD_ID}]" cols="32">{textarea.FIELD_VALUE}</textarea> </td> </tr> <!-- END textarea --> <!-- SPILT --> <!-- BEGIN radio --> <tr> <td class="row1"><span class="genmed">{radio.FIELD_NAME}</span><br><span class="gensmall">{radio.FIELD_DESCRIPTION}</span></td> <td class="row2"> <!-- BEGIN row --> <input type="radio" name="field[{radio.FIELD_ID}]" value="{radio.row.FIELD_VALUE}" {radio.row.FIELD_SELECTED} /><span class="gensmall">{radio.row.FIELD_VALUE}</span> <!-- END row --> </td> </tr> <!-- END radio --> <!-- SPILT --> <!-- BEGIN select --> <tr> <td class="row1"><span class="genmed">{select.FIELD_NAME}</span><br><span class="gensmall">{select.FIELD_DESCRIPTION}</span></td> <td class="row2"> <select name="field[{select.FIELD_ID}]" class="post"> <!-- BEGIN row --> <option value="{select.row.FIELD_VALUE}"{radio.row.FIELD_SELECTED}>{select.row.FIELD_VALUE}</option> <!-- END row --> </select> </td> </tr> <!-- END select --> <!-- SPILT --> <!-- BEGIN select_multiple --> <tr> <td class="row1"><span class="genmed">{select_multiple.FIELD_NAME}</span><br><span class="gensmall">{select_multiple.FIELD_DESCRIPTION}</span></td> <td class="row2"> <select name="field[{select_multiple.FIELD_ID}][]" multiple="multiple" size="4" class="post"> <!-- BEGIN row --> <option value="{select_multiple.row.FIELD_VALUE}"{select_multiple.row.FIELD_SELECTED}>{select_multiple.row.FIELD_VALUE}</option> <!-- END row --> </select> </td> </tr> <!-- END select_multiple --> <!-- SPILT --> <!-- BEGIN checkbox --> <tr> <td class="row1"><span class="genmed">{checkbox.FIELD_NAME}</span><br><span class="gensmall">{checkbox.FIELD_DESCRIPTION}</span></td> <td class="row2"> <!-- BEGIN row --> <input type="checkbox" name="field[{checkbox.FIELD_ID}][{checkbox.row.FIELD_VALUE}]" value="{checkbox.row.FIELD_VALUE}" {checkbox.row.FIELD_CHECKED}><span class="gensmall">{checkbox.row.FIELD_VALUE}</span> <!-- END row --> </td> </tr> <!-- END checkbox --> <!-- BEGIN ADMIN --> <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> <tr> <td class="row1"><span class="genmed">{L_FILE_APPROVED}</span><br><span class="gensmall">{L_FILE_APPROVED_INFO}</span></td> <td class="row2"><span class="genmed"> <input type="radio" name="approved" value="1" {APPROVED_CHECKED_YES}>{L_YES} <input type="radio" name="approved" value="0" {APPROVED_CHECKED_NO}>{L_NO} </span> </td> </tr> <!-- END ADMIN --> <tr> <td align="center" class="cat" colspan="2">{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" value="{L_FILE_TITLE}" name="submit" /></td> </tr> </form> </table> --- NEW FILE: link_custom_field.tpl --- <!-- BEGIN input --> <tr> <td class="row1"><span class="genmed">{input.FIELD_NAME}</span><br><span class="gensmall">{input.FIELD_DESCRIPTION}</span></td> <td class="row2"> <input type="text" class="post" size="50" name="field[{input.FIELD_ID}]" value="{input.FIELD_VALUE}" /> </td> </tr> <!-- END input --> <!-- SPILT --> <!-- BEGIN textarea --> <tr> <td class="row1"><span class="genmed">{textarea.FIELD_NAME}</span><br><span class="gensmall">{textarea.FIELD_DESCRIPTION}</span></td> <td class="row2"> <textarea rows="6" class="post" name="field[{textarea.FIELD_ID}]" cols="32">{textarea.FIELD_VALUE}</textarea> </td> </tr> <!-- END textarea --> <!-- SPILT --> <!-- BEGIN radio --> <tr> <td class="row1"><span class="genmed">{radio.FIELD_NAME}</span><br><span class="gensmall">{radio.FIELD_DESCRIPTION}</span></td> <td class="row2"> <!-- BEGIN row --> <input type="radio" name="field[{radio.FIELD_ID}]" value="{radio.row.FIELD_VALUE}" {radio.row.FIELD_SELECTED} /><span class="gensmall">{radio.row.FIELD_VALUE}</span> <!-- END row --> </td> </tr> <!-- END radio --> <!-- SPILT --> <!-- BEGIN select --> <tr> <td class="row1"><span class="genmed">{select.FIELD_NAME}</span><br><span class="gensmall">{select.FIELD_DESCRIPTION}</span></td> <td class="row2"> <select name="field[{select.FIELD_ID}]" class="post"> <!-- BEGIN row --> <option value="{select.row.FIELD_VALUE}"{radio.row.FIELD_SELECTED}>{select.row.FIELD_VALUE}</option> <!-- END row --> </select> </td> </tr> <!-- END select --> <!-- SPILT --> <!-- BEGIN select_multiple --> <tr> <td class="row1"><span class="genmed">{select_multiple.FIELD_NAME}</span><br><span class="gensmall">{select_multiple.FIELD_DESCRIPTION}</span></td> <td class="row2"> <select name="field[{select_multiple.FIELD_ID}][]" multiple="multiple" size="4" class="post"> <!-- BEGIN row --> <option value="{select_multiple.row.FIELD_VALUE}"{select_multiple.row.FIELD_SELECTED}>{select_multiple.row.FIELD_VALUE}</option> <!-- END row --> </select> </td> </tr> <!-- END select_multiple --> <!-- SPILT --> <!-- BEGIN checkbox --> <tr> <td class="row1"><span class="genmed">{checkbox.FIELD_NAME}</span><br><span class="gensmall">{checkbox.FIELD_DESCRIPTION}</span></td> <td class="row2"> <!-- BEGIN row --> <input type="checkbox" name="field[{checkbox.FIELD_ID}][{checkbox.row.FIELD_VALUE}]" value="{checkbox.row.FIELD_VALUE}" {checkbox.row.FIELD_CHECKED}><span class="gensmall">{checkbox.row.FIELD_VALUE}</span> <!-- END row --> </td> </tr> <!-- END checkbox --> --- NEW FILE: link_lists.tpl --- <!-- BEGIN FILELIST --> <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" style="border-top:none;"><tr><td> <table width="100%" cellpadding="2" cellspacing="0"> <!-- BEGIN file_rows --> <tr> <td class="{FILELIST.file_rows.COLOR}" align="center"> {FILELIST.file_rows.PIN_IMAGE} </td> </tr> <tr> <td class="{FILELIST.file_rows.COLOR}" valign="top"> <a href="{FILELIST.file_rows.U_FILE}" class="topictitle" target="_blank">{FILELIST.file_rows.FILE_NAME}</a> <!-- BEGIN is_new_file --> <img src="{FILELIST.file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"> <!-- END is_new_file --> <br><span class="genmed">{FILELIST.file_rows.FILE_DESC}</span> </td> </tr> <tr> <td valign="top" align="left" class="{FILELIST.file_rows.COLOR}"> <span class="gensmall"> <!-- BEGIN display_username --> • {L_SUBMITED_BY} {FILELIST.file_rows.POSTER}<br /> <!-- END display_username --> <!-- BEGIN display_date --> • {L_DATE}: {FILELIST.file_rows.DATE}<br /> <!-- END display_date --> <!-- BEGIN display_counter --> • {L_DOWNLOADS}: {FILELIST.file_rows.FILE_DLS}<br /> <!-- END display_counter --> <!-- BEGIN display_rate --> • {FILELIST.file_rows.L_RATING}: {FILELIST.file_rows.RATING} ({FILELIST.file_rows.FILE_VOTES} {L_VOTES}) {FILELIST.file_rows.DO_RATE}<br /> <!-- END display_rate --> </span> <hr> </td> </tr> <!-- END file_rows --> <!-- BEGIN toplist_pagination --> <tr valign="middle"> <td align="right" valign="top" nowrap="nowrap" height="28" class="cat"><span class="gensmall">{BLOCK_PAGINATION}</span></td> </tr> <!-- END toplist_pagination --> </table> </td></tr></table> <!-- END FILELIST --> <!-- BEGIN 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> <!-- END NO_FILE --> --- NEW FILE: link_link_body.tpl --- <script language='javascript'> <!-- 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.'); } } --> </script> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="bottom" nowrap="nowrap"> <span class="nav"><a href="{U_LINK}" class="nav">{LINKS}</a> <!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_CAT}" class="nav">{navlinks.CAT_NAME}</a> <!-- END navlinks --> </span> </td> </tr> </table> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <th class="thCornerL" align="left" colspan="2"> {L_SITENAME} - {LINK_NAME} </th> </tr> <tr> <td class="row2" valign="middle" width="20%"><span class="genmed">{PIN_IMAGE}</span></td> <td class="row1" valign="middle" width="80%"><span class="genmed">{LINK_LONGDESC}</span><br /><br /><a href="{U_JUMP}" target="_blank">{L_JUMP}</a></td> </tr> <tr> <td class="row2" valign="middle" width="20%"><span class="genmed">{L_SUBMITED_BY}:</span></td> <td class="row1" valign="middle" width="80%"><span class="name">{LINK_SUBMITED_BY}</span></td> </tr> <tr> <td class="row2" valign="middle"><span class="genmed">{L_DATE}:</span></td> <td class="row1" valign="middle"><span class="genmed">{TIME}</span></td> </tr> <!-- BEGIN use_ratings --> <tr> <td class="row2" valign="middle"><span class="genmed">{use_ratings.L_RATING}:</span></td> <td class="row1" valign="middle"><span class="genmed">{use_ratings.RATING} ({use_ratings.FILE_VOTES} {use_ratings.L_VOTES})</span> <a href="{use_ratings.U_RATE}">[{use_ratings.L_RATE}]</a></td> </tr> <!-- END use_ratings --> <tr> <td class="row2" valign="middle"><span class="genmed">{L_HITS}:</span></td> <td class="row1" valign="middle"><span class="genmed">{LINK_HITS}</span></td> </tr> <!-- BEGIN custom_field --> <tr> <td class="row2" valign="middle"><span class="genmed">{custom_field.CUSTOM_NAME}:</span></td> <td class="row1" valign="middle"><span class="genmed">{custom_field.DATA}</span></td> </tr> <!-- END custom_field --> <tr> <td class="cat" align="center" colspan="2"> <!-- BEGIN AUTH_EDIT --> <a href="{U_EDIT}"><img src="{EDIT_IMG}" border="0" alt="{L_EDIT}" /></a> <!-- END AUTH_EDIT --> <!-- BEGIN AUTH_DELETE --> <a href="javascript:delete_item('{U_DELETE}')"><img src="{DELETE_IMG}" border="0" alt="{L_DELETE}" /></a> <!-- END AUTH_DELETE --> </td> </tr> </table> <br /> <!-- BEGIN use_comments --> <table width="100%" cellpadding="4" cellspacing="1" class="forumline"> <tr> <th class="thCornerL" colspan="2">{use_comments.L_COMMENTS}</th> </tr> <!-- BEGIN no_comments --> <tr> <td colspan="2" class="row1" align="center"><span class="genmed">{use_comments.no_comments.L_NO_COMMENTS}</span></td> </tr> <!-- END no_comments --> <!-- BEGIN text --> <tr> <td width="100" align="left" valign="top" class="row1"><span class="name"> <b>{use_comments.text.POSTER}</b></span><hr /><br /> <span class="postdetails">{use_comments.text.POSTER_RANK}<br /> {use_comments.text.RANK_IMAGE}{use_comments.text.POSTER_AVATAR}</span><br /> </td> <td class="row1" height="28" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="80%" valign="middle"><span class="genmed"><img src="{use_comments.text.ICON_MINIPOST_IMG}" width="12" height="9" border="0" /> <b>{use_comments.text.TITLE}</b> </span><span class="genmed">({use_comments.text.TIME})</span></td> <td align="right"> <!-- BEGIN auth_edit --> <a href="{use_comments.text.auth_edit.U_COMMENT_EDIT}"><img src="{use_comments.text.auth_edit.EDIT_IMG}" alt="{use_comments.text.auth_edit.L_COMMENT_EDIT}" title="{use_comments.text.auth_edit.L_COMMENT_EDIT}" border="0"></a> <!-- END auth_edit --> <!-- BEGIN auth_delete --> <a href="{use_comments.text.auth_delete.U_COMMENT_DELETE}"><img src="{use_comments.text.auth_delete.DELETE_IMG}" alt="{use_comments.text.auth_delete.L_COMMENT_DELETE}" title="{use_comments.text.auth_delete.L_COMMENT_DELETE}" border="0"></a> <!-- END auth_delete --> </td> </tr> <tr> <td colspan="2"><hr /></td> </tr> <tr> <td colspan="2"valign="top"><span class="postbody">{use_comments.text.TEXT}</span></td> </tr> </table> </td> </tr> <tr> <td class="spaceRow" colspan="2" height="1"><img src="{use_comments.text.ICON_SPACER}" alt="" width="1" height="1" /></td> </tr> <!-- END text --> </table> <!-- BEGIN comments_pag --> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td><span class="nav">{use_comments.comments_pag.PAGE_NUMBER}</span></td> <td align="right"><span class="nav">{use_comments.comments_pag.PAGINATION}</span></td> </tr> </table> <!-- END comments_pag --> <!-- BEGIN auth_post --> <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> <td><a href="{use_comments.auth_post.U_COMMENT_POST}"><img src="{use_comments.auth_post.REPLY_IMG}" border="0" alt="{use_comments.auth_post.L_COMMENT_ADD}" align="middle" /></a></td> </tr> </table> <br clear="all" /> <!-- END auth_post --> <!-- END use_comments --> --- NEW FILE: link_main_body.tpl --- <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td valign="bottom" colspan="2"> <span class="nav"><a href="{U_LINK}" class="nav">{LINKS}</a></span> </td> </tr> </table> <!-- BEGIN CAT_NAV_STANDARD --> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" > <tr> <th class="thCornerL" width="6%"> </th> <th class="thTop" nowrap="nowrap"> {L_CATEGORY} </th> <th class="thCornerR" width="10%"> {L_LAST_LINK} </th> <th class="thCornerR" width="50" nowrap="nowrap"> {L_LINKS} </th> </tr> <!-- BEGIN catrow --> <!-- BEGIN catcol --> <tr> <td class="row1" align="center" valign="middle"><img src="{CAT_NAV_STANDARD.catrow.catcol.CAT_IMAGE}" border="0" alt="{CAT_NAV_STANDARD.catrow.catcol.CAT_DESCRIPTION}"></td> <td class="row1" onmouseout="this.className='row1';" onmouseover="this.className='row2';" ><a href="{CAT_NAV_STANDARD.catrow.catcol.U_CATEGORY}" class="cattitle">{CAT_NAV_STANDARD.catrow.catcol.CATEGORY}</a><br /><span class="genmed">{CAT_NAV_STANDARD.catrow.catcol.CAT_DESCRIPTION}</span></td> <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="genmed">{CAT_NAV_STANDARD.catrow.catcol.LAST_LINK}</span></td> <td class="row2" align="center" valign="middle"><span class="genmed">{CAT_NAV_STANDARD.catrow.catcol.CAT_LINKS}</span></td> </tr> <!-- BEGIN show_subs --> <tr> <td class="row2" width="6%"> </td> <td class="row2" colspan="2"><span class="genmed"><b>{CAT_NAV_STANDARD.catrow.catcol.L_SUB_CAT}:</b> {CAT_NAV_STANDARD.catrow.catcol.SUB_CAT}</span></td> <td class="row2" align="center" valign="middle"> </td> </tr> <!-- END show_subs --> <!-- END catcol --> <!-- END catrow --> <!-- BEGIN no_cats --> <tr> <td class="row1" align="center" colspan="4" height="50"><span class="genmed">{CAT_NAV_STANDARD.no_cats.COMMENT}</span></td> </tr> <!-- END no_cats --> <tr> <td class="cat" colspan="4"> </td> </tr> </table> <br> <!-- END CAT_NAV_STANDARD --> <!-- BEGIN CAT_NAV_SIMPLE --> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> <tr> <th class="thHead">{L_CATEGORY}</th> </tr> <tr><td class="row1"> <table border="0" cellpadding="5" cellspacing="1" width="100%"> <!-- BEGIN catrow --> <tr> <!-- BEGIN catcol --> <td width="{WIDTH}%"> <table border="0" cellpadding="2" cellspacing="2" width="100%"> <tr> <td><a href="{CAT_NAV_SIMPLE.catrow.catcol.U_CATEGORY}"><img src="{CAT_NAV_SIMPLE.catrow.catcol.CAT_IMAGE}" alt="{CAT_NAV_SIMPLE.catrow.catcol.CAT_DESCRIPTION}" align="absmiddle" border="0" /></a></td> <td width="100%" valign="middle" nowrap="nowrap"><a href="{CAT_NAV_SIMPLE.catrow.catcol.U_CATEGORY}" class="cattitle">{CAT_NAV_SIMPLE.catrow.catcol.CATEGORY}</a> <span class="gensmall">({CAT_NAV_SIMPLE.catrow.catcol.CAT_LINKS})</span><br> {CAT_NAV_SIMPLE.catrow.catcol.SUB_CAT} </td> </tr></table> </td> <!-- END catcol --> </tr> <!-- END catrow --> </table> </td></tr> </table> <br /> <!-- END CAT_NAV_SIMPLE --> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th colspan="2" class="thHead">{L_LINK_US}</th> </tr> <tr> <td class="row1" width="80%"> <span class="gensmall">{L_LINK_US_EXPLAIN}</span><br /> <table width="100%" cellspacing="1" cellpadding="4" border="0" align="center" style="table-layout:fixed;" class="bodyline"> <tr> <td style="left:0px;width:100%;word-wrap:break-word;font-size=9px;" class="gensmall">{LINK_US_SYNTAX}</td> </tr> </table> </td> <td class="row1" width="20%" align="right"> <img src="{U_SITE_LOGO}" border="0" alt="{SITENAME}" /> </td> </tr> </table> --- NEW FILE: link_rate_body.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_LINK}" class="nav">{LINKS}</a> <!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_CAT}" class="nav">{navlinks.CAT_NAME}</a> <!-- END navlinks --> » <a href="{U_FILE_NAME}" class="nav" target="_blank">{FILE_NAME}</a> » {L_RATE}</span> </td> </tr> </table> <table width="100%" cellpadding="3" cellspacing="1" class="forumline"> <tr> <th colspan="2" class="thHead"> {L_RATE}</th> </tr> <tr> <td class="row1" width="90%">{PIN_IMAGE}<span class="genmed"> {L_RATING}: {RATING} ({FILE_VOTES} {L_VOTES})<br />{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="link_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> --- 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: link_comment_posting.tpl --- <script language="JavaScript" type="text/javascript"> <!-- // bbCode control by // subBlue design // www.subBlue.com // Startup variables var imageTag = false; var theSelection = false; // Check for Browser & Platform for PC & IE specific bits // More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html var clientPC = navigator.userAgent.toLowerCase(); // Get client info var clientVer = parseInt(navigator.appVersion); // Get browser version var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1)); var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1) && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1) && (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1)); var is_moz = 0; var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1)); var is_mac = (clientPC.indexOf("mac")!=-1); // Helpline messages b_help = "{L_BBCODE_B_HELP}"; i_help = "{L_BBCODE_I_HELP}"; u_help = "{L_BBCODE_U_HELP}"; q_help = "{L_BBCODE_Q_HELP}"; c_help = "{L_BBCODE_C_HELP}"; l_help = "{L_BBCODE_L_HELP}"; o_help = "{L_BBCODE_O_HELP}"; p_help = "{L_BBCODE_P_HELP}"; w_help = "{L_BBCODE_W_HELP}"; a_help = "{L_BBCODE_A_HELP}"; s_help = "{L_BBCODE_S_HELP}"; f_help = "{L_BBCODE_F_HELP}"; // Define the bbCode tags bbcode = new Array(); bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]'); imageTag = false; // Shows the help messages in the helpline window function helpline(help) { document.post.helpbox.value = eval(help + "_help"); } // Replacement for arrayname.length property function getarraysize(thearray) { for (i = 0; i < thearray.length; i++) { if ((thearray[i] == "undefined") || (thearray[i] == "") || (thearray[i] == null)) return i; } return thearray.length; } // Replacement for arrayname.push(value) not implemented in IE until version 5.5 // Appends element to the array function arraypush(thearray,value) { thearray[ getarraysize(thearray) ] = value; } // Replacement for arrayname.pop() not implemented in IE until version 5.5 // Removes and returns the last element of an array function arraypop(thearray) { thearraysize = getarraysize(thearray); retval = thearray[thearraysize - 1]; delete thearray[thearraysize - 1]; return retval; } function checkForm() { formErrors = false; if (document.post.message.value.length < 2) { formErrors = "{L_EMPTY_MESSAGE}"; } if (formErrors) { alert(formErrors); return false; } else { bbstyle(-1); //formObj.preview.disabled = true; //formObj.submit.disabled = true; return true; } } function emoticon(text) { var txtarea = document.post.message; text = ' ' + text + ' '; if (txtarea.createTextRange && txtarea.caretPos) { var caretPos = txtarea.caretPos; caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text; txtarea.focus(); } else { txtarea.value += text; txtarea.focus(); } } function bbfontstyle(bbopen, bbclose) { var txtarea = document.post.message; if ((clientVer >= 4) && is_ie && is_win) { theSelection = document.selection.createRange().text; if (!theSelection) { txtarea.value += bbopen + bbclose; txtarea.focus(); return; } document.selection.createRange().text = bbopen + theSelection + bbclose; txtarea.focus(); return; } else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0)) { mozWrap(txtarea, bbopen, bbclose); return; } else { txtarea.value += bbopen + bbclose; txtarea.focus(); } storeCaret(txtarea); } function bbstyle(bbnumber) { var txtarea = document.post.message; txtarea.focus(); donotinsert = false; theSelection = false; bblast = 0; if (bbnumber == -1) { // Close all open tags & default button names while (bbcode[0]) { butnumber = arraypop(bbcode) - 1; txtarea.value += bbtags[butnumber + 1]; buttext = eval('document.post.addbbcode' + butnumber + '.value'); eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"'); } imageTag = false; // All tags are closed including image tags :D txtarea.focus(); return; } if ((clientVer >= 4) && is_ie && is_win) { theSelection = document.selection.createRange().text; // Get text selection if (theSelection) { // Add tags around selection document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1]; txtarea.focus(); theSelection = ''; return; } } else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0)) { mozWrap(txtarea, bbtags[bbnumber], bbtags[bbnumber+1]); return; } // Find last occurance of an open tag the same as the one just clicked for (i = 0; i < bbcode.length; i++) { if (bbcode[i] == bbnumber+1) { bblast = i; donotinsert = true; } } if (donotinsert) { // Close all open tags up to the one just clicked & default button names while (bbcode[bblast]) { butnumber = arraypop(bbcode) - 1; txtarea.value += bbtags[butnumber + 1]; buttext = eval('document.post.addbbcode' + butnumber + '.value'); eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"'); imageTag = false; } txtarea.focus(); return; } else { // Open tags if (imageTag && (bbnumber != 14)) { // Close image tag before adding another txtarea.value += bbtags[15]; lastValue = arraypop(bbcode) - 1; // Remove the close image tag from the list document.post.addbbcode14.value = "Img"; // Return button back to normal state imageTag = false; } // Open tag txtarea.value += bbtags[bbnumber]; if ((bbnumber == 14) && (imageTag == false)) imageTag = 1; // Check to stop additional tags after an unclosed image tag arraypush(bbcode,bbnumber+1); eval('document.post.addbbcode'+bbnumber+'.value += "*"'); txtarea.focus(); return; } storeCaret(txtarea); } // From http://www.massless.org/mozedit/ function mozWrap(txtarea, open, close) { var selLength = txtarea.textLength; var selStart = txtarea.selectionStart; var selEnd = txtarea.selectionEnd; if (selEnd == 1 || selEnd == 2) selEnd = selLength; var s1 = (txtarea.value).substring(0,selStart); var s2 = (txtarea.value).substring(selStart, selEnd) var s3 = (txtarea.value).substring(selEnd, selLength); txtarea.value = s1 + open + s2 + close + s3; return; } // Insert at Claret position. Code from // http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130 function storeCaret(textEl) { if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate(); } //--> </script> <script language="javascript"> <!-- var postmaxchars = {MESSAGE_LENGTH}; function checklength(theform) { if (postmaxchars != 0) { message = ""; } else { message = ""; } alert("{L_MSG_LENGTH_1}"+theform.message.value.length+"{L_MSG_LENGTH_2}\n\r\n\r{L_MSG_LENGTH_3}"+postmaxchars+"{L_MSG_LENGTH_4}\n\r\n\r{L_MSG_LENGTH_5}"+(postmaxchars-theform.message.value.length)+"{L_MSG_LENGTH_6}"); } //--> </script> <form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)"> <!-- BEGIN preview --> <br /> <table border="0" cellpadding="4" cellspacing="0" width="100%" class="forumline"> <tr> <th class="thHead" colspan="2" height="25">{L_PREVIEW}</th> </tr> <tr> <td class="row1" valign="top"><span class="postbody">{PRE_COMMENT}</span></td> </tr> </table> <br /> <!-- END preview --> <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_COMMENT_ADD}</span> </td> </tr> </table> <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline"> <tr> <th class="thHead" colspan="2" height="25"><b>{L_COMMENT_ADD}</b></th> </tr> <tr> <td class="row1" ><span class="gen"><b>{L_COMMENT_TITLE}</b></span></td> <td class="row2"><input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{TITLE}" /></span></td> </tr> <tr> <td class="row1" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td><span class="gen"><b>{L_COMMENT}</b></span></td> </tr> <tr> <td valign="middle" align="center"> <br /> <table width="100" border="0" cellspacing="0" cellpadding="5"> <tr align="center"> <td colspan="{S_SMILIES_COLSPAN}" class="nav"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies" class="nav">{L_EMOTICONS}</a></td> </tr> <!-- BEGIN smilies_row --> <tr align="center" valign="middle"> <!-- BEGIN smilies_col --> <td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td> <!-- END smilies_col --> </tr> <!-- END smilies_row --> </table> </td> </tr> </table> </td> <td class="row2" valign="top"><span class="gen"> <span class="genmed"> </span> <table width="450" border="0" cellspacing="0" cellpadding="2"> <tr align="center" valign="middle"> <td><span class="genmed"> <input type="button" class="bu... [truncated message content] |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:09:39
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19690/includes Modified Files: functions.php functions_admin.php functions_comment.php functions_linkdb.php functions_mx.php Log Message: for 2.9.x Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** functions.php 6 Aug 2007 21:13:48 -0000 1.20 --- functions.php 9 Sep 2007 20:09:01 -0000 1.21 *************** *** 91,95 **** global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path; global $user_ip, $session_length, $starttime; ! global $userdata, $mx_kb; global $mx_root_path, $module_root_path, $is_block, $phpEx; --- 91,95 ---- 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; *************** *** 100,105 **** --- 100,108 ---- if ( $mode == 'window' ) { + /* $userdata = session_pagestart( $user_ip, $page_id ); init_userprefs( $userdata ); + */ + $mx_user->init($user_ip, PAGE_INDEX); $gen_simple_header = true; *************** *** 174,178 **** $template->assign_vars( array( 'L_MORE_SMILIES' => $lang['More_emoticons'], ! 'U_MORE_SMILIES' => append_sid( $phpbb_root_path . "posting.$phpEx?mode=smilies" ) ) ); } --- 177,181 ---- $template->assign_vars( array( 'L_MORE_SMILIES' => $lang['More_emoticons'], ! 'U_MORE_SMILIES' => mx_append_sid( $phpbb_root_path . "posting.$phpEx?mode=smilies" ) ) ); } *************** *** 243,247 **** if ( $linkdb->modules[$linkdb->module_name]->auth_user[$_REQUEST['cat_id']]['auth_post'] || $linkdb->modules[$linkdb->module_name]->auth_user[$_REQUEST['cat_id']]['auth_mod'] ) { ! $upload_url = append_sid( $linkdb->this_mxurl( "action=user_upload&cat_id={$_REQUEST['cat_id']}" ) ); if ( !$linkdb_config['lock_submit_site'] ) { --- 246,250 ---- if ( $linkdb->modules[$linkdb->module_name]->auth_user[$_REQUEST['cat_id']]['auth_post'] || $linkdb->modules[$linkdb->module_name]->auth_user[$_REQUEST['cat_id']]['auth_mod'] ) { ! $upload_url = mx_append_sid( $linkdb->this_mxurl( "action=user_upload&cat_id={$_REQUEST['cat_id']}" ) ); if ( !$linkdb_config['lock_submit_site'] ) { *************** *** 249,253 **** } } ! $mcp_url = append_sid( $linkdb->this_mxurl( "action=mcp&cat_id={$_REQUEST['cat_id']}" ) ); if ( $linkdb->modules[$linkdb->module_name]->auth_user[$_REQUEST['cat_id']]['auth_mod'] ) { --- 252,256 ---- } } ! $mcp_url = mx_append_sid( $linkdb->this_mxurl( "action=mcp&cat_id={$_REQUEST['cat_id']}" ) ); if ( $linkdb->modules[$linkdb->module_name]->auth_user[$_REQUEST['cat_id']]['auth_mod'] ) { *************** *** 257,261 **** else { ! $upload_url = append_sid( $linkdb->this_mxurl( "action=user_upload" ) ); } --- 260,264 ---- else { ! $upload_url = mx_append_sid( $linkdb->this_mxurl( "action=user_upload" ) ); } *************** *** 266,270 **** // BEGIN linkdb 'LINKS' => $lang['Links_Title'], ! 'U_LINK' => append_sid( $linkdb->this_mxurl() ), // END linkdb 'L_SEARCH' => $lang['Link_Search'], --- 269,273 ---- // BEGIN linkdb 'LINKS' => $lang['Links_Title'], ! 'U_LINK' => mx_append_sid( $linkdb->this_mxurl() ), // END linkdb 'L_SEARCH' => $lang['Link_Search'], *************** *** 279,289 **** 'L_STATS_TOPRATED' => $lang['Link_toprated'], ! 'U_PASEARCH' => append_sid( $linkdb->this_mxurl( "action=search" ) ), 'U_UPLOAD' => $upload_url, 'U_MCP' => $mcp_url, ! 'U_VIEW_ALL' => append_sid( $linkdb->this_mxurl( "action=viewall" ) ), ! 'U_DESCEND_BY_HITS' => append_sid( $linkdb->this_mxurl( "action=viewall&&sort_method=link_hits&sort_order=DESC" ) ), ! 'U_DESCEND_BY_JOIN' => append_sid( $linkdb->this_mxurl( "action=viewall&sort_method=link_time&sort_order=DESC" ) ), ! 'U_DESCEND_BY_RATINGS' => append_sid( $linkdb->this_mxurl( "action=viewall&sort_method=rating&sort_order=DESC" ) ), 'U_PORTAL_PAGE' => $page_id --- 282,292 ---- 'L_STATS_TOPRATED' => $lang['Link_toprated'], ! 'U_PASEARCH' => mx_append_sid( $linkdb->this_mxurl( "action=search" ) ), 'U_UPLOAD' => $upload_url, 'U_MCP' => $mcp_url, ! 'U_VIEW_ALL' => mx_append_sid( $linkdb->this_mxurl( "action=viewall" ) ), ! 'U_DESCEND_BY_HITS' => mx_append_sid( $linkdb->this_mxurl( "action=viewall&&sort_method=link_hits&sort_order=DESC" ) ), ! 'U_DESCEND_BY_JOIN' => mx_append_sid( $linkdb->this_mxurl( "action=viewall&sort_method=link_time&sort_order=DESC" ) ), ! 'U_DESCEND_BY_RATINGS' => mx_append_sid( $linkdb->this_mxurl( "action=viewall&sort_method=rating&sort_order=DESC" ) ), 'U_PORTAL_PAGE' => $page_id *************** *** 326,330 **** 'L_JUMP' => $lang['Jump'], 'JUMPMENU' => $linkdb->modules[$linkdb->module_name]->generate_jumpbox( 0, 0, array( $_GET['cat_id'] => 1, true, true, 'auth_view' ) ), ! 'S_JUMPBOX_ACTION' => append_sid( $linkdb->this_mxurl() ), 'MX_PAGE' => $page_id, --- 329,333 ---- 'L_JUMP' => $lang['Jump'], 'JUMPMENU' => $linkdb->modules[$linkdb->module_name]->generate_jumpbox( 0, 0, array( $_GET['cat_id'] => 1, true, true, 'auth_view' ) ), ! 'S_JUMPBOX_ACTION' => mx_append_sid( $linkdb->this_mxurl() ), 'MX_PAGE' => $page_id, Index: functions_mx.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions_mx.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** functions_mx.php 1 Jul 2006 21:32:19 -0000 1.1 --- functions_mx.php 9 Sep 2007 20:09:02 -0000 1.2 *************** *** 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_linkdb/linkdb/includes/functions_comment.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** functions_comment.php 12 Jul 2007 22:50:56 -0000 1.5 --- functions_comment.php 9 Sep 2007 20:09:02 -0000 1.6 *************** *** 18,55 **** * */ ! class linkdb_comments { - // - // Comments - // - var $cid = ''; // comment id - var $comments_type = ''; // internal or phpbb - [...1309 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_linkdb.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions_linkdb.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** functions_linkdb.php 10 Aug 2007 18:35:32 -0000 1.26 --- functions_linkdb.php 9 Sep 2007 20:09:02 -0000 1.27 *************** *** 399,403 **** 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>'; } /* --- 399,403 ---- 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>'; } /* *************** *** 416,420 **** 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> '; } } --- 416,420 ---- 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> '; } } *************** *** 466,470 **** $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 ) ) ) ); } --- 466,470 ---- $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 ) ) ) ); } *************** *** 473,477 **** $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'] ) ) ) ); --- 473,477 ---- $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'] ) ) ) ); *************** *** 595,599 **** { $redirect = ( $cat_id != LINKDB_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' ); --- 595,599 ---- { $redirect = ( $cat_id != LINKDB_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' ); *************** *** 652,656 **** $category_name = $subcat_row['cat_name']; ! $category_url = append_sid( $this->this_mxurl( 'action=category&cat_id=' . $subcat_id ) ); $num_of_cats++; --- 652,656 ---- $category_name = $subcat_row['cat_name']; ! $category_url = mx_append_sid( $this->this_mxurl( 'action=category&cat_id=' . $subcat_id ) ); $num_of_cats++; *************** *** 661,669 **** if ( !empty( $last_file_info['link_id'] ) && $this->auth_user[$subcat_id]['auth_view'] ) { ! $last_file_time = create_date( $board_config['default_dateformat'], $last_file_info['link_time'], $board_config['board_timezone'] ); $last_file = $last_file_time . '<br />'; $last_file_name = ( strlen( stripslashes( $last_file_info['link_name'] ) ) > 20 ) ? substr( stripslashes( $last_file_info['link_name'] ), 0, 20 ) . '...' : stripslashes( $last_file_info['link_name'] ); ! $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'action=link&link_id=' . $last_file_info['link_id'] ) ) . '" alt="' . stripslashes( $last_file_info['link_name'] ) . '" title="' . stripslashes( $last_file_info['link_name'] ) . '">' . $last_file_name . '</a> '; ! $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'action=link&link_id=' . $last_file_info['link_id'] ) ) . '"><img src="' . $images['linkdb_icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_file'] . '" title="' . $lang['View_latest_file'] . '" /></a>'; } else --- 661,669 ---- if ( !empty( $last_file_info['link_id'] ) && $this->auth_user[$subcat_id]['auth_view'] ) { ! $last_file_time = phpBB2::create_date( $board_config['default_dateformat'], $last_file_info['link_time'], $board_config['board_timezone'] ); $last_file = $last_file_time . '<br />'; $last_file_name = ( strlen( stripslashes( $last_file_info['link_name'] ) ) > 20 ) ? substr( stripslashes( $last_file_info['link_name'] ), 0, 20 ) . '...' : stripslashes( $last_file_info['link_name'] ); ! $last_file .= '<a href="' . mx_append_sid( $this->this_mxurl( 'action=link&link_id=' . $last_file_info['link_id'] ) ) . '" alt="' . stripslashes( $last_file_info['link_name'] ) . '" title="' . stripslashes( $last_file_info['link_name'] ) . '">' . $last_file_name . '</a> '; ! $last_file .= '<a href="' . mx_append_sid( $this->this_mxurl( 'action=link&link_id=' . $last_file_info['link_id'] ) ) . '"><img src="' . $images['linkdb_icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_file'] . '" title="' . $lang['View_latest_file'] . '" /></a>'; } else *************** *** 838,843 **** // Format the date for the given file // ! $date = create_date( $board_config['default_dateformat'], $file_rowset[$i]['link_time'], $board_config['board_timezone'] ); ! //$date_updated = create_date( $board_config['default_dateformat'], $file_rowset[$i]['link_update_time'], $board_config['board_timezone'] ); // =================================================== // Get rating for the file and format it --- 838,843 ---- // Format the date for the given file // ! $date = phpBB2::create_date( $board_config['default_dateformat'], $file_rowset[$i]['link_time'], $board_config['board_timezone'] ); ! //$date_updated = phpBB2::create_date( $board_config['default_dateformat'], $file_rowset[$i]['link_update_time'], $board_config['board_timezone'] ); // =================================================== // Get rating for the file and format it *************** *** 857,870 **** $link_title = $file_rowset[$i]['link_name']; ! $link_url = append_sid( $this->this_mxurl( 'action=link&link_id=' . $file_rowset[$i]['link_id'] ) ); ! $link_url_jump = append_sid( $this->this_mxurl( 'action=jump&link_id=' . $file_rowset[$i]['link_id'] ) ); $cat_name = ( empty( $cat_id ) ) ? $this->cat_rowset[$file_rowset[$i]['link_catid']]['cat_name'] : ''; ! $cat_url = append_sid( $this->this_mxurl( 'action=category&cat_id=' . $file_rowset[$i]['link_catid'] ) ); // // 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>' : ''; --- 857,870 ---- $link_title = $file_rowset[$i]['link_name']; ! $link_url = mx_append_sid( $this->this_mxurl( 'action=link&link_id=' . $file_rowset[$i]['link_id'] ) ); ! $link_url_jump = mx_append_sid( $this->this_mxurl( 'action=jump&link_id=' . $file_rowset[$i]['link_id'] ) ); $cat_name = ( empty( $cat_id ) ) ? $this->cat_rowset[$file_rowset[$i]['link_catid']]['cat_name'] : ''; ! $cat_url = mx_append_sid( $this->this_mxurl( 'action=category&cat_id=' . $file_rowset[$i]['link_catid'] ) ); // // 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>' : ''; *************** *** 883,887 **** 'FILE_VOTES' => $file_rowset[$i]['total_votes'], 'L_RATING' => $lang['LinkRating'], ! 'DO_RATE' => $this->auth_user[$cat_id]['auth_rate'] ? '<a href="' . append_sid( $this->this_mxurl( 'action=rate&link_id=' . $file_rowset[$i]['link_id'] ) ) . '">' . $lang['Do_rate'] . '</a>' : '', 'RATING' => $file_rating, --- 883,887 ---- 'FILE_VOTES' => $file_rowset[$i]['total_votes'], 'L_RATING' => $lang['LinkRating'], ! 'DO_RATE' => $this->auth_user[$cat_id]['auth_rate'] ? '<a href="' . mx_append_sid( $this->this_mxurl( 'action=rate&link_id=' . $file_rowset[$i]['link_id'] ) ) . '">' . $lang['Do_rate'] . '</a>' : '', 'RATING' => $file_rating, *************** *** 968,977 **** '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, $linkdb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $linkdb_config['pagination'] ) + 1 ), ceil( $total_file / $linkdb_config['pagination'] ) ), 'ID' => $cat_id, 'START' => $start, ! 'S_ACTION_SORT' => append_sid( $this->this_mxurl( "action=$action" ) ) ) ); } --- 968,977 ---- '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, $linkdb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $linkdb_config['pagination'] ) + 1 ), ceil( $total_file / $linkdb_config['pagination'] ) ), 'ID' => $cat_id, 'START' => $start, ! 'S_ACTION_SORT' => mx_append_sid( $this->this_mxurl( "action=$action" ) ) ) ); } *************** *** 1005,1009 **** if ( $linkdb_config['display_links_logo'] ) { ! $banner = "<a href=" . append_sid( $this->this_mxurl( "action=jump&link_id=" . $link_rowset['link_id'] ) ) . " alt='" . $row['link_desc'] . "' target='_blank'><img src='"; if ( $link_rowset['link_logo_src'] && $link_rowset['link_logo_src'] != 'http://' ) { --- 1005,1009 ---- if ( $linkdb_config['display_links_logo'] ) { ! $banner = "<a href=" . mx_append_sid( $this->this_mxurl( "action=jump&link_id=" . $link_rowset['link_id'] ) ) . " alt='" . $row['link_desc'] . "' target='_blank'><img src='"; if ( $link_rowset['link_logo_src'] && $link_rowset['link_logo_src'] != 'http://' ) { *************** *** 1154,1158 **** else { ! $message = $lang['Rerror'] . "<br /><br />" . sprintf( $lang['Click_return'], "<a href=\"" . ( !empty($cat_id) ? append_sid( $this->this_mxurl( "action=category&cat_id=$cat_id" ) ) : append_sid( $this->this_mxurl( "action=link&link_id=$link_id" ) ) ) . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 1154,1158 ---- else { ! $message = $lang['Rerror'] . "<br /><br />" . sprintf( $lang['Click_return'], "<a href=\"" . ( !empty($cat_id) ? mx_append_sid( $this->this_mxurl( "action=category&cat_id=$cat_id" ) ) : mx_append_sid( $this->this_mxurl( "action=link&link_id=$link_id" ) ) ) . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } Index: functions_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions_admin.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** functions_admin.php 31 May 2007 19:53:27 -0000 1.4 --- functions_admin.php 9 Sep 2007 20:09:01 -0000 1.5 *************** *** 71,80 **** $template->assign_block_vars( 'cat_row', array( 'COLOR' => $str, ! 'U_CAT' => append_sid( "admin_linkdb.$phpEx?action=cat_manage&cat_id" . $subcat_id ), ! 'U_CAT_EDIT' => append_sid( "admin_linkdb.$phpEx?action=cat_manage&mode=edit&cat_id=$subcat_id" ), ! 'U_CAT_DELETE' => append_sid( "admin_linkdb.$phpEx?action=cat_manage&mode=delete&cat_id=$subcat_id" ), ! 'U_CAT_MOVE_UP' => append_sid( "admin_linkdb.$phpEx?action=cat_manage&mode=cat_order&move=-15&cat_id_other=$subcat_id" ), ! 'U_CAT_MOVE_DOWN' => append_sid( "admin_linkdb.$phpEx?action=cat_manage&mode=cat_order&move=15&cat_id_other=$subcat_id" ), ! 'U_CAT_RESYNC' => append_sid( "admin_linkdb.$phpEx?action=cat_manage&mode=sync&cat_id_other=$subcat_id" ), 'CAT_NAME' => $cat_data['cat_name'], 'PRE' => $pre ) --- 71,80 ---- $template->assign_block_vars( 'cat_row', array( 'COLOR' => $str, ! 'U_CAT' => mx_append_sid( "admin_linkdb.$phpEx?action=cat_manage&cat_id" . $subcat_id ), ! 'U_CAT_EDIT' => mx_append_sid( "admin_linkdb.$phpEx?action=cat_manage&mode=edit&cat_id=$subcat_id" ), ! 'U_CAT_DELETE' => mx_append_sid( "admin_linkdb.$phpEx?action=cat_manage&mode=delete&cat_id=$subcat_id" ), ! 'U_CAT_MOVE_UP' => mx_append_sid( "admin_linkdb.$phpEx?action=cat_manage&mode=cat_order&move=-15&cat_id_other=$subcat_id" ), ! 'U_CAT_MOVE_DOWN' => mx_append_sid( "admin_linkdb.$phpEx?action=cat_manage&mode=cat_order&move=15&cat_id_other=$subcat_id" ), ! 'U_CAT_RESYNC' => mx_append_sid( "admin_linkdb.$phpEx?action=cat_manage&mode=sync&cat_id_other=$subcat_id" ), 'CAT_NAME' => $cat_data['cat_name'], 'PRE' => $pre ) |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:09:36
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19690/admin Modified Files: admin_auth_manage.php admin_cat_manage.php admin_custom_manage.php admin_setting.php Log Message: for 2.9.x Index: admin_custom_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_custom_manage.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_custom_manage.php 13 Aug 2006 19:43:51 -0000 1.2 --- admin_custom_manage.php 9 Sep 2007 20:09:01 -0000 1.3 *************** *** 62,66 **** $this_custom_field->update_add_field( $field_type ); ! $message = $lang['Fieldadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( 'admin_linkdb.' . $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 ); } --- 62,66 ---- $this_custom_field->update_add_field( $field_type ); ! $message = $lang['Fieldadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( 'admin_linkdb.' . $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 ); } *************** *** 69,73 **** $this_custom_field->update_add_field( $field_type, $field_id ); ! $message = $lang['Fieldedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( 'admin_linkdb.' . $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 ); } --- 69,73 ---- $this_custom_field->update_add_field( $field_type, $field_id ); ! $message = $lang['Fieldedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( 'admin_linkdb.' . $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 ); } *************** *** 79,83 **** } ! $message = $lang['Fieldsdel'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( 'admin_linkdb.' . $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 ); } --- 79,83 ---- } ! $message = $lang['Fieldsdel'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( 'admin_linkdb.' . $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 ); } *************** *** 131,135 **** 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_FIELD_ACTION' => append_sid( "admin_linkdb.$phpEx?action=custom_manage" ) )); --- 131,135 ---- 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_FIELD_ACTION' => mx_append_sid( "admin_linkdb.$phpEx?action=custom_manage" ) )); Index: admin_cat_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_cat_manage.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** admin_cat_manage.php 31 May 2007 19:53:27 -0000 1.12 --- admin_cat_manage.php 9 Sep 2007 20:09:01 -0000 1.13 *************** *** 31,35 **** { $this->_linkdb(); ! $message = $lang['Catadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=cat_manage" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 31,35 ---- { $this->_linkdb(); ! $message = $lang['Catadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( "admin_linkdb.$phpEx?action=cat_manage" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 41,45 **** { $this->_linkdb(); ! $message = $lang['Catedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=cat_manage" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 41,45 ---- { $this->_linkdb(); ! $message = $lang['Catedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( "admin_linkdb.$phpEx?action=cat_manage" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 52,56 **** { $this->_linkdb(); ! $message = $lang['Catsdeleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=cat_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 ); } --- 52,56 ---- { $this->_linkdb(); ! $message = $lang['Catsdeleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( "admin_linkdb.$phpEx?action=cat_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 ); } *************** *** 111,115 **** 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_CAT_ACTION' => append_sid( "admin_linkdb.$phpEx?action=cat_manage" ) ) ); --- 111,115 ---- 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_CAT_ACTION' => mx_append_sid( "admin_linkdb.$phpEx?action=cat_manage" ) ) ); Index: admin_auth_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_auth_manage.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** admin_auth_manage.php 31 May 2007 19:53:27 -0000 1.6 --- admin_auth_manage.php 9 Sep 2007 20:09:01 -0000 1.7 *************** *** 37,41 **** 'L_AUTH_EXPLAIN' => $lang['Linkdb_Auth_Explain'], 'L_SELECT_CAT' => $lang['Select_a_Category'], ! 'S_ACTION' => append_sid( "admin_linkdb.$phpEx?action=auth_manage" ), 'L_LOOK_UP_CAT' => $lang['Look_up_Category'], 'CAT_SELECT_TITLE' => $s_auth_cat_list --- 37,41 ---- 'L_AUTH_EXPLAIN' => $lang['Linkdb_Auth_Explain'], 'L_SELECT_CAT' => $lang['Select_a_Category'], ! 'S_ACTION' => mx_append_sid( "admin_linkdb.$phpEx?action=auth_manage" ), 'L_LOOK_UP_CAT' => $lang['Look_up_Category'], 'CAT_SELECT_TITLE' => $s_auth_cat_list *************** *** 71,75 **** 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! 'S_ACTION' => append_sid( "admin_linkdb.$phpEx?action=auth_manage&cat_id=$cat_id" ), )); --- 71,75 ---- 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! 'S_ACTION' => mx_append_sid( "admin_linkdb.$phpEx?action=auth_manage&cat_id=$cat_id" ), )); *************** *** 77,84 **** // Get the list of phpBB usergroups // ! $sql = "SELECT group_id, group_name ! FROM " . GROUPS_TABLE . " ! WHERE group_single_user <> " . true . " ! ORDER BY group_name ASC"; if ( !( $result = $db->sql_query( $sql ) ) ) { --- 77,97 ---- // Get the list of phpBB usergroups // ! switch (PORTAL_BACKEND) ! { ! case 'internal': ! case 'phpbb2': ! $sql = "SELECT group_id, group_name ! FROM " . GROUPS_TABLE . " ! WHERE group_single_user <> " . TRUE . " ! ORDER BY group_name ASC"; ! break; ! case 'phpbb3': ! $sql = "SELECT group_id, group_name ! FROM " . GROUPS_TABLE . " ! WHERE group_name NOT IN ('BOTS', 'GUESTS') ! ORDER BY group_name ASC"; ! break; ! } ! if ( !( $result = $db->sql_query( $sql ) ) ) { *************** *** 161,165 **** } ! $message = $lang['Linkdb_Auth_successfully'] . '<br /><br />' . sprintf( $lang['Click_return_Linkdb_auth'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=auth_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 ); --- 174,178 ---- } ! $message = $lang['Linkdb_Auth_successfully'] . '<br /><br />' . sprintf( $lang['Click_return_Linkdb_auth'], '<a href="' . mx_append_sid( "admin_linkdb.$phpEx?action=auth_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 ); Index: admin_setting.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_setting.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** admin_setting.php 13 Aug 2006 19:43:51 -0000 1.13 --- admin_setting.php 9 Sep 2007 20:09:01 -0000 1.14 *************** *** 48,52 **** { $linkdb_cache->unload(); ! $message = $lang['Settings_changed'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=setting" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( "index.$phpEx?pane=right" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 48,52 ---- { $linkdb_cache->unload(); ! $message = $lang['Settings_changed'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( "admin_linkdb.$phpEx?action=setting" ) . '">', '</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 ); } *************** *** 197,201 **** $template->assign_vars( array( ! 'S_SETTINGS_ACTION' => append_sid( "admin_linkdb.$phpEx" ), 'L_CONFIGURATION_TITLE' => $lang['Panel_config_title'], --- 197,201 ---- $template->assign_vars( array( ! 'S_SETTINGS_ACTION' => mx_append_sid( "admin_linkdb.$phpEx" ), 'L_CONFIGURATION_TITLE' => $lang['Panel_config_title'], |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:09:15
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19690/modules Modified Files: link_category.php link_jump.php link_link.php link_lists.php link_main.php link_mcp.php link_mini.php link_post_comment.php link_rate.php link_search.php link_user_upload.php link_viewall.php Log Message: for 2.9.x Index: link_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_mini.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** link_mini.php 2 Jun 2007 19:46:32 -0000 1.5 --- link_mini.php 9 Sep 2007 20:09:04 -0000 1.6 *************** *** 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)); } *************** *** 106,110 **** $template->assign_vars( array( ! 'U_LINK' => append_sid( $this->this_mxurl() ), 'LINK' => $linkdb_config['module_name'], --- 106,110 ---- $template->assign_vars( array( ! 'U_LINK' => mx_append_sid( $this->this_mxurl() ), 'LINK' => $linkdb_config['module_name'], *************** *** 113,118 **** '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'), )); --- 113,118 ---- '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: link_mcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_mcp.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** link_mcp.php 13 Aug 2006 19:43:51 -0000 1.2 --- link_mcp.php 9 Sep 2007 20:09:04 -0000 1.3 *************** *** 273,282 **** $template->assign_vars( array( 'LINKS' => $linkdb_config['module_name'], ! 'U_LINKS' => append_sid( $this->this_mxurl() ), '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" ) ) )); --- 273,282 ---- $template->assign_vars( array( 'LINKS' => $linkdb_config['module_name'], ! 'U_LINKS' => mx_append_sid( $this->this_mxurl() ), '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" ) ) )); *************** *** 435,439 **** '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, $linkdb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $linkdb_config['pagination'] ) + 1 ), ceil( $total_num / $linkdb_config['pagination'] ) ), --- 435,439 ---- '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, $linkdb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $linkdb_config['pagination'] ) + 1 ), ceil( $total_num / $linkdb_config['pagination'] ) ), *************** *** 477,483 **** 'NUMBER' => $i++, 'ID' => $item_data['link_id'], ! 'U_EDIT' => append_sid( $this->this_mxurl( "action=user_upload&mode_mcp=edit&link_id={$item_data['link_id']}" ) ), ! 'U_DELETE' => append_sid( $this->this_mxurl( "action=mcp&mode_mcp=$mode&do_mode=do_delete&id={$item_data['link_id']}" ) ), ! 'U_APPROVE' => append_sid( $this->this_mxurl( "action=mcp&mode_mcp=$mode&do_mode=$approve_mode&id={$item_data['link_id']}" ) . ($mode == 'cat' ? "&cat_id=$cat_id" : '') ), 'L_APPROVE' => ( $item_data['link_approved'] ) ? $lang['Unapprove'] : $lang['Approve'] ) ); --- 477,483 ---- 'NUMBER' => $i++, 'ID' => $item_data['link_id'], ! 'U_EDIT' => mx_append_sid( $this->this_mxurl( "action=user_upload&mode_mcp=edit&link_id={$item_data['link_id']}" ) ), ! 'U_DELETE' => mx_append_sid( $this->this_mxurl( "action=mcp&mode_mcp=$mode&do_mode=do_delete&id={$item_data['link_id']}" ) ), ! 'U_APPROVE' => mx_append_sid( $this->this_mxurl( "action=mcp&mode_mcp=$mode&do_mode=$approve_mode&id={$item_data['link_id']}" ) . ($mode == 'cat' ? "&cat_id=$cat_id" : '') ), 'L_APPROVE' => ( $item_data['link_approved'] ) ? $lang['Unapprove'] : $lang['Approve'] ) ); Index: link_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_category.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** link_category.php 14 Aug 2006 10:46:47 -0000 1.13 --- link_category.php 9 Sep 2007 20:09:03 -0000 1.14 *************** *** 106,110 **** if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=". $this->this_mxurl("mode=cat&cat=" . $cat_id, true), true)); } --- 106,110 ---- if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=". $this->this_mxurl("mode=cat&cat=" . $cat_id, true), true)); } *************** *** 136,140 **** $template->assign_vars( array( ! 'U_LINK' => append_sid( $this->this_mxurl() ), 'LINKS' => $lang['Links_Title'] ) ); --- 136,140 ---- $template->assign_vars( array( ! 'U_LINK' => mx_append_sid( $this->this_mxurl() ), 'LINKS' => $lang['Links_Title'] ) ); Index: link_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_lists.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** link_lists.php 15 Aug 2006 19:43:28 -0000 1.3 --- link_lists.php 9 Sep 2007 20:09:03 -0000 1.4 *************** *** 132,139 **** $template->assign_vars( array( ! 'U_LINK' => append_sid( $this->this_mxurl() ), 'LINK' => $linkdb_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, 'link_start'), )); --- 132,139 ---- $template->assign_vars( array( ! 'U_LINK' => mx_append_sid( $this->this_mxurl() ), 'LINK' => $linkdb_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, 'link_start'), )); Index: link_user_upload.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_user_upload.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** link_user_upload.php 5 Aug 2007 22:08:28 -0000 1.13 --- link_user_upload.php 9 Sep 2007 20:09:05 -0000 1.14 *************** *** 139,143 **** $this->delete_items( $link_id ); $this->_linkdb(); ! $message = $lang['Linkdeleted'] . '<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 ); } --- 139,143 ---- $this->delete_items( $link_id ); $this->_linkdb(); ! $message = $lang['Linkdeleted'] . '<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 ); } *************** *** 164,172 **** if ( $this->auth_user[$cat_id]['auth_approval'] || $this->auth_user[$cat_id]['auth_mod'] ) { ! $message = $lang['Linkadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( "action=link&link_id=" . $link_id ) ) . '">', '</a>' ); } else { ! $message = $lang['Linkadded_not_validated'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( "action=category&cat_id=" . $cat_id ) ) . '">', '</a>' ); } --- 164,172 ---- if ( $this->auth_user[$cat_id]['auth_approval'] || $this->auth_user[$cat_id]['auth_mod'] ) { ! $message = $lang['Linkadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( "action=link&link_id=" . $link_id ) ) . '">', '</a>' ); } else { ! $message = $lang['Linkadded_not_validated'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( "action=category&cat_id=" . $cat_id ) ) . '">', '</a>' ); } *************** *** 189,197 **** if ( $this->auth_user[$cat_id]['auth_approval_edit'] || $this->auth_user[$cat_id]['auth_mod'] ) { ! $message = $lang['Linkedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( "action=link&link_id=" . $link_id ) ) . '">', '</a>' ); } else { ! $message = $lang['Linkedited_not_validated'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( "action=category&cat_id=" . $cat_id ) ) . '">', '</a>' ); } --- 189,197 ---- if ( $this->auth_user[$cat_id]['auth_approval_edit'] || $this->auth_user[$cat_id]['auth_mod'] ) { ! $message = $lang['Linkedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( "action=link&link_id=" . $link_id ) ) . '">', '</a>' ); } else { ! $message = $lang['Linkedited_not_validated'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( "action=category&cat_id=" . $cat_id ) ) . '">', '</a>' ); } *************** *** 312,316 **** $template->assign_vars( array( ! 'S_ADD_FILE_ACTION' => append_sid( $this->this_mxurl() ), 'LINK_CAT_NOT_ALLOW' => $lang['Cat_not_allow'], 'LINKS' => $lang['Links_Title'], --- 312,316 ---- $template->assign_vars( array( ! 'S_ADD_FILE_ACTION' => mx_append_sid( $this->this_mxurl() ), 'LINK_CAT_NOT_ALLOW' => $lang['Cat_not_allow'], 'LINKS' => $lang['Links_Title'], *************** *** 359,364 **** 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'U_INDEX' => append_sid( 'index.' . $phpEx ), ! 'U_LINK' => append_sid( $this->this_mxurl() ) ) ); --- 359,364 ---- 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'U_INDEX' => mx_append_sid( 'index.' . $phpEx ), ! 'U_LINK' => mx_append_sid( $this->this_mxurl() ) ) ); Index: link_jump.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_jump.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** link_jump.php 13 Aug 2006 19:43:51 -0000 1.2 --- link_jump.php 9 Sep 2007 20:09:03 -0000 1.3 *************** *** 92,96 **** if ( !$userdata['session_logged_in'] ) { ! mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=file&file_id=" . $link_id), true)); } */ --- 92,96 ---- if ( !$userdata['session_logged_in'] ) { ! mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=file&file_id=" . $link_id), true)); } */ Index: link_rate.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_rate.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** link_rate.php 13 Aug 2006 19:43:51 -0000 1.13 --- link_rate.php 9 Sep 2007 20:09:04 -0000 1.14 *************** *** 66,70 **** { // $redirect = $this->this_mxurl("action=rate&link_id=$link_id"); ! // redirect(append_sid("login.$phpEx?redirect=" . $redirect, true)); mx_message_die( GENERAL_MESSAGE, 'not logged in' ); } --- 66,70 ---- { // $redirect = $this->this_mxurl("action=rate&link_id=$link_id"); ! // redirect(mx_append_sid("login.$phpEx?redirect=" . $redirect, true)); mx_message_die( GENERAL_MESSAGE, 'not logged in' ); } *************** *** 76,82 **** 'L_RATE' => $lang['Rate'], ! 'U_INDEX' => append_sid( 'index.' . $phpEx ), ! 'U_LINK' => append_sid( $this->this_mxurl() ), ! 'U_FILE_NAME' => append_sid( $this->this_mxurl( 'action=link&link_id=' . $link_id ) ), 'FILE_NAME' => $link_data['link_name'], --- 76,82 ---- 'L_RATE' => $lang['Rate'], ! 'U_INDEX' => mx_append_sid( 'index.' . $phpEx ), ! 'U_LINK' => mx_append_sid( $this->this_mxurl() ), ! 'U_FILE_NAME' => mx_append_sid( $this->this_mxurl( 'action=link&link_id=' . $link_id ) ), 'FILE_NAME' => $link_data['link_name'], *************** *** 107,111 **** $cat_id = $link_data['link_catid']; ! $message = $result_msg . '<br /><br />' . sprintf( $lang['Click_return'], "<a href=\"" . ( !empty($cat_id) ? append_sid( $this->this_mxurl( "action=category&cat_id=$cat_id" ) ) : append_sid( $this->this_mxurl( "action=link&link_id=$link_id" ) ) ) . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 107,111 ---- $cat_id = $link_data['link_catid']; ! $message = $result_msg . '<br /><br />' . sprintf( $lang['Click_return'], "<a href=\"" . ( !empty($cat_id) ? mx_append_sid( $this->this_mxurl( "action=category&cat_id=$cat_id" ) ) : mx_append_sid( $this->this_mxurl( "action=link&link_id=$link_id" ) ) ) . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 115,119 **** $template->assign_vars( array( ! 'S_RATE_ACTION' => append_sid( $this->this_mxurl( 'action=rate&link_id=' . $link_id ) ), 'L_RATE' => $lang['Rate'], 'L_RERROR' => $lang['Rerror'], --- 115,119 ---- $template->assign_vars( array( ! 'S_RATE_ACTION' => mx_append_sid( $this->this_mxurl( 'action=rate&link_id=' . $link_id ) ), 'L_RATE' => $lang['Rate'], 'L_RERROR' => $lang['Rerror'], Index: link_link.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_link.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** link_link.php 13 Aug 2006 19:43:51 -0000 1.9 --- link_link.php 9 Sep 2007 20:09:03 -0000 1.10 *************** *** 94,98 **** if ( !$userdata['session_logged_in'] ) { ! mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=file&link_id=" . $link_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&link_id=" . $link_id), true)); } */ *************** *** 103,107 **** $template->assign_vars( array( ! 'U_LINK' => append_sid( $this->this_mxurl() ), 'LINKS' => $lang['Links_Title'] )); --- 103,107 ---- $template->assign_vars( array( ! 'U_LINK' => mx_append_sid( $this->this_mxurl() ), 'LINKS' => $lang['Links_Title'] )); *************** *** 110,118 **** // Prepare link info to display them // =================================================== ! $link_time = create_date( $board_config['default_dateformat'], $link_data['link_time'], $board_config['board_timezone'] ); ! $link_update_time = ( $link_data['link_update_time'] ) ? create_date( $board_config['default_dateformat'], $link_data['link_update_time'], $board_config['board_timezone'] ) : $lang['never']; $link_author = trim( $link_data['link_creator'] ); ! $link_poster = ( $link_data['user_id'] != ANONYMOUS ) ? '<a href="' . append_sid( $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $link_data['user_id'] ) . '">' : ''; $link_poster .= ( $link_data['user_id'] != ANONYMOUS ) ? $link_data['username'] : $lang['Guest']; $link_poster .= ( $link_data['user_id'] != ANONYMOUS ) ? '</a>' : ''; --- 110,118 ---- // Prepare link info to display them // =================================================== ! $link_time = phpBB2::create_date( $board_config['default_dateformat'], $link_data['link_time'], $board_config['board_timezone'] ); ! $link_update_time = ( $link_data['link_update_time'] ) ? phpBB2::create_date( $board_config['default_dateformat'], $link_data['link_update_time'], $board_config['board_timezone'] ) : $lang['never']; $link_author = trim( $link_data['link_creator'] ); ! $link_poster = ( $link_data['user_id'] != ANONYMOUS ) ? '<a href="' . mx_append_sid( $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $link_data['user_id'] ) . '">' : ''; $link_poster .= ( $link_data['user_id'] != ANONYMOUS ) ? $link_data['username'] : $lang['Guest']; $link_poster .= ( $link_data['user_id'] != ANONYMOUS ) ? '</a>' : ''; *************** *** 142,148 **** 'PIN_IMAGE' => $this->display_banner( $link_data ), ! 'U_JUMP' => append_sid( $this->this_mxurl( 'action=jump&link_id=' . $link_id ) ), ! 'U_DELETE' => append_sid( $this->this_mxurl( 'action=user_upload&do=delete&link_id=' . $link_id ) ), ! 'U_EDIT' => append_sid( $this->this_mxurl( 'action=user_upload&link_id=' . $link_id ) ), )); --- 142,148 ---- 'PIN_IMAGE' => $this->display_banner( $link_data ), ! 'U_JUMP' => mx_append_sid( $this->this_mxurl( 'action=jump&link_id=' . $link_id ) ), ! 'U_DELETE' => mx_append_sid( $this->this_mxurl( 'action=user_upload&do=delete&link_id=' . $link_id ) ), ! 'U_EDIT' => mx_append_sid( $this->this_mxurl( 'action=user_upload&link_id=' . $link_id ) ), )); *************** *** 187,191 **** // 'RATE_IMG' => $rate_img, ! 'U_RATE' => append_sid( $this->this_mxurl( 'action=rate&link_id=' . $link_id ) ), )); } --- 187,191 ---- // 'RATE_IMG' => $rate_img, ! 'U_RATE' => mx_append_sid( $this->this_mxurl( 'action=rate&link_id=' . $link_id ) ), )); } Index: link_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_search.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** link_search.php 16 May 2007 19:38:07 -0000 1.14 --- link_search.php 9 Sep 2007 20:09:05 -0000 1.15 *************** *** 451,461 **** 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=link&link_id=' . $searchset[$i]['link_id'] ) ); // // Format the date for the given file // ! $date = create_date( $board_config['default_dateformat'], $searchset[$i]['link_time'], $board_config['board_timezone'] ); // --- 451,461 ---- 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=link&link_id=' . $searchset[$i]['link_id'] ) ); // // Format the date for the given file // ! $date = phpBB2::create_date( $board_config['default_dateformat'], $searchset[$i]['link_time'], $board_config['board_timezone'] ); // *************** *** 473,477 **** }*/ ! $poster = ( $searchset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . append_sid( 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $searchset[$i]['user_id'] ) . '">' : ''; $poster .= ( $searchset[$i]['user_id'] != ANONYMOUS ) ? $searchset[$i]['username'] : $searchset[$i]['post_username'] . '(' . $lang['Guest'] . ')'; $poster .= ( $searchset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : ''; --- 473,477 ---- }*/ ! $poster = ( $searchset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . mx_append_sid( 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $searchset[$i]['user_id'] ) . '">' : ''; $poster .= ( $searchset[$i]['user_id'] != ANONYMOUS ) ? $searchset[$i]['username'] : $searchset[$i]['post_username'] . '(' . $lang['Guest'] . ')'; $poster .= ( $searchset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : ''; *************** *** 488,492 **** 'DATE' => $date, 'FILE_DLS' => $searchset[$i]['link_hits'], ! 'L_RATING' => '<a href="' . append_sid( $this->this_mxurl( 'action=rate&link_id=' . $searchset[$i]['link_id'] ) ) . '">' . $lang['LinkRating'] . '</a>', 'RATING' => $rating, 'FILE_VOTES' => $searchset[$i]['total_votes'], --- 488,492 ---- 'DATE' => $date, 'FILE_DLS' => $searchset[$i]['link_hits'], ! 'L_RATING' => '<a href="' . mx_append_sid( $this->this_mxurl( 'action=rate&link_id=' . $searchset[$i]['link_id'] ) ) . '">' . $lang['LinkRating'] . '</a>', 'RATING' => $rating, 'FILE_VOTES' => $searchset[$i]['total_votes'], *************** *** 503,515 **** } } ! $base_url = append_sid( $this->this_mxurl( "action=search&search_id=$search_id" ) ); $template->assign_vars( array( ! 'PAGINATION' => generate_pagination( $base_url, $total_match_count, $linkdb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $linkdb_config['pagination'] ) + 1 ), ceil( $total_match_count / $linkdb_config['pagination'] ) ), 'LINKS' => $lang['Links_Title'], ! 'U_INDEX' => append_sid( 'index.' . $phpEx ), ! 'U_LINK' => append_sid( $this->this_mxurl() ), 'L_INDEX' => sprintf( $lang['Forum_Index'], $board_config['sitename'] ), --- 503,515 ---- } } ! $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, $linkdb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $linkdb_config['pagination'] ) + 1 ), ceil( $total_match_count / $linkdb_config['pagination'] ) ), 'LINKS' => $lang['Links_Title'], ! 'U_INDEX' => mx_append_sid( 'index.' . $phpEx ), ! 'U_LINK' => mx_append_sid( $this->this_mxurl() ), 'L_INDEX' => sprintf( $lang['Forum_Index'], $board_config['sitename'] ), *************** *** 536,546 **** $template->assign_vars( array( ! 'S_SEARCH_ACTION' => append_sid( $this->this_mxurl() ), 'S_CAT_MENU' => $dropmenu, 'LINKS' => $lang['Links_Title'], ! 'U_INDEX' => append_sid( 'index.' . $phpEx ), ! 'U_LINK' => append_sid( $this->this_mxurl() ), 'L_YES' => $lang['Yes'], --- 536,546 ---- $template->assign_vars( array( ! 'S_SEARCH_ACTION' => mx_append_sid( $this->this_mxurl() ), 'S_CAT_MENU' => $dropmenu, 'LINKS' => $lang['Links_Title'], ! 'U_INDEX' => mx_append_sid( 'index.' . $phpEx ), ! 'U_LINK' => mx_append_sid( $this->this_mxurl() ), 'L_YES' => $lang['Yes'], Index: link_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_post_comment.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** link_post_comment.php 22 Jul 2007 22:38:25 -0000 1.3 --- link_post_comment.php 9 Sep 2007 20:09:04 -0000 1.4 *************** *** 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)); } *************** *** 181,185 **** $this->_linkdb(); ! $message = $lang['Comment_deleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( "mode=article&k=$item_id" ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 181,185 ---- $this->_linkdb(); ! $message = $lang['Comment_deleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( "mode=article&k=$item_id" ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 198,202 **** $this->update_add_comment($link_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( 'mode=article&k=' . $item_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 198,202 ---- $this->update_add_comment($link_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( 'mode=article&k=' . $item_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 282,286 **** $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, --- 282,286 ---- $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, *************** *** 351,358 **** '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( 'mode=article&item_id=' . $item_id ) ), ! 'S_POST_ACTION' => append_sid( $this->this_mxurl() ), 'S_HIDDEN_FORM_FIELDS' => $hidden_form_fields ) ); --- 351,358 ---- '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( 'mode=article&item_id=' . $item_id ) ), ! 'S_POST_ACTION' => mx_append_sid( $this->this_mxurl() ), 'S_HIDDEN_FORM_FIELDS' => $hidden_form_fields ) ); Index: link_viewall.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_viewall.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** link_viewall.php 14 Aug 2006 10:46:48 -0000 1.12 --- link_viewall.php 9 Sep 2007 20:09:05 -0000 1.13 *************** *** 89,94 **** 'L_INDEX' => sprintf( $lang['Forum_Index'], $board_config['sitename'] ), ! 'U_INDEX' => append_sid( 'index.' . $phpEx ), ! 'U_LINK' => append_sid( $this->this_mxurl() ), 'SEARCH_TYPE' => $sort_type, --- 89,94 ---- 'L_INDEX' => sprintf( $lang['Forum_Index'], $board_config['sitename'] ), ! 'U_INDEX' => mx_append_sid( 'index.' . $phpEx ), ! 'U_LINK' => mx_append_sid( $this->this_mxurl() ), 'SEARCH_TYPE' => $sort_type, Index: link_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_main.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** link_main.php 13 Aug 2006 19:43:51 -0000 1.11 --- link_main.php 9 Sep 2007 20:09:04 -0000 1.12 *************** *** 33,37 **** // $template->assign_vars( array( ! 'U_LINK' => append_sid( $this->this_mxurl() ), 'LINKS' => $lang['Links_Title'], 'TREE' => $menu_output, --- 33,37 ---- // $template->assign_vars( array( ! 'U_LINK' => mx_append_sid( $this->this_mxurl() ), 'LINKS' => $lang['Links_Title'], 'TREE' => $menu_output, |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:08:06
|
Update of /cvsroot/mxbb/mx_linkdb/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19248 Modified Files: subSilver.cfg Log Message: update-check-before-removal Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/templates/subSilver/subSilver.cfg,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** subSilver.cfg 4 Aug 2006 16:31:34 -0000 1.5 --- subSilver.cfg 9 Sep 2007 20:08:03 -0000 1.6 *************** *** 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:07:32
|
Update of /cvsroot/mxbb/mx_linkdb/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19116/admin Log Message: Directory /cvsroot/mxbb/mx_linkdb/templates/_core/admin added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:07:23
|
Update of /cvsroot/mxbb/mx_linkdb/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19066/_core Log Message: Directory /cvsroot/mxbb/mx_linkdb/templates/_core added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:06:37
|
Update of /cvsroot/mxbb/mx_kb/kb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18006/kb/modules Modified Files: kb_article.php kb_cat.php kb_lists.php kb_mcp.php kb_mini.php kb_post.php kb_post_comment.php kb_rate.php kb_search.php kb_stats.php Log Message: for 2.9.x Index: kb_stats.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_stats.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** kb_stats.php 4 Aug 2006 20:10:43 -0000 1.7 --- kb_stats.php 9 Sep 2007 20:06:02 -0000 1.8 *************** *** 103,107 **** 'L_ARTICLES' => $lang['Articles'], 'PATH' => $path_kb, ! 'U_CAT' => append_sid( $this->this_mxurl( 'mode=cat&cat=' . $category_id ) ) )); --- 103,107 ---- 'L_ARTICLES' => $lang['Articles'], 'PATH' => $path_kb, ! 'U_CAT' => mx_append_sid( $this->this_mxurl( 'mode=cat&cat=' . $category_id ) ) )); Index: kb_mcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_mcp.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** kb_mcp.php 13 Aug 2006 19:43:07 -0000 1.2 --- kb_mcp.php 9 Sep 2007 20:06:02 -0000 1.3 *************** *** 273,282 **** $template->assign_vars( array( 'ARTICLES' => $kb_config['module_name'], ! 'U_ARTICLES' => append_sid( $this->this_mxurl() ), 'L_MCP_TITLE' => $l_title, 'L_MCP_EXPLAIN' => $l_explain, 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_ACTION' => append_sid( $this->this_mxurl( "mode=mcp" ) ) )); --- 273,282 ---- $template->assign_vars( array( 'ARTICLES' => $kb_config['module_name'], ! 'U_ARTICLES' => mx_append_sid( $this->this_mxurl() ), 'L_MCP_TITLE' => $l_title, 'L_MCP_EXPLAIN' => $l_explain, 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_ACTION' => mx_append_sid( $this->this_mxurl( "mode=mcp" ) ) )); *************** *** 435,439 **** 'L_NO_ITEMS' => $lang['No_item'], ! 'PAGINATION' => generate_pagination( append_sid( $this->this_mxurl( "mode=mcp&mode_mcp=$mode&sort_method=$sort_method&sort_order=$sort_order" ) . ($mode == 'cat' ? "&cat_id=$cat_id" : '') ), $total_num, $kb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $kb_config['pagination'] ) + 1 ), ceil( $total_num / $kb_config['pagination'] ) ), --- 435,439 ---- 'L_NO_ITEMS' => $lang['No_item'], ! 'PAGINATION' => phpBB2::generate_pagination( mx_append_sid( $this->this_mxurl( "mode=mcp&mode_mcp=$mode&sort_method=$sort_method&sort_order=$sort_order" ) . ($mode == 'cat' ? "&cat_id=$cat_id" : '') ), $total_num, $kb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $kb_config['pagination'] ) + 1 ), ceil( $total_num / $kb_config['pagination'] ) ), *************** *** 477,483 **** 'NUMBER' => $i++, 'ID' => $item_data['article_id'], ! 'U_EDIT' => append_sid( $this->this_mxurl( "mode=edit&k={$item_data['article_id']}" ) ), ! 'U_DELETE' => append_sid( $this->this_mxurl( "mode=mcp&mode_mcp=$mode&do_mode=do_delete&id={$item_data['article_id']}" ) ), ! 'U_APPROVE' => append_sid( $this->this_mxurl( "mode=mcp&mode_mcp=$mode&do_mode=$approve_mode&id={$item_data['article_id']}" ) . ($mode == 'cat' ? "&cat_id=$cat_id" : '') ), 'L_APPROVE' => ( $item_data['approved'] ) ? $lang['Unapprove'] : $lang['Approve'] ) ); --- 477,483 ---- 'NUMBER' => $i++, 'ID' => $item_data['article_id'], ! 'U_EDIT' => mx_append_sid( $this->this_mxurl( "mode=edit&k={$item_data['article_id']}" ) ), ! 'U_DELETE' => mx_append_sid( $this->this_mxurl( "mode=mcp&mode_mcp=$mode&do_mode=do_delete&id={$item_data['article_id']}" ) ), ! 'U_APPROVE' => mx_append_sid( $this->this_mxurl( "mode=mcp&mode_mcp=$mode&do_mode=$approve_mode&id={$item_data['article_id']}" ) . ($mode == 'cat' ? "&cat_id=$cat_id" : '') ), 'L_APPROVE' => ( $item_data['approved'] ) ? $lang['Unapprove'] : $lang['Approve'] ) ); Index: kb_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_lists.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** kb_lists.php 30 May 2007 21:32:24 -0000 1.4 --- kb_lists.php 9 Sep 2007 20:06:02 -0000 1.5 *************** *** 132,139 **** $template->assign_vars( array( ! 'U_KB' => append_sid( $this->this_mxurl() ), 'L_KB' => $kb_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, 'kb_start'), )); --- 132,139 ---- $template->assign_vars( array( ! 'U_KB' => mx_append_sid( $this->this_mxurl() ), 'L_KB' => $kb_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, 'kb_start'), )); Index: kb_post.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_post.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** kb_post.php 5 Aug 2007 22:08:47 -0000 1.12 --- kb_post.php 9 Sep 2007 20:06:02 -0000 1.13 *************** *** 141,145 **** $this->delete_items( $article_id ); $this->_kb(); ! $message = $lang['Article_Deleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( $this->this_mxurl( "mode=cat&cat=" . $cat_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 141,145 ---- $this->delete_items( $article_id ); $this->_kb(); ! $message = $lang['Article_Deleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . mx_append_sid( $this->this_mxurl( "mode=cat&cat=" . $cat_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 226,230 **** if ( !$mx_request_vars->is_request('article_name') || !$mx_request_vars->is_request('article_desc') || !$mx_request_vars->is_request('message') ) { ! $message = $lang['Empty_fields'] . '<br /><br />' . sprintf( $lang['Empty_fields_return'], '<a href="' . append_sid( $this->this_mxurl( 'mode=add' ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 226,230 ---- if ( !$mx_request_vars->is_request('article_name') || !$mx_request_vars->is_request('article_desc') || !$mx_request_vars->is_request('message') ) { ! $message = $lang['Empty_fields'] . '<br /><br />' . sprintf( $lang['Empty_fields_return'], '<a href="' . mx_append_sid( $this->this_mxurl( 'mode=add' ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 346,354 **** if ( $approve == 1 ) { ! $message = $lang['Article_submitted'] . '<br /><br />' . sprintf( $lang['Click_return_kb'], '<a href="' . append_sid( $this->this_mxurl() ) . '">', '</a>' ) . '<br /><br />' . sprintf($lang['Click_return_article'], '<a href="' . append_sid($this->this_mxurl("mode=article&k=" . $article_id)). '">', '</a>') . '<br /><br />' . sprintf( $lang['Click_return_index'], '<a href="' . append_sid( $mx_root_path . "index.$phpEx" ) . '">', '</a>' ); } else { ! $message = $lang['Article_submitted_Approve'] . '<br /><br />' . sprintf( $lang['Click_return_kb'], '<a href="' . append_sid( $this->this_mxurl() ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_index'], '<a href="' . append_sid( $mx_root_path . "index.$phpEx" ) . '">', '</a>' ); } --- 346,354 ---- if ( $approve == 1 ) { ! $message = $lang['Article_submitted'] . '<br /><br />' . sprintf( $lang['Click_return_kb'], '<a href="' . mx_append_sid( $this->this_mxurl() ) . '">', '</a>' ) . '<br /><br />' . sprintf($lang['Click_return_article'], '<a href="' . mx_append_sid($this->this_mxurl("mode=article&k=" . $article_id)). '">', '</a>') . '<br /><br />' . sprintf( $lang['Click_return_index'], '<a href="' . mx_append_sid( $mx_root_path . "index.$phpEx" ) . '">', '</a>' ); } else { ! $message = $lang['Article_submitted_Approve'] . '<br /><br />' . sprintf( $lang['Click_return_kb'], '<a href="' . mx_append_sid( $this->this_mxurl() ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_index'], '<a href="' . mx_append_sid( $mx_root_path . "index.$phpEx" ) . '">', '</a>' ); } *************** *** 502,506 **** '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, --- 502,506 ---- '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, Index: kb_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_mini.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** kb_mini.php 2 Jun 2007 19:45:59 -0000 1.6 --- kb_mini.php 9 Sep 2007 20:06:02 -0000 1.7 *************** *** 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)); } *************** *** 106,110 **** $template->assign_vars( array( ! 'U_KB' => append_sid( $this->this_mxurl() ), 'L_KB' => $kb_config['module_name'], --- 106,110 ---- $template->assign_vars( array( ! 'U_KB' => mx_append_sid( $this->this_mxurl() ), 'L_KB' => $kb_config['module_name'], *************** *** 113,118 **** 'MX_PAGE' => $page_id, ! 'S_JUMPBOX_ACTION' => append_sid( $this->this_mxurl( ) ), ! 'BLOCK_PAGINATION' => mx_generate_pagination(append_sid( $this->this_mxurl( 'cat=' . $cat_id, false, false ) ), $total_num_items, $mini_config['mini_pagination'], $start, true, true, true, false, 'mini_start'), )); } --- 113,118 ---- '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=' . $cat_id, false, false ) ), $total_num_items, $mini_config['mini_pagination'], $start, true, true, true, false, 'mini_start'), )); } Index: kb_article.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_article.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** kb_article.php 5 Jun 2007 21:21:51 -0000 1.15 --- kb_article.php 9 Sep 2007 20:06:01 -0000 1.16 *************** *** 90,94 **** if ( ( !$this->auth_user[$kb_row['article_category_id']]['auth_view'] ) ) { ! $message = $lang['Article_not_exsist'] . '<br /><br />' . sprintf( $lang['Click_return_kb'], '<a href="' . append_sid( $this->this_mxurl() ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_index'], '<a href="' . append_sid( $phpbb_root_path . "index.$phpEx" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 90,94 ---- if ( ( !$this->auth_user[$kb_row['article_category_id']]['auth_view'] ) ) { ! $message = $lang['Article_not_exsist'] . '<br /><br />' . sprintf( $lang['Click_return_kb'], '<a href="' . mx_append_sid( $this->this_mxurl() ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_index'], '<a href="' . mx_append_sid( $phpbb_root_path . "index.$phpEx" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 103,107 **** $author_id = $kb_row['article_author_id']; $approved = $kb_row['approved']; ! $date = create_date( $board_config['default_dateformat'], $kb_row['article_date'], $board_config['board_timezone'] ); $article_type = isset($lang['KB_type_' . $kb_row['type']]) ? $lang['KB_type_' . $kb_row['type']] : $kb_row['type']; --- 103,107 ---- $author_id = $kb_row['article_author_id']; $approved = $kb_row['approved']; ! $date = phpBB2::create_date( $board_config['default_dateformat'], $kb_row['article_date'], $board_config['board_timezone'] ); $article_type = isset($lang['KB_type_' . $kb_row['type']]) ? $lang['KB_type_' . $kb_row['type']] : $kb_row['type']; *************** *** 177,181 **** // Format text and data // ! $temp_url = append_sid( $this->this_mxurl( "mode=cat&cat=$article_category_id" ) ); $category = '<a href="' . $temp_url . '" class="gensmall">' . $article_category_name . '</a>'; --- 177,181 ---- // Format text and data // ! $temp_url = mx_append_sid( $this->this_mxurl( "mode=cat&cat=$article_category_id" ) ); $category = '<a href="' . $temp_url . '" class="gensmall">' . $article_category_name . '</a>'; *************** *** 187,191 **** { $author_name = $kb_row['username']; ! $temp_url = append_sid( $phpbb_root_path . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$author_id" ); $author_kb_art = '<a href="' . $temp_url . '" class="gensmall">' . $author_name . '</a>'; } --- 187,191 ---- { $author_name = $kb_row['username']; ! $temp_url = mx_append_sid( $phpbb_root_path . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$author_id" ); $author_kb_art = '<a href="' . $temp_url . '" class="gensmall">' . $author_name . '</a>'; } *************** *** 209,213 **** if ( ( $userdata['user_id'] == $author_id && $this->auth_user[$article_category_id]['auth_edit'] ) || $this->auth_user[$article_category_id]['auth_mod'] ) { ! $temp_url = append_sid( $this->this_mxurl( "mode=edit&k=" . $article_id ) ); $edit_img = '<a href="' . $temp_url . '"><img src="' . $images['kb_icon_edit'] . '" alt="' . $lang['Edit_delete_post'] . '" title="' . $lang['Edit_delete_post'] . '" border="0" /></a>'; $edit = '<a href="' . $temp_url . '">' . $lang['Edit_delete_post'] . '</a>'; --- 209,213 ---- if ( ( $userdata['user_id'] == $author_id && $this->auth_user[$article_category_id]['auth_edit'] ) || $this->auth_user[$article_category_id]['auth_mod'] ) { ! $temp_url = mx_append_sid( $this->this_mxurl( "mode=edit&k=" . $article_id ) ); $edit_img = '<a href="' . $temp_url . '"><img src="' . $images['kb_icon_edit'] . '" alt="' . $lang['Edit_delete_post'] . '" title="' . $lang['Edit_delete_post'] . '" border="0" /></a>'; $edit = '<a href="' . $temp_url . '">' . $lang['Edit_delete_post'] . '</a>'; *************** *** 224,228 **** if ( ( $userdata['user_id'] == $author_id && $this->auth_user[$article_category_id]['auth_delete'] ) || $this->auth_user[$article_category_id]['auth_mod'] ) { ! $temp_url = append_sid( $this->this_mxurl( "mode=edit&do=delete&k=" . $article_id ) ); $delete_img = '<a href="javascript:delete_item(\'' . $temp_url . '\')"><img src="' . $images['kb_icon_delpost'] . '" alt="' . $lang['Edit_delete_post'] . '" title="' . $lang['Edit_delete_post'] . '" border="0" /></a>'; $delete = '<a href="javascript:delete_item(\'' . $temp_url . '\')">' . $lang['Edit_delete_post'] . '</a>'; --- 224,228 ---- if ( ( $userdata['user_id'] == $author_id && $this->auth_user[$article_category_id]['auth_delete'] ) || $this->auth_user[$article_category_id]['auth_mod'] ) { ! $temp_url = mx_append_sid( $this->this_mxurl( "mode=edit&do=delete&k=" . $article_id ) ); $delete_img = '<a href="javascript:delete_item(\'' . $temp_url . '\')"><img src="' . $images['kb_icon_delpost'] . '" alt="' . $lang['Edit_delete_post'] . '" title="' . $lang['Edit_delete_post'] . '" border="0" /></a>'; $delete = '<a href="javascript:delete_item(\'' . $temp_url . '\')">' . $lang['Edit_delete_post'] . '</a>'; *************** *** 239,243 **** if ( !$this->auth_user[$article_category_id]['auth_view'] || !$article_title || ( !$approved && !$this->auth_user[$article_category_id]['auth_mod'] ) ) { ! $message = $lang['Article_not_exsist'] . '<br /><br />' . sprintf( $lang['Click_return_kb'], '<a href="' . append_sid( $this->this_mxurl() ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_index'], '<a href="' . append_sid( $phpbb_root_path . "index.$phpEx" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 239,243 ---- if ( !$this->auth_user[$article_category_id]['auth_view'] || !$article_title || ( !$approved && !$this->auth_user[$article_category_id]['auth_mod'] ) ) { ! $message = $lang['Article_not_exsist'] . '<br /><br />' . sprintf( $lang['Click_return_kb'], '<a href="' . mx_append_sid( $this->this_mxurl() ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_index'], '<a href="' . mx_append_sid( $phpbb_root_path . "index.$phpEx" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 267,271 **** } ! $print_url = append_sid( $this->this_mxurl( "mode=article&k=" . $article_id ."&page_num=".($page_num+1)."&start=".$start ."&print=true", true ) ); $template->assign_vars( array( --- 267,271 ---- } ! $print_url = mx_append_sid( $this->this_mxurl( "mode=article&k=" . $article_id ."&page_num=".($page_num+1)."&start=".$start ."&print=true", true ) ); $template->assign_vars( array( *************** *** 327,331 **** if( $page_num != $i ) { ! $temp_url = append_sid(PORTAL_URL . "index.php?page=$page_id&mode=article&k=$article_id&page_num=$page_number" . $xtra_dynamic); $page_link = '<a href="' . $temp_url . '" class="nav">' . $page_number . ' - ' . $article_toc . '</a>'; } --- 327,331 ---- if( $page_num != $i ) { ! $temp_url = mx_append_sid(PORTAL_URL . "index.php?page=$page_id&mode=article&k=$article_id&page_num=$page_number" . $xtra_dynamic); $page_link = '<a href="' . $temp_url . '" class="nav">' . $page_number . ' - ' . $article_toc . '</a>'; } *************** *** 363,371 **** if ( !$print_version ) { ! $temp_url = append_sid( $this->this_mxurl( "mode=article&k=$article_id&page_num=$page_number" . $start_pag . $original_highlight) ); } else { ! $temp_url = append_sid( $this->this_mxurl( "mode=article&k=$article_id&page_num=$page_number&print=true" . $start_pag . $original_highlight, true ) ); } $page_link = '<a href="' . $temp_url . '" class="nav">' . $page_number . '</a>'; --- 363,371 ---- if ( !$print_version ) { ! $temp_url = mx_append_sid( $this->this_mxurl( "mode=article&k=$article_id&page_num=$page_number" . $start_pag . $original_highlight) ); } else { ! $temp_url = mx_append_sid( $this->this_mxurl( "mode=article&k=$article_id&page_num=$page_number&print=true" . $start_pag . $original_highlight, true ) ); } $page_link = '<a href="' . $temp_url . '" class="nav">' . $page_number . '</a>'; *************** *** 418,422 **** // 'RATE_IMG' => $rate_img, ! 'U_RATE' => append_sid( $this->this_mxurl( 'mode=rate&k=' . $article_id ) ), )); } --- 418,422 ---- // 'RATE_IMG' => $rate_img, ! 'U_RATE' => mx_append_sid( $this->this_mxurl( 'mode=rate&k=' . $article_id ) ), )); } Index: kb_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_search.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** kb_search.php 5 Jun 2007 21:21:51 -0000 1.9 --- kb_search.php 9 Sep 2007 20:06:02 -0000 1.10 *************** *** 553,562 **** for( $i = 0; $i < count( $searchset ); $i++ ) { ! $cat_url = append_sid( $this->this_mxurl( 'mode=cat&cat=' . $searchset[$i]['category_id'] ) ); ! $file_url = append_sid( $this->this_mxurl( 'mode=article&k=' . $searchset[$i]['article_id'] ) ); // =================================================== // Format the date for the given article // =================================================== ! $date = create_date( $board_config['default_dateformat'], $searchset[$i]['article_date'], $board_config['board_timezone'] ); // =================================================== // Get rating for the article and format it --- 553,562 ---- for( $i = 0; $i < count( $searchset ); $i++ ) { ! $cat_url = mx_append_sid( $this->this_mxurl( 'mode=cat&cat=' . $searchset[$i]['category_id'] ) ); ! $file_url = mx_append_sid( $this->this_mxurl( 'mode=article&k=' . $searchset[$i]['article_id'] ) ); // =================================================== // Format the date for the given article // =================================================== ! $date = phpBB2::create_date( $board_config['default_dateformat'], $searchset[$i]['article_date'], $board_config['board_timezone'] ); // =================================================== // Get rating for the article and format it *************** *** 567,571 **** // =================================================== ! $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>' : ''; --- 567,571 ---- // =================================================== ! $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>' : ''; *************** *** 585,597 **** ); } ! $base_url = append_sid( $this->this_mxurl( "mode=search&search_id=$search_id" ) ); $template->assign_vars( array( ! 'PAGINATION' => generate_pagination( $base_url, $total_match_count, $kb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $kb_config['pagination'] ) + 1 ), ceil( $total_match_count / $kb_config['pagination'] ) ), 'L_MODULE' => $kb_config['module_name'], ! 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), 'L_INDEX' => "<<", --- 585,597 ---- ); } ! $base_url = mx_append_sid( $this->this_mxurl( "mode=search&search_id=$search_id" ) ); $template->assign_vars( array( ! 'PAGINATION' => phpBB2::generate_pagination( $base_url, $total_match_count, $kb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $kb_config['pagination'] ) + 1 ), ceil( $total_match_count / $kb_config['pagination'] ) ), 'L_MODULE' => $kb_config['module_name'], ! 'U_INDEX' => mx_append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD' => mx_append_sid( $this->this_mxurl() ), 'L_INDEX' => "<<", *************** *** 620,630 **** $template->assign_vars( array( ! 'S_SEARCH_ACTION' => append_sid( $this->this_mxurl() ), 'S_CAT_MENU' => $dropmenu, 'L_MODULE' => $kb_config['module_name'], ! 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), ! 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), 'L_YES' => $lang['Yes'], --- 620,630 ---- $template->assign_vars( array( ! 'S_SEARCH_ACTION' => mx_append_sid( $this->this_mxurl() ), 'S_CAT_MENU' => $dropmenu, 'L_MODULE' => $kb_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: kb_rate.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_rate.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** kb_rate.php 4 Aug 2006 16:30:30 -0000 1.8 --- kb_rate.php 9 Sep 2007 20:06:02 -0000 1.9 *************** *** 72,78 **** '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( 'mode=article&k=' . $article_id ) ), 'FILE_NAME' => $article_data['file_name'], --- 72,78 ---- '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( 'mode=article&k=' . $article_id ) ), 'FILE_NAME' => $article_data['file_name'], *************** *** 97,101 **** $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( "mode=article&k=$article_id" ) ) . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 97,101 ---- $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( "mode=article&k=$article_id" ) ) . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 105,109 **** $template->assign_vars( array( ! 'S_RATE_ACTION' => append_sid( $this->this_mxurl( 'mode=rate&k=' . $article_id ) ), 'L_RATE' => $lang['Rate'], 'L_RERROR' => $lang['Rerror'], --- 105,109 ---- $template->assign_vars( array( ! 'S_RATE_ACTION' => mx_append_sid( $this->this_mxurl( 'mode=rate&k=' . $article_id ) ), 'L_RATE' => $lang['Rate'], 'L_RERROR' => $lang['Rerror'], Index: kb_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_cat.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** kb_cat.php 4 Aug 2006 20:10:43 -0000 1.8 --- kb_cat.php 9 Sep 2007 20:06:01 -0000 1.9 *************** *** 109,113 **** if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=". $this->this_mxurl("mode=cat&cat=" . $cat_id, true), true)); } --- 109,113 ---- if ( !$userdata['session_logged_in'] ) { ! // mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=". $this->this_mxurl("mode=cat&cat=" . $cat_id, true), true)); } *************** *** 118,122 **** if ( !isset( $this->cat_rowset[$category_id] ) ) { ! $message = $lang['Category_not_exsist'] . '<br /><br />' . sprintf( $lang['Click_return_kb'], '<a href="' . append_sid( $this->this_mxurl() ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_index'], '<a href="' . append_sid( $mx_root_path . "index.$phpEx" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 118,122 ---- if ( !isset( $this->cat_rowset[$category_id] ) ) { ! $message = $lang['Category_not_exsist'] . '<br /><br />' . sprintf( $lang['Click_return_kb'], '<a href="' . mx_append_sid( $this->this_mxurl() ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_index'], '<a href="' . mx_append_sid( $mx_root_path . "index.$phpEx" ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 143,147 **** $template->assign_vars( array( ! 'U_CAT' => append_sid( $this->this_mxurl( 'mode=cat&cat=' . $category_id ) ) ) ); --- 143,147 ---- $template->assign_vars( array( ! 'U_CAT' => mx_append_sid( $this->this_mxurl( 'mode=cat&cat=' . $category_id ) ) ) ); Index: kb_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_post_comment.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** kb_post_comment.php 13 Aug 2006 19:43:07 -0000 1.10 --- kb_post_comment.php 9 Sep 2007 20:06:02 -0000 1.11 *************** *** 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)); } *************** *** 181,185 **** $this->_kb(); ! $message = $lang['Comment_deleted'] . '<br /><br />' . sprintf( $lang['Click_return_article'], '<a href="' . append_sid( $this->this_mxurl( "mode=article&k=$item_id" ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 181,185 ---- $this->_kb(); ! $message = $lang['Comment_deleted'] . '<br /><br />' . sprintf( $lang['Click_return_article'], '<a href="' . mx_append_sid( $this->this_mxurl( "mode=article&k=$item_id" ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 198,202 **** $this->update_add_comment($article_data, $item_id, $cid, '', '', $html_on, $bbcode_on, $smilies_on); ! $message = $lang['Comment_posted'] . '<br /><br />' . sprintf( $lang['Click_return_article'], '<a href="' . append_sid( $this->this_mxurl( 'mode=article&k=' . $item_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 198,202 ---- $this->update_add_comment($article_data, $item_id, $cid, '', '', $html_on, $bbcode_on, $smilies_on); ! $message = $lang['Comment_posted'] . '<br /><br />' . sprintf( $lang['Click_return_article'], '<a href="' . mx_append_sid( $this->this_mxurl( 'mode=article&k=' . $item_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 284,288 **** $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, --- 284,288 ---- $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, *************** *** 353,360 **** '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( 'mode=article&item_id=' . $item_id ) ), ! 'S_POST_ACTION' => append_sid( $this->this_mxurl() ), 'S_HIDDEN_FORM_FIELDS' => $hidden_form_fields ) ); --- 353,360 ---- '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( 'mode=article&item_id=' . $item_id ) ), ! 'S_POST_ACTION' => mx_append_sid( $this->this_mxurl() ), 'S_HIDDEN_FORM_FIELDS' => $hidden_form_fields ) ); |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:06:37
|
Update of /cvsroot/mxbb/mx_kb/kb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18006/kb/includes Modified Files: functions.php functions_admin.php functions_comment.php functions_kb.php functions_mx.php Log Message: for 2.9.x Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/functions.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** functions.php 6 Aug 2007 21:13:10 -0000 1.20 --- functions.php 9 Sep 2007 20:06:01 -0000 1.21 *************** *** 98,102 **** global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path; global $user_ip, $session_length, $starttime; ! global $userdata, $mx_kb; global $mx_root_path, $module_root_path, $is_block, $phpEx; --- 98,102 ---- global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path; global $user_ip, $session_length, $starttime; ! global $userdata, $mx_user, $mx_kb; global $mx_root_path, $module_root_path, $is_block, $phpEx; *************** *** 109,114 **** --- 109,117 ---- if ( $mode == 'window' ) { + /* $userdata = session_pagestart( $user_ip, $page_id ); init_userprefs( $userdata ); + */ + $mx_user->init($user_ip, PAGE_INDEX); $gen_simple_header = true; *************** *** 183,187 **** $template->assign_vars( array( 'L_MORE_SMILIES' => $lang['More_emoticons'], ! 'U_MORE_SMILIES' => append_sid( $phpbb_root_path . "posting.$phpEx?mode=smilies" ) ) ); } --- 186,190 ---- $template->assign_vars( array( 'L_MORE_SMILIES' => $lang['More_emoticons'], ! 'U_MORE_SMILIES' => mx_append_sid( $phpbb_root_path . "posting.$phpEx?mode=smilies" ) ) ); } *************** *** 265,272 **** if ( $mx_kb->modules[$mx_kb->module_name]->auth_user[$_REQUEST['cat']]['auth_post'] || $mx_kb->modules[$mx_kb->module_name]->auth_user[$_REQUEST['cat']]['auth_mod'] ) { ! $add_article_url = append_sid( $mx_kb->this_mxurl( "mode=add&cat=" . $_REQUEST['cat'] ) ); $template->assign_block_vars( 'switch_add_article', array() ); } ! $mcp_url = append_sid( $mx_kb->this_mxurl( "mode=mcp&cat_id={$_REQUEST['cat']}" ) ); if ( $mx_kb->modules[$mx_kb->module_name]->auth_user[$_REQUEST['cat']]['auth_mod'] ) { --- 268,275 ---- if ( $mx_kb->modules[$mx_kb->module_name]->auth_user[$_REQUEST['cat']]['auth_post'] || $mx_kb->modules[$mx_kb->module_name]->auth_user[$_REQUEST['cat']]['auth_mod'] ) { ! $add_article_url = mx_append_sid( $mx_kb->this_mxurl( "mode=add&cat=" . $_REQUEST['cat'] ) ); $template->assign_block_vars( 'switch_add_article', array() ); } ! $mcp_url = mx_append_sid( $mx_kb->this_mxurl( "mode=mcp&cat_id={$_REQUEST['cat']}" ) ); if ( $mx_kb->modules[$mx_kb->module_name]->auth_user[$_REQUEST['cat']]['auth_mod'] ) { *************** *** 275,283 **** } ! $search_url = append_sid( $mx_kb->this_mxurl( "mode=search" ) ); if ( $kb_config['header_banner'] == 1 ) { ! $temp_url = append_sid( $mx_kb->this_mxurl() ); $block_title = '<td align="center" class="row1"><a href="' . $temp_url . '"><img src="' . $images['kb_title'] . '" width="285" height="45" border="0" alt="' . $title . '"></a></td>'; } --- 278,286 ---- } ! $search_url = mx_append_sid( $mx_kb->this_mxurl( "mode=search" ) ); if ( $kb_config['header_banner'] == 1 ) { ! $temp_url = mx_append_sid( $mx_kb->this_mxurl() ); $block_title = '<td align="center" class="row1"><a href="' . $temp_url . '"><img src="' . $images['kb_title'] . '" width="285" height="45" border="0" alt="' . $title . '"></a></td>'; } *************** *** 297,305 **** 'U_MCP' => $mcp_url, 'U_SEARCH' => $search_url, ! 'U_TOPRATED' => append_sid( $mx_kb->this_mxurl( "mode=stats&sort_method=Toprated&sort_order=DESC" ) ), 'L_TOPRATED' => $lang['Top_toprated'], ! 'U_MOST_POPULAR' => append_sid( $mx_kb->this_mxurl( "mode=stats&sort_method=Most_popular&sort_order=DESC" ) ), 'L_MOST_POPULAR' => $lang['Top_most_popular'], ! 'U_LATEST' => append_sid( $mx_kb->this_mxurl( "mode=stats&sort_method=Latest&sort_order=DESC" ) ), 'L_LATEST' => $lang['Top_latest'] )); --- 300,308 ---- 'U_MCP' => $mcp_url, 'U_SEARCH' => $search_url, ! 'U_TOPRATED' => mx_append_sid( $mx_kb->this_mxurl( "mode=stats&sort_method=Toprated&sort_order=DESC" ) ), 'L_TOPRATED' => $lang['Top_toprated'], ! 'U_MOST_POPULAR' => mx_append_sid( $mx_kb->this_mxurl( "mode=stats&sort_method=Most_popular&sort_order=DESC" ) ), 'L_MOST_POPULAR' => $lang['Top_most_popular'], ! 'U_LATEST' => mx_append_sid( $mx_kb->this_mxurl( "mode=stats&sort_method=Latest&sort_order=DESC" ) ), 'L_LATEST' => $lang['Top_latest'] )); Index: functions_mx.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/functions_mx.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** functions_mx.php 7 Jun 2006 20:28:54 -0000 1.5 --- functions_mx.php 9 Sep 2007 20:06:01 -0000 1.6 *************** *** 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_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/functions_admin.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** functions_admin.php 1 Aug 2006 21:00:37 -0000 1.8 --- functions_admin.php 9 Sep 2007 20:06:01 -0000 1.9 *************** *** 62,78 **** $category_id = $category['category_id']; $category_name = $category['category_name']; ! $temp_url = append_sid( $module_root_path . "kb.$phpEx?mode=cat&cat=$category_id" ); $category_link = '<a href="' . $temp_url . '" class="nav" target="_blank">' . $category_name . '</a>'; ! $temp_url = append_sid( $module_root_path . "admin/admin_kb.$phpEx?action=cat_manage&mode=edit&cat=$category_id" ); $edit = '<a href="' . $temp_url . '">'.$lang['Edit'].'</a>'; ! $temp_url = append_sid( $module_root_path . "admin/admin_kb.$phpEx?action=cat_manage&mode=delete&cat=$category_id" ); $delete = '<a href="' . $temp_url . '" class="gen">'.$lang['Delete'].'</a>'; ! $temp_url = append_sid( $module_root_path . "admin/admin_kb.$phpEx?action=cat_manage&mode=up&cat=$category_id" ); $up = '<a href="' . $temp_url . '" class="gen">' . $lang['Move_up'] . '</a>'; ! $temp_url = append_sid( $module_root_path . "admin/admin_kb.$phpEx?action=cat_manage&mode=down&cat=$category_id" ); $down = '<a href="' . $temp_url . '" class="gen">' . $lang['Move_down'] . '</a>'; --- 62,78 ---- $category_id = $category['category_id']; $category_name = $category['category_name']; ! $temp_url = mx_append_sid( $module_root_path . "kb.$phpEx?mode=cat&cat=$category_id" ); $category_link = '<a href="' . $temp_url . '" class="nav" target="_blank">' . $category_name . '</a>'; ! $temp_url = mx_append_sid( $module_root_path . "admin/admin_kb.$phpEx?action=cat_manage&mode=edit&cat=$category_id" ); $edit = '<a href="' . $temp_url . '">'.$lang['Edit'].'</a>'; ! $temp_url = mx_append_sid( $module_root_path . "admin/admin_kb.$phpEx?action=cat_manage&mode=delete&cat=$category_id" ); $delete = '<a href="' . $temp_url . '" class="gen">'.$lang['Delete'].'</a>'; ! $temp_url = mx_append_sid( $module_root_path . "admin/admin_kb.$phpEx?action=cat_manage&mode=up&cat=$category_id" ); $up = '<a href="' . $temp_url . '" class="gen">' . $lang['Move_up'] . '</a>'; ! $temp_url = mx_append_sid( $module_root_path . "admin/admin_kb.$phpEx?action=cat_manage&mode=down&cat=$category_id" ); $down = '<a href="' . $temp_url . '" class="gen">' . $lang['Move_down'] . '</a>'; Index: functions_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/functions_comment.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** functions_comment.php 12 Jul 2007 22:50:27 -0000 1.11 --- functions_comment.php 9 Sep 2007 20:06:01 -0000 1.12 *************** *** 18,55 **** * */ ! class mx_kb_comments { - // - // Comments - // - var $cid = ''; // comment id - var $comments_type = ''; // internal or phpbb - [...1300 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 --- 146,149 ---- Index: functions_kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/functions_kb.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** functions_kb.php 10 Aug 2007 18:35:10 -0000 1.21 --- functions_kb.php 9 Sep 2007 20:06:01 -0000 1.22 *************** *** 597,601 **** // Format the date for the given file // =================================================== ! //$article_date = create_date( $board_config['default_dateformat'], $file_rowset[$i]['article_date'], $board_config['board_timezone'] ); // --- 597,601 ---- // Format the date for the given file // =================================================== ! //$article_date = phpBB2::create_date( $board_config['default_dateformat'], $file_rowset[$i]['article_date'], $board_config['board_timezone'] ); // *************** *** 609,613 **** //$cat_name = ( empty( $cat_id ) ) ? $this->cat_rowset[$file_rowset[$i]['file_catid']]['category_name'] : ''; ! //$cat_url = append_sid( $this->this_mxurl( 'action=category&cat_id=' . $file_rowset[$i]['article_category_id'] ) ); $article_description = $file_rowset[$i]['article_description'] ; --- 609,613 ---- //$cat_name = ( empty( $cat_id ) ) ? $this->cat_rowset[$file_rowset[$i]['file_catid']]['category_name'] : ''; ! //$cat_url = mx_append_sid( $this->this_mxurl( 'action=category&cat_id=' . $file_rowset[$i]['article_category_id'] ) ); $article_description = $file_rowset[$i]['article_description'] ; *************** *** 623,627 **** // author information // ! $author = ( $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>' : ''; $author .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? $file_rowset[$i]['username'] : $file_rowset[$i]['post_username'] . '(' . $lang['Guest'] . ')'; $author .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : ''; --- 623,627 ---- // author information // ! $author = ( $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>' : ''; $author .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? $file_rowset[$i]['username'] : $file_rowset[$i]['post_username'] . '(' . $lang['Guest'] . ')'; $author .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : ''; *************** *** 631,635 **** $article_title = $file_rowset[$i]['article_title']; ! $article_url = append_sid( $this->this_mxurl( "mode=article&k=$article_id" ) ); if ( $is_new ) --- 631,635 ---- $article_title = $file_rowset[$i]['article_title']; ! $article_url = mx_append_sid( $this->this_mxurl( "mode=article&k=$article_id" ) ); if ( $is_new ) *************** *** 695,699 **** break; } ! $cat_sub .= (!empty($cat_sub) ? '<span class=' . $class . '>, </span>' : '') . '<a href="' . append_sid( $this->this_mxurl( 'mode=cat&cat=' . $cat_row['category_id'] ) ) . '" class=' . $class . '>' . $cat_row['category_name'] . '</a>'; } /* --- 695,699 ---- break; } ! $cat_sub .= (!empty($cat_sub) ? '<span class=' . $class . '>, </span>' : '') . '<a href="' . mx_append_sid( $this->this_mxurl( 'mode=cat&cat=' . $cat_row['category_id'] ) ) . '" class=' . $class . '>' . $cat_row['category_name'] . '</a>'; } /* *************** *** 712,716 **** 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> '; } } --- 712,716 ---- 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> '; } } *************** *** 762,766 **** $template->assign_block_vars( 'navlinks', array( 'CAT_NAME' => $parent_name, ! 'U_VIEW_CAT' => append_sid( $this->this_mxurl( 'mode=cat&cat=' . $parent_cat_id ) ) ) ); } --- 762,766 ---- $template->assign_block_vars( 'navlinks', array( 'CAT_NAME' => $parent_name, ! 'U_VIEW_CAT' => mx_append_sid( $this->this_mxurl( 'mode=cat&cat=' . $parent_cat_id ) ) ) ); } *************** *** 769,773 **** $template->assign_block_vars( 'navlinks', array( 'CAT_NAME' => $this->cat_rowset[$cat_id]['category_name'], ! 'U_VIEW_CAT' => append_sid( $this->this_mxurl( 'mode=cat&cat=' . $this->cat_rowset[$cat_id]['category_id'] ) ) ) ); } --- 769,773 ---- $template->assign_block_vars( 'navlinks', array( 'CAT_NAME' => $this->cat_rowset[$cat_id]['category_name'], ! 'U_VIEW_CAT' => mx_append_sid( $this->this_mxurl( 'mode=cat&cat=' . $this->cat_rowset[$cat_id]['category_id'] ) ) ) ); } *************** *** 945,949 **** $category_name = $category['category_name']; ! $category_url = append_sid( $this->this_mxurl( "mode=cat&cat=$category_id" ) ); $num_of_cats++; --- 945,949 ---- $category_name = $category['category_name']; ! $category_url = mx_append_sid( $this->this_mxurl( "mode=cat&cat=$category_id" ) ); $num_of_cats++; *************** *** 954,962 **** if ( !empty( $last_file_info['article_id'] ) && $this->auth_user[$category_id]['auth_view'] ) { ! $last_file_time = create_date( $board_config['default_dateformat'], $last_file_info['article_date'], $board_config['board_timezone'] ); $last_file = $last_file_time . '<br />'; $last_file_name = ( strlen( stripslashes( $last_file_info['article_title'] ) ) > 20 ) ? substr( stripslashes( $last_file_info['article_title'] ), 0, 20 ) . '...' : stripslashes( $last_file_info['article_title'] ); ! $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'mode=article&k=' . $last_file_info['article_id'] ) ) . '" alt="' . stripslashes( $last_file_info['article_title'] ) . '" title="' . stripslashes( $last_file_info['article_title'] ) . '">' . $last_file_name . '</a> '; ! $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'mode=article&k=' . $last_file_info['article_id'] ) ) . '"><img src="' . $images['kb_icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_file'] . '" title="' . $lang['View_latest_file'] . '" /></a>'; } else --- 954,962 ---- if ( !empty( $last_file_info['article_id'] ) && $this->auth_user[$category_id]['auth_view'] ) { ! $last_file_time = phpBB2::create_date( $board_config['default_dateformat'], $last_file_info['article_date'], $board_config['board_timezone'] ); $last_file = $last_file_time . '<br />'; $last_file_name = ( strlen( stripslashes( $last_file_info['article_title'] ) ) > 20 ) ? substr( stripslashes( $last_file_info['article_title'] ), 0, 20 ) . '...' : stripslashes( $last_file_info['article_title'] ); ! $last_file .= '<a href="' . mx_append_sid( $this->this_mxurl( 'mode=article&k=' . $last_file_info['article_id'] ) ) . '" alt="' . stripslashes( $last_file_info['article_title'] ) . '" title="' . stripslashes( $last_file_info['article_title'] ) . '">' . $last_file_name . '</a> '; ! $last_file .= '<a href="' . mx_append_sid( $this->this_mxurl( 'mode=article&k=' . $last_file_info['article_id'] ) ) . '"><img src="' . $images['kb_icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_file'] . '" title="' . $lang['View_latest_file'] . '" /></a>'; } else *************** *** 1128,1132 **** // Format the date for the given file // =================================================== ! $article_date = create_date( $board_config['default_dateformat'], $file_rowset[$i]['article_date'], $board_config['board_timezone'] ); // =================================================== // Get rating for the file and format it --- 1128,1132 ---- // Format the date for the given file // =================================================== ! $article_date = phpBB2::create_date( $board_config['default_dateformat'], $file_rowset[$i]['article_date'], $board_config['board_timezone'] ); // =================================================== // Get rating for the file and format it *************** *** 1143,1147 **** $cat_name = ( empty( $cat_id ) ) ? $this->cat_rowset[$file_rowset[$i]['file_catid']]['category_name'] : ''; ! $cat_url = append_sid( $this->this_mxurl( 'action=category&cat_id=' . $file_rowset[$i]['article_category_id'] ) ); $article_description = $file_rowset[$i]['article_description'] ; --- 1143,1147 ---- $cat_name = ( empty( $cat_id ) ) ? $this->cat_rowset[$file_rowset[$i]['file_catid']]['category_name'] : ''; ! $cat_url = mx_append_sid( $this->this_mxurl( 'action=category&cat_id=' . $file_rowset[$i]['article_category_id'] ) ); $article_description = $file_rowset[$i]['article_description'] ; *************** *** 1157,1161 **** // author information // ! $author = ( $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>' : ''; $author .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? $file_rowset[$i]['username'] : $file_rowset[$i]['post_username'] . '(' . $lang['Guest'] . ')'; $author .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : ''; --- 1157,1161 ---- // author information // ! $author = ( $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>' : ''; $author .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? $file_rowset[$i]['username'] : $file_rowset[$i]['post_username'] . '(' . $lang['Guest'] . ')'; $author .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : ''; *************** *** 1165,1169 **** $article_title = $file_rowset[$i]['article_title']; ! $article_url = append_sid( $this->this_mxurl( "mode=article&k=$article_id" ) ); // =================================================== --- 1165,1169 ---- $article_title = $file_rowset[$i]['article_title']; ! $article_url = mx_append_sid( $this->this_mxurl( "mode=article&k=$article_id" ) ); // =================================================== *************** *** 1182,1186 **** 'ARTICLE_VOTES' => $file_rowset[$i]['total_votes'], 'L_RATING' => $lang['Votes_label'], ! 'DO_RATE' => $this->auth_user[$cat_id]['auth_rate'] ? '<a href="' . append_sid( $this->this_mxurl( 'mode=rate&k=' . $file_rowset[$i]['article_id'] ) ) . '">' . $lang['ADD_RATING'] . '</a>' : '', 'RATING' => $rating, --- 1182,1186 ---- 'ARTICLE_VOTES' => $file_rowset[$i]['total_votes'], 'L_RATING' => $lang['Votes_label'], ! 'DO_RATE' => $this->auth_user[$cat_id]['auth_rate'] ? '<a href="' . mx_append_sid( $this->this_mxurl( 'mode=rate&k=' . $file_rowset[$i]['article_id'] ) ) . '">' . $lang['ADD_RATING'] . '</a>' : '', 'RATING' => $rating, *************** *** 1285,1294 **** 'SORT_DESC' => ( $sort_order == 'DESC' ) ? 'selected="selected"' : '', ! 'PAGINATION' => generate_pagination( append_sid( $this->this_mxurl( "mode=$action&sort_method=$sort_method&sort_order=$sort_order" ) ), $total_file, $kb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $kb_config['pagination'] ) + 1 ), ceil( $total_file / $kb_config['pagination'] ) ), 'ID' => $cat_id, 'START' => $start, ! 'S_ACTION_SORT' => append_sid( $this->this_mxurl( "mode=$action" ) ) ) ); } --- 1285,1294 ---- 'SORT_DESC' => ( $sort_order == 'DESC' ) ? 'selected="selected"' : '', ! 'PAGINATION' => phpBB2::generate_pagination( mx_append_sid( $this->this_mxurl( "mode=$action&sort_method=$sort_method&sort_order=$sort_order" ) ), $total_file, $kb_config['pagination'], $start ), 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $kb_config['pagination'] ) + 1 ), ceil( $total_file / $kb_config['pagination'] ) ), 'ID' => $cat_id, 'START' => $start, ! 'S_ACTION_SORT' => mx_append_sid( $this->this_mxurl( "mode=$action" ) ) ) ); } *************** *** 1470,1474 **** else { ! $message = $lang['Rerror'] . "<br /><br />" . sprintf( $lang['Click_return'], "<a href=\"" . append_sid( $this->this_mxurl( "mode=article&k=$article_id" ) ) . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 1470,1474 ---- else { ! $message = $lang['Rerror'] . "<br /><br />" . sprintf( $lang['Click_return'], "<a href=\"" . mx_append_sid( $this->this_mxurl( "mode=article&k=$article_id" ) ) . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 1926,1930 **** $row = $db->sql_fetchrow( $result ); ! $temp_url = append_sid( $this->this_mxurl( 'mode=cat&cat=' . $row['category_id'] ) ); $path_kb_array[] .= ' » <a href="' . $temp_url . '" class="nav">' . $row['category_name'] . '</a> '; --- 1926,1930 ---- $row = $db->sql_fetchrow( $result ); ! $temp_url = mx_append_sid( $this->this_mxurl( 'mode=cat&cat=' . $row['category_id'] ) ); $path_kb_array[] .= ' » <a href="' . $temp_url . '" class="nav">' . $row['category_name'] . '</a> '; |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:06:36
|
Update of /cvsroot/mxbb/mx_kb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18006 Modified Files: kb.php kb_app.php kb_article_reader.php Log Message: for 2.9.x Index: kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb.php,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** kb.php 30 May 2007 21:32:24 -0000 1.42 --- kb.php 9 Sep 2007 20:06:00 -0000 1.43 *************** *** 193,197 **** 'U_PORTAL' => $mx_root_path, 'L_PORTAL' => "<<", ! 'U_KB' => append_sid( $mx_kb->this_mxurl() ), 'L_KB' => $lang['KB_title'] ) ); --- 193,197 ---- 'U_PORTAL' => $mx_root_path, 'L_PORTAL' => "<<", ! 'U_KB' => mx_append_sid( $mx_kb->this_mxurl() ), 'L_KB' => $lang['KB_title'] ) ); Index: kb_article_reader.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_article_reader.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** kb_article_reader.php 30 May 2007 21:32:24 -0000 1.21 --- kb_article_reader.php 9 Sep 2007 20:06:00 -0000 1.22 *************** *** 189,193 **** 'U_PORTAL' => $mx_root_path, 'L_PORTAL' => "<<", ! 'U_KB' => append_sid( $mx_kb->this_mxurl() ), 'L_KB' => $lang['KB_title'] ) ); --- 189,193 ---- 'U_PORTAL' => $mx_root_path, 'L_PORTAL' => "<<", ! 'U_KB' => mx_append_sid( $mx_kb->this_mxurl() ), 'L_KB' => $lang['KB_title'] ) ); Index: kb_app.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_app.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** kb_app.php 2 Jun 2007 19:56:52 -0000 1.1 --- kb_app.php 9 Sep 2007 20:06:00 -0000 1.2 *************** *** 195,199 **** 'U_PORTAL' => $mx_root_path, 'L_PORTAL' => "<<", ! 'U_KB' => append_sid( $mx_kb->this_mxurl() ), 'L_KB' => $lang['KB_title'] ) ); --- 195,199 ---- 'U_PORTAL' => $mx_root_path, 'L_PORTAL' => "<<", ! 'U_KB' => mx_append_sid( $mx_kb->this_mxurl() ), 'L_KB' => $lang['KB_title'] ) ); |