|
From: Jon O. <jon...@us...> - 2005-10-22 10:51:28
|
Update of /cvsroot/mxbb/core/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14247/templates/subSilver/admin Modified Files: mx_blockcp_admin_body.tpl mx_module_admin_body.tpl mx_modulecp_admin_body.tpl mx_pagecp_admin_body.tpl Log Message: massive update, for mxBB 2.8.1 rc1 - most "easy to solve" bugs reported are fixed - optimized adminCP - mod_rewrite - Page IP filter - optimized blockCP - removed old files Index: mx_modulecp_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/mx_modulecp_admin_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_modulecp_admin_body.tpl 9 Sep 2005 09:15:13 -0000 1.1 --- mx_modulecp_admin_body.tpl 22 Oct 2005 10:51:03 -0000 1.2 *************** *** 258,268 **** <tr> <td align="left"> ! <span class="gensmall">{L_INCLUDE_ALL}: <input type="radio" name="include_all" value="1" {S_INCLUDE_ALL_YES} /> {L_YES} <input type="radio" name="include_all" value="0" {S_INCLUDE_ALL_NO} /> {L_NO} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> </span> </td> <td nowrap="nowrap" align="right"> ! <span class="gensmall">{L_QUICK_NAV} {MODULE_SELECT_BOX} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> --- 258,282 ---- <tr> <td align="left"> ! <!-- ! <span class="gensmall"><b>{L_INCLUDE_ALL}:</b> <input type="radio" name="include_all" value="1" {S_INCLUDE_ALL_YES} /> {L_YES} <input type="radio" name="include_all" value="0" {S_INCLUDE_ALL_NO} /> {L_NO} + + <input type="submit" value="{S_SUBMIT}" class="liteoption" /> + + <br /> + --> + <span class="gensmall"><b>{L_INCLUDE_BLOCK_QUICKEDIT}:</b> + <input type="radio" name="include_block_quickedit" value="1" {S_INCLUDE_BLOCK_QUICKEDIT_YES} /> {L_YES} <input type="radio" name="include_block_quickedit" value="0" {S_INCLUDE_BLOCK_QUICKEDIT_NO} /> {L_NO} + + + + <span class="gensmall"><b>{L_INCLUDE_BLOCK_PRIVATE}:</b> + <input type="radio" name="include_block_private" value="1" {S_INCLUDE_BLOCK_PRIVATE_YES} /> {L_YES} <input type="radio" name="include_block_private" value="0" {S_INCLUDE_BLOCK_PRIVATE_NO} /> {L_NO} + <input type="submit" value="{S_SUBMIT}" class="liteoption" /> </span> </td> <td nowrap="nowrap" align="right"> ! <span class="gensmall"><b>{L_QUICK_NAV}</b> {MODULE_SELECT_BOX} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> *************** *** 556,567 **** <img src="{IMG_ICON_BLOCK}" border="0" align="absmiddle"> <span class="gen">{module.function.block.BLOCK_TITLE}</span> <span class="gensmall"><i>{module.function.block.BLOCK_LAST_EDITED}</i></span> <span class="gensmall">{module.function.block.BLOCK_DESC}</span> </td> ! <td width="15%" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminEdit_');" class="row1"> <!-- BEGIN is_block --> ! <img name="adminEdit_image_{module.function.block.BLOCK_ID}" src="{module.function.block.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="genmed">{module.function.block.L_EDIT}</span> <!-- END is_block --> </td> <td width="15%" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminPrivate_');" class="row1"> <!-- BEGIN is_block --> ! <img name="adminPrivate_image_{module.function.block.BLOCK_ID}" src="{module.function.block.IMG_URL_PRIVATE}" border="0" align="absmiddle"> <span class="genmed">{module.function.block.L_PERMISSIONS_ADV}</span> <!-- END is_block --> </td> --- 570,587 ---- <img src="{IMG_ICON_BLOCK}" border="0" align="absmiddle"> <span class="gen">{module.function.block.BLOCK_TITLE}</span> <span class="gensmall"><i>{module.function.block.BLOCK_LAST_EDITED}</i></span> <span class="gensmall">{module.function.block.BLOCK_DESC}</span> </td> ! <td width="15%" align="right" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminEdit_');" class="row1"> <!-- BEGIN is_block --> ! ! <!-- BEGIN include_block_edit --> ! <img name="adminEdit_image_{module.function.block.BLOCK_ID}" src="{module.function.block.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="genmed">{module.function.block.L_EDIT}</span> ! <!-- END include_block_edit --> <!-- END is_block --> </td> <td width="15%" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminPrivate_');" class="row1"> <!-- BEGIN is_block --> ! ! <!-- BEGIN include_block_private --> ! <img name="adminPrivate_image_{module.function.block.BLOCK_ID}" src="{module.function.block.IMG_URL_PRIVATE}" border="0" align="absmiddle"> <span class="genmed">{module.function.block.L_PERMISSIONS_ADV}</span> ! <!-- END include_block_private --> <!-- END is_block --> </td> *************** *** 682,686 **** <td class="row1" align="center" colspan="4"> <div style="overflow:auto; overflow-y:scroll; height:150px;"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <!-- BEGIN grouprows --> {module.function.block.grouprows.GROUP_ROWS} --- 702,706 ---- <td class="row1" align="center" colspan="4"> <div style="overflow:auto; overflow-y:scroll; height:150px;"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <!-- BEGIN grouprows --> {module.function.block.grouprows.GROUP_ROWS} *************** *** 698,702 **** </div> </td> ! </tr> <!-- Block PRIVATE Auth --> --- 718,722 ---- </div> </td> ! </tr> <!-- Block PRIVATE Auth --> Index: mx_pagecp_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/mx_pagecp_admin_body.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_pagecp_admin_body.tpl 12 Oct 2005 15:37:33 -0000 1.3 --- mx_pagecp_admin_body.tpl 22 Oct 2005 10:51:03 -0000 1.4 *************** *** 108,111 **** --- 108,112 ---- parentEditMode = 'adminPageEdit_'; parentPrivateMode = 'adminPagePrivate_'; + parentDeleteMode = 'adminPageDelete_'; parentSettingsMode = 'adminPageSettings_'; parentTemplateMode = 'adminTemplateEdit_'; *************** *** 114,117 **** --- 115,119 ---- parentEditCat = parentEditMode + cat_id; parentPrivateCat = parentPrivateMode + cat_id; + parentDeleteCat = parentDeleteMode + cat_id; parentSettingsCat = parentSettingsMode + cat_id; parentTemplateCat = parentTemplateMode + cat_id; *************** *** 135,138 **** --- 137,141 ---- (currentCat == parentPrivateCat && menuCats[forCat].menu_mode != parentPageMode && menuCats[forCat].status == 'block') || (currentCat == parentSettingsCat && menuCats[forCat].menu_mode != parentPageMode && menuCats[forCat].status == 'block') || + (currentCat == parentDeleteCat && menuCats[forCat].menu_mode != parentPageMode && menuCats[forCat].status == 'block') || (currentCat == parentTemplateCat && menuCats[forCat].menu_mode != parentPageMode && menuCats[forCat].status == 'block') || *************** *** 152,157 **** if( currentStatus == 'none' ) { ! if (menuCats[parentPageCat]) { if (menuCats[parentPageCat].status == 'none') { --- 155,161 ---- if( currentStatus == 'none' ) { ! if (menuCats[parentPageCat] && menuCats[forCat].menu_mode == parentPageMode) { + alert(parentPageCat); if (menuCats[parentPageCat].status == 'none') { *************** *** 174,181 **** var expdate = new Date(); // 72 Hours from now expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); ! setCookie('{COOKIE_NAME}_'+type+'page_id', cat_id, expdate, ! ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ! ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ! ('{COOKIE_SECURE}' == '0') ? false : true); } --- 178,185 ---- var expdate = new Date(); // 72 Hours from now expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); ! //setCookie('{COOKIE_NAME}_'+type+'page_id', cat_id, expdate, ! // ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ! // ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ! // ('{COOKIE_SECURE}' == '0') ? false : true); } *************** *** 187,193 **** else { ! delCookie('{COOKIE_NAME}_'+type+'page_id', ! ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ! ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); } --- 191,197 ---- else { ! //delCookie('{COOKIE_NAME}_'+type+'page_id', ! // ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ! // ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); } *************** *** 281,287 **** <form method="post" name="jumpbox" action="{S_ACTION}"> <table width="100%" cellspacing="0" cellpadding="0" border="0" > <tr> <td colspan="2"> ! <span class="gensmall">{L_INCLUDE_ALL}: <input type="radio" name="include_all" value="1" {S_INCLUDE_ALL_YES} /> {L_YES} <input type="radio" name="include_all" value="0" {S_INCLUDE_ALL_NO} /> {L_NO} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> --- 285,292 ---- <form method="post" name="jumpbox" action="{S_ACTION}"> <table width="100%" cellspacing="0" cellpadding="0" border="0" > + <!-- <tr> <td colspan="2"> ! <span class="gensmall"><b>{L_INCLUDE_ALL}:</b> <input type="radio" name="include_all" value="1" {S_INCLUDE_ALL_YES} /> {L_YES} <input type="radio" name="include_all" value="0" {S_INCLUDE_ALL_NO} /> {L_NO} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> *************** *** 289,296 **** </td> </tr> <tr> <td align="left"> <span class="genmed"> ! {L_SELECT_SORT_METHOD}: <select name="sort_method"> <option {S_PAGE_TITLE} value='page_name'>{L_SORT_TITLE}</option> --- 294,302 ---- </td> </tr> + --> <tr> <td align="left"> <span class="genmed"> ! <b>{L_SELECT_SORT_METHOD}:</b> <select name="sort_method"> <option {S_PAGE_TITLE} value='page_name'>{L_SORT_TITLE}</option> *************** *** 298,302 **** <option {S_PAGE_ID} value='page_id'>{L_SORT_ID}</option> </select> ! {L_ORDER}: <select name="sort_order"> <option {SORT_ASC} value="ASC">{L_ASC}</option> --- 304,308 ---- <option {S_PAGE_ID} value='page_id'>{L_SORT_ID}</option> </select> ! <b>{L_ORDER}:</b> <select name="sort_order"> <option {SORT_ASC} value="ASC">{L_ASC}</option> *************** *** 307,311 **** </td> <td nowrap="nowrap" align="right"> ! <span class="gensmall">{L_QUICK_NAV} {PAGE_SELECT_BOX} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> --- 313,317 ---- </td> <td nowrap="nowrap" align="right"> ! <span class="gensmall"><b>{L_QUICK_NAV}</b> {PAGE_SELECT_BOX} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> *************** *** 321,513 **** <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" align="center"> <tr> ! <td align="center">{RESULT_MESSAGE}</td> </tr> <tr> ! <th class="thHead">{L_TITLE_TEMPLATES}</th> ! </tr> ! <tr> ! <td class="catLeft" align="left" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('Template','adminPage_');"> <img name="adminPage_image_Template" src="{IMG_URL}" border="0" align="absmiddle"> <span class="topictitle">{L_TITLE_TEMPLATE}</span></td> ! </tr> ! <tr> ! <td class="row2"> ! <div id="adminPage_Template" style="display:{VISIBLE};" class="genmed"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td bgcolor="#006699" width="10"></td> ! <td> ! ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> ! <!-- BEGIN notemplates --> ! <tr> ! <td class="row1"><span class="gensmall">{nopages.NONE}</span></td> ! </tr> ! <!-- END notemplates --> ! ! <!-- BEGIN templates --> ! <tr> ! <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <!-- BEGIN new_template --> ! <td width="80%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}','adminTemplateEdit_');"> <img name="adminTemplateEdit_image_{templates.TEMPLATE_ID}" src="{templates.IMG_URL}" border="0" align="absmiddle"> {templates.TEMPLATE_ICON} <span class="cattitle">{templates.TEMPLATE_TITLE}</span></td> ! <!-- END new_template --> ! <!-- BEGIN current_template --> ! <td width="80%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}','adminTemplateEdit_');"> <img name="adminTemplateEdit_image_{templates.TEMPLATE_ID}" src="{templates.IMG_URL}" border="0" align="absmiddle"> {templates.TEMPLATE_ICON} <span class="cattitle">{templates.TEMPLATE_TITLE}</span></td> ! <!-- END current_template --> ! <td width="20%" class="catRight" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}','adminTemplateDelete_');"> ! <!-- BEGIN delete --> ! <img name="adminTemplateDelete_image_{templates.TEMPLATE_ID}" src="{templates.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gen">{L_DELETE}</span> ! <!-- END delete --> ! </td> ! </tr> ! ! <!-- Function Delete --> ! <tr> ! <td colspan="2" class="row1"> ! <div id="adminTemplateDelete_{templates.TEMPLATE_ID}" style="display:{templates.VISIBLE_DELETE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center" class="forumline"> <tr> ! <td width="50%" align="center" colspan="2">{templates.MESSAGE_DELETE}</td> </tr> ! </table> ! </div> ! </td> ! </tr> ! <!-- Function Delete --> ! <tr> ! <td colspan="2" class="row1"> ! <div id="adminTemplateEdit_{templates.TEMPLATE_ID}" style="display:{templates.VISIBLE};" class="genmed"> ! ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> ! ! ! ! <!-- Template Edit --> <tr> ! <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td bgcolor="#006699" width="10"></td> ! <td> ! ! <form action="{S_ACTION}" method="post"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> ! <tr> ! <td width="50%" align="right" >{templates.L_TEMPLATE_NAME}</td> ! <td><input type="text" size="45" name="template_name" value="{templates.E_TEMPLATE_TITLE}" class="post" /></td> ! </tr> <tr> ! <td class="row2" colspan="2" align="center">{templates.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{templates.S_SUBMIT}" class="mainoption" /></td> </tr> ! </table> ! </form> ! </td> </tr> ! </table> ! </td> ! </tr> ! <!-- Template Edit --> ! ! <!-- Template Main Panel --> ! <tr> ! <td class="row1"> ! ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td bgcolor="#006699" width="10"></td> ! <td> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td class="row3"> ! <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center"> ! ! <!-- BEGIN columnrow --> <tr> ! <td class="row3" width="100%" colspan="5"> ! <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center" class="forumline"> ! <tr> ! <td width="70%" class="row3" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}','adminTemplateColumnEdit_');"> <img name="adminTemplateColumnEdit_image_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" src="{templates.columnrow.IMG_URL}" border="0" align="absmiddle"> <img src="{IMG_ICON_PAGE_COLUMN}" border="0" align="absmiddle"> <span class="topictitle"><b>{templates.columnrow.L_COLUMN}: <span class="cattitle">{templates.columnrow.COLUMN_TITLE}</span></b></span></td> ! <td width="15%" class="row3" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}','adminTemplateColumnDelete_');"> <img name="adminTemplateColumnDelete_image_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" src="{templates.columnrow.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gen">{templates.columnrow.L_DELETE}</span></td> ! <td width="15%" class="row3" align="center" valign="middle" nowrap="nowrap"><span class="genmed"><a href="{templates.columnrow.U_COLUMN_MOVE_UP}">{templates.columnrow.L_MOVE_UP}</a> <a href="{templates.columnrow.U_COLUMN_MOVE_DOWN}">{templates.columnrow.L_MOVE_DOWN}</a></span></td> ! </tr> ! ! <!-- Function Delete --> ! <tr> ! <td colspan="3" class="row1"> ! <div id="adminTemplateColumnDelete_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" style="display:{templates.columnrow.VISIBLE_DELETE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center" class="forumline"> ! <tr> ! <td width="50%" align="center" colspan="2">{templates.columnrow.MESSAGE_DELETE}</td> ! </tr> ! </table> ! </div> ! </td> ! </tr> ! <!-- Function Delete --> ! ! <!-- COLUMN EDIT --> <tr> ! <td colspan="3" class="row1"> ! <div id="adminTemplateColumnEdit_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" style="display:{templates.columnrow.VISIBLE};" class="genmed"> ! <form action="{S_ACTION}" method="post"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> ! <tr> ! <td width="50%" align="right">{templates.columnrow.L_COLUMN_NAME}</td> ! <td ><input type="text" size="25" name="column_title" value="{templates.columnrow.E_COLUMN_TITLE}" /></td> </tr> <tr> ! <td width="50%" align="right">{templates.columnrow.L_COLUMN_SIZE}</td> ! <td ><input type="text" maxlength="5" size="5" name="column_size" value="{templates.columnrow.E_COLUMN_SIZE}" /></td> </tr> ! <tr> ! <td class="row2" colspan="2" align="center">{templates.columnrow.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{templates.columnrow.S_SUBMIT}" class="mainoption" /></td> </tr> </table> - </form> - </div> </td> </tr> ! <!-- COLUMN EDIT --> ! </table> </td> </tr> - - <tr> - <td colspan="5" height="1" class="spaceRow"><img src="{U_PHPBB_ROOT_PATH}{TEMPLATE_ROOT_PATH}spacer.gif" alt="" width="1" height="1" /></td> - </tr> - <!-- END columnrow --> </table> </td> </tr> ! </table> ! </td> </tr> ! </table> </td> </tr> - <!-- Template Main Panel --> - - </table> ! </div> </td> </tr> ! </table> ! ! ! </td> ! </tr> ! <!-- END templates --> </table> ! ! </td> ! </tr> ! </table> ! </div> </td> </tr> --- 327,536 ---- <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" align="center"> <tr> ! <td align="center" colspan="3">{RESULT_MESSAGE}</td> </tr> <tr> ! <!-- BEGIN pages --> ! <!-- BEGIN is_new --> ! <th width="33%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> ! <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {L_TITLE_NEW_PAGE} ! </th> ! <!-- END is_new --> ! <!-- BEGIN is_current --> ! <th width="33%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> ! <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {L_PAGE_TITLE} - {pages.PAGE_TITLE} ! </th> ! <!-- END is_current --> ! <!-- END pages --> ! ! <th width="33%" class="thHead" align="left" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('Template','adminPage_');"> <img name="adminPage_image_Template" src="{IMG_URL}" border="0" align="absmiddle"> {L_TITLE_TEMPLATE}</th> ! </tr> ! </table> ! ! <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" align="center"> ! <tr> ! <td class="row1"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td class="row1"> ! <div id="adminPage_Template" style="display:{VISIBLE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="0" border="0" align="center"> ! <tr> ! <td> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> + <!-- BEGIN notemplates --> <tr> ! <td class="row1"><span class="gensmall">{nopages.NONE}</span></td> ! </tr> ! <!-- END notemplates --> ! ! <!-- BEGIN templates --> ! <tr> ! <td class="row1"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <!-- BEGIN new_template --> ! <td width="80%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}','adminTemplateEdit_');"> <img name="adminTemplateEdit_image_{templates.TEMPLATE_ID}" src="{templates.IMG_URL}" border="0" align="absmiddle"> {templates.TEMPLATE_ICON} <span class="cattitle">{templates.TEMPLATE_TITLE}</span></td> ! <!-- END new_template --> ! <!-- BEGIN current_template --> ! <td width="80%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}','adminTemplateEdit_');"> <img name="adminTemplateEdit_image_{templates.TEMPLATE_ID}" src="{templates.IMG_URL}" border="0" align="absmiddle"> {templates.TEMPLATE_ICON} <span class="cattitle">{templates.TEMPLATE_TITLE}</span></td> ! <!-- END current_template --> ! <td width="20%" class="catRight" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}','adminTemplateDelete_');"> ! <!-- BEGIN delete --> ! <img name="adminTemplateDelete_image_{templates.TEMPLATE_ID}" src="{templates.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gen">{L_DELETE}</span> ! <!-- END delete --> ! </td> </tr> ! ! <!-- Function Delete --> <tr> ! <td colspan="2" class="row1"> ! <div id="adminTemplateDelete_{templates.TEMPLATE_ID}" style="display:{templates.VISIBLE_DELETE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center" class="forumline"> ! <tr> ! <td width="50%" align="center" colspan="2">{templates.MESSAGE_DELETE}</td> ! </tr> ! </table> ! </div> ! </td> ! </tr> ! <!-- Function Delete --> ! <tr> ! <td colspan="2" class="row1"> ! <div id="adminTemplateEdit_{templates.TEMPLATE_ID}" style="display:{templates.VISIBLE};" class="genmed"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> + + + + <!-- Template Edit --> <tr> ! <td class="row1"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td bgcolor="#006699" width="10"></td> ! <td> ! ! <form action="{S_ACTION}" method="post"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> ! <tr> ! <td width="50%" align="right" >{templates.L_TEMPLATE_NAME}</td> ! <td><input type="text" size="45" name="template_name" value="{templates.E_TEMPLATE_TITLE}" class="post" /></td> ! </tr> ! <tr> ! <td class="row2" colspan="2" align="center">{templates.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{templates.S_SUBMIT}" class="mainoption" /></td> ! </tr> ! </table> ! </form> ! ! </td> </tr> ! </table> </td> </tr> ! <!-- Template Edit --> ! ! <!-- Template Main Panel --> <tr> ! <td class="row1"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td bgcolor="#006699" width="10"></td> ! <td> ! ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td class="row3"> ! <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center"> ! ! <!-- BEGIN columnrow --> <tr> ! <td class="row3" width="100%" colspan="5"> ! <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center" class="forumline"> ! <tr> ! <td width="70%" class="row3" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}','adminTemplateColumnEdit_');"> <img name="adminTemplateColumnEdit_image_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" src="{templates.columnrow.IMG_URL}" border="0" align="absmiddle"> <img src="{IMG_ICON_PAGE_COLUMN}" border="0" align="absmiddle"> <span class="topictitle"><b>{templates.columnrow.L_COLUMN}: <span class="cattitle">{templates.columnrow.COLUMN_TITLE}</span></b></span></td> ! <td width="15%" class="row3" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}','adminTemplateColumnDelete_');"> <img name="adminTemplateColumnDelete_image_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" src="{templates.columnrow.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gen">{templates.columnrow.L_DELETE}</span></td> ! <td width="15%" class="row3" align="center" valign="middle" nowrap="nowrap"><span class="genmed"><a href="{templates.columnrow.U_COLUMN_MOVE_UP}">{templates.columnrow.L_MOVE_UP}</a> <a href="{templates.columnrow.U_COLUMN_MOVE_DOWN}">{templates.columnrow.L_MOVE_DOWN}</a></span></td> </tr> + + <!-- Function Delete --> <tr> ! <td colspan="3" class="row1"> ! <div id="adminTemplateColumnDelete_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" style="display:{templates.columnrow.VISIBLE_DELETE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center" class="forumline"> ! <tr> ! <td width="50%" align="center" colspan="2">{templates.columnrow.MESSAGE_DELETE}</td> ! </tr> ! </table> ! </div> ! </td> </tr> ! <!-- Function Delete --> ! ! <!-- COLUMN EDIT --> ! <tr> ! <td colspan="3" class="row1"> ! <div id="adminTemplateColumnEdit_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" style="display:{templates.columnrow.VISIBLE};" class="genmed"> ! <form action="{S_ACTION}" method="post"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> ! <tr> ! <td width="50%" align="right">{templates.columnrow.L_COLUMN_NAME}</td> ! <td ><input type="text" size="25" name="column_title" value="{templates.columnrow.E_COLUMN_TITLE}" /></td> ! </tr> ! <tr> ! <td width="50%" align="right">{templates.columnrow.L_COLUMN_SIZE}</td> ! <td ><input type="text" maxlength="5" size="5" name="column_size" value="{templates.columnrow.E_COLUMN_SIZE}" /></td> ! </tr> ! <tr> ! <td class="row2" colspan="2" align="center">{templates.columnrow.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{templates.columnrow.S_SUBMIT}" class="mainoption" /></td> ! </tr> ! </table> ! </form> ! </div> ! </td> </tr> + <!-- COLUMN EDIT --> + </table> </td> </tr> ! ! <tr> ! <td colspan="5" height="1" class="spaceRow"><img src="{U_PHPBB_ROOT_PATH}{TEMPLATE_ROOT_PATH}spacer.gif" alt="" width="1" height="1" /></td> ! </tr> ! <!-- END columnrow --> </table> </td> </tr> </table> + </td> </tr> ! </table> </td> </tr> ! <!-- Template Main Panel --> ! ! ! </table> ! </div> </td> </tr> </table> ! ! </td> </tr> ! <!-- END templates --> ! </table> ! ! </td> ! </tr> </table> ! </div> ! </td> ! </tr> ! </table> </td> </tr> *************** *** 520,600 **** <!-- BEGIN pages --> - - <!-- BEGIN is_current --> - <tr> - <th class="thHead">{L_TITLE_PAGES}</th> - </tr> - <!-- END is_current --> - <!-- BEGIN reload --> - <tr> - <th class="thHead">{L_TITLE_PAGES}</th> - </tr> - <!-- END reload --> - <!-- BEGIN is_new --> - <tr> - <th class="thHead">{L_TITLE_NEW_PAGE}</th> - </tr> - <!-- END is_new --> <tr> <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> - <tr> - <!-- BEGIN is_current --> - <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <span class="cattitle">{pages.PAGE_TITLE}</span> <span class="gensmall">{pages.PAGE_DESC}</span></td> - <!-- END is_current --> - <!-- BEGIN is_new --> - <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <span class="topictitle">{pages.PAGE_TITLE}</span> <span class="gensmall">{pages.PAGE_DESC}</span></td> - <!-- END is_new --> - <!-- BEGIN reload --> - <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <a href="{pages.reload.U_PAGE_EDIT}"><span class="cattitle">{pages.PAGE_TITLE}</span></a> <span class="gensmall">{pages.PAGE_DESC}</span></td> - <!-- END reload --> - <td width="10%" class="cat" align="center"> - <!-- BEGIN is_page --> - <span class="genmed"><a href="{pages.U_PREVIEW}" target="_blank">{L_PREVIEW}</a></span> - <!-- END is_page --> - </td> - <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageEdit_');"> - <!-- BEGIN is_page --> - <span class="genmed">{L_EDIT}</span> - <!-- END is_page --> - </td> - <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPagePrivate_');"> - <!-- BEGIN is_page --> - <span class="genmed">{L_PERMISSIONS}</span> - <!-- END is_page --> - </td> - <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageSettings_');"> - <!-- BEGIN is_page --> - <span class="genmed">{L_SETTING}</span> - <!-- END is_page --> - </td> - <td width="10%" class="catRight" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageDelete_');"> - <!-- BEGIN is_page --> - <img name="adminPageDelete_image_{pages.PAGE_ID}" src="{pages.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="genmed">{L_DELETE}</span> - <!-- END is_page --> - </td> - </tr> - - <!-- Function Delete --> <tr> <td colspan="6" class="row1"> ! <div id="adminPageDelete_{pages.PAGE_ID}" style="display:{pages.VISIBLE_DELETE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> ! <td width="50%" align="center" colspan="2">{pages.MESSAGE_DELETE}</td> </tr> ! </table> ! </div> ! </td> ! </tr> ! <!-- Function Delete --> ! ! ! <tr> ! <td colspan="6" class="row1"> ! <div id="adminPage_{pages.PAGE_ID}" style="display:{pages.VISIBLE};" class="genmed"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> - <td bgcolor="#006699" width="10"></td> <td> --- 543,611 ---- <!-- BEGIN pages --> <tr> <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td colspan="6" class="row1"> ! <div id="adminPage_{pages.PAGE_ID}" style="display:{pages.VISIBLE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="0" border="0" align="center"> <tr> ! <td> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> ! <tr> ! <!-- BEGIN is_current --> ! <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> {pages.PAGE_ICON} <span class="cattitle">{pages.PAGE_TITLE}</span> <span class="gensmall">{pages.PAGE_DESC}</span></td> ! <!-- END is_current --> ! <!-- BEGIN is_new --> ! <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> {pages.PAGE_ICON} <span class="topictitle">{pages.PAGE_TITLE}</span> <span class="gensmall">{pages.PAGE_DESC}</span></td> ! <!-- END is_new --> ! <!-- BEGIN reload --> ! <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <a href="{pages.reload.U_PAGE_EDIT}"><span class="cattitle">{pages.PAGE_TITLE}</span></a> <span class="gensmall">{pages.PAGE_DESC}</span></td> ! <!-- END reload --> ! <td width="10%" class="cat" align="center"> ! <!-- BEGIN is_page --> ! <span class="genmed"><a href="{pages.U_PREVIEW}" target="_blank">{L_PREVIEW}</a></span> ! <!-- END is_page --> ! </td> ! <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageEdit_');"> ! <!-- BEGIN is_page --> ! <img name="adminPageEdit_image_{pages.PAGE_ID}" src="{pages.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="genmed">{L_EDIT}</span> ! <!-- END is_page --> ! </td> ! <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageSettings_');"> ! <!-- BEGIN is_page --> ! <img name="adminPageSettings_image_{pages.PAGE_ID}" src="{pages.IMG_URL_SETTINGS}" border="0" align="absmiddle"> <span class="genmed">{L_SETTING}</span> ! <!-- END is_page --> ! </td> ! <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPagePrivate_');"> ! <!-- BEGIN is_page --> ! <img name="adminPagePrivate_image_{pages.PAGE_ID}" src="{pages.IMG_URL_PRIVATE}" border="0" align="absmiddle"> <span class="genmed">{L_PERMISSIONS}</span> ! <!-- END is_page --> ! </td> ! <td width="10%" class="catRight" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageDelete_');"> ! <!-- BEGIN is_page --> ! <img name="adminPageDelete_image_{pages.PAGE_ID}" src="{pages.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="genmed">{L_DELETE}</span> ! <!-- END is_page --> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! ! <!-- Function Delete --> ! <tr> ! <td class="row1"> ! <div id="adminPageDelete_{pages.PAGE_ID}" style="display:{pages.VISIBLE_DELETE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> ! <tr> ! <td width="50%" align="center" colspan="2">{pages.MESSAGE_DELETE}</td> ! </tr> ! </table> ! </div> ! </td> </tr> ! <!-- Function Delete --> ! <tr> <td> *************** *** 602,608 **** --- 613,621 ---- <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <!-- BEGIN is_page --> + <!-- <tr> <td class="cat" colspan="2" align="left" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageEdit_');"> <img name="adminPageEdit_image_{pages.PAGE_ID}" src="{pages.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="topictitle">{pages.L_TITLE_EDIT}</span></td> </tr> + --> <!-- END is_page --> *************** *** 686,692 **** --- 699,707 ---- <!-- Page Private Auth --> <!-- BEGIN is_page --> + <!-- <tr> <td class="cat" colspan="2" align="left" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPagePrivate_');"> <img name="adminPagePrivate_image_{pages.PAGE_ID}" src="{pages.IMG_URL_PRIVATE}" border="0" align="absmiddle"> <span class="topictitle">{pages.L_TITLE_PRIVATE}</span></td> </tr> + --> <!-- END is_page --> <tr> *************** *** 751,757 **** --- 766,774 ---- <!-- Page Main Panel - Settings --> <!-- BEGIN is_page --> + <!-- <tr> <td class="cat" colspan="2" align="left" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageSettings_');"> <img name="adminPageSettings_image_{pages.PAGE_ID}" src="{pages.IMG_URL_SETTINGS}" border="0" align="absmiddle"> <span class="topictitle">{pages.L_TITLE_SETTINGS}</span></td> </tr> + --> <!-- END is_page --> Index: mx_blockcp_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/mx_blockcp_admin_body.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_blockcp_admin_body.tpl 12 Oct 2005 15:37:33 -0000 1.2 --- mx_blockcp_admin_body.tpl 22 Oct 2005 10:51:03 -0000 1.3 *************** *** 7,10 **** --- 7,176 ---- {DYNAMIC_BLOCK_SETUP} {DYNAMIC_DEFAULT_SETUP} + + function blockcp_getCookie(name) + { + var cookies = document.cookie; + var start = cookies.indexOf(name + '='); + if( start < 0 ) return null; + var len = start + name.length + 1; + var end = cookies.indexOf(';', len); + if( end < 0 ) end = cookies.length; + return unescape(cookies.substring(len, end)); + } + function blockcp_setCookie(name, value, expires, path, domain, secure) + { + document.cookie = name + '=' + escape (value) + + ((expires) ? '; expires=' + ( (expires == 'never') ? 'Thu, 31-Dec-2099 23:59:59 GMT' : expires.toGMTString() ) : '') + + ((path) ? '; path=' + path : '') + + ((domain) ? '; domain=' + domain : '') + + ((secure) ? '; secure' : ''); + } + function blockcp_delCookie(name, path, domain) + { + if( blockcp_getCookie(name) ) + { + document.cookie = name + '=;expires=Thu, 01-Jan-1970 00:00:01 GMT' + + ((path) ? '; path=' + path : '') + + ((domain) ? '; domain=' + domain : ''); + } + } + + function blockcp_menuCat(id, mode, visible) + { + this.cat_id = id; + this.menu_mode = mode; + this.status = visible != '' ? visible : 'none'; + } + var blockcp_menuCats = new Array(); + + blockcp_menuCats['adminBlockCP_general_add'] = new blockcp_menuCat('general_add', 'adminBlockCP_', '{VISIBLE_GENERAL_ADD}'); + blockcp_menuCats['adminBlockCP_general'] = new blockcp_menuCat('general', 'adminBlockCP_', '{VISIBLE_GENERAL}'); + blockcp_menuCats['adminBlockCP_settings'] = new blockcp_menuCat('settings', 'adminBlockCP_', '{VISIBLE_SETTINGS}'); + blockcp_menuCats['adminBlockCP_private'] = new blockcp_menuCat('private', 'adminBlockCP_', '{VISIBLE_PRIVATE}'); + blockcp_menuCats['adminBlockCP_delete'] = new blockcp_menuCat('delete', 'adminBlockCP_', '{VISIBLE_DELETE}'); + + + function blockcp_getObj(obj) + { + return ( document.getElementById ? document.getElementById(obj) : ( document.all ? document.all[obj] : null ) ); + } + function displayObj(obj, status) + { + var x = blockcp_getObj(obj); + if( x && x.style ) x.style.display = status; + } + + var blockcp_queueInterval = 0; // milliseconds between queued steps. + var blockcp_execInterval = 0; + var blockcp_queuedSteps; + var blockcp_currentStep; + + function blockcp_queueStep(o, s) + { + this.obj = o; + this.status = s; + } + function blockcp_execQueue() + { + if( blockcp_currentStep < blockcp_queuedSteps.length ) + { + var obj = blockcp_queuedSteps[blockcp_currentStep].obj; + var status = blockcp_queuedSteps[blockcp_currentStep].status; + displayObj(obj, status); + if( blockcp_menuCats[obj] ) blockcp_menuCats[obj].status = status; + blockcp_currentStep++; + setTimeout("blockcp_execQueue();", blockcp_execInterval); + } + else + { + blockcp_execInterval = blockcp_queueInterval; + } + } + function blockcp_onMenuCatClick(cat_id, type, init) + { + var currentCat, currentStatus; + var imageSCR = type+'image_'+cat_id; + + parentMode = 'adminBlockCP_'; + + parentCat = parentMode + cat_id; + + currentCat = type + cat_id; + + currentStatus = blockcp_menuCats[currentCat].status; + + blockcp_queuedSteps = new Array(); + cookieArray = new Array(); + + blockcp_currentStep = 0; + + for( var forCat in blockcp_menuCats ) + { + if( (init == 'true' && (blockcp_menuCats[forCat].status == 'block') && blockcp_menuCats[forCat].menu_mode == parentMode) || + (init != 'true' && + ( (currentCat == parentCat && blockcp_menuCats[forCat].status == 'block' ) ))) + { + blockcp_queuedSteps[blockcp_currentStep++] = new blockcp_queueStep(forCat, 'none'); + blockcp_menuCats[forCat].status = 'none'; + + forCatimage = blockcp_menuCats[forCat].menu_mode+'image_'+blockcp_menuCats[forCat].cat_id; + if( document.images && document.images[forCatimage] ) + { + document.images[forCatimage].src = '{IMG_URL_EXPAND}'; + } + } + } + + if( currentStatus == 'none' ) + { + if (blockcp_menuCats[parentCat]) + { + if (blockcp_menuCats[parentCat].status == 'none') + { + blockcp_queuedSteps[blockcp_currentStep++] = new blockcp_queueStep(parentCat, 'block'); + blockcp_menuCats[parentCat].status = 'block'; + + forCatimage = blockcp_menuCats[parentCat].menu_mode+'image_'+blockcp_menuCats[parentCat].cat_id; + if( document.images && document.images[forCatimage] ) + { + document.images[forCatimage].src = '{IMG_URL_CONTRACT}'; + } + } + } + + blockcp_queuedSteps[blockcp_currentStep++] = new blockcp_queueStep(currentCat, 'block'); + blockcp_menuCats[currentCat].status = 'block'; + + if (currentCat == parentCat) + { + var expdate = new Date(); // 72 Hours from now + expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); + blockcp_setCookie('{COOKIE_NAME}_'+type+'mode', cat_id, expdate, + ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', + ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', + ('{COOKIE_SECURE}' == '0') ? false : true); + } + + if( document.images && document.images[imageSCR] ) + { + document.images[imageSCR].src = '{IMG_URL_CONTRACT}'; + } + } + else + { + blockcp_delCookie('{COOKIE_NAME}_'+type+'mode', + ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', + ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); + } + + blockcp_currentStep = 0; + setTimeout("blockcp_execQueue();", blockcp_execInterval); + } + + function require_refresh() + { + displayObj('adminBlockCP_require_refresh', 'none'); + displayObj('adminBlockCP_require_refresh_info', 'block'); + } </script> <!-- dynamic_select --> *************** *** 26,30 **** <tr> <td valign="top"> ! <select name="module_id" MULTIPLE size=5> {DYNAMIC_MODULE_SELECT} </select> --- 192,196 ---- <tr> <td valign="top"> ! <select name="module_id" MULTIPLE size=5" onClick="require_refresh();"> {DYNAMIC_MODULE_SELECT} </select> *************** *** 32,36 **** <td>»</td> <td valign="top"> ! <select name="function_id" MULTIPLE size=5> <script LANGUAGE="JavaScript">makeModule.printOptions("function_id")</script> </select> --- 198,202 ---- <td>»</td> <td valign="top"> ! <select name="function_id" MULTIPLE size=5" onClick="require_refresh();"> <script LANGUAGE="JavaScript">makeModule.printOptions("function_id")</script> </select> *************** *** 38,42 **** <td>»</td> <td valign="top"> ! <select name="block_id" size=5> <script LANGUAGE="JavaScript">makeModule.printOptions("block_id")</script> </select> --- 204,208 ---- <td>»</td> <td valign="top"> ! <select name="block_id" size=5 onClick="require_refresh();"> <script LANGUAGE="JavaScript">makeModule.printOptions("block_id")</script> </select> *************** *** 57,76 **** {ERROR_BOX} ! ! <table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumline"> <tr> ! <td align="center" colspan="2">{RESULT_MESSAGE}</td> </tr> <tr> ! <th class="thHead" colspan="2">{L_TITLE}</th> </tr> ! <!-- BEGIN blockcp_general --> ! <tr> ! <td class="cat" colspan="2" align="center"><span class="topictitle">{blockcp_general.L_TITLE}</span></td> ! </tr> <tr> <td class="row1" colspan="2"> - <form action="{S_ACTION}" method="post" onsubmit="return checkForm(this)"> <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center"> --- 223,335 ---- {ERROR_BOX} ! <div id="adminBlockCP_require_refresh" style="display:block;" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="0" border="0" class="forumline" align="center"> <tr> ! <td align="center" colspan="5">{RESULT_MESSAGE}</td> </tr> <tr> ! <!-- BEGIN blockcp_general_add --> ! <th width="20%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="blockcp_onMenuCatClick('general_add','adminBlockCP_');"> ! <img name="adminBlockCP_image_general_add" src="{IMG_URL_GENERAL_ADD}" border="0" align="absmiddle"> {blockcp_general_add.L_TITLE} ! </th> ! <!-- END blockcp_general_add --> ! <!-- BEGIN blockcp_general --> ! <th width="20%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="blockcp_onMenuCatClick('general','adminBlockCP_');"> ! <img name="adminBlockCP_image_general" src="{IMG_URL_GENERAL}" border="0" align="absmiddle"> {blockcp_general.L_TITLE} ! </th> ! <!-- END blockcp_general --> ! <!-- BEGIN blockcp_settings --> ! <th width="20%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="blockcp_onMenuCatClick('settings','adminBlockCP_');"> ! <img name="adminBlockCP_image_settings" src="{IMG_URL_SETTINGS}" border="0" align="absmiddle"> {blockcp_settings.L_TITLE} ! </th> ! <!-- END blockcp_settings --> ! <!-- BEGIN blockcp_permissions --> ! <th width="20%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="blockcp_onMenuCatClick('private','adminBlockCP_');"> ! <img name="adminBlockCP_image_private" src="{IMG_URL_PRIVATE}" border="0" align="absmiddle"> {blockcp_permissions.L_TITLE} ! </th> ! <!-- END blockcp_permissions --> ! <!-- BEGIN blockcp_delete --> ! <th width="20%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="blockcp_onMenuCatClick('delete','adminBlockCP_');"> ! <img name="adminBlockCP_image_delete" src="{IMG_URL_DELETE}" border="0" align="absmiddle"> {blockcp_delete.L_TITLE} ! </th> ! <!-- END blockcp_delete --> ! </tr> ! </table> ! ! <div id="adminBlockCP_general_add" style="display:{VISIBLE_GENERAL_ADD};" class="genmed"> ! <!-- BEGIN blockcp_general_add --> ! <table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumline"> ! <tr> ! <td class="row1" colspan="2"> ! <form action="{S_ACTION}" method="post" onsubmit="return checkForm(this)"> ! <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center"> ! <tr> ! <td class="row1" width="50%" align="right"><b>{L_BLOCK_TITLE}</b></td> ! <td class="row1"><input type="text" size="65" name="block_title" value="" class="post" /></td> ! </tr> ! ! <tr> ! <td class="row1" width="50%" align="right"><b>{L_BLOCK_DESC}</b></td> ! <td class="row1"><input type="text" size="65" name="block_desc" value="" class="post" /></td> ! </tr> ! <tr> ! <td class="row1" width="50%" align="right"><b>{L_SHOW_TITLE}</b><br /><span class="gensmall">{L_SHOW_TITLE_EXPLAIN}</span></td> ! <td class="row1"><input type="radio" name="show_title" value="1" {S_SHOW_TITLE_YES_ADD} /> <span class="gensmall">{L_YES}</span> <input type="radio" name="show_title" value="0" {S_SHOW_TITLE_NO_ADD} /> <span class="gensmall">{L_NO}</span></td> ! </tr> ! ! <tr> ! <td class="row1" width="50%" align="right"><b>{L_SHOW_STATS}</b><br /><span class="gensmall">{L_SHOW_STATS_EXPLAIN}</span></td> ! <td class="row1"><input type="radio" name="show_stats" value="1" {S_SHOW_STATS_YES_ADD} /> <span class="gensmall">{L_YES} </span><input type="radio" name="show_stats" value="0" {S_SHOW_STATS_NO_ADD} /> <span class="gensmall">{L_NO}</span></td> ! </tr> ! ! <tr> ! <td class="row1" width="50%" align="right"><b>{L_SHOW_BLOCK}</b><br /><span class="gensmall">{L_SHOW_BLOCK_EXPLAIN}</span></td> ! <td class="row1"><input type="radio" name="show_block" value="1" {S_SHOW_BLOCK_YES_ADD} /> <span class="gensmall">{L_YES} </span><input type="radio" name="show_block" value="0" {S_SHOW_BLOCK_NO_ADD} /> <span class="gensmall">{L_NO}</span></td> ! </tr> ! ! <tr> ! <td class="row1" width="50%" align="right"> ! <b>{L_AUTH_TITLE}</b><br /><span class="gensmall">{L_AUTH_TITLE_EXPLAIN}</span> ! </td> ! <td class="row1"> ! ! <table cellspacing="1" cellpadding="4" border="0"> ! <tr> ! <!-- BEGIN block_auth_titles --> ! <td class="row3" align="center"><span class="topictitle">{blockcp_general_add.block_auth_titles.CELL_TITLE}</span></td> ! <!-- END block_auth_titles --> ! </tr> ! <tr> ! <!-- BEGIN block_auth_data --> ! <td> ! <table> ! <tr> ! <td class="row1" align="center">{blockcp_general_add.block_auth_data.S_AUTH_LEVELS_SELECT}</td> ! </tr> ! </table> ! </td> ! <!-- END block_auth_data --> ! </tr> ! </table> ! </td> ! </tr> ! ! <tr> ! <td class="row1" height="25" align="center" colspan="2">{blockcp_general_add.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{blockcp_general_add.S_SUBMIT}" class="mainoption" />{CANCEL}</td> ! </tr> ! </table> ! </form> ! ! </td> </tr> + </table> + <!-- END blockcp_general_add --> + </div> ! <div id="adminBlockCP_general" style="display:{VISIBLE_GENERAL};" class="genmed"> ! <!-- BEGIN blockcp_general --> ! <table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumline"> <tr> <td class="row1" colspan="2"> <form action="{S_ACTION}" method="post" onsubmit="return checkForm(this)"> <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center"> *************** *** 144,150 **** </td> </tr> ! <!-- END blockcp_general --> ! <!-- BEGIN blockcp_panel --> <tr> <td class="row1" colspan="2"> --- 403,413 ---- </td> </tr> ! </table> ! <!-- END blockcp_general --> ! </div> ! <div id="adminBlockCP_settings" style="display:{VISIBLE_SETTINGS};" class="genmed"> ! <table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumline"> ! <!-- BEGIN blockcp_panel --> <tr> <td class="row1" colspan="2"> *************** *** 153,162 **** </td> </tr> ! <!-- END blockcp_panel --> ! <!-- BEGIN blockcp_settings --> ! <tr> ! <td class="cat" colspan="2" align="center"><span class="topictitle">{blockcp_settings.L_TITLE}</span></td> ! </tr> <tr> <td class="row1" colspan="2"> --- 416,422 ---- </td> </tr> ... [truncated message content] |