|
From: Jon O. <jon...@us...> - 2008-07-01 21:49:27
|
Update of /cvsroot/mxbb/mx_kb/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32301/templates/_core Modified Files: _core.cfg kb_article_app.tpl kb_article_body.tpl Log Message: image buttons minor bugfixes cleanup Index: kb_article_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/_core/kb_article_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** kb_article_body.tpl 9 Sep 2007 20:06:03 -0000 1.1 --- kb_article_body.tpl 1 Jul 2008 21:49:23 -0000 1.2 *************** *** 65,69 **** <hr> <span class="gensmall"><b>{L_RATINGS}</b></span> <span class="gensmall">{switch_ratings.RATING} ({switch_ratings.VOTES} {switch_ratings.L_VOTES})</span> ! <span class="gensmall"><a href="{switch_ratings.U_RATE}" class="gensmall">{switch_ratings.DO_RATE}</a></span> <!-- END switch_ratings --> </td> --- 65,69 ---- <hr> <span class="gensmall"><b>{L_RATINGS}</b></span> <span class="gensmall">{switch_ratings.RATING} ({switch_ratings.VOTES} {switch_ratings.L_VOTES})</span> ! <span class="gensmall"><a href="{switch_ratings.U_RATE}" class="gensmall">{switch_ratings.B_RATE_IMG}</a></span> <!-- END switch_ratings --> </td> *************** *** 99,103 **** <!-- END switch_pages --> <tr> ! <td class="cat" valign="middle" align="center"><span class="cattitle"> {EDIT_IMG} {DELETE_IMG}</span> </td> </tr> </table> --- 99,103 ---- <!-- END switch_pages --> <tr> ! <td class="cat" valign="middle" align="center"><span class="cattitle"> {B_EDIT_IMG} {B_DELETE_IMG}</span> </td> </tr> </table> *************** *** 128,135 **** <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> --- 128,137 ---- <td align="right"> <!-- BEGIN auth_edit --> ! {use_comments.text.auth_edit.B_EDIT_IMG} ! <!-- <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 --> ! {use_comments.text.auth_delete.B_DELETE_IMG} ! <!-- <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> *************** *** 162,166 **** <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> --- 164,168 ---- <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> ! <td>{use_comments.auth_post.B_REPLY_IMG}</td> </tr> </table> Index: _core.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/_core/_core.cfg,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** _core.cfg 3 Jun 2008 20:11:45 -0000 1.3 --- _core.cfg 1 Jul 2008 21:49:22 -0000 1.4 *************** *** 37,71 **** // Define images // ------------------------------------------------------------------------- ! $mx_images['kb_icon_approve'] = "$current_template_images/icon_approve.gif"; ! $mx_images['kb_icon_unapprove'] = "$current_template_images/icon_unapprove.gif"; ! $mx_images['kb_title'] = "$current_template_images/{LANG}/kb.gif"; ! $mx_images['kb_search'] = "$current_template_images/{LANG}/icon_kb_search.gif"; ! $mx_images['kb_stats'] = "$current_template_images/{LANG}/icon_kb_stats.gif"; ! $mx_images['kb_toplist'] = "$current_template_images/{LANG}/icon_kb_toplist.gif"; ! $mx_images['kb_upload'] = "$current_template_images/{LANG}/icon_kb_post.gif"; ! $mx_images['kb_rate'] = "$current_template_images/{LANG}/icon_kb_rate.gif"; ! $mx_images['kb_comment_post'] = "$current_template_images/{LANG}/icon_kb_post_comment.gif"; // // Article and Category lists // ! //$mx_images['kb_article'] = $images['icon_minipost']; // Article Row ! $mx_images['kb_article'] = $mx_root_path . $images['mx_graphics']['menu_icons'] . '/' ."icon_message.gif"; // Article Row ! //$mx_images['kb_article_new'] = $images['icon_minipost_new']; // Article Row ! $mx_images['kb_article_new'] = $mx_root_path . $images['mx_graphics']['menu_icons'] . '/' ."icon_message_hot.gif"; // Article Row ! $mx_images['kb_category'] = $images['folder']; // Category Row ! $mx_images['kb_category_new'] = $images['folder_new']; // Category Row // ------------------------------------------------------------------------- // Redefine phpBB images (Commenting) // ------------------------------------------------------------------------- ! $mx_images['kb_icon_minipost'] = $images['icon_minipost']; ! $mx_images['kb_icon_edit'] = $images['icon_edit']; ! $mx_images['kb_icon_delpost'] = $images['icon_delpost']; ! $mx_images['kb_icon_reply'] = $images['icon_reply']; ! $mx_images['kb_folder'] = $images['folder']; ! $mx_images['kb_folder_sticky'] = $images['folder_sticky']; ! $mx_images['kb_folder_announce'] = $images['folder_announce']; ! $mx_images['kb_icon_newest_reply'] = $images['icon_newest_reply']; // --- 37,90 ---- // Define images // ------------------------------------------------------------------------- ! $mx_images['kb_icon_approve'] = "$current_template_images/icon_approve.gif"; ! $mx_images['buttontype']['kb_icon_approve'] = MX_BUTTON_IMAGE; ! $mx_images['kb_icon_unapprove'] = "$current_template_images/icon_unapprove.gif"; ! $mx_images['buttontype']['kb_icon_unapprove'] = MX_BUTTON_IMAGE; ! $mx_images['kb_title'] = "$current_template_images/{LANG}/kb.gif"; ! $mx_images['buttontype']['kb_title'] = MX_BUTTON_IMAGE; ! $mx_images['kb_search'] = "$current_template_images/{LANG}/icon_kb_search.gif"; ! $mx_images['buttontype']['kb_search'] = MX_BUTTON_IMAGE; ! $mx_images['kb_stats'] = "$current_template_images/{LANG}/icon_kb_stats.gif"; ! $mx_images['buttontype']['kb_stats'] = MX_BUTTON_IMAGE; ! $mx_images['kb_toplist'] = "$current_template_images/{LANG}/icon_kb_toplist.gif"; ! $mx_images['buttontype']['kb_toplist'] = MX_BUTTON_IMAGE; ! $mx_images['kb_upload'] = "$current_template_images/{LANG}/icon_kb_post.gif"; ! $mx_images['buttontype']['kb_upload'] = MX_BUTTON_IMAGE; ! $mx_images['kb_rate'] = "$current_template_images/{LANG}/icon_kb_rate.gif"; ! $mx_images['buttontype']['kb_rate'] = MX_BUTTON_TEXT; ! $mx_images['kb_comment_post'] = "$current_template_images/{LANG}/icon_kb_post_comment.gif"; ! $mx_images['buttontype']['kb_comment_post'] = MX_BUTTON_IMAGE; // // Article and Category lists // ! $mx_images['kb_article'] = $mx_root_path . $images['mx_graphics']['menu_icons'] . '/' ."icon_message.gif"; // Article Row ! $mx_images['buttontype']['kb_article'] = MX_BUTTON_IMAGE; ! $mx_images['kb_article_new'] = $mx_root_path . $images['mx_graphics']['menu_icons'] . '/' ."icon_message_hot.gif"; // Article Row ! $mx_images['buttontype']['kb_article_new'] = MX_BUTTON_IMAGE; ! $mx_images['kb_category'] = $images['folder']; // Category Row ! $mx_images['buttontype']['kb_category'] = MX_BUTTON_IMAGE; ! $mx_images['kb_category_new'] = $images['folder_new']; // Category Row ! $mx_images['buttontype']['kb_category_new'] = MX_BUTTON_IMAGE; // ------------------------------------------------------------------------- // Redefine phpBB images (Commenting) // ------------------------------------------------------------------------- ! $mx_images['kb_icon_minipost'] = $images['icon_minipost']; ! $mx_images['buttontype']['kb_icon_minipost'] = MX_BUTTON_IMAGE; ! $mx_images['kb_icon_edit'] = $images['icon_edit']; ! $mx_images['buttontype']['kb_icon_edit'] = MX_BUTTON_IMAGE; ! $mx_images['kb_icon_delpost'] = $images['icon_delpost']; ! $mx_images['buttontype']['kb_icon_delpost'] = MX_BUTTON_IMAGE; ! $mx_images['kb_icon_reply'] = $images['icon_reply']; ! $mx_images['buttontype']['kb_icon_reply'] = MX_BUTTON_IMAGE; ! $mx_images['kb_folder'] = $images['folder']; ! $mx_images['buttontype']['kb_folder'] = MX_BUTTON_IMAGE; ! $mx_images['kb_folder_sticky'] = $images['folder_sticky']; ! $mx_images['buttontype']['kb_folder_sticky'] = MX_BUTTON_IMAGE; ! $mx_images['kb_folder_announce'] = $images['folder_announce']; ! $mx_images['buttontype']['kb_folder_announce'] = MX_BUTTON_IMAGE; ! $mx_images['kb_icon_newest_reply'] = $images['icon_newest_reply']; ! $mx_images['buttontype']['kb_icon_newest_reply'] = MX_BUTTON_IMAGE; // *************** *** 73,76 **** --- 92,97 ---- // $mx_images['kb_last_article_folder'] = $images['folder']; + $mx_images['buttontype']['kb_last_article_folder'] = MX_BUTTON_IMAGE; $mx_images['kb_icon_latest_reply'] = $images['icon_latest_reply']; + $mx_images['buttontype']['kb_icon_latest_reply'] = MX_BUTTON_IMAGE; ?> \ No newline at end of file Index: kb_article_app.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/_core/kb_article_app.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** kb_article_app.tpl 21 May 2008 21:52:15 -0000 1.2 --- kb_article_app.tpl 1 Jul 2008 21:49:22 -0000 1.3 *************** *** 67,71 **** </div> ! <p><span class="cattitle"> {EDIT_IMG} {DELETE_IMG}</span> <!-- BEGIN use_comments --> --- 67,71 ---- </div> ! <p><span class="cattitle"> {B_EDIT_IMG} {B_DELETE_IMG}</span> <!-- BEGIN use_comments --> *************** *** 94,101 **** <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> --- 94,103 ---- <td align="right"> <!-- BEGIN auth_edit --> ! {use_comments.text.auth_edit.B_EDIT_IMG} ! <!--<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 --> ! {use_comments.text.auth_delete.B_DELETE_IMG} ! <!--<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> *************** *** 127,131 **** <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> --- 129,133 ---- <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> ! <td>{use_comments.auth_post.B_REPLY_IMG}</td> </tr> </table> |