|
From: Jon O. <jon...@us...> - 2006-06-28 13:58:18
|
Update of /cvsroot/mxbb/mx_kb/templates/subSilver In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv32691/modules/mx_kb/templates/subSilver Modified Files: kb_article_body.tpl kb_article_reader.tpl subSilver.cfg Added Files: kb_last_article.tpl Log Message: added a new "last article" block Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_kb/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:19:50 -0000 1.1 --- subSilver.cfg 28 Jun 2006 13:58:08 -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 // *************** *** 54,56 **** --- 54,62 ---- $mx_images['kb_folder_announce'] = $images['folder_announce']; $mx_images['kb_icon_newest_reply'] = $images['icon_newest_reply']; + + // + // Last Article block + // + $mx_images['kb_last_article_folder'] = $images['folder']; + $mx_images['kb_icon_latest_reply'] = $images['icon_latest_reply']; ?> \ No newline at end of file Index: kb_article_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/kb_article_body.tpl,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** kb_article_body.tpl 7 Jun 2006 20:28:54 -0000 1.17 --- kb_article_body.tpl 28 Jun 2006 13:58:08 -0000 1.18 *************** *** 28,34 **** <span class="gensmall">[<a href="{switch_ratings.U_RATE}" class="gensmall">{switch_ratings.L_RATE}</a>]</span> <!-- END switch_ratings --> - - - </td> </tr> --- 28,31 ---- --- NEW FILE: kb_last_article.tpl --- <table width="{BLOCK_SIZE}" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <!-- BEGIN no_row --> <tr> <td class="row1" align="left" colspan="2">{no_row.L_NO_ITEMS}</td> </tr> <!-- END no_row --> <!-- BEGIN msg_row --> <tr> <td class="row2" align="center"> <span class="cattitle"> <img src="{msg_row.FOLDER_IMG}" width="19" height="18" alt="{msg_row.L_TOPIC_FOLDER_ALT}" title="{msg_row.L_TOPIC_FOLDER_ALT}" /> </span> </td> <td class="row1" align="{U_ALIGN}"> <span class="genmed"> <b><a href="{msg_row.U_LAST_MSG}" target="{U_TARGET}" title="{msg_row.LAST_MSG_ALT}" class="genmed">{msg_row.LAST_MSG}</a></b> </span><br /> <span class="gensmall"> <a href="{msg_row.U_FORUM}" target="{U_TARGET}" title="{msg_row.FORUM_NAME_ALT}" class="gensmall">{msg_row.FORUM_NAME}</a> </span> <div align="right"> <span class="gensmall" nowrap="nowrap"> {msg_row.LAST_MSG_DATE} </span> <span class="gensmall" nowrap="nowrap"> {msg_row.TOPIC_AUTHOR} {msg_row.LAST_POST_AUTHOR}{msg_row.LAST_POST_IMG} </span> </div> </td> </tr> <!-- END msg_row --> <tr valign="middle"> <td align="right" valign="top" nowrap="nowrap" colspan="2" height="28" class="cat"><span class="gensmall">{PAGINATION}</span></td> </tr> </table> Index: kb_article_reader.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/kb_article_reader.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** kb_article_reader.tpl 5 Apr 2006 21:19:50 -0000 1.3 --- kb_article_reader.tpl 28 Jun 2006 13:58:08 -0000 1.4 *************** *** 1,107 **** ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> <td class="row1" wrap="wrap"> ! <span class="maintitle"style="font-size: 9pt;">{ARTICLE_TITLE}</span> </td> ! <td class="row1" align="right" class="nav"> ! <a href="{U_PRINT}" class="nav">{L_PRINT}</a> </td> ! </tr> ! <tr> ! <td class="row2" colspan="2"><hr> ! <span class="gensmall"><b>{L_ARTICLE_AUTHOR}</b></span> <span class="gensmall">{ARTICLE_AUTHOR}</span> ! <span class="gensmall"><b>{L_ARTICLE_DATE}</b></span> <span class="gensmall">{ARTICLE_DATE}</span> ! <span class="gensmall">{VIEWS}</span><br /> ! <span class="gensmall"><b>{L_ARTICLE_DESCRIPTION}</b> </span><span class="gensmall">{ARTICLE_DESCRIPTION}</span><br /> ! ! <!-- BEGIN switch_comments --> ! <span class="gensmall">{COMMENTS} {COMMENTS_IMG}</span><br /> ! <!-- END switch_comments --> ! <!-- BEGIN switch_ratings --> ! <span class="gensmall">{RATINGS} {RATE_IMG}</span><br /> ! <!-- END switch_ratings --> ! <hr></td> ! </tr> ! <!-- BEGIN switch_toc --> ! <tr> ! <td class="row1" colspan="2" align="left"><br /><span class="maintitle">{L_TOC}</span><br /><br /> ! <span class="nav"> ! <!-- BEGIN pages --> ! {switch_toc.pages.TOC_ITEM} ! <!-- END pages --> ! </span> ! </td> ! </tr> ! <!-- END switch_toc --> ! <tr> ! <td class="row1" colspan="2" wrap="wrap"><span class="postbody">{ARTICLE_TEXT}</span></td> ! </tr> ! <!-- BEGIN switch_pages --> ! <tr> ! <td class="row1" colspan="2" align="center"><span class="nav">{L_GOTO_PAGE} ! <!-- BEGIN pages --> ! {switch_pages.pages.PAGE_LINK} ! <!-- END pages --> ! </span></td> ! </tr> <!-- END switch_pages --> - <!-- - <tr> - <td class="cat" colspan="2" valign="middle" align="center"><span class="cattitle"> {EDIT_IMG}</span> </td> - </tr> - --> </table> ! <!-- BEGIN switch_comments_show --> <br /> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> ! <tr> ! <th class="thTop" colspan="2"> {L_COMMENTS} </th> ! </tr> ! ! ! <!-- END switch_comments_show --> ! <!-- BEGIN postrow --> ! <tr> ! <td class="row1" width="100%" height="28" valign="top" colspan="2"> ! <table width="100%" border="0" cellspacing="0" cellpadding="0"> ! <tr> ! <td width="100%"><span class="genmed"><b>{postrow.POSTER_NAME}</b></span><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen"> </span> {L_POST_SUBJECT} {postrow.POST_SUBJECT}</span></td> ! </tr> ! <tr> ! <td ><hr /></td> ! </tr> ! <tr> ! <td ><span class="postbody">{postrow.MESSAGE}</span></td> ! </tr> ! </table></td> ! </tr> ! <tr> ! <td class="spaceRow" colspan="2" height="1"><img src="{SPACER_IMG}" alt="" width="1" height="1" /></td> ! </tr> ! <!-- END postrow --> ! ! ! <!-- BEGIN switch_comments_show --> ! </table> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> ! <td><span class="nav">{PAGE_NUMBER}</span></td> ! <td align="right"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span></td> </tr> </table> ! <!-- END switch_comments_show --> ! ! <table width="100%" cellspacing="0" cellpadding="0" border="0"> ! <tr> ! <td colspan="2"> ! <!-- BEGIN switch_comments --> ! <span class="gensmall">{COMMENTS} {COMMENTS_IMG}</span><br /> ! <!-- END switch_comments --> ! <!-- BEGIN switch_ratings --> ! <span class="gensmall">{RATINGS} {RATE_IMG}</span><br /> ! <!-- END switch_ratings --> ! </td> ! </tr> </table> --- 1,124 ---- ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border-top:none;"> ! <tr> <td class="row1" wrap="wrap"> ! <table width="100%" border="0" cellspacing="0" cellpadding="0"> ! <tr> ! <td> ! <span class="maintitle"style="font-size: 9pt;">{ARTICLE_TITLE}</span> ! </td> ! <td class="row1" align="right" class="nav"> ! <a href="{U_PRINT}" class="nav">{L_PRINT}</a> ! </td> ! </tr> ! </table> </td> ! </tr> ! <tr> ! <td class="row2" colspan="2"><hr> ! <span class="gensmall"><b>{L_ARTICLE_AUTHOR}</b></span> <span class="gensmall">{ARTICLE_AUTHOR}</span> ! <span class="gensmall"><b>{L_ARTICLE_DATE}</b></span> <span class="gensmall">{ARTICLE_DATE}</span> ! <span class="gensmall">{VIEWS}</span><br /> ! <span class="gensmall"><b>{L_ARTICLE_DESCRIPTION}</b> </span><span class="gensmall">{ARTICLE_DESCRIPTION}</span><br /> ! ! <!-- BEGIN switch_comments --> ! <span class="gensmall">{COMMENTS} {COMMENTS_IMG}</span><br /> ! <!-- END switch_comments --> ! <!-- BEGIN switch_ratings --> ! <span class="gensmall">{RATINGS} {RATE_IMG}</span><br /> ! <!-- END switch_ratings --> ! <hr> </td> ! </tr> ! <!-- BEGIN switch_toc --> ! <tr> ! <td class="row1" colspan="2" align="left"><br /><span class="maintitle">{L_TOC}</span><br /><br /> ! <span class="nav"> ! <!-- BEGIN pages --> ! {switch_toc.pages.TOC_ITEM} ! <!-- END pages --> ! </span> ! </td> ! </tr> ! <!-- END switch_toc --> ! <tr> ! <td class="row1" colspan="2" wrap="wrap"> ! <span class="postbody">{ARTICLE_TEXT}</span> ! </td> ! </tr> ! <!-- BEGIN switch_pages --> ! <tr> ! <td class="row1" colspan="2" align="center"><span class="nav">{L_GOTO_PAGE} ! <!-- BEGIN pages --> ! {switch_pages.pages.PAGE_LINK} ! <!-- END pages --> ! </span> ! </td> ! </tr> <!-- END switch_pages --> </table> ! <!-- BEGIN use_comments --> <br /> ! <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 --> |