|
From: Jon O. <jon...@us...> - 2007-05-05 20:33:34
|
Update of /cvsroot/mxbb/mx_slides/templates/subSilver In directory sc8-pr-cvs16:/tmp/cvs-serv30431/templates/subSilver Added Files: mx_textblock_bbcode.tpl mx_textblock_html.tpl mx_textblock_multi.tpl slides_index.tpl subSilver.cfg Log Message: First commit --- NEW FILE: subSilver.cfg --- <?php // // ** Configuration file for subSilver template ** // // ** copyright (C) 2001 The phpBB Group ** // ** Created by subBlue design ** // ** www.subBlue.com ** // // ** subSilver dev. forum: www.subSky.com/phpBB2/ ** // // $Id: subSilver.cfg,v 1.1 2007/05/05 20:33:29 jonohlsson Exp $ // // Please note that to enable support of different languages // the {LANG} place holder is available. This will be replaced // with xxx where xxx is the users selected language. If // that language isn't available it will default to english. // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // // // Do not alter this line! // define(MX_TEMPLATE_CONFIG, TRUE); $mx_template_config = true; // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; // ------------------------------------------------------------------------- // 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']; // // Last Article block // $mx_images['kb_last_article_folder'] = $images['folder']; $mx_images['kb_icon_latest_reply'] = $images['icon_latest_reply']; ?> --- NEW FILE: slides_index.tpl --- <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}slides/includes/js/common.js"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}slides/shared/XulMenu/ie5.js"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}slides/includes/js/management.js.php"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}slides/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"> function _mxBlock(id, page) { this.block_id = id; this.page_id = page; } mxBlock = new _mxBlock('{BLOCK_ID}','{PAGE_ID}'); slideBlocks = new Array(); <!-- BEGIN slides --> slideBlocks['{slides.ID}'] = {slides.BLOCK_ID}; <!-- END slides --> </script> <style type="text/css"> <!-- #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 { padding: 5px 5px 5px 5px; border-right: 1px solid {T_TH_COLOR1}; vertical-align: top; } #right { padding: 5px 5px 5px 5px; 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 { margin-left: 1.2em; margin-right: 0.75em; margin-bottom: 0; padding: 0; } /* 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: default; } .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%; } .DynamicTree .counter { float:right; margin-top: -15px; } * html .DynamicTree .folder img, * html .DynamicTree .doc img { vertical-align: -40%; } .DynamicTree .section { background: url({MX_ROOT_PATH}{MODULE_ROOT_PATH}bugsbt/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: 200px; height:300px; overflow-x:hidden; overflow-y:auto;} .DynamicTree .wrap2 { margin-left: 2px; } .DynamicTree .wrap3 { padding: 10px; border: 1px solid {T_TH_COLOR1}; width: 200px;} .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; } --> </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> <!-- 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 id="countdown"></div> </div> </td> </tr> </table> </div> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}slides/includes/js/init_main.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> <script type="text/javascript"> if (getCookie("openEditBug")) el('openEditBug').checked = "checked"; </script> --- NEW FILE: mx_textblock_bbcode.tpl --- <span class="cattitle">{L_TITLE}</span> <table width="100%" cellpadding="4" cellspacing="1" border="0"> <tr> <td class="row1" align="left" >{U_TEXT}</td> </tr> </table> --- NEW FILE: mx_textblock_multi.tpl --- <span class="cattitle">{L_TITLE}</span> <table width="100%" cellpadding="4" cellspacing="1" border="0"> <!-- BEGIN switch_toc --> <tr> <td class="row1" align="left" colspan="2"><br /><span class="topictitle">{L_TOC}</span><br /><hr /><span class="nav"> <!-- BEGIN pages --> {switch_toc.pages.TOC_ITEM} <!-- END pages --> </span></td> </tr> <!-- END switch_toc --> <tr> <td class="row1" align="left" colspan="2"><span class="{TEXT_STYLE}">{U_TEXT}</span></td> </tr> <!-- BEGIN switch_pages --> <tr> <td class="row1" align="center" colspan="2"><span class="nav"><hr />{L_GOTO_PAGE} <!-- BEGIN pages --> {switch_pages.pages.PAGE_LINK} <!-- END pages --> </span></td> </tr> <!-- END switch_pages --> </table> --- NEW FILE: mx_textblock_html.tpl --- <span class="cattitle">{L_TITLE}</span> <table width="100%" cellpadding="4" cellspacing="1" border="0"> <tr> <td class="row1" align="left">{U_TEXT}</td> </tr> </table> |