|
From: Jon O. <jon...@us...> - 2008-05-21 21:52:54
|
Update of /cvsroot/mxbb/mx_kb/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12377/templates/_core Modified Files: kb_app.tpl kb_article_app.tpl Removed Files: kb_article_body_print.tpl Log Message: Mainly bugfixes, revealed during work with new project site - Quick List blocks compatible with app mode - The app mode has been rewritten somewhat, related to inline TOCs etc - Print version link fixed Index: kb_article_app.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/_core/kb_article_app.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** kb_article_app.tpl 9 Sep 2007 20:06:03 -0000 1.1 --- kb_article_app.tpl 21 May 2008 21:52:15 -0000 1.2 *************** *** 15,18 **** --- 15,27 ---- </script> + <!-- BEGIN switch_toc --> + <p><span class="maintitle">{L_TOC}</span><br /><br /> + <span class="nav"> + <!-- BEGIN pages --> + {switch_toc.pages.TOC_ITEM} + <!-- END pages --> + </span> + <!-- END switch_toc --> + <span class="maintitle">{ARTICLE_TITLE}</span> <p><span class="gensmall"><b>{ARTICLE_DESCRIPTION}</b></span> *************** *** 43,56 **** </div> ! <!-- BEGIN switch_toc --> ! <p><span class="maintitle">{L_TOC}</span><br /><br /> ! <span class="nav"> ! <!-- BEGIN pages --> ! {switch_toc.pages.TOC_ITEM} ! <!-- END pages --> ! </span> ! <!-- END switch_toc --> - <p><span class="postbody">{ARTICLE_TEXT}</span> <!-- BEGIN switch_pages --> <p><span class="nav"> --- 52,60 ---- </div> ! <div id="articlewrap"> ! <div id="toc" class="contents"></div> ! ! {ARTICLE_TEXT} <!-- BEGIN switch_pages --> <p><span class="nav"> *************** *** 61,64 **** --- 65,69 ---- </span> <!-- END switch_pages --> + </div> <p><span class="cattitle"> {EDIT_IMG} {DELETE_IMG}</span> --- kb_article_body_print.tpl DELETED --- Index: kb_app.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/_core/kb_app.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** kb_app.tpl 9 Sep 2007 20:06:03 -0000 1.1 --- kb_app.tpl 21 May 2008 21:52:15 -0000 1.2 *************** *** 62,67 **** pre { background-color: {T_TR_COLOR2}; padding: 0.75em 1.5em; border: 1px solid {T_TH_COLOR1}; } ! .contents { float: right; background-color: {T_TR_COLOR2}; padding: 0.75em; margin: 0 0 0.75em 0.75em; border: 1px solid {T_TH_COLOR1}; } ! .contents ul { list-style: none; margin-left: 0.5em; margin-right: 0.9em; margin-bottom: 2px; margin-top: 0px; padding: 5px; text-indent: -0.9em; } .sectioncontents { padding: 0em; margin: 0 0 0 0; } --- 62,68 ---- pre { background-color: {T_TR_COLOR2}; padding: 0.75em 1.5em; border: 1px solid {T_TH_COLOR1}; } ! #articlewrap { padding:5px;} ! #articlewrap .contents { float: right; background-color: {T_TR_COLOR2}; padding: 0.75em; margin: 0 0 0.75em 0.75em; border: 1px solid {T_TH_COLOR1}; } ! #articlewrap .contents ul { list-style: none; margin-left: 0.5em; margin-right: 0.1em; margin-bottom: 2px; margin-top: 0px; padding: 5px; text-indent: -0.9em; } .sectioncontents { padding: 0em; margin: 0 0 0 0; } *************** *** 85,89 **** .DynamicTree .text { padding: 1px; cursor: pointer; } ! .DynamicTree .text-active { background: {T_TR_COLOR1}; padding: 1px; cursor: pointer; } .DynamicTree div.folder img, --- 86,90 ---- .DynamicTree .text { padding: 1px; cursor: pointer; } ! .DynamicTree .text-active { color: {T_BODY_VLINK}; background: {T_TR_COLOR1}; padding: 1px; cursor: pointer; } .DynamicTree div.folder img, *************** *** 283,289 **** <table cellspacing="1" cellpadding="0" width="100%" height="100%" class="forumline" style="border-top:none;"> <tr> ! <td class="row2"> <table cellspacing="0" cellpadding="0" width="100%"><tr> ! <td class="row2"> <table cellspacing="0" cellpadding="0" width="100%"> --- 284,290 ---- <table cellspacing="1" cellpadding="0" width="100%" height="100%" class="forumline" style="border-top:none;"> <tr> ! <td class="rowxx"> <table cellspacing="0" cellpadding="0" width="100%"><tr> ! <td class="rowxx"> <table cellspacing="0" cellpadding="0" width="100%"> *************** *** 293,297 **** <table cellspacing="0" cellpadding="0" width="100%" height="100%" id="main"> <tr> ! <td id="left" class="row1"> <div class="DynamicTree"> <table cellspacing="0" cellpadding="0"> --- 294,298 ---- <table cellspacing="0" cellpadding="0" width="100%" height="100%" id="main"> <tr> ! <td id="left" class="rowxx"> <div class="DynamicTree"> <table cellspacing="0" cellpadding="0"> |