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-06-02 20:39:34
|
Update of /cvsroot/mxbb/mx_simpledoc/simpledoc/shared/publish In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27580/publish Modified Files: document.tpl Log Message: added Index: document.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_simpledoc/simpledoc/shared/publish/document.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** document.tpl 30 Jan 2007 16:26:10 -0000 1.2 --- document.tpl 2 Jun 2007 20:39:26 -0000 1.3 *************** *** 12,17 **** .contents a { color: #000000; text-decoration: none; } .contents a:hover { color: #000000; text-decoration: underline; cursor: hand; } ! ! body { max-height:100% height: 100%; margin: 0px 15px 0px 0px; padding: 30px 30px 30px 30px; background-color: #ffffff; font-family: georgia, tahoma, verdana; font-size: 11px; color: #000000; cursor: default;} </style> </head> --- 12,17 ---- .contents a { color: #000000; text-decoration: none; } .contents a:hover { color: #000000; text-decoration: underline; cursor: hand; } ! ! body { max-height:100% height: 100%; margin: 0px 15px 0px 0px; padding: 30px 30px 30px 30px; background-color: #ffffff; font-family: georgia, tahoma, verdana; font-size: 11px; color: #000000; cursor: default;} </style> </head> *************** *** 64,70 **** </script> <?php echo $html; ?> ! <hr align="left"> ! <!-- Please, do not remove this --> <p>Generated by <a href="http://www.mxbb.net/">mxBB</a> | <a href="http://gosu.pl/php/simpledoc.html">SimpleDoc</a> on <?php echo date('Y-m-d H:i:s').' '.$this->getTimezone(); ?></p> --- 64,70 ---- </script> <?php echo $html; ?> ! <hr align="left"> ! <!-- Please, do not remove this --> <p>Generated by <a href="http://www.mxbb.net/">mxBB</a> | <a href="http://gosu.pl/php/simpledoc.html">SimpleDoc</a> on <?php echo date('Y-m-d H:i:s').' '.$this->getTimezone(); ?></p> |
|
From: Jon O. <jon...@us...> - 2007-06-02 20:39:30
|
Update of /cvsroot/mxbb/mx_simpledoc/simpledoc/shared In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27580 Added Files: .htaccess Log Message: added --- NEW FILE: .htaccess --- allow from all |
|
From: Jon O. <jon...@us...> - 2007-06-02 20:38:00
|
Update of /cvsroot/mxbb/mx_simpledoc/simpledoc/includes/js In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26742 Modified Files: init_view.js management.js.php Added Files: .htaccess Log Message: added --- NEW FILE: .htaccess --- allow from all Index: init_view.js =================================================================== RCS file: /cvsroot/mxbb/mx_simpledoc/simpledoc/includes/js/init_view.js,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** init_view.js 17 Sep 2006 14:39:23 -0000 1.2 --- init_view.js 2 Jun 2007 20:37:56 -0000 1.3 *************** *** 68,77 **** var initialLocation = dhtmlHistory.getCurrentLocation(); // if no location specified, use the default ! if ((initialLocation == '' || initialLocation == null) && tree.allNodes[0]) { if (tree.allNodes[0].childNodes) { // First set default, then loop to find real document queryPath = tree.allNodes[0].id; for (var i = 0; i < tree.allNodes[0].childNodes.length; i++) { if (tree.allNodes[0].childNodes[i].isDocument()) { --- 68,83 ---- var initialLocation = dhtmlHistory.getCurrentLocation(); + // The App has received a standard GET url + if (articlePath != '') + { + initialLocation = articlePath; + } // if no location specified, use the default ! else if ((initialLocation == '' || initialLocation == null) && tree.allNodes[0]) { if (tree.allNodes[0].childNodes) { // First set default, then loop to find real document queryPath = tree.allNodes[0].id; + for (var i = 0; i < tree.allNodes[0].childNodes.length; i++) { if (tree.allNodes[0].childNodes[i].isDocument()) { *************** *** 94,97 **** --- 100,104 ---- } } + } Index: management.js.php =================================================================== RCS file: /cvsroot/mxbb/mx_simpledoc/simpledoc/includes/js/management.js.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** management.js.php 17 Sep 2006 21:03:37 -0000 1.4 --- management.js.php 2 Jun 2007 20:37:56 -0000 1.5 *************** *** 42,53 **** } ! var tabsLoading = new Fader("tabs-loading"); ! var tabsSaving = new Fader("tabs-saving"); //var AjaxRequest = new AjaxRequest(); ! function tabsLoadingOn() { document.getElementById("tabs-loading").style.display = "block"; tabsLoading.start(); } ! function tabsLoadingOff() { document.getElementById("tabs-loading").style.display = "none"; tabsLoading.stop(); } ! function tabsSavingOn() { document.getElementById("tabs-saving").style.display = "block"; tabsSaving.start(); } ! function tabsSavingOff() { document.getElementById("tabs-saving").style.display = "none"; tabsSaving.stop(); } function documentInfo() { --- 42,58 ---- } ! //var tabsLoading = new Fader("tabs-loading"); ! //var tabsSaving = new Fader("tabs-saving"); //var AjaxRequest = new AjaxRequest(); ! ! //function tabsLoadingOn() { document.getElementById("tabs-loading").style.display = "block"; tabsLoading.start(); } ! function tabsLoadingOn() { } ! //function tabsLoadingOff() { document.getElementById("tabs-loading").style.display = "none"; tabsLoading.stop(); } ! function tabsLoadingOff() { } ! //function tabsSavingOn() { document.getElementById("tabs-saving").style.display = "block"; tabsSaving.start(); } ! function tabsSavingOn() { } ! //function tabsSavingOff() { document.getElementById("tabs-saving").style.display = "none"; tabsSaving.stop(); } ! function tabsSavingOff() { } function documentInfo() { *************** *** 134,140 **** AjaxRequest.get( { ! 'url':'modules/mx_simpledoc/simpledoc/modules/simpledoc__tab-view-publish.php' ! ,'parameters':{ 'id': escape(treeGetId()), 'block_id':mxBlock.block_id, 'page_id':mxBlock.page_id } ! ,'onLoading':function() { el('tabs-data').innerHTML = ""; tabsLoadingOn(); } ,'onComplete':function() { tabsLoadingOff(); } ,'onSuccess':function(req){ el('tabs-data').innerHTML = stripBodyHtml(req.responseText); generateParentTOC('view'); generateTOC('view');} --- 139,145 ---- AjaxRequest.get( { ! 'url':'modules/mx_kb/kb/modules/tabs/kb__tab-view.php' ! ,'parameters':{ 'mode':'article', 'k': escape(treeGetId().substr(treeGetId().lastIndexOf("/")+1)), 'id': escape(treeGetId()), 'block_id':mxBlock.block_id, 'page_id':mxBlock.page_id } ! ,'onLoading':function() { clearTabs(); tabsLoadingOn(); } ,'onComplete':function() { tabsLoadingOff(); } ,'onSuccess':function(req){ el('tabs-data').innerHTML = stripBodyHtml(req.responseText); generateParentTOC('view'); generateTOC('view');} *************** *** 177,180 **** --- 182,186 ---- } + // The top right toc // this snippet doesn't work if there is a folder named "html" // Only used when the doc is generated as part of the app - inline (scripts are stripped in plain code) *************** *** 225,228 **** --- 231,235 ---- } + // ?? // this snippet doesn't work if there is a folder named "html" // Only used when the doc is generated as part of the app - inline (scripts are stripped in plain code) *************** *** 235,239 **** if(!document.getElementById("sectioncontents")) { ! document.getElementById("tabs-data").innerHTML = addTocDiv(''); } --- 242,247 ---- if(!document.getElementById("sectioncontents")) { ! //document.getElementById("tabs-data").innerHTML = addTocDiv(''); ! document.getElementById("tabs-data").innerHTML = addTocDiv(document.getElementById("tabs-data").innerHTML); } *************** *** 327,333 **** function clearTabs() { ! el('tab1').className = "tab"; ! el('tab2').className = "tab right"; ! el('tabs-data').innerHTML = ""; } --- 335,341 ---- function clearTabs() { ! if(el('tab1')) {el('tab1').className = "tab";} ! if(el('tab2')) {el('tab2').className = "tab right";} ! if(el('tabs-data')) {el('tabs-data').innerHTML = "";} } |
|
From: Jon O. <jon...@us...> - 2007-06-02 19:57:00
|
Update of /cvsroot/mxbb/mx_kb/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8824/templates/subSilver Added Files: kb_app.tpl kb_article_app.tpl Log Message: new block - kb_app --- NEW FILE: kb_article_app.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> <span class="maintitle">{ARTICLE_TITLE}</span> <p><span class="gensmall"><b>{ARTICLE_DESCRIPTION}</b></span> <div class="articleDetails"> <table width="100%" cellpadding="4" cellspacing="1" border="0"> <tr> <td class="row2"> <span class="gensmall"><b>{L_ARTICLE_AUTHOR}</b></span> <span class="gensmall">{ARTICLE_AUTHOR}</span><br /> <span class="gensmall"><b>{L_ARTICLE_DATE}</b></span> <span class="gensmall">{ARTICLE_DATE}</span><br /> <span class="gensmall">{VIEWS}</span><br /> <span class="gensmall"><b>{L_ARTICLE_TYPE}</b></span> <span class="gensmall">{ARTICLE_TYPE}</span><br /> <!-- BEGIN custom_field --> <span class="gensmall"><b>{custom_field.CUSTOM_NAME}</b> </span> <span class="gensmall">{custom_field.DATA} </span><br /> <!-- END custom_field --> <!-- BEGIN switch_ratings --> <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> </tr> </table> </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"> {L_GOTO_PAGE} <!-- BEGIN pages --> {switch_pages.pages.PAGE_LINK} <!-- END pages --> </span> <!-- END switch_pages --> <p><span class="cattitle"> {EDIT_IMG} {DELETE_IMG}</span> <!-- BEGIN use_comments --> <p> <div class="articleDetails"><span class="cattitle">{use_comments.L_COMMENTS}</span></div> <!-- BEGIN no_comments --> <p><span class="genmed">{use_comments.no_comments.L_NO_COMMENTS}</span> <!-- END no_comments --> <p> <table width="100%" cellspacing="0" cellpadding="4" border="1"> <!-- BEGIN text --> <tr> <td width="100" align="left" valign="top" class="row2"> <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> <!-- END text --> </table> <p> <!-- 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 --> <p> <!-- 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: kb_app.tpl --- <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}kb/includes/js/common.js"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}kb/shared/XulMenu/XulMenu.js"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}kb/shared/XulMenu/ie5.js"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}kb/shared/DynamicTree/DynamicTree.js"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}kb/shared/XulTabs/XulTabs.js"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}kb/includes/js/management.js.php"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}kb/includes/js/request.js.php"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}kb/includes/js/debug.js"></script> <script type="text/javascript" src="{MX_ROOT_PATH}modules/mx_shared/ajax/AjaxRequest_comp.js"></script> <script type="text/javascript" src="{MX_ROOT_PATH}modules/mx_shared/ajax/dhtmlHistory.js"></script> <script type="text/javascript"> function _mxBlock(id, page) { this.block_id = id; this.page_id = page; } mxBlock = new _mxBlock('{BLOCK_ID}','{PAGE_ID}'); articlePath = '{ARTICLE_PATH}'; </script> <style type="text/css"> <!-- /* SimpleDoc [www.gosu.pl], administration interface */ #menu { position: relative z-index: 10; } #menu_top { height: 30px; padding: 15px 15px 0 15px; } td.simpledoc_title { font-size: 13px; font-weight: bold; margin: 0; padding: 10px; margin-bottom: 0.6em; border: {T_TH_COLOR1} 1px solid; border-style: none none solid none; } .nomargin { margin-bottom: 0; } .hr { font-size: 0px; border-width: 1px; border-color: {T_TH_COLOR1}; border-style: solid none none none; margin-top: 2px; margin-bottom: 2px; } #main { } #left { width: 500px; padding: 15px 15px 15px 15px; border-right: 1px solid {T_TH_COLOR1}; vertical-align: top; } #right { padding: 15px 15px 15px 15px; vertical-align: top; height: 100%; width: 100%;} #tabs-loading, #tabs-saving { position: absolute; z-index: 10; display: none; opacity: 0.8; -moz-opacity: 0.8; filter: alpha(opacity=80); } img { border: 0; } ul { margin: 1em 0 1em 3em; padding: 0; } #tabs-data, #tabs-data table { font-family: {T_FONTFACE1}; font-size: 11px; color: {T_BODY_TEXT}; background: {T_TR_COLOR1}; width: 100%; } .t0 { border: {T_TH_COLOR1} 1px solid; } .t1 { background: {T_TR_COLOR2}; padding: 3px 8px; } .t2 { background: {T_TR_COLOR2}: 3px 8px; } #saved { color: {T_BODY_TEXT}; } .error { color: red; } .message { color: green; } .note { font-weight: bold; } .message-box { padding: 1em; background: {T_TD_COLOR2}; border: {T_TH_COLOR3} 1px solid; } 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; } .sectioncontents ul { list-style: none; margin-left: 1.5em; margin-right: 0.5em; margin-bottom: 2px; margin-top: 0px; padding: 1px;} .sectioncontents a { color: {T_BODY_LINK}; text-decoration: none; } .sectioncontents a:hover { color: {T_BODY_VLINK}; text-decoration: underline; cursor: hand; } /* SimpleDoc [www.gosu.pl], style for DynamicTree */ .DynamicTree { font-family: {T_FONTFACE1}; font-size: 11px; white-space: nowrap; cursor: default; } .DynamicTree .wrap1, .DynamicTree .actions { -moz-user-select: none; } .DynamicTree a, .DynamicTree a:hover { color: {T_BODY_VLINK}; text-decoration: none; cursor: hand; } .DynamicTree .text { padding: 1px; cursor: pointer; } .DynamicTree .text-active { background: {T_TR_COLOR1}; padding: 1px; cursor: pointer; } .DynamicTree div.folder img, .DynamicTree div.doc img { border: 0; vertical-align: -30%; } * html .DynamicTree .folder img, * html .DynamicTree .doc img { vertical-align: -40%; } .DynamicTree .section { background: url({MX_ROOT_PATH}{MODULE_ROOT_PATH}kb/shared/DynamicTree/images/tree-branch.gif) repeat-y; display: none; } .DynamicTree .last { background: none; } .DynamicTree div.folder div.folder { margin-left: 18px; } .DynamicTree div.doc div.doc, .DynamicTree div.folder div.doc { margin-left: 18px; } .DynamicTree ul {} .DynamicTree li.folder {} .DynamicTree li.doc {} .DynamicTree .actions { margin-top: 7px; margin-left: 0px; height: 20px; float:left; } .DynamicTree .tooltip { margin-top: 28px; margin-left: 0px; height: 5px; } .DynamicTree .moveUp, .DynamicTree .moveDown, .DynamicTree .moveLeft, .DynamicTree .moveRight, .DynamicTree .insert, .DynamicTree .remove { margin-top: 4px; width: 20px; height: 20px; display: block; border: 1px solid {T_TH_COLOR1}; cursor: default; float:left; } .DynamicTree .moveUp:hover, .DynamicTree .moveDown:hover, .DynamicTree .moveLeft:hover, .DynamicTree .moveRight:hover, .DynamicTree .insert:hover, .DynamicTree .remove:hover { background-color: {T_TR_COLOR1}; border: 1px solid {T_TH_COLOR3}; } .DynamicTree .top { font-weight: bold; padding-left: 0px; line-height: 20px; color: {T_BODY_TEXT}; border-width: 2px; border-color: {T_TH_COLOR2}; border-style: none none border-width: 1px; border-color: {T_TH_COLOR2}; border-style: none none solid none; margin-bottom: 5px;} .DynamicTree .wrap1 { padding: 10px; border: 1px solid {T_TH_COLOR1}; width: 150px; } .DynamicTree .wrap2 { margin-left: 2px; } .DynamicTree #tree-insert-form { display: none; margin-top: 5em; } .DynamicTree #tree-insert-form .label { text-align: right; width: 50px; padding-right: 8px; } .DynamicTree #tree-insert-form .input { margin-bottom: 2px; padding-left: 3px; } .DynamicTree #tree-insert-form select { margin-bottom: 2px; } .DynamicTree #tree-insert-form .button { margin-top: 4px; } .XulMenu { font-family: georgia, tahoma, verdana; font-size: 11px; -moz-user-select: none; } .XulMenu .button, .XulMenu .button:hover, .XulMenu .button-active, .XulMenu .button-active:hover { line-height: normal; padding: 4px 8px 3px 8px; border: 1px solid {T_TR_COLOR2}; color: {T_BODY_TEXT}; text-decoration: none; cursor: default; white-space: nowrap; display: block; position: relative; } .XulMenu .button:hover { border-color: #ffffff #ACA899 #ACA899 #ffffff; } .XulMenu .button-active, .XulMenu .button-active:hover { border-color: #ACA899 #ffffff #ffffff #ACA899; } .XulMenu .item, .XulMenu .item:hover, .XulMenu .item-active, .XulMenu .item-active:hover { background: #ffffff; line-height: normal; padding: 3px 30px 3px 20px; color: #000000; text-decoration: none; cursor: default; white-space: nowrap; display: block; position: relative; } .XulMenu .item:hover, .XulMenu .item-active, .XulMenu .item-active:hover { background: #316AC5; color: #ffffff; } .XulMenu .section { background: #ffffff; border: 1px solid; border-color: #F1EFE2 #716F64 #716F64 #F1EFE2; padding: 2px 1px 1px 2px; position: absolute; visibility: hidden; z-index: -1; margin-top: 25px; } .XulMenu .arrow { position: absolute; top: 7px; right: 8px; border: 0; } .XulMenu .hr { font-size: 0px; border-width: 1px; border-color: #aca899; border-style: solid none none none; margin-top: 2px; margin-bottom: 2px; margin-left: 4px; margin-right: 4px; } * html .XulMenu td { position: relative; } /* ie 5.0 fix */ /* SimpleDoc [www.gosu.pl], style for tabs */ .XulTabs .wrap1 { height: 23px; } .XulTabs .wrap1 td { vertical-align: bottom; } .XulTabs .tab, .XulTabs .tab:hover, .XulTabs .tab-active, .XulTabs .tab-active:hover { text-decoration: none; padding: 3px 10px 3px 10px; border-top: 1px solid {T_TH_COLOR1}; border-left: 1px solid {T_TH_COLOR1}; color: {T_BODY_LINK}; cursor: default; white-space: nowrap; display: block; } .XulTabs .tab:hover { border-top: 2px solid {T_BODY_VLINK}; padding-top: 2px; } .XulTabs .tab-active, .XulTabs .tab-active:hover { border-top: 3px solid {T_BODY_VLINK}; padding-top: 2px; padding-bottom: 4px; font-weight: bold; } .XulTabs .view { border-right: 1px solid {T_TH_COLOR1}; } .XulTabs .content { border: 1px solid {T_TH_COLOR1}; background: {T_TR_COLOR1}; width: 100%; height: 100%; } .XulTabs .wrap2 { vertical-align: top; padding: 15px; } .XulTabs .data { display: none; } * html .XulTabs .tab, * html .XulTabs .tab:hover, * html .XulTabs .tab-active, * html .XulTabs .tab-active:hover { width: 100%; } .articleDetails { background: {T_TR_COLOR2}; margin-top:5px; margin-bottom:5px; width: 100%; display: block; border: 1px solid {T_TH_COLOR1}; } --> </style> <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%"> <tr> <td> <!-- MAIN --> <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"> <tr> <td class="row2"> <div class="wrap1"> <div class="top">{L_TOC}</div> <div class="row2"> <div id="tree"> {TREE_HTML} </div> </div> </div> </td> </tr> </table> </div> <script type="text/javascript">var tree = new DynamicTree("tree"); tree.path = "{MX_ROOT_PATH}{MODULE_ROOT_PATH}kb/shared/DynamicTree/images/"; tree.init();</script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}kb/includes/js/init_view.js"></script> </td> <td id="right" class="row1"> <table cellspacing="0" cellpadding="0" width="100%" height="100%" id="tabs" class="XulTabs"> <tr> <td colspan="2"> <table cellspacing="0" cellpadding="0" class="content"> <tr> <td class="wrap2"> <div id="tabs-loading">{L_LOADING}</div> <div id="tabs-saving">{L_SAVING}</div> <div id="tabs-data"></div> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> |
|
From: Jon O. <jon...@us...> - 2007-06-02 19:57:00
|
Update of /cvsroot/mxbb/mx_kb/kb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8824/kb/modules Added Files: kb_app.php Log Message: new block - kb_app --- NEW FILE: kb_app.php --- <?php /** * * @package mxBB Portal Module - mx_simpledoc * @version $Id: kb_app.php,v 1.1 2007/06/02 19:56:53 jonohlsson Exp $ * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if( !defined('IN_PORTAL') ) { die("Hacking attempt"); } class mx_kb_app extends mx_kb_public { function main( $action ) { global $template, $lang, $db, $theme, $board_config, $phpEx, $kb_config, $debug, $mx_root_path, $module_root_path; global $mx_page, $mx_block, $mx_request_vars, $article_path; $current_article_id = $mx_request_vars->is_request('k') ? $mx_request_vars->request('k', MX_TYPE_INT, '') : ''; $template->set_filenames( array( 'body' => 'kb_app.tpl' )); $edit_auth = ( $mx_block->auth_view && $mx_block->auth_edit && $mx_block->show_block ) || $mx_block->auth_mod ? true : false; // Also sets $article_path $tree_html = $this->generate_app_tree($current_article_id); $template->assign_vars( array( 'MX_ROOT_PATH' => $mx_root_path, 'MODULE_ROOT_PATH' => $module_root_path, 'TEMPLATE_PATH' => $template->module_template_path, 'BLOCK_ID' => $mx_block->block_id, 'PAGE_ID' => $mx_page->page_id, 'ARTICLE_PATH' => $article_path, 'L_PROJECT_NAME' => $simpledoc_projectName, // // Menu // 'MODE_MANAGE_URL' => $this->this_mxurl('mode=index'), 'MODE_PUBLISH_URL' => $this->this_mxurl('mode=publish'), 'MODE_PUBLISH_EXPORT_URL' => $this->this_mxurl('mode=publish_export'), 'MODE_IMPORT_URL' => $this->this_mxurl('mode=import'), 'MODE_EXPORT_URL' => $this->this_mxurl('mode=export'), 'MODE_SETTINGS_URL' => $this->this_mxurl('mode=settings'), 'TREE_HTML' => $tree_html, // // Menu langs // 'L_PROJECT' => $lang['sd_Project'], 'L_MANAGEMENT' => $lang['sd_Management'], 'L_PUBLISH' => $lang['sd_Publish'], 'L_IMPORT_CONTENT' => $lang['sd_Import_content'], 'L_EXPORT_CONTENT' => $lang['sd_Export_content'], 'L_OPTIONS' => $lang['sd_Options'], 'L_SETTINGS' => $lang['sd_Settings'], 'L_HELP' => $lang['sd_Help'], 'L_CONTENTS' => $lang['sd_Contents'], 'L_ABOUT' => $lang['sd_About'], // // Tree // 'L_TREE_VIEW' => $lang['sd_Tree_View'], 'L_TOC' => $lang['sd_Toc'], 'L_WHERE' => $lang['sd_Where'], 'L_BEFORE' => $lang['sd_Before'], 'L_AFTER' => $lang['sd_After'], 'L_TYPE' => $lang['sd_Type'], 'L_NAME' => $lang['sd_Name'], 'L_DOCUMENT' => $lang['sd_Document'], 'L_FOLDER' => $lang['sd_Folder'], // // Theme // 'T_TR_COLOR1' => '#'.$theme['tr_color1'], // row1 'T_TR_COLOR2' => '#'.$theme['tr_color2'], // row2 'T_TR_COLOR3' => '#'.$theme['tr_color3'], // row3 'T_BODY_TEXT' => '#'.$theme['body_text'], 'T_BODY_LINK' => '#'.$theme['body_link'], 'T_BODY_VLINK' => '#'.$theme['body_vlink'], 'T_BODY_HLINK' => '#'.$theme['body_hlink'], 'T_TH_COLOR1' => '#'.$theme['th_color1'], // Border Colors (main) 'T_TH_COLOR2' => '#'.$theme['th_color2'], // Border Colors (forumline) 'T_TH_COLOR3' => '#'.$theme['th_color3'], // Border Colors (bozes) 'T_FONTFACE1' => $theme['fontface1'], 'T_TD_COLOR1' => '#'.$theme['td_color1'], // Background code/quote 'T_TD_COLOR2' => '#'.$theme['td_color2'], // Background post/input // // View // 'L_DOC_INFO' => $lang['sd_Doc_info'], 'L_EDIT_CONTENT' => $lang['sd_Edit_content'], 'L_DEFAULT_EDIT' => $lang['sd_Default_edit'], 'L_LOADING' => $lang['sd_Loading'], 'L_SAVING' => $lang['sd_Saving'], 'MANAGE' => $edit_auth ? ' - <a href="'.$this->this_mxurl('mode=index').'" >[' . $lang['sd_Management'] . ']</a>' : '', )); } } ?> |
|
From: Jon O. <jon...@us...> - 2007-06-02 19:57:00
|
Update of /cvsroot/mxbb/mx_kb/kb/modules/tabs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8824/kb/modules/tabs Added Files: .htaccess kb__tab-view.php Log Message: new block - kb_app --- NEW FILE: .htaccess --- allow from all --- NEW FILE: kb__tab-view.php --- <?php /** * * @package mxBB Portal Module - mx_kb * @version $Id: kb__tab-view.php,v 1.1 2007/06/02 19:56:53 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ define( 'IN_PORTAL', 1 ); $mx_root_path = "./../../../../../"; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($mx_root_path . 'common.' . $phpEx); define( 'MXBB_MODULE', true ); define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.' . $phpEx ) ); $is_block = true; // // Page selector // $page_id = $mx_request_vars->request('page_id', MX_TYPE_INT, 0); // // Start session, user and style (template + theme) management // - populate $userdata, $lang, $theme, $images and initiate $template. // $mx_user->init($user_ip, - ( 1000 + $page_id )); // // Load and instatiate page and block classes // $mx_page = new mx_page(); $mx_page->init( $page_id ); $mx_block = new mx_block(); // // Block selector // $block_id = $mx_request_vars->request('block_id', MX_TYPE_INT, 0); // // Instatiate block // $mx_block->init( $block_id ); // // Extract 'what posts to view info', the cool Array ;) // $kb_type_select_var = $mx_block->get_parameters( 'kb_type_select' ); $kb_type_select_data = ( !empty( $kb_type_select_var ) ) ? unserialize( $kb_type_select_var ) : array(); // // Page Auth and IP filter // if ( !$mx_page->auth_view && $userdata['session_logged_in'] ) { echo('Not authorized - 1'); return; } elseif ( !$mx_page->auth_view && !$userdata['session_logged_in'] ) { echo('Not authorized - 2'); return; } elseif ( !$mx_page->auth_ip ) { echo('Not authorized - 3'); return; } // // Page Auth and IP filter // if ( !( ( $mx_block->auth_view && $mx_block->show_block ) || $mx_block->auth_mod ) ) { echo('Not authorized - 4'); return; } // // Define $module_root_path, to be used within blocks // $module_root_path = $mx_root_path . $mx_block->module_root_path; // ------------------------------------------------------------------------------------------------------------------------- // ------------------------------------------------------------------------------------------------------------------------- // Start // ------------------------------------------------------------------------------------------------------------------------- // ------------------------------------------------------------------------------------------------------------------------- // =================================================== // Include the common file // =================================================== include_once( $module_root_path . 'kb/kb_common.' . $phpEx ); // =================================================== // Get mode variables, otherwise set it to the main // =================================================== $mode = $mx_request_vars->request('mode', MX_TYPE_NO_TAGS, 'article'); $print_version = false; $kb_config['reader_mode'] = false; $kb_config['app_mode'] = true; // =================================================== // Is admin? // =================================================== $is_admin = ( ( $userdata['user_level'] == ADMIN ) && $userdata['session_logged_in'] ) ? true : 0; // =================================================== // if the database disabled give them a nice message // =================================================== if ( intval( $kb_config['module_enable'] ) ) { mx_message_die( GENERAL_MESSAGE, $lang['kb_disable'] ); } // =================================================== // an array of all expected actions // =================================================== $actions = array( 'article' => 'article', 'search' => 'search', 'rate' => 'rate', 'stats' => 'stats', 'post_comment' => 'post_comment', ); $mx_kb->module( $actions[$mode] ); $mx_kb->modules[$actions[$mode]]->main( $mode ); $template->assign_vars( array( 'U_PORTAL' => $mx_root_path, 'L_PORTAL' => "<<", 'U_KB' => append_sid( $mx_kb->this_mxurl() ), 'L_KB' => $lang['KB_title'] ) ); $CONFIG['encoding'] = 'iso-8859-1'; // Date in the past header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // always modified header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // HTTP/1.1 header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); // HTTP/1.0 header("Pragma: no-cache"); header('Content-type: text/html; charset='.$CONFIG['encoding']); $template->pparse( 'body' ); ?> |
|
From: Jon O. <jon...@us...> - 2007-06-02 19:57:00
|
Update of /cvsroot/mxbb/mx_kb/kb/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8824/kb/admin Added Files: index.htm Log Message: new block - kb_app --- 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-06-02 19:57:00
|
Update of /cvsroot/mxbb/mx_kb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8824 Modified Files: db_install.php db_upgrade.php Added Files: kb_app.php Log Message: new block - kb_app Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_upgrade.php,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** db_upgrade.php 30 Jan 2007 16:26:09 -0000 1.42 --- db_upgrade.php 2 Jun 2007 19:56:52 -0000 1.43 *************** *** 30,34 **** } ! $mx_module_version = '2.2.0'; $mx_module_copy = 'Original phpBB <i>Knowledge Base</i> MOD by <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=89202" target="_phpbb" >wGEric/Jon</a> :: Adapted for mxBB by <a href="http://www.mxbb.net" target="_blank">Jon</a>'; --- 30,34 ---- } ! $mx_module_version = '2.2.2'; $mx_module_copy = 'Original phpBB <i>Knowledge Base</i> MOD by <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=89202" target="_phpbb" >wGEric/Jon</a> :: Adapted for mxBB by <a href="http://www.mxbb.net" target="_blank">Jon</a>'; Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_install.php,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** db_install.php 28 Apr 2007 19:59:03 -0000 1.50 --- db_install.php 2 Jun 2007 19:56:52 -0000 1.51 *************** *** 30,34 **** } ! $mx_module_version = '2.2.0'; $mx_module_copy = 'Original phpBB <i>Knowledge Base</i> MOD by <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=89202" target="_phpbb" >wGEric/Jon</a> :: Adapted for mxBB by <a href="http://www.mxbb.net" target="_blank">Jon</a>'; --- 30,34 ---- } ! $mx_module_version = '2.2.2'; $mx_module_copy = 'Original phpBB <i>Knowledge Base</i> MOD by <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=89202" target="_phpbb" >wGEric/Jon</a> :: Adapted for mxBB by <a href="http://www.mxbb.net" target="_blank">Jon</a>'; --- NEW FILE: kb_app.php --- <?php /** * * @package mxBB Portal Module - mx_kb * @version $Id: kb_app.php,v 1.1 2007/06/02 19:56:52 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if ( file_exists( './viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define( 'MXBB_MODULE', false ); define( 'IN_PHPBB', true ); define( 'IN_PORTAL', true ); // When run as a phpBB mod these paths are identical ;) $phpbb_root_path = $module_root_path = $mx_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $phpbb_root_path . 'common.' . $phpEx ); define( 'PAGE_KB', -501 ); // If this id generates a conflict with other mods, change it ;) // Start session management $userdata = session_pagestart( $user_ip, PAGE_KB ); init_userprefs( $userdata ); // End session management } else // --------------------------------------------------------------------------------- mxBB Module MODE { define( 'MXBB_MODULE', true ); if ( !function_exists( 'read_block_config' ) ) { define( 'IN_PORTAL', true ); $mx_root_path = './../../'; $module_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); // End session management define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.' . $phpEx ) ); include_once( $module_root_path . 'kb/includes/kb_pages.' . $phpEx ); $mx_get_page = new kb_pages(); $mx_get_page->init('kb.php'); $start = ( isset( $HTTP_GET_VARS['start'] ) ) ? intval( $HTTP_GET_VARS['start'] ) : 0; $url = ''; if ( empty( $mx_get_page->item_id ) ) { $url = PORTAL_URL . 'index.php?page=' . $mx_get_page->page_id . '&mode=cat&cat=' . $mx_get_page->cat_id; } else if ( !empty( $mx_get_page->item_id ) ) { $url = PORTAL_URL . 'index.php?page=' . $mx_get_page->page_id . '&mode=article&k=' . $mx_get_page->item_id; } if (isset($HTTP_GET_VARS['print'])) { $url .= '&print=true'; } if ( !empty( $url ) && !$mx_get_page->error ) { if ( !empty( $db ) ) { $db->sql_close(); } if ( @preg_match( '/Microsoft|WebSTAR|Xitami/', getenv( 'SERVER_SOFTWARE' ) ) ) { header( 'Refresh: 0; URL=' . $url ); echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">' . "\n" . '<html><head>' . "\n" . '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">' . "\n" . '<meta http-equiv="refresh" content="0; url=' . $url . '">' . "\n" . '<title>Redirect</title>' . "\n" . '<script language="javascript" type="text/javascript">' . "\n" . '<!--' . "\n" . 'if( document.images ) {' . "\n" . "\t" . 'parent.location.replace("' . $url . '");' . "\n" . '} else {' . "\n" . "\t" . 'parent.location.href = "' . $url . '";' . "\n" . '}' . "\n" . '// -->' . "\n" . '</script>' . "\n" . '</head>' . "\n" . '<body>' . "\n" . '<div align="center">If your browser does not support meta redirection please click ' . '<a href="' . $url . '">HERE</a> to be redirected</div>' . "\n" . '</body></html>'; exit; } @header( 'Location: ' . $url ); } else { if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } if ( MXBB_27x ) { mx_message_die( GENERAL_MESSAGE, $lang['Standalone_Not_Supported'] ); } else { die('No article or redirect'); } } } else { if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.' . $phpEx ) ); // // Read Block Settings (default mode) // $title = !empty( $mx_block->block_info['block_title'] ) ? $mx_block->block_info['block_title'] : $lang['KB_title']; $desc = $mx_block->block_info['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); // // Extract 'what posts to view info', the cool Array ;) // $kb_type_select_var = $mx_block->get_parameters( 'kb_type_select' ); $kb_type_select_data = ( !empty( $kb_type_select_var ) ) ? unserialize( $kb_type_select_var ) : array(); $is_block = true; global $images; } } // ------------------------------------------------------------------------------------------------------------------------- // ------------------------------------------------------------------------------------------------------------------------- // Start // ------------------------------------------------------------------------------------------------------------------------- // ------------------------------------------------------------------------------------------------------------------------- // =================================================== // Include the common file // =================================================== include_once( $module_root_path . 'kb/kb_common.' . $phpEx ); // =================================================== // Get mode variables, otherwise set it to the main // =================================================== $mode = $mx_request_vars->request('mode', MX_TYPE_NO_TAGS, 'app'); $print_version = $mx_request_vars->is_request('print', MX_TYPE_NO_TAGS, ''); $kb_config['reader_mode'] = false; // =================================================== // Is admin? // =================================================== $is_admin = ( ( $userdata['user_level'] == ADMIN ) && $userdata['session_logged_in'] ) ? true : 0; // =================================================== // if the database disabled give them a nice message // =================================================== if ( intval( $kb_config['module_enable'] ) ) { mx_message_die( GENERAL_MESSAGE, $lang['kb_disable'] ); } // =================================================== // an array of all expected actions // =================================================== $actions = array( 'app' => 'app', 'article' => 'app', 'view' => 'app', 'cat' => 'cat', 'add' => 'post', 'search' => 'search', 'edit' => 'post', 'rate' => 'rate', 'stats' => 'stats', 'mcp' => 'mcp', 'post_comment' => 'post_comment', 'main' => 'main' ); // =================================================== // Lets Build the page // =================================================== $mx_kb->module( $actions[$mode] ); $mx_kb->modules[$actions[$mode]]->main( $mode ); // // load module header // if ( !$print_version ) { //$mx_kb_functions->page_header(); } // // Some general template vars // $template->assign_vars( array( 'U_PORTAL' => $mx_root_path, 'L_PORTAL' => "<<", 'U_KB' => append_sid( $mx_kb->this_mxurl() ), 'L_KB' => $lang['KB_title'] ) ); if ( $print_version) { ob_start(); } $template->pparse( 'body' ); if ( $print_version ) { $print_contents = ob_get_contents(); ob_end_clean(); die($print_contents); } // // load module footer // if ( !$print_version ) { //$mx_kb_functions->page_footer(); } ?> |
|
From: Jon O. <jon...@us...> - 2007-06-02 19:54:08
|
Update of /cvsroot/mxbb/mx_kb/kb/modules/tabs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7736/tabs Log Message: Directory /cvsroot/mxbb/mx_kb/kb/modules/tabs added to the repository |
|
From: Jon O. <jon...@us...> - 2007-06-02 19:47:21
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4867 Modified Files: pa_mini.tpl Log Message: updated Index: pa_mini.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/pa_mini.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pa_mini.tpl 31 May 2007 19:54:14 -0000 1.2 --- pa_mini.tpl 2 Jun 2007 19:47:18 -0000 1.3 *************** *** 2,6 **** <tr> <td> ! <table width="100%" cellpadding="2" cellspacing="0"> <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;}"> --- 2,6 ---- <tr> <td> ! <table width="100%" cellpadding="4" cellspacing="0"> <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;}"> *************** *** 22,30 **** <!-- IF CAT_NAV_SIMPLE --> ! <table width="100%" cellpadding="4" cellspacing="1" border="0"> ! <tr> ! <td class="row1" colspan="2"> ! <table border="0" cellpadding="2" cellspacing="1" width="100%" > ! <!-- BEGIN catcol --> <!-- BEGIN no_cat_parent --> --- 22,27 ---- <!-- IF CAT_NAV_SIMPLE --> ! <table width="100%" cellpadding="2" cellspacing="1" border="0"> ! <tr><td class="row1"><table border="0" cellpadding="2" cellspacing="0" width="100%" > <!-- BEGIN catcol --> <!-- BEGIN no_cat_parent --> *************** *** 34,47 **** </td> <td width="100%" valign="middle" nowrap="nowrap"> ! <a href="{catcol.no_cat_parent.U_CAT}" class="topictitle">{catcol.no_cat_parent.CAT_NAME}</a> <span class="gensmall">({catcol.no_cat_parent.FILECAT})</span><br> ! {catcol.no_cat_parent.SUB_CAT} </td> </tr> <!-- END no_cat_parent --> <!-- END catcol --> ! ! </table> ! </td> ! </tr> </table> <!-- ENDIF --> --- 31,43 ---- </td> <td width="100%" valign="middle" nowrap="nowrap"> ! <a href="{catcol.no_cat_parent.U_CAT}" class="topictitle">{catcol.no_cat_parent.CAT_NAME}</a> <span class="gensmall">({catcol.no_cat_parent.FILECAT})</span> </td> </tr> <!-- END no_cat_parent --> <!-- END catcol --> ! </table></td></tr> ! <tr valign="middle"> ! <td class="cat"><span class="gensmall"> </span></td> ! </tr> </table> <!-- ENDIF --> |
|
From: Jon O. <jon...@us...> - 2007-06-02 19:47:09
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4827 Modified Files: pa_mini.php Log Message: updated Index: pa_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_mini.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pa_mini.php 31 May 2007 21:12:11 -0000 1.4 --- pa_mini.php 2 Jun 2007 19:47:06 -0000 1.5 *************** *** 95,99 **** $sort_options_list = unserialize($mini_config['mini_display_options']); $pafiledb_config['pagination'] = $mini_config['mini_pagination']; ! $total_num_items = $this->display_items( $sort_method, $sort_order, $start, $cat_id, $no_file_message, $sort_options_list ); $pafiledb_template->assign_vars( array( --- 95,103 ---- $sort_options_list = unserialize($mini_config['mini_display_options']); $pafiledb_config['pagination'] = $mini_config['mini_pagination']; ! ! if ($mx_request_vars->is_request('cat_id')) ! { ! $total_num_items = $this->display_items( $sort_method, $sort_order, $start, $cat_id, $no_file_message, $sort_options_list ); ! } $pafiledb_template->assign_vars( array( *************** *** 101,105 **** 'DOWNLOAD' => $pafiledb_config['module_name'], ! 'BLOCK_JUMPMENU' => $this->generate_jumpbox( $mini_config['mini_default_cat_id'], 0, array( $_GET['cat_id'] => 1 ) ), 'MX_PAGE' => $page_id, --- 105,109 ---- 'DOWNLOAD' => $pafiledb_config['module_name'], ! 'BLOCK_JUMPMENU' => $this->generate_jumpbox( $mini_config['mini_default_cat_id'], 0, array( $cat_id => 1 ) ), 'MX_PAGE' => $page_id, |
|
From: Jon O. <jon...@us...> - 2007-06-02 19:46:49
|
Update of /cvsroot/mxbb/mx_linkdb/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4440 Modified Files: link_mini.tpl Log Message: updated Index: link_mini.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/templates/subSilver/link_mini.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** link_mini.tpl 31 May 2007 19:53:40 -0000 1.2 --- link_mini.tpl 2 Jun 2007 19:46:45 -0000 1.3 *************** *** 2,6 **** <tr> <td> ! <table width="100%" cellpadding="2" cellspacing="0"> <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;}"> --- 2,6 ---- <tr> <td> ! <table width="100%" cellpadding="4" cellspacing="0"> <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;}"> *************** *** 23,40 **** <!-- BEGIN CAT_NAV_SIMPLE --> <table width="100%" cellpadding="2" cellspacing="1" border="0"> ! <tr><td class="row1"> ! <table border="0" cellpadding="5" cellspacing="1" 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><br> ! {CAT_NAV_SIMPLE.catrow.catcol.SUB_CAT} </td> </tr> <!-- END catcol --> <!-- END catrow --> ! </table> ! </td></tr> </table> <!-- END CAT_NAV_SIMPLE --> --- 23,40 ---- <!-- 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 --> |
|
From: Jon O. <jon...@us...> - 2007-06-02 19:46:35
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4428 Modified Files: link_mini.php Log Message: updated Index: link_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_mini.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** link_mini.php 31 May 2007 21:11:52 -0000 1.4 --- link_mini.php 2 Jun 2007 19:46:32 -0000 1.5 *************** *** 99,103 **** $sort_options_list = unserialize($mini_config['mini_display_options']); $linkdb_config['pagination'] = $mini_config['mini_pagination']; ! $total_num_items = $this->display_items( $sort_method, $sort_order, $start, $cat_id, $no_file_message, $sort_options_list ); $template->assign_vars( array( --- 99,107 ---- $sort_options_list = unserialize($mini_config['mini_display_options']); $linkdb_config['pagination'] = $mini_config['mini_pagination']; ! ! if ($mx_request_vars->is_request('cat_id')) ! { ! $total_num_items = $this->display_items( $sort_method, $sort_order, $start, $cat_id, $no_file_message, $sort_options_list ); ! } $template->assign_vars( array( *************** *** 106,110 **** 'L_QUICK_JUMP' => $lang['Quick_jump'], ! 'BLOCK_JUMPMENU' => $this->generate_jumpbox( $mini_config['mini_default_cat_id'], 0, array( $_GET['cat_id'] => 1 ) ), 'MX_PAGE' => $page_id, --- 110,114 ---- 'L_QUICK_JUMP' => $lang['Quick_jump'], ! 'BLOCK_JUMPMENU' => $this->generate_jumpbox( $mini_config['mini_default_cat_id'], 0, array( $cat_id => 1 ) ), 'MX_PAGE' => $page_id, |
|
From: Jon O. <jon...@us...> - 2007-06-02 19:46:17
|
Update of /cvsroot/mxbb/mx_kb/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4402 Modified Files: kb_mini.tpl Log Message: updated Index: kb_mini.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/kb_mini.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** kb_mini.tpl 31 May 2007 19:52:53 -0000 1.3 --- kb_mini.tpl 2 Jun 2007 19:46:12 -0000 1.4 *************** *** 2,6 **** <tr> <td> ! <table width="100%" cellpadding="2" cellspacing="0"> <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;}"> --- 2,6 ---- <tr> <td> ! <table width="100%" cellpadding="4" cellspacing="0"> <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;}"> *************** *** 23,40 **** <!-- BEGIN CAT_NAV_SIMPLE --> <table width="100%" cellpadding="2" cellspacing="1" border="0" > ! <tr><td class="row1"> ! <table border="0" cellpadding="5" cellspacing="1" 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_ARTICLES})</span><br> ! {CAT_NAV_SIMPLE.catrow.catcol.SUB_CAT} </td> </tr> <!-- END catcol --> <!-- END catrow --> ! </table> ! </td></tr> </table> <!-- END CAT_NAV_SIMPLE --> --- 23,40 ---- <!-- 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_ARTICLES})</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 --> |
|
From: Jon O. <jon...@us...> - 2007-06-02 19:46:12
|
Update of /cvsroot/mxbb/mx_kb/kb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4001 Modified Files: kb_mini.php Log Message: updated Index: kb_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_mini.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** kb_mini.php 31 May 2007 21:11:16 -0000 1.5 --- kb_mini.php 2 Jun 2007 19:45:59 -0000 1.6 *************** *** 99,103 **** $sort_options_list = unserialize($mini_config['mini_display_options']); $kb_config['pagination'] = $mini_config['mini_pagination']; ! $total_num_items = $this->display_items( $start, $cat_id, $sort_options_list ); $template->assign_vars( array( --- 99,107 ---- $sort_options_list = unserialize($mini_config['mini_display_options']); $kb_config['pagination'] = $mini_config['mini_pagination']; ! ! if ($mx_request_vars->is_request('cat')) ! { ! $total_num_items = $this->display_items( $start, $cat_id, $sort_options_list ); ! } $template->assign_vars( array( *************** *** 106,110 **** 'L_QUICK_JUMP' => $lang['Quick_jump'], ! 'BLOCK_JUMPMENU' => $this->generate_jumpbox( $mini_config['mini_default_cat_id'], 0, array( $_GET['cat_id'] => 1 ) ), 'MX_PAGE' => $page_id, --- 110,114 ---- 'L_QUICK_JUMP' => $lang['Quick_jump'], ! 'BLOCK_JUMPMENU' => $this->generate_jumpbox( $mini_config['mini_default_cat_id'], 0, array( $cat_id => 1 ) ), 'MX_PAGE' => $page_id, |
|
From: Jon O. <jon...@us...> - 2007-05-31 21:12:14
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24692 Modified Files: pa_mini.php Log Message: minor fixes Index: pa_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_mini.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pa_mini.php 31 May 2007 19:54:03 -0000 1.3 --- pa_mini.php 31 May 2007 21:12:11 -0000 1.4 *************** *** 84,87 **** --- 84,88 ---- } + $no_file_message = true; if ( isset( $this->subcat_rowset[$cat_id] ) ) { *************** *** 90,94 **** } - $no_file_message = true; $filelist = false; --- 91,94 ---- |
|
From: Jon O. <jon...@us...> - 2007-05-31 21:11:55
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24297 Modified Files: link_mini.php Log Message: minor fixes Index: link_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_mini.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** link_mini.php 31 May 2007 19:53:27 -0000 1.3 --- link_mini.php 31 May 2007 21:11:52 -0000 1.4 *************** *** 81,84 **** --- 81,86 ---- } + $no_file_message = true; + // // Display subcats *************** *** 87,95 **** { $no_file_message = false; ! $this->display_categories( $cat_id ); } - $no_file_message = true; $filelist = false; --- 89,96 ---- { $no_file_message = false; ! $linkdb_config['use_simple_navigation'] = 'CAT_NAV_SIMPLE'; $this->display_categories( $cat_id ); } $filelist = false; |
|
From: Jon O. <jon...@us...> - 2007-05-31 21:11:19
|
Update of /cvsroot/mxbb/mx_kb/kb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24244 Modified Files: kb_mini.php Log Message: minor fixes Index: kb_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_mini.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** kb_mini.php 31 May 2007 19:52:30 -0000 1.4 --- kb_mini.php 31 May 2007 21:11:16 -0000 1.5 *************** *** 81,84 **** --- 81,86 ---- } + $no_file_message = true; + // // get sub-cats *************** *** 86,93 **** if ( isset( $this->subcat_rowset[$cat_id] ) ) { $this->display_categories( $cat_id ); } - $no_file_message = true; $filelist = false; --- 88,96 ---- if ( isset( $this->subcat_rowset[$cat_id] ) ) { + $no_file_message = false; + $kb_config['use_simple_navigation'] = 'CAT_NAV_SIMPLE'; $this->display_categories( $cat_id ); } $filelist = false; *************** *** 103,107 **** 'L_QUICK_JUMP' => $lang['Quick_jump'], ! 'BLOCK_JUMPMENU' => $this->generate_jumpbox( $mini_config['mini_default_cat_id'], 0, array( $cat_id => 1 ) ), 'MX_PAGE' => $page_id, --- 106,110 ---- 'L_QUICK_JUMP' => $lang['Quick_jump'], ! 'BLOCK_JUMPMENU' => $this->generate_jumpbox( $mini_config['mini_default_cat_id'], 0, array( $_GET['cat_id'] => 1 ) ), 'MX_PAGE' => $page_id, |
|
From: Jon O. <jon...@us...> - 2007-05-31 21:10:57
|
Update of /cvsroot/mxbb/mx_kb/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23818/admin Modified Files: mx_module_defs.php Log Message: minor fixes Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/mx_module_defs.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mx_module_defs.php 30 Aug 2006 19:20:35 -0000 1.14 --- mx_module_defs.php 31 May 2007 21:10:54 -0000 1.15 *************** *** 59,62 **** --- 59,66 ---- $parameter_value = addslashes( serialize( $parameter_value ) ); break; + + case 'kb_quick_cat': + $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_id']]; + break; } *************** *** 125,130 **** global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpEx, $mx_table_prefix, $table_prefix; $module_root_path = $mx_root_path . $mx_blockcp->module_root_path; - //include_once( $module_root_path . "kb/includes/functions_kb.$phpEx" ); include_once( $module_root_path . "kb/includes/kb_constants.$phpEx" ); include_once( $module_root_path . "kb/includes/kb_defs.$phpEx" ); --- 129,136 ---- global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpEx, $mx_table_prefix, $table_prefix; + // + // Includes + // $module_root_path = $mx_root_path . $mx_blockcp->module_root_path; include_once( $module_root_path . "kb/includes/kb_constants.$phpEx" ); include_once( $module_root_path . "kb/includes/kb_defs.$phpEx" ); |
|
From: Jon O. <jon...@us...> - 2007-05-31 19:54:17
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24119 Modified Files: pa_mini.tpl Log Message: minor fixes Index: pa_mini.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/pa_mini.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** pa_mini.tpl 13 Aug 2006 18:53:10 -0000 1.1 --- pa_mini.tpl 31 May 2007 19:54:14 -0000 1.2 *************** *** 21,24 **** --- 21,50 ---- <td align="center"> + <!-- IF CAT_NAV_SIMPLE --> + <table width="100%" cellpadding="4" cellspacing="1" border="0"> + <tr> + <td class="row1" colspan="2"> + <table border="0" cellpadding="2" cellspacing="1" width="100%" > + + <!-- BEGIN catcol --> + <!-- BEGIN no_cat_parent --> + <tr> + <td> + <a href="{catcol.no_cat_parent.U_CAT}"><img src="{catcol.no_cat_parent.CAT_IMAGE}" alt="{catcol.no_cat_parent.CAT_NAME}" align="absmiddle" border="0" /></a> + </td> + <td width="100%" valign="middle" nowrap="nowrap"> + <a href="{catcol.no_cat_parent.U_CAT}" class="topictitle">{catcol.no_cat_parent.CAT_NAME}</a> <span class="gensmall">({catcol.no_cat_parent.FILECAT})</span><br> + {catcol.no_cat_parent.SUB_CAT} + </td> + </tr> + <!-- END no_cat_parent --> + <!-- END catcol --> + + </table> + </td> + </tr> + </table> + <!-- ENDIF --> + <!-- IF FILELIST --> <table width="100%" cellpadding="2" cellspacing="0"> |
|
From: Jon O. <jon...@us...> - 2007-05-31 19:54:08
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24088 Modified Files: pa_mini.php Log Message: minor fixes Index: pa_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_mini.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pa_mini.php 13 Aug 2006 19:44:45 -0000 1.2 --- pa_mini.php 31 May 2007 19:54:03 -0000 1.3 *************** *** 76,79 **** --- 76,82 ---- } + // + // Display subcats + // if ( !isset( $this->cat_rowset[$cat_id] ) ) { *************** *** 81,84 **** --- 84,93 ---- } + if ( isset( $this->subcat_rowset[$cat_id] ) ) + { + $no_file_message = false; + $this->display_categories($cat_id); + } + $no_file_message = true; $filelist = false; |
|
From: Jon O. <jon...@us...> - 2007-05-31 19:53:43
|
Update of /cvsroot/mxbb/mx_linkdb/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24017 Modified Files: link_mini.tpl Log Message: minor fixes Index: link_mini.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/templates/subSilver/link_mini.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** link_mini.tpl 13 Aug 2006 18:52:33 -0000 1.1 --- link_mini.tpl 31 May 2007 19:53:40 -0000 1.2 *************** *** 21,24 **** --- 21,43 ---- <td align="center"> + <!-- BEGIN CAT_NAV_SIMPLE --> + <table width="100%" cellpadding="2" cellspacing="1" border="0"> + <tr><td class="row1"> + <table border="0" cellpadding="5" cellspacing="1" 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><br> + {CAT_NAV_SIMPLE.catrow.catcol.SUB_CAT} + </td> + </tr> + <!-- END catcol --> + <!-- END catrow --> + </table> + </td></tr> + </table> + <!-- END CAT_NAV_SIMPLE --> + <!-- BEGIN FILELIST --> <table width="100%" cellpadding="2" cellspacing="0"> |
|
From: Jon O. <jon...@us...> - 2007-05-31 19:53:42
|
Update of /cvsroot/mxbb/mx_linkdb/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24017/admin Modified Files: linkdb_admin_cat_edit.tpl Log Message: minor fixes Index: linkdb_admin_cat_edit.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/templates/subSilver/admin/linkdb_admin_cat_edit.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** linkdb_admin_cat_edit.tpl 1 Aug 2006 21:02:20 -0000 1.3 --- linkdb_admin_cat_edit.tpl 31 May 2007 19:53:39 -0000 1.4 *************** *** 56,60 **** </tr> <tr> ! <td class="row1">{L_CAT_ALLOWFILE}<br><span class="gensmall">{L_CAT_ALLOWFILE_INFO}</span></td> <td class="row2"> <input type="radio" name="cat_allow_file" value="1" {CHECKED_YES}>{L_YES} --- 56,60 ---- </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} |
|
From: Jon O. <jon...@us...> - 2007-05-31 19:53:31
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23973/admin Modified Files: admin_auth_manage.php admin_cat_manage.php Log Message: minor fixes Index: admin_cat_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_cat_manage.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** admin_cat_manage.php 18 Aug 2006 08:02:45 -0000 1.11 --- admin_cat_manage.php 31 May 2007 19:53:27 -0000 1.12 *************** *** 26,30 **** if ( $mode == 'do_add' && !$cat_id ) { ! $cat_id = $this->update_add_cat(); $mode = 'add'; if ( !sizeof( $this->error ) ) --- 26,30 ---- if ( $mode == 'do_add' && !$cat_id ) { ! $new_cat_id = $this->update_add_cat(); $mode = 'add'; if ( !sizeof( $this->error ) ) *************** *** 37,41 **** elseif ( $mode == 'do_add' && $cat_id ) { ! $cat_id = $this->update_add_cat( $cat_id ); if ( !sizeof( $this->error ) ) { --- 37,41 ---- elseif ( $mode == 'do_add' && $cat_id ) { ! $new_cat_id = $this->update_add_cat( $cat_id ); if ( !sizeof( $this->error ) ) { *************** *** 44,47 **** --- 44,48 ---- mx_message_die( GENERAL_MESSAGE, $message ); } + $mode = 'edit'; } elseif ( $mode == 'do_delete' ) *************** *** 471,563 **** $template->pparse( 'body' ); } - - function admin_cat_main( $cat_parent = 0, $depth = 0 ) - { - global $template, $phpEx; - static $i; - - $pre = str_repeat( ' ', $depth ); - if ( isset( $this->subcat_rowset[$cat_parent] ) ) - { - foreach( $this->subcat_rowset[$cat_parent] as $subcat_id => $cat_data ) - { - if ( $cat_parent == 0 ) - { - $i = 0; - $str = "cat"; - } - else - { - $i++; - $str = ( $i % 2 ) ? "row1" : "row2"; - } - $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 ) - ); - $this->admin_cat_main( $subcat_id, $depth + 1 ); - } - return; - } - return; - } - - /** - * Enter description here... - * - * @param unknown_type $sel_id - * @param unknown_type $use_default_option - * @param unknown_type $select_name - * @return unknown - */ - function get_forums( $sel_id = 0, $use_default_option = false, $select_name = 'forum_id' ) - { - global $db, $lang; - - $sql = "SELECT forum_id, forum_name - FROM " . FORUMS_TABLE; - - if ( !$result = $db->sql_query( $sql ) ) - { - mx_message_die( GENERAL_ERROR, "Couldn't get list of forums", "", __LINE__, __FILE__, $sql ); - } - - $forumlist = '<select name="'.$select_name.'">'; - - if ( $sel_id == 0 ) - { - $forumlist .= '<option value="0" selected >'.$lang['Select_topic_id'].'</option>'; - } - - if ( $use_default_option ) - { - $status = $sel_id == "-1" ? "selected" : ""; - $forumlist .= '<option value="-1" '.$status.' >::'.$lang['Use_default'].'::</option>'; - } - - while ( $row = $db->sql_fetchrow( $result ) ) - { - if ( $sel_id == $row['forum_id'] ) - { - $status = "selected"; - } - else - { - $status = ''; - } - $forumlist .= '<option value="' . $row['forum_id'] . '" ' . $status . '>' . $row['forum_name'] . '</option>'; - } - - $forumlist .= '</select>'; - - return $forumlist; - } } ?> \ No newline at end of file --- 472,475 ---- Index: admin_auth_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_auth_manage.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_auth_manage.php 28 Apr 2007 19:58:25 -0000 1.5 --- admin_auth_manage.php 31 May 2007 19:53:27 -0000 1.6 *************** *** 86,92 **** } ! while ( $kb_row = $db->sql_fetchrow( $result ) ) { ! $groupdata[] = $kb_row; } --- 86,92 ---- } ! while ( $linkdb_row = $db->sql_fetchrow( $result ) ) { ! $groupdata[] = $linkdb_row; } *************** *** 97,100 **** --- 97,101 ---- FROM " . LINK_CATEGORIES_TABLE . " WHERE cat_id = '$cat_id'"; + if ( !$result = $db->sql_query( $sql ) ) { |
|
From: Jon O. <jon...@us...> - 2007-05-31 19:53:31
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23973/includes Modified Files: functions_admin.php Log Message: minor fixes Index: functions_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions_admin.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** functions_admin.php 1 Aug 2006 21:02:19 -0000 1.3 --- functions_admin.php 31 May 2007 19:53:27 -0000 1.4 *************** *** 46,49 **** --- 46,144 ---- * Enter description here... * + * @param unknown_type $cat_parent + * @param unknown_type $depth + */ + function admin_cat_main( $cat_parent = 0, $depth = 0 ) + { + global $template, $phpEx; + static $i; + + $pre = str_repeat( ' ', $depth ); + if ( isset( $this->subcat_rowset[$cat_parent] ) ) + { + foreach( $this->subcat_rowset[$cat_parent] as $subcat_id => $cat_data ) + { + if ( $cat_parent == 0 ) + { + $i = 0; + $str = "cat"; + } + else + { + $i++; + $str = ( $i % 2 ) ? "row1" : "row2"; + } + $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 ) + ); + $this->admin_cat_main( $subcat_id, $depth + 1 ); + } + return; + } + return; + } + + /** + * Enter description here... + * + * @param unknown_type $sel_id + * @param unknown_type $use_default_option + * @param unknown_type $select_name + * @return unknown + */ + function get_forums( $sel_id = 0, $use_default_option = false, $select_name = 'forum_id' ) + { + global $db, $lang; + + $sql = "SELECT forum_id, forum_name + FROM " . FORUMS_TABLE; + + if ( !$result = $db->sql_query( $sql ) ) + { + mx_message_die( GENERAL_ERROR, "Couldn't get list of forums", "", __LINE__, __FILE__, $sql ); + } + + $forumlist = '<select name="'.$select_name.'">'; + + if ( $sel_id == 0 ) + { + $forumlist .= '<option value="0" selected >'.$lang['Select_topic_id'].'</option>'; + } + + if ( $use_default_option ) + { + $status = $sel_id == "-1" ? "selected" : ""; + $forumlist .= '<option value="-1" '.$status.' >::'.$lang['Use_default'].'::</option>'; + } + + while ( $row = $db->sql_fetchrow( $result ) ) + { + if ( $sel_id == $row['forum_id'] ) + { + $status = "selected"; + } + else + { + $status = ''; + } + $forumlist .= '<option value="' . $row['forum_id'] . '" ' . $status . '>' . $row['forum_name'] . '</option>'; + } + + $forumlist .= '</select>'; + + return $forumlist; + } + + /** + * Enter description here... + * * @param unknown_type $cat_id * @return unknown |