|
From: OryNider <ory...@us...> - 2007-12-20 13:11:43
|
Update of /cvsroot/mxbb/core/templates/prosilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25686/admin Modified Files: admin.css admin_mx_portal.html mx_blockcp_admin_body.html page_footer.html page_header.html Added Files: mx_module_admin_body.html mx_modulecp_admin_body.html Log Message: Admin templates by Culprit and some fixes to admin files by me. Index: page_header.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/admin/page_header.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** page_header.html 16 Dec 2007 01:56:48 -0000 1.2 --- page_header.html 20 Dec 2007 13:11:36 -0000 1.3 *************** *** 1,4 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" xml:lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> --- 1,4 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> <head> <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> Index: page_footer.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/admin/page_footer.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** page_footer.html 16 Dec 2007 01:56:47 -0000 1.2 --- page_footer.html 20 Dec 2007 13:11:35 -0000 1.3 *************** *** 5,13 **** </div> </div> ! <div id="page-footer"> ! Powered by phpBB {PHPBB_VERSION} © 2000, 2002, 2005, 2007 <a href="http://www.phpbb.com/">phpBB Group</a> ! <br />{TRANSLATION_INFO} </div> </div> </body> </html> \ No newline at end of file --- 5,17 ---- </div> </div> ! <div class="copyright">{POWERED_BY} <a href="http://www.mxbb.net/" target="_mx-system" class="copyright">mxBB Portal</a> {MX_VERSION} © 2001-2008 & <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} © 2000, 2002, 2005, 2007 phpBB Group | <a href="{MXBB_EXTRA_URL}" target="_phpbb" class="copyright">{MXBB_EXTRA}</a> ! <!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF --> ! <!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF --> ! <!-- This displays generation info at the bottom of the page --> ! <br />{EXECUTION_STATS} ! <br />{MX_ADDITIONAL_FOOTER_TEXT} </div> </div> + </div> </body> </html> \ No newline at end of file --- NEW FILE: mx_module_admin_body.html --- <script type="text/javascript"> function menuCat(id, mode, visible) { this.cat_id = id; this.menu_mode = mode; this.status = visible != '' ? visible : 'none'; } var menuCats = new Array(); <!-- BEGIN module --> menuCats['adminModule_{module.MODULE_ID}'] = new menuCat('{module.MODULE_ID}', 'adminModule_', '{module.VISIBLE}'); menuCats['adminModuleUpgrade_{module.MODULE_ID}'] = new menuCat('{module.MODULE_ID}', 'adminModuleUpgrade_', '{module.VISIBLE_UPGRADE}'); menuCats['adminModuleExport_{module.MODULE_ID}'] = new menuCat('{module.MODULE_ID}', 'adminModuleExport_', '{module.VISIBLE_EXPORT}'); menuCats['adminModuleDelete_{module.MODULE_ID}'] = new menuCat('{module.MODULE_ID}', 'adminModuleDelete_', '{module.VISIBLE_DELETE}'); <!-- END module --> function getObj(obj) { return ( document.getElementById ? document.getElementById(obj) : ( document.all ? document.all[obj] : null ) ); } function displayObj(obj, status) { var x = getObj(obj); if( x && x.style ) x.style.display = status; } var queueInterval = 0; // milliseconds between queued steps. var execInterval = 0; var queuedSteps; var currentStep; function queueStep(o, s) { this.obj = o; this.status = s; } function execQueue() { if( currentStep < queuedSteps.length ) { var obj = queuedSteps[currentStep].obj; var status = queuedSteps[currentStep].status; displayObj(obj, status); if( menuCats[obj] ) menuCats[obj].status = status; currentStep++; setTimeout("execQueue();", execInterval); } else { execInterval = queueInterval; } } function onMenuCatClick(cat_id, type, init) { var currentCat, currentStatus; var imageSCR = type+'image_'+cat_id; var strSubmitContent = ''; parentCatMode = 'adminModule_'; parentCat = parentCatMode + cat_id; currentCat = type + cat_id; currentStatus = menuCats[currentCat].status; queuedSteps = new Array(); cookieArray = new Array(); currentStep = 0; for( var forCat in menuCats ) { if( (init == 'true' && (menuCats[forCat].status == 'block') && menuCats[forCat].menu_mode == parentCatMode) || (init != 'true' && ( (menuCats[forCat].status == 'block') ))) { queuedSteps[currentStep++] = new queueStep(forCat, 'none'); menuCats[forCat].status = 'none'; forCatimage = menuCats[forCat].menu_mode+'image_'+menuCats[forCat].cat_id; if( document.images && document.images[forCatimage] ) { document.images[forCatimage].src = '{IMG_URL_EXPAND}'; } } } if( currentStatus == 'none' ) { queuedSteps[currentStep++] = new queueStep(currentCat, 'block'); menuCats[currentCat].status = 'block'; if (currentCat == parentCat) { var expdate = new Date(); // 72 Hours from now expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); setCookie('{COOKIE_NAME}_'+type+'module_id', 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 { delCookie('{COOKIE_NAME}_'+type+'module_id', ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); } for( var forCat in menuCats ) { if ( menuCats[forCat].status == 'block' ) { strSubmitContent += forCat + ','; } } // Remove trailing separator strSubmitContent = strSubmitContent.substr(0, strSubmitContent.length - 1); setCookie('{COOKIE_NAME}_admincp_blockstates', strSubmitContent, expdate, ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ('{COOKIE_SECURE}' == '0') ? false : true); currentStep = 0; setTimeout("execQueue();", execInterval); } function doOnLoadMenuACP() { var cat_id; if( getObj('adminModule_' + '{NAV_MODULE_ID}') ) { if ( '{NAV_MODULE_ID}' > 0 ) { cat_id = '{NAV_MODULE_ID}'; } else { cat_id = getCookie('{COOKIE_NAME}_adminModule_module_id'); } if( menuCats['adminModule_'+cat_id] ) { menuCats['adminModule_'+cat_id].status = 'none'; onMenuCatClick(cat_id, 'adminModule_', 'true'); } } if( oldOnLoadMenuACP ) { oldOnLoadMenuACP(); } } function checkForm(form) { formErrors = ''; if (form.module_name.value.length < 2) { formErrors += "Fill out the module title\r\n"; } if (form.module_desc.value.length < 2) { formErrors += "Fill out the module description\r\n"; } if (form.module_path.value.length < 2) { formErrors += "Fill out the module path\r\n"; } if (formErrors) { alert(formErrors); return false; } else { return true; } } var oldOnLoadMenuACP = window.onload; window.onload = doOnLoadMenuACP; // --> </script> <h1>{L_TITLE}</h1> <p>{L_EXPLAIN}</p> <div> <form method="post" name="jumpbox" action="{S_ACTION}"> <fieldset> <legend>{L_QUICK_NAV}</legend> <p> {MODULE_SELECT_BOX} <input type="submit" value="{S_SUBMIT}" class="lbutton2" /> </p> </fieldset> </form> </div> <div>{RESULT_MESSAGE}</div> <h2>{L_TITLE}</h2> <div> <form action="{S_ACTION}" method="post"> <fieldset> <legend>{L_IMPORT_PACK}</legend> <p> {S_MODULE_INSTALL_LIST} {S_HIDDEN_MODULE_INSTALL_FIELDS} <input class="button2" type="submit" name="import_pack" value="{L_IMPORT_PACK}"> </p> </fieldset> </form> </div> <div class="panel"> <span class="corners-top"><span></span></span> <div class="acp"> <div class="inner bg3" style="margin:1.0em;"> <!-- BEGIN module --> <div style="display:block;border-bottom:solid 1px #CCCCCC;"> <div style="display:block;height:2.5em;"> <div style="float:left;width:40%;margin-top:0.3em;"> <div style="float:left"> <img name="adminModule_image_{module.MODULE_ID}" id="adminModule_image_{module.MODULE_ID}" src="{module.IMG_URL}" border="0" align="absmiddle"> <span style="cursor:pointer" onclick="onMenuCatClick('{module.MODULE_ID}','adminModule_');"><img src="{IMG_ICON_MODULE}" border="0" align="middle" alt="" /></span> </div> <div style="float:left;margin-left:6px;"> <span style="cursor:pointer" onclick="onMenuCatClick('{module.MODULE_ID}','adminModule_');"> {module.MODULE_TITLE} </span><br/> <span class="explain">{module.MODULE_DESCRIPTION}</span> <i>{module.MODULE_VERSION}</i> </div> </div> <div style="float:right;width:50%;margin-top:0.3em;text-align:right;"> <span style="width:15%;"> <!-- BEGIN settings --> <img src="{IMG_URL_EXPAND}" border="0" align="middle"> <a href="{module.U_MODULE}">{L_SETTING}</a> <!-- END settings --> </span> <span style="width:15%;"> <!-- BEGIN settings --> <span style="cursor:pointer;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModuleUpgrade_');"> <img name="adminModuleUpgrade_image_{module.MODULE_ID}" src="{module.IMG_URL_UPGRADE}" border="0" align="absmiddle"> {L_UPGRADE_PACK} </span> <!-- END settings --> </span> <span style="width:15%;"> <!-- BEGIN settings --> <span style="cursor:pointer;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModuleExport_');"> <img name="adminModuleExport_image_{module.MODULE_ID}" src="{module.IMG_URL_EXPORT}" border="0" align="absmiddle"> {L_EXPORT_PACK} </span> <!-- END settings --> </span> <span style="width:15%;"> <!-- BEGIN settings --> <span style="cursor:pointer" onclick="onMenuCatClick('{module.MODULE_ID}','adminModuleDelete_');"> <img name="adminModuleDelete_image_{module.MODULE_ID}" src="{module.IMG_URL_DELETE}" border="0" align="absmiddle"> {L_UNINSTALL} </span> <!-- END settings --> </span> </span> </div> </div> <br clear="all" /> <!-- MODUL Delete --> <div id="adminModuleDelete_{module.MODULE_ID}" style="display:{module.VISIBLE_DELETE};" class="genmed"> <br clear="all" /> <fieldset> <legend style="cursor:pointer;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModuleDelete_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="middle"> {L_UNINSTALL} </legend> <p> {module.MESSAGE_DELETE} </p> </fieldset> </div> <!-- MODUL Export --> <div id="adminModuleExport_{module.MODULE_ID}" style="display:{module.VISIBLE_EXPORT};" class="genmed"> <br clear="all" /> <fieldset> <legend style="cursor:pointer" onclick="onMenuCatClick('{module.MODULE_ID}','adminModuleExport_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="middle"> {L_EXPORT_PACK} </legend> <p> {module.MESSAGE_EXPORT} </p> </fieldset> </div> <!-- MODUL Update --> <div id="adminModuleUpgrade_{module.MODULE_ID}" style="display:{module.VISIBLE_UPGRADE};" class="genmed"> <br clear="all" /> <fieldset> <legend style="cursor:pointer;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModuleUpgrade_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> {L_UPGRADE_PACK} </legend> <p> {module.MESSAGE_UPGRADE} </p> </fieldset> </div> <!-- MODUL Settings --> <div id="adminModule_{module.MODULE_ID}" style="display:{module.VISIBLE};" class="genmed"> <br clear="all" /> <form action="{S_ACTION}" onsubmit="return checkForm(this)" name="post" method="post"> <fieldset> <legend style="cursor:pointer;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModule_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="middle"> {module.L_TITLE} </legend> <dl> <dt>{L_MODULE_NAME}</dt> <dd><input type="text" size="50" name="module_name" value="{module.E_MODULE_NAME}" /></dd> </dl> <dl> <dt>{L_MODULE_DESC}</dt> <dd><input type="text" size="50" name="module_desc" value="{module.E_MODULE_DESC}" /></dd> </dl> <dl> <dt>{L_MODULE_PATH}</dt> <dd><input type="text" size="50" name="module_path" value="{module.E_MODULE_PATH}" /></dd> </dl> <dl> <dt>{L_MODULE_INCLUDE_ADMIN}</dt> <dd><input type="checkbox" size="45" name="module_include_admin" value="1" {module.E_MODULE_INCLUDE_CHECK_OPT}/></dd> </dl> <dl> <dt></dt> <dd>{module.S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{module.S_SUBMIT}" class="button1" /></dd> </dl> </fieldset> </form> </div> </div> <!-- END module --> </div> </div> <p></p> Index: admin.css =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/admin/admin.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin.css 16 Dec 2007 01:56:48 -0000 1.1 --- admin.css 20 Dec 2007 13:11:35 -0000 1.2 *************** *** 260,269 **** } ! #tabs #activetab a { background-position: 0 0; border-bottom: 1px solid #DCDEE2; } ! #tabs #activetab a span { background-position: 100% 0; padding-bottom: 5px; --- 260,269 ---- } ! #tabs #activetab a, #tabs .activetab a { background-position: 0 0; border-bottom: 1px solid #DCDEE2; } ! #tabs #activetab a span, #tabs .activetab a span { background-position: 100% 0; padding-bottom: 5px; *************** *** 279,283 **** } ! #tabs #activetab a:hover span { color: #115098; } --- 279,283 ---- } ! #tabs #activetab a:hover span, #tabs .activetab a:hover span { color: #115098; } --- NEW FILE: mx_modulecp_admin_body.html --- <script type="text/javascript" src="../modules/mx_shared/lib/DynamicOptionList_comp.js"></script> <script type="text/javascript"> function handleError() { return true; } window.onerror = handleError; function menuCat(id, mode, visible) { this.cat_id = id; this.menu_mode = mode; this.status = visible != '' ? visible : 'none'; } var menuCats = new Array(); <!-- BEGIN module --> menuCats['adminModule_{module.MODULE_ID}'] = new menuCat('{module.MODULE_ID}', 'adminModule_', '{module.VISIBLE}'); <!-- BEGIN function --> menuCats['adminFunction_{module.function.FUNCTION_ID}'] = new menuCat('{module.function.FUNCTION_ID}', 'adminFunction_', '{module.function.VISIBLE_FUNC}'); menuCats['adminFunctionDelete_{module.function.FUNCTION_ID}'] = new menuCat('{module.function.FUNCTION_ID}', 'adminFunctionDelete_', '{module.function.VISIBLE_DELETE}'); menuCats['adminParameter_{module.function.FUNCTION_ID}'] = new menuCat('{module.function.FUNCTION_ID}', 'adminParameter_', '{module.function.VISIBLE_PAR}'); menuCats['adminBlock_{module.function.FUNCTION_ID}'] = new menuCat('{module.function.FUNCTION_ID}', 'adminBlock_', '{module.function.VISIBLE_BLOCK}'); <!-- BEGIN parameter --> menuCats['adminParEdit_{module.function.parameter.PARAMETER_ID}'] = new menuCat('{module.function.parameter.PARAMETER_ID}', 'adminParEdit_', '{module.function.parameter.VISIBLE}'); menuCats['adminParDelete_{module.function.parameter.PARAMETER_ID}'] = new menuCat('{module.function.parameter.PARAMETER_ID}', 'adminParDelete_', '{module.function.parameter.VISIBLE_DELETE}'); <!-- END parameter --> <!-- BEGIN block --> menuCats['adminEdit_{module.function.block.BLOCK_ID}'] = new menuCat('{module.function.block.BLOCK_ID}', 'adminEdit_', '{module.function.block.VISIBLE_EDIT}'); menuCats['adminPrivate_{module.function.block.BLOCK_ID}'] = new menuCat('{module.function.block.BLOCK_ID}', 'adminPrivate_', '{module.function.block.VISIBLE_PRIVATE}'); menuCats['adminBlockDelete_{module.function.block.BLOCK_ID}'] = new menuCat('{module.function.block.BLOCK_ID}', 'adminBlockDelete_', '{module.function.block.VISIBLE_DELETE}'); <!-- BEGIN settings --> menuCats['adminSettings_{module.function.block.BLOCK_ID}'] = new menuCat('{module.function.block.BLOCK_ID}', 'adminSettings_', '{module.function.block.VISIBLE_SETTINGS}'); <!-- END settings --> <!-- END block --> <!-- END function --> <!-- END module --> function getObj(obj) { return ( document.getElementById ? document.getElementById(obj) : ( document.all ? document.all[obj] : null ) ); } function displayObj(obj, status) { var x = getObj(obj); if( x && x.style ) x.style.display = status; } var queueInterval = 0; // milliseconds between queued steps. var execInterval = 0; var queuedSteps; var currentStep; function queueStep(o, s) { this.obj = o; this.status = s; } function execQueue() { if( currentStep < queuedSteps.length ) { var obj = queuedSteps[currentStep].obj; var status = queuedSteps[currentStep].status; displayObj(obj, status); if( menuCats[obj] ) menuCats[obj].status = status; currentStep++; setTimeout("execQueue();", execInterval); } else { execInterval = queueInterval; } } function onMenuCatClick(cat_id, type, init) { var currentCat, currentStatus; var imageSCR = type+'image_'+cat_id; var strSubmitContent = ''; parentModuleMode = 'adminModule_'; parentFunctionMode = 'adminBlock_'; parentFuncEditMode = 'adminFunction_'; parentFuncParMode = 'adminParameter_'; parentFuncDeleteMode = 'adminFunctionDelete_'; parentBlockEditMode = 'adminEdit_'; parentBlockPrivateMode = 'adminPrivate_'; parentBlockDeleteMode = 'adminBlockDelete_'; parentModuleCat = parentModuleMode + cat_id; parentFunctionCat = parentFunctionMode + cat_id; parentFuncEditCat = parentFuncEditMode + cat_id; parentFuncParCat = parentFuncParMode + cat_id; parentFuncDeleteCat = parentFuncDeleteMode + cat_id; parentBlockEditCat = parentBlockEditMode + cat_id; parentBlockPrivateCat = parentBlockPrivateMode + cat_id; parentBlockDeleteCat = parentBlockDeleteMode + cat_id; currentCat = type + cat_id; currentStatus = menuCats[currentCat].status; queuedSteps = new Array(); cookieArray = new Array(); currentStep = 0; for( var forCat in menuCats ) { if( (init == 'true' && (menuCats[forCat].status == 'block') && menuCats[forCat].menu_mode == parentModuleMode) || (init != 'true' && ( (currentCat == parentModuleCat && menuCats[forCat].status == 'block') || (currentCat == parentFunctionCat && menuCats[forCat].menu_mode != parentModuleMode && menuCats[forCat].status == 'block') || (currentCat == parentFuncEditCat && menuCats[forCat].menu_mode != parentModuleMode && menuCats[forCat].menu_mode != parentFunctionMode && menuCats[forCat].status == 'block') || (currentCat == parentFuncParCat && menuCats[forCat].menu_mode != parentModuleMode && menuCats[forCat].menu_mode != parentFunctionMode && menuCats[forCat].status == 'block') || (currentCat == parentFuncDeleteCat && menuCats[forCat].menu_mode != parentModuleMode && menuCats[forCat].menu_mode != parentFunctionMode && menuCats[forCat].status == 'block') || (currentCat == parentBlockEditCat && menuCats[forCat].menu_mode != parentModuleMode && menuCats[forCat].menu_mode != parentFunctionMode && menuCats[forCat].status == 'block') || (currentCat == parentBlockPrivateCat && menuCats[forCat].menu_mode != parentModuleMode && menuCats[forCat].menu_mode != parentFunctionMode && menuCats[forCat].status == 'block') || (currentCat == parentBlockDeleteCat && menuCats[forCat].menu_mode != parentModuleMode && menuCats[forCat].menu_mode != parentFunctionMode && menuCats[forCat].status == 'block') || (currentCat != parentModuleCat && currentCat != parentFunctionCat && forCat == currentCat && currentStatus == 'block') ))) { queuedSteps[currentStep++] = new queueStep(forCat, 'none'); menuCats[forCat].status = 'none'; forCatimage = menuCats[forCat].menu_mode+'image_'+menuCats[forCat].cat_id; if( document.images && document.images[forCatimage] ) { document.images[forCatimage].src = '{IMG_URL_EXPAND}'; } } } if( currentStatus == 'none' ) { queuedSteps[currentStep++] = new queueStep(currentCat, 'block'); menuCats[currentCat].status = 'block'; if (currentCat == parentModuleCat) { var expdate = new Date(); // 72 Hours from now expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); setCookie('{COOKIE_NAME}_'+type+'module_id', 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 { delCookie('{COOKIE_NAME}_'+type+'module_id', ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); } for( var forCat in menuCats ) { if ( menuCats[forCat].status == 'block' ) { strSubmitContent += forCat + ','; } } // Remove trailing separator strSubmitContent = strSubmitContent.substr(0, strSubmitContent.length - 1); setCookie('{COOKIE_NAME}_admincp_blockstates', strSubmitContent, expdate, ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ('{COOKIE_SECURE}' == '0') ? false : true); currentStep = 0; setTimeout("execQueue();", execInterval); } function doOnLoadMenuACP() { var cat_id; if( getObj('adminModule_' + '{NAV_MODULE_ID}') ) { if ( '{NAV_MODULE_ID}' > 0 ) { cat_id = '{NAV_MODULE_ID}'; } else { cat_id = getCookie('{COOKIE_NAME}_adminModule_module_id'); } if( menuCats['adminModule_'+cat_id] ) { menuCats['adminModule_'+cat_id].status = 'none'; onMenuCatClick(cat_id, 'adminModule_', 'true'); } } if( oldOnLoadMenuACP ) { oldOnLoadMenuACP(); } } function checkForm() { formErrors = ''; if (document.forms['function'].function_name.value.length < 2) { formErrors += "Fill out the function title\r\n"; } if (document.forms['function'].function_desc.value.length < 2) { formErrors += "Fill out the function description\r\n"; } if (document.forms['function'].function_file.value.length < 2) { formErrors += "Fill out the function file\r\n"; } if (formErrors) { alert(formErrors); return false; } else { bbstyle(-1); //formObj.preview.disabled = true; //formObj.submit.disabled = true; return true; } } var oldOnLoadMenuACP = window.onload; window.onload = doOnLoadMenuACP; // --> </script> <h1>{L_TITLE}</h1> <p>{L_EXPLAIN}</p> <div class="inner"> <form action="{S_ACTION}" method="post" name="jumpbox"> <div style="float:right;margin-left:10px;"> <fieldset> <legend>{L_QUICK_NAV}</legend> <p> {MODULE_SELECT_BOX} <input type="submit" value="{S_SUBMIT}" class="button2" /> </p> </fieldset> </div> <div style="float:left;display:block;"> <fieldset> <legend>{L_INCLUDE_BLOCK}</legend> <p> {L_INCLUDE_BLOCK_QUICKEDIT} <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} {L_INCLUDE_BLOCK_PRIVATE} <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} <span style="margin-left:10px"> <input type="submit" value="{S_SUBMIT}" class="button2" /> </span> </p> </fieldset> </div> </form> </div> <br clear="all" /> <div id="admincp"> <h2>{L_TITLE}</h2> <!-- BEGIN nomodule --> <div class="rules">{nomodule.NONE}</div> <!-- END nomodule --> <p></p> <div class="panel"> <span class="corners-top"><span></span></span> <div class="acp"> <div class="inner bg3" style="margin:1.0em;"> <div > {RESULT_MESSAGE} </div> <!-- BEGIN module --> <div style="display:block;"> <div style="display:block;height:2.0em;border-bottom:solid 1px #CCCCCC;"> <div style="display:block;float:right;width:40%;text-align:right;"> <span style="margin-left:6px"> [ <a href="{module.U_MODULE_EDIT}">{L_EDIT}</a> ] </span> </div> <div style="display:block;"> <!-- BEGIN is_current --> <span style="cursor:pointer;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModule_');"> <img name="adminModule_image_{module.MODULE_ID}" id="adminModule_image_{module.MODULE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> <img src="{IMG_ICON_MODULE}" border="0" align="absmiddle"> {module.MODULE_TITLE} <span class="gensmall">{module.MODULE_DESC}</span> </span> <!-- END is_current --> <!-- BEGIN reload --> <img name="adminModule_image_{module.MODULE_ID}" id="adminModule_image_{module.MODULE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> <img src="{IMG_ICON_MODULE}" border="0" align="middle"> <a href="{module.reload.U_MODULE_EDIT}">{module.MODULE_TITLE}</a> <span class="gensmall">{module.MODULE_DESC}</span> <!-- END reload --> </div> </div> <div style="margin-left:16px"><!-- Block Functions --> <!-- BEGIN nofunction --> <div class="rules"> {module.nofunction.NONE} </div> <!-- END nofunction --> <!-- BEGIN function --> <div class="inner" style="border-bottom:solid 1px #CCCCCC;"> <div style="display:block;margin-top:5px;padding-bottom:6px;"> <div style="display:block;float:right;width:40%;text-align:right;"> <span style="width:15%"> <!-- BEGIN is_function --> <span style="cursor:pointer" onclick="onMenuCatClick('{module.function.FUNCTION_ID}','adminFunction_');"> <img name="adminFunction_image_{module.function.FUNCTION_ID}" id="adminFunction_image_{module.function.FUNCTION_ID}" src="{module.function.IMG_URL_FUNC}" border="0" align="middle"> {L_EDIT} <!-- END is_function --> </span> <span style="width:15%"> <!-- BEGIN is_function --> <span style="cursor:pointer" onclick="onMenuCatClick('{module.function.FUNCTION_ID}','adminParameter_');"> <img name="adminParameter_image_{module.function.FUNCTION_ID}" id="adminParameter_image_{module.function.FUNCTION_ID}" src="{module.function.IMG_URL_PAR}" border="0" align="middle"> {module.function.L_EDIT_PAR} <!-- END is_function --> </span> <span style="width:15%"> <!-- BEGIN is_function --> <span style="cursor:pointer" onclick="onMenuCatClick('{module.function.FUNCTION_ID}','adminFunctionDelete_');"> <img name="adminFunctionDelete_image_{module.function.FUNCTION_ID}" id="adminFunctionDelete_image_{module.function.FUNCTION_ID}" src="{module.function.IMG_URL_DELETE}" border="0" align="middle"> {module.function.L_DELETE} </span> <!-- END is_function --> </div> </div> <div style="display:block;"> <span style="cursor:pointer;" onclick="onMenuCatClick('{module.function.FUNCTION_ID}','{module.function.COOKIE_TAG}');"> <img name="{module.function.COOKIE_TAG}image_{module.function.FUNCTION_ID}" id="{module.function.COOKIE_TAG}image_{module.function.FUNCTION_ID}" src="{module.function.IMG_URL_FUNC}" border="0" align="middle"> <img src="{IMG_ICON_FUNCTION}" border="0" align="middle"> {module.function.FUNCTION_TITLE} <span class="gensmall">{module.function.FUNCTION_DESC}</span> </span> </div> <!-- FUNCTION Delete --> <div id="adminFunctionDelete_{module.function.FUNCTION_ID}" style="display:{module.function.VISIBLE_DELETE};" class="genmed"> <br clear="all" /> <fieldset> <legend style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.function.FUNCTION_ID}','adminFunctionDelete_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> {L_DELETE} </legend> <p> {module.function.MESSAGE_DELETE} </p> </fieldset> </div> <!-- FUNCTION Settings --> <div id="adminFunction_{module.function.FUNCTION_ID}" style="display:{module.function.VISIBLE_FUNC};" class="genmed"> <br clear="all" /> <form id="form_adminFunction_{module.function.FUNCTION_ID}" action="{S_ACTION}" method="post"> <fieldset> <legend style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.function.FUNCTION_ID}','adminFunction_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> {module.function.L_TITLE} </legend> <dl> <dt>{module.function.L_FUNCTION_TITLE}</dt> <dd><input type="text" size="45" name="function_name" value="{module.function.E_FUNCTION_TITLE}" /></dd> </dl> <dl> <dt>{module.function.L_FUNCTION_DESC}</dt> <dd><input type="text" size="45" name="function_desc" value="{module.function.E_FUNCTION_DESC}" /></dd> </dl> <dl> <dt>{module.function.L_FUNCTION_FILE}</dt> <dd><input type="text" size="45" name="function_file" value="{module.function.E_FUNCTION_FILE}" /></dd> </dl> <dl> <dt>{module.function.L_FUNCTION_ADMIN_FILE}</dt> <dd><input type="text" size="45" name="function_admin" value="{module.function.E_FUNCTION_ADMIN_FILE}" /></dd> </dl> <dl> <dt></dt> <dd> {module.function.S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{module.function.S_SUBMIT}" class="button1" /> </dd> </dl> </fieldset> </form> </div> <!-- FUNCTION PARAMETERS BEGIN --> <div id="adminParameter_{module.function.FUNCTION_ID}" style="display:{module.function.VISIBLE_PAR};" style="margin-left:16px"> <fieldset> <legend>{module.function.L_TITLE_PAR}</legend> <div style="display:block;"> <div> <div style="float:left;width:30%"> {module.function.parameter.L_PARAMETER_TITLE} </div> <div style="float:left:width:15%;"> {module.function.parameter.L_PARAMETER_TYPE} </div> <div> </div> </div> <!-- BEGIN noparameter --> <div style="display:block;border-bottom:solid 1px #CCCCCC;">{module.function.noparameter.NONE}</div> <!-- END noparameter --> <!-- BEGIN parameter --> <div style="display:block;border-bottom:solid 1px #CCCCCC;"> <div style="display:block;padding-top:4px;height:1.5em;"> <div style="float:right;"> <span style="cursor:pointer;" onclick="onMenuCatClick('{module.function.parameter.PARAMETER_ID}','adminParEdit_');"> <!-- BEGIN is_parameter --> <img name="adminParEdit_image_{module.function.parameter.PARAMETER_ID}" id="adminParEdit_image_{module.function.parameter.PARAMETER_ID}" src="{module.function.parameter.IMG_URL}" border="0" align="middle"> <!-- END is_parameter --> {module.function.parameter.L_EDIT} </span> <span align="center" valign="middle" style="cursor:pointer;" onclick="onMenuCatClick('{module.function.parameter.PARAMETER_ID}','adminParDelete_');" > <!-- BEGIN is_parameter --> <img name="adminParDelete_image_{module.function.parameter.PARAMETER_ID}" id="adminParDelete_image_{module.function.parameter.PARAMETER_ID}" src="{module.function.parameter.IMG_URL_DELETE}" border="0" align="middle"> <img src="{MX_ROOT_PATH}/templates/prosilver/images/admin_icons/icon_delete.gif" alt="{L_DELETE}" title="{L_DELETE}" align="middle" /> {L_DELETE} <!-- END is_parameter --> </span> <span align="center" valign="middle"><span class="gen"> <!-- BEGIN is_parameter --> <a href="{module.function.parameter.U_MOVE_UP}"><img src="{MX_ROOT_PATH}/templates/prosilver/images/admin_icons/icon_up.gif" alt="{L_MOVE_UP}" title="{L_MOVE_UP}" align="middle" /></a> <a href="{module.function.parameter.U_MOVE_DOWN}"><img src="{MX_ROOT_PATH}/templates/prosilver/images/admin_icons/icon_down.gif" alt="{L_MOVE_DOWN}" title="{L_MOVE_DOWN}" align="middle" /></a> <!-- END is_parameter --> </span> </div> <div style="display:block;float:left;width:30%;"> <img src="{IMG_ICON_PARAMETER}" border="0" align="absmiddle"> {module.function.parameter.PARAMETER_TITLE} </div> <div style="display:block;float:left:width:15%;">{module.function.parameter.PARAMETER_TYPE} </div> </div> <!-- FUNCTION PARAMETER Delete --> <div id="adminParDelete_{module.function.parameter.PARAMETER_ID}" style="display:{module.function.parameter.VISIBLE_DELETE};" class="genmed"> <br clear="all" /> <fieldset> <legend style="cursor:pointer;" onclick="onMenuCatClick('{module.function.parameter.PARAMETER_ID}','adminParDelete_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="middle"> {L_DELETE} </legend> <p> {module.function.parameter.MESSAGE_DELETE} </p> </fieldset> </div> <!-- FUNCTION PARAMETER Edit --> <div id="adminParEdit_{module.function.parameter.PARAMETER_ID}" style="display:{module.function.parameter.VISIBLE};" class="genmed"> <form action="{S_ACTION}" method="post"> <br clear="all" /> <fieldset> <legend style="cursor:pointer;" onclick="onMenuCatClick('{module.function.parameter.PARAMETER_ID}','adminParEdit_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="middle"> {module.function.parameter.L_EDIT} </legend> <dl> <dt>{module.function.parameter.L_PARAMETER_TITLE}</dt> <dd><input type="text" size="45" name="parameter_name" value="{module.function.parameter.E_PARAMETER_TITLE}" class="post" /></dd> </dl> <dl> <dt>{module.function.parameter.L_PARAMETER_TYPE}</dt> <dd>{module.function.parameter.E_PARAMETER_TYPE}</dd> </dl> <dl> <dt>{module.function.parameter.L_PARAMETER_AUTH}</dt> <dd><input type="radio" name="parameter_auth" value="1" {module.function.parameter.E_PARAMETER_AUTH_YES} /> {L_YES} <input type="radio" name="parameter_auth" value="0" {module.function.parameter.E_PARAMETER_AUTH_NO} /> {L_NO}</dd> </dl> <dl> <dt>{module.function.parameter.L_PARAMETER_DEFAULT}</dt> <dd><input type="text" size="45" name="parameter_default" value="{module.function.parameter.E_PARAMETER_DEFAULT}" class="post" /></dd> </dl> <dl> <dt>{module.function.parameter.L_PARAMETER_FUNCTION}<br /><br /><span class="gensmall">{module.function.parameter.L_PARAMETER_FUNCTION_EXPLAIN}</span></dt> <dd><textarea rows="20" cols="100" wrap="virtual" name="parameter_function" class="post" />{module.function.parameter.E_PARAMETER_FUNCTION}</textarea></dd> </dl> <dl> <dt></dt> <dd>{module.function.parameter.S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{module.function.parameter.S_SUBMIT}" class="button1" /></dd> </dl> </fieldset> </form> </div> </div> <!-- END parameter --> </div> </fieldset> </div> <!-- FUNCTION PARAMETERS END --> <!-- FUNCTION BLOCK BEGIN --> <div id="adminBlock_{module.function.FUNCTION_ID}" style="display:{module.function.VISIBLE_BLOCK};" style="margin-top:6px;margin-left:16px;padding-bottom:5px;"> <!-- BEGIN noblock --> <div style="display:block;border-bottom:solid 1px #CCCCCC;margin-bottom:3px;">{module.function.noblock.NONE}</div> <!-- END noblock --> <!-- BEGIN block --> <div style="display:block;border-bottom:solid 1px #CCCCCC;margin-bottom:3px;padding-top:3px;"> <div style="display:block;height:2.3em;overflow:none;"> <div style="float:right"> <span style="cursor:pointer;width:15%" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminEdit_');"> <!-- BEGIN is_block --> <!-- BEGIN include_block_edit --> <img name="adminEdit_image_{module.function.block.BLOCK_ID}" id="adminEdit_image_{module.function.block.BLOCK_ID}" src="{module.function.block.IMG_URL_EDIT}" border="0" align="middle"> {module.function.block.L_EDIT} <!-- END include_block_edit --> <!-- END is_block --> </span> <span style="cursor:pointer;width:15%" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminPrivate_');"> <!-- BEGIN is_block --> <!-- BEGIN include_block_private --> <img name="adminPrivate_image_{module.function.block.BLOCK_ID}" id="adminPrivate_image_{module.function.block.BLOCK_ID}" src="{module.function.block.IMG_URL_PRIVATE}" border="0" align="absmiddle"> {module.function.block.L_PERMISSIONS_ADV} <!-- END include_block_private --> <!-- END is_block --> </span> <span style="width:10%"> <!-- BEGIN is_block --> [ <a href="{module.function.block.U_BLOCK_SETTINGS}">{module.function.block.L_SETTINGS}</a> ] <!-- END is_block --> </span> <span style="width:10%" style="cursor:pointer;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminBlockDelete_');" > <!-- BEGIN is_block --> <img name="adminBlockDelete_image_{module.function.block.BLOCK_ID}" id="adminBlockDelete_image_{module.function.block.BLOCK_ID}" src="{module.function.block.IMG_URL_DELETE}" border="0" align="absmiddle"> {module.function.block.L_DELETE} <!-- END is_block --> </span> </div> <div style="float:left;cursor:pointer;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminEdit_');"> <img src="{IMG_ICON_BLOCK}" border="0" align="absmiddle"> {module.function.block.BLOCK_TITLE} <span class="gensmall"><i>{module.function.block.BLOCK_LAST_EDITED}</i></span> <span class="gensmall">{module.function.block.BLOCK_DESC}</span> </div> </div> <!-- FUNCTION BLOCK Delete --> <div id="adminBlockDelete_{module.function.block.BLOCK_ID}" style="padding-top:6px;display:{module.function.block.VISIBLE_DELETE};"> <br clear="all" /> <fieldset> <legend style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminBlockDelete_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="middle"> {L_DELETE} </legend> <p> {module.function.block.MESSAGE_DELETE} </p> </fieldset> </div> <!-- FUNCTION BLOCK QUICK Edit --> <div id="adminEdit_{module.function.block.BLOCK_ID}" style="padding-top:6px;display:{module.function.block.VISIBLE_EDIT};"> <br clear="all" /> <form action="{S_ACTION}" method="post"> <fieldset> <legend style="cursor:pointer;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminEdit_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="middle"> {module.function.block.L_TITLE} </legend> <dl> <dt>{module.function.block.L_BLOCK_TITLE}</dt> <dd><input type="text" size="65" name="block_title" value="{module.function.block.E_BLOCK_TITLE}" class="post" /></dd> </dl> <dl> <dt>{module.function.block.L_BLOCK_DESC}</dt> <dd><input type="text" size="65" name="block_desc" value="{module.function.block.E_BLOCK_DESC}" class="post" /></dd> </dl> <dl> <dt>{module.function.block.L_SHOW_TITLE}<br /><span class="gensmall">{module.function.block.L_SHOW_TITLE_EXPLAIN}</span></dt> <dd><input type="radio" name="show_title" value="1" {module.function.block.S_SHOW_TITLE_YES} /> {L_YES} <input type="radio" name="show_title" value="0" {module.function.block.S_SHOW_TITLE_NO} /> {L_NO}</dd> </dl> <dl> <dt>{module.function.block.L_SHOW_STATS}<br /><span class="gensmall">{module.function.block.L_SHOW_STATS_EXPLAIN}</span></dt> <dd><input type="radio" name="show_stats" value="1" {module.function.block.S_SHOW_STATS_YES} /> {L_YES} <input type="radio" name="show_stats" value="0" {module.function.block.S_SHOW_STATS_NO} /> {L_NO}</dd> </dl> <dl> <dt>{module.function.block.L_SHOW_BLOCK}<br /><span class="gensmall">{module.function.block.L_SHOW_BLOCK_EXPLAIN}</span></dt> <dd><input type="radio" name="show_block" value="1" {module.function.block.S_SHOW_BLOCK_YES} /> {L_YES} <input type="radio" name="show_block" value="0" {module.function.block.S_SHOW_BLOCK_NO} /> {L_NO}</dd> </dl> <dl> <dt>{module.function.block.L_AUTH_TITLE}<br /><span class="gensmall">{module.function.block.L_AUTH_TITLE_EXPLAIN}</span></dt> <dd> <table cellspacing="1" cellpadding="4" border="0"> <tr> <!-- BEGIN block_auth_titles --> <td class="row3" align="center"><h3>{module.function.block.block_auth_titles.CELL_TITLE}</h3></td> <!-- END block_auth_titles --> </tr> <tr> <!-- BEGIN block_auth_data --> <td> {module.function.block.block_auth_data.S_AUTH_LEVELS_SELECT} </td> <!-- END block_auth_data --> </tr> </table> </dd> </dl> <dl> <dt>{module.function.block.L_COLUMN}</dt> <dd>{module.function.block.S_COLUMN_LIST}</dd> </dl> <dl> <dt></dt> <dd> {module.function.block.S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{module.function.block.S_SUBMIT}" class="button1" /> </dd> </dl> </fieldset> </form> </div> <!-- FUNCTION BLOCK Private Auth --> <div id="adminPrivate_{module.function.block.BLOCK_ID}" style="display:{module.function.block.VISIBLE_PRIVATE};" class="genmed"> <br clear="all" /> <form action="{S_ACTION}" method="post"> <fieldset> <legend style="cursor:pointer;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminPrivate_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="middle"> {module.function.block.L_TITLE} </legend> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td width="40%" class="row3" align="center" height="25" nowrap="nowrap"><b>{L_GROUPS}</b></td> <td width="20%" class="row3" align="center" nowrap="nowrap"><b>{L_VIEW}</b></td> <td width="20%" class="row3" align="center" nowrap="nowrap"><b>{L_EDIT}</b></td> <td width="20%" class="row3" align="center" nowrap="nowrap"><b>{L_IS_MODERATOR}</b></td> </tr> <tr> <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} <!-- END grouprows --> </table> </div> </td> </tr> </table> <dl> <dt></dt> <dd>{module.function.block.S_HIDDEN_PRIVATE_FIELDS} <input type="submit" name="submit" value="{module.function.block.S_SUBMIT}" class="button1" /> </dd> </dl> </fieldset> </form> </div> </div> <!-- END block --> </div> <!-- FUNCTION BLOCK END --> </div> <!-- END function --> </div> </div> <!-- END module --> </div> </div> </div> </div> Index: mx_blockcp_admin_body.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/admin/mx_blockcp_admin_body.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_blockcp_admin_body.html 17 Dec 2007 06:57:03 -0000 1.2 --- mx_blockcp_admin_body.html 20 Dec 2007 13:11:35 -0000 1.3 *************** *** 213,217 **** <!-- END mx_blockcp --> ! <h2>{L_TITLE}</h2> <p>{L_EXPLAIN}</p> --- 213,217 ---- <!-- END mx_blockcp --> ! <h1 class="blockcp">{L_TITLE}</h1> <p>{L_EXPLAIN}</p> *************** *** 475,503 **** <div class="inner"> <span class="corners-top"><span></span></span> <!-- BEGIN blockcp_panel --> ! <div class="inner"> ! <h3>{blockcp_panel.BLOCKCP_PANELS}</h3> ! </div> <!-- END blockcp_panel --> - <!-- BEGIN blockcp_settings --> ! <div> ! <form action="{S_ACTION}" method="post" name="post"> ! <!-- BEGIN no_settings --> ! <div> ! {blockcp_settings.no_settings.INFO} ! </div> ! <!-- END no_settings --> ! <div> ! <fieldset class="fieldset1"> ! {BLOCKCP_PARAMETERS} ! </fieldset> ! </div> ! <div style="text-align:center"> ! {blockcp_settings.S_HIDDEN_FIELDS} ! <input type="submit" name="submit_pars" value="{blockcp_settings.S_SUBMIT}" class="button1" /> ! {CANCEL} ! </div> ! </form> </div> <!-- END blockcp_settings --> --- 475,504 ---- <div class="inner"> <span class="corners-top"><span></span></span> + <div class="inner"> <!-- BEGIN blockcp_panel --> ! <div> ! {blockcp_panel.BLOCKCP_PANELS} ! </div> <!-- END blockcp_panel --> <!-- BEGIN blockcp_settings --> ! <div> ! <form action="{S_ACTION}" method="post" name="post"> ! <!-- BEGIN no_settings --> ! <div> ! {blockcp_settings.no_settings.INFO} ! </div> ! <!-- END no_settings --> ! <div> ! <fieldset class="fieldset1"> ! {BLOCKCP_PARAMETERS} ! </fieldset> ! </div> ! <div style="text-align:center"> ! {blockcp_settings.S_HIDDEN_FIELDS} ! <input type="submit" name="submit_pars" value="{blockcp_settings.S_SUBMIT}" class="button1" /> ! {CANCEL} ! </div> ! </form> ! </div> </div> <!-- END blockcp_settings --> Index: admin_mx_portal.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/admin/admin_mx_portal.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_mx_portal.html 17 Dec 2007 06:57:04 -0000 1.1 --- admin_mx_portal.html 20 Dec 2007 13:11:35 -0000 1.2 *************** *** 6,10 **** <fieldset> <legend>{L_GENERAL_SETTINGS}</legend> - </dl> <dl> <dt>{L_PORTAL_NAME}</dt> --- 6,9 ---- *************** *** 12,36 **** </dl> <dl> ! <dt>{L_PORTAL_URL}</dt> ! <dd><input type="text" maxlength="150" size="50" name="portal_url" value="{PORTAL_URL}" /></dd> </dl> <dl> ! <dt>{L_PORTAL_PHPBB_URL}</dt> ! <dd><input type="text" maxlength="150" size="50" name="portal_phpbb_url" value="{PORTAL_PHPBB_URL}" /></dd> </dl> <dl> ! <dt>{L_MX_USE_CACHE}<br /><span class="gensmall">{L_MX_USE_CACHE_EXPLAIN}</span></dd> <dd><input type="radio" name="mx_use_cache" value="1" {S_MX_USE_CACHE_YES} /> {L_YES} <input type="radio" name="mx_use_cache" value="0" {S_MX_USE_CACHE_NO} /> {L_NO}</dd> </dl> <dl> ! <dt>{L_MX_MOD_REWRITE}<br /><span class="gensmall">{L_MX_MOD_REWRITE_EXPLAIN}</span></dd> <dd><input type="radio" name="mod_rewrite" value="1" {S_MX_MOD_REWRITE_YES} /> {L_YES} <input type="radio" name="mod_rewrite" value="0" {S_MX_MOD_REWRITE_NO} /> {L_NO}</dd> </dl> </fieldset> <fieldset> ! <legend>{L_STYLE_SETTINGS}?</legend> <dl> ! <dt>{L_DEFAULT_ADMIN_STYLE}</dt> ! <dd>{ADMIN_STYLE_SELECT}</dd> </dl> <dl> --- 11,122 ---- </dl> <dl> ! <dt>{L_PORTAL_DESC}</dt> ! <dd><input type="text" maxlength="150" size="50" name="portal_desc" value="{PORTAL_DESC}" /></dd> </dl> <dl> ! <dt>{L_PORTAL_STATUS}<br /><span class="explain">{L_PORTAL_STATUS_EXPLAIN}</span></dt> ! <dd><input type="radio" name="portal_status" value="1" {S_PORTAL_STATUS_YES} /> {L_YES} ! <input type="radio" name="portal_status" value="0" {S_PORTAL_STATUS_NO} /> {L_NO}</dd> </dl> <dl> ! <dt>{L_DISABLED_MESSAGE}</dt> ! <dd><textarea rows="5" cols="50" wrap="virtual" name="disabled_message">{DISABLED_MESSAGE}</textarea></dd> ! </dl> ! <dl> ! <dt>{L_SERVER_NAME}</dt> ! <dd><input type="text" maxlength="255" size="40" name="server_name" value="{SERVER_NAME}" /></dd> ! </dl> ! <dl> ! <dt>{L_SERVER_PORT}<br /><span class="explain">{L_SERVER_PORT_EXPLAIN}</span></dt> ! <dd><input type="text" maxlength="5" size="5" name="server_port" value="{SERVER_PORT}" /></dd> ! </dl> ! <dl> ! <dt>{L_SCRIPT_PATH}<br /><span class="explain">{L_SCRIPT_PATH_EXPLAIN}</span></dt> ! <dd><input type="text" maxlength="255" name="script_path" value="{SCRIPT_PATH}" /></dd> ! </dl> ! <dl> ! <dt>{L_DATE_FORMAT}<br /><span class="explain">{L_DATE_FORMAT_EXPLAIN}</span></dt> ! <dd><input type="text" name="default_dateformat" value="{DEFAULT_DATEFORMAT}" /></dd> ! </dl> ! <dl> ! <dt>{L_SYSTEM_TIMEZONE}</dt> ! <dd>{TIMEZONE_SELECT}</dd> ! </dl> ! <dl> ! <dt>{L_ENABLE_GZIP}</dt> ! <dd><input type="radio" name="gzip_compress" value="1" {GZIP_YES} /> {L_YES} ! <input type="radio" name="gzip_compress" value="0" {GZIP_NO} /> {L_NO}</dd> ! </dl> ! <dl> ! <dt>{L_MX_USE_CACHE}<br /><span class="explain">{L_MX_USE_CACHE_EXPLAIN}</span></dt> <dd><input type="radio" name="mx_use_cache" value="1" {S_MX_USE_CACHE_YES} /> {L_YES} <input type="radio" name="mx_use_cache" value="0" {S_MX_USE_CACHE_NO} /> {L_NO}</dd> </dl> <dl> ! <dt>{L_MX_MOD_REWRITE}<br /><span class="explain">{L_MX_MOD_REWRITE_EXPLAIN}</span></dt> <dd><input type="radio" name="mod_rewrite" value="1" {S_MX_MOD_REWRITE_YES} /> {L_YES} <input type="radio" name="mod_rewrite" value="0" {S_MX_MOD_REWRITE_NO} /> {L_NO}</dd> </dl> </fieldset> <fieldset> ! <legend>{L_COOKIE_SETTINGS}</legend> ! <div class="explain">{L_COOKIE_SETTINGS_EXPLAIN}</div> <dl> ! <dt>{L_PORTAL_BACKEND}<br /><span class="explain">{L_PORTAL_BACKEND_EXPLAIN}</span></dt> ! <dd>{PORTAL_BACKEND_SELECT}</dd> ! </dl> ! <dl> ! <dt>{L_PORTAL_BACKEND_PATH}<br /><span class="explain">{L_PORTAL_BACKEND_PATH_EXPLAIN}</span></dt> ! <dd><input type="text" maxlength="255" name="portal_backend_path" value="{PORTAL_BACKEND_PATH}" /></dd> ! </dl> ! <dl> ! <dt>{L_PORTAL_BACKEND_VALID}</dt> ! <dd>{L_PORTAL_BACKEND_VALID_STATUS}</dd> ! </dl> ! <dl> ! <dd><input type="submit" name="submit" value="{L_SUBMIT_BACKEND}" class="button2" /></dd> ! </dl> ! <dl> ! <dt>{L_COOKIE_DOMAIN}</dt> ! <dd><input type="text" maxlength="255" name="cookie_domain" value="{COOKIE_DOMAIN}" /></dd> ! </dl> ! <dl> ! <dt>{L_COOKIE_NAME}</dt> ! <dd><input type="text" maxlength="16" name="cookie_name" value="{COOKIE_NAME}" /></dd> ! </dl> ! <dl> ! <dt>{L_COOKIE_PATH}</dt> ! <dd><input type="text" maxlength="255" name="cookie_path" value="{COOKIE_PATH}" /></dd> ! </dl> ! <dl> ! <dt>{L_COOKIE_SECURE}<br /><span class="explain">{L_COOKIE_SECURE_EXPLAIN}</span></dt> ! <dd><input type="radio" name="cookie_secure" value="0" {S_COOKIE_SECURE_DISABLED} />{L_DISABLED} ! <input type="radio" name="cookie_secure" value="1" {S_COOKIE_SECURE_ENABLED} />{L_ENABLED}</dd> ! </dl> ! <dl> ! <dt>{L_SESSION_LENGTH}</dt> ! <dd><input type="text" maxlength="5" size="5" name="session_length" value="{SESSION_LENGTH}" /></dd> ! </dl> ! <dl> ! <dt>{L_ALLOW_AUTOLOGIN}<br /><span class="explain">{L_ALLOW_AUTOLOGIN_EXPLAIN}</span></dt> ! <dd><input type="radio" name="allow_autologin" value="1" {ALLOW_AUTOLOGIN_YES} />{L_YES} ! <input type="radio" name="allow_autologin" value="0" {ALLOW_AUTOLOGIN_NO} />{L_NO}</dd> ! </dl> ! <dl> ! <dt>{L_AUTOLOGIN_TIME} <br /><span class="explain">{L_AUTOLOGIN_TIME_EXPLAIN}</span></dt> ! <dd><input type="text" size="3" maxlength="4" name="max_autologin_time" value="{AUTOLOGIN_TIME}" /></dd> ! </dl> ! <dl> ! <dt>{L_MAX_LOGIN_ATTEMPTS}<br /><span class="explain">{L_MAX_LOGIN_ATTEMPTS_EXPLAIN}</span></dt> ! <dd><input type="text" size="3" maxlength="4" name="max_login_attempts" value="{MAX_LOGIN_ATTEMPTS}" /></dd> ! </dl> ! <dl> ! <dt>{L_LOGIN_RESET_TIME}<br /><span class="explain">{L_LOGIN_RESET_TIME_EXPLAIN}</span></dt> ! <dd><input type="text" size="3" maxlength="4" name="login_reset_time" value="{LOGIN_RESET_TIME}" /></dd> ! </dl> ! </fieldset> ! <fieldset> ! <legend>{L_STYLE_SETTINGS}</legend> ! <dl> ! <dt>{L_DEFAULT_LANG}</dt> ! <dd>{LANG_SELECT}</dd> </dl> <dl> *************** *** 39,44 **** </dl> <dl> ! <dt>{L_OVERRIDE_STYLE}<br /><span class="gensmall">{L_OVERRIDE_STYLE_EXPLAIN}</span></dd> ! <dd><input type="radio" name="mx_override_user_style" value="1" {OVERRIDE_STYLE_YES} /> {L_YES} <input type="radio" name="mx_override_user_style" value="0" {OVERRIDE_STYLE_NO} /> {L_NO}</dd> </dl> <dl> --- 125,135 ---- </dl> <dl> ! <dt>{L_OVERRIDE_STYLE}<br /><span class="explain">{L_OVERRIDE_STYLE_EXPLAIN}</span></dt> ! <dd><input type="radio" name="mx_override_user_style" value="1" {OVERRIDE_STYLE_YES} /> {L_YES} ! <input type="radio" name="mx_override_user_style" value="0" {OVERRIDE_STYLE_NO} /> {L_NO}</dd> ! </dl> ! <dl> ! <dt>{L_DEFAULT_ADMIN_STYLE}</dt> ! <dd>{ADMIN_STYLE_SELECT}</dd> </dl> <dl> *************** *** 56,68 **** <dl> <dt>{L_NAVIGATION_BLOCK}</dt> ! <dd>{NAVIGATION_BLOCK}</dt> </dl> <dl> <dt>{L_TOP_PHPBB_LINKS}</dt> ! <dd><input type="radio" name="top_phpbb_links" value="1" {S_TOP_PHPBB_LINKS_YES} /> {L_YES} <input type="radio" name="top_phpbb_links" value="0" {S_TOP_PHPBB_LINKS_NO} /> {L_NO}</dd> </dl> <dl> <dd>{S_HIDDEN_FIELDS} ! <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" /> <input type="reset" value="{L_RESET}" class="button2" /></dd> </dl> --- 147,210 ---- <dl> <dt>{L_NAVIGATION_BLOCK}</dt> ! <dd>{NAVIGATION_BLOCK}</dd> </dl> <dl> <dt>{L_TOP_PHPBB_LINKS}</dt> ! <dd><input type="radio" name="top_phpbb_links" value="1" {S_TOP_PHPBB_LINKS_YES} /> {L_YES} ! <input type="radio" name="top_phpbb_links" value="0" {S_TOP_PHPBB_LINKS_NO} /> {L_NO}</dd> ! </dl> ! <dl> ! <dt>{L_ALLOW_HTML}</dt> ! <dd><input type="radio" name="allow_html" value="1" {HTML_YES} /> {L_YES} <input type="radio" name="allow_html" value="0" {HTML_NO} /> {L_NO}</dd> ! </dl> ! <dl> ! <dt>{L_ALLOWED_TAGS}<br /><span class="explain">{L_ALLOWED_TAGS_EXPLAIN}</span></dt> ! <dd><input type="text" size="30" maxlength="255" name="allow_html_tags" value="{HTML_TAGS}" /></dd> </dl> <dl> + <dt>{L_ALLOW_BBCODE}</dt> + <dd><input type="radio" name="allow_bbcode" value="1" {BBCODE_YES} /> {L_YES} + <input type="radio" name="allow_bbcode" value="0" {BBCODE_NO} /> {L_NO}</dd> + </dl> + <dl> + <dt>{L_ALLOW_SMILIES}</dt> + <dd><input type="radio" name="allow_smilies" value="1" {SMILE_YES} /> {L_YES} <input type="radio" name="allow_smilies" value="0" {SMILE_NO} /> {L_NO}</dd> + </dl> + <dl> + <dt>{L_SMILIES_PATH} <br /><span class="explain">{L_SMILIES_PATH_EXPLAIN}</span></dt> + <dd><input type="text" size="20" maxlength="255" name="smilies_path" value="{SMILIES_PATH}" /></dd> + </dl> + </fieldset> + <fieldset> + <legend>{L_EMAIL_SETTINGS}</legend> + <dl> + <dt>{L_ADMIN_EMAIL}</dt> + <dd><input type="text" size="25" maxlength="100" name="board_email" value="{EMAIL_FROM}" /></dd> + </dl> + <dl> + <dt>{L_EMAIL_SIG}<br /><span class="explain">{L_EMAIL_SIG_EXPLAIN}</span></dt> + <dd><textarea name="board_email_sig" rows="5" cols="30">{EMAIL_SIG}</textarea></dd> + </dl> + <dl> + <dt>{L_USE_SMTP}<br /><span class="explain">{L_USE_SMTP_EXPLAIN}</span></dt> + <dd><input type="radio" name="smtp_delivery" value="1" {SMTP_YES} /> {L_YES} + <input type="radio" name="smtp_delivery" value="0" {SMTP_NO} /> {L_NO}</dd> + </dl> + <dl> + <dt>{L_SMTP_SERVER}</dt> + <dd><input type="text" name="smtp_host" value="{SMTP_HOST}" size="25" maxlength="50" /></dd> + </dl> + <dl> + <dt>{L_SMTP_USERNAME}<br /><span class="explain">{L_SMTP_USERNAME_EXPLAIN}</span></dt> + <dd><input type="text" name="smtp_username" value="{SMTP_USERNAME}" size="25" maxlength="255" /></dd> + </dl> + <dl> + <dt>{L_SMTP_PASSWORD}<br /><span class="explain">{L_SMTP_PASSWORD_EXPLAIN}</span></dt> + <dd><input type="password" name="smtp_password" value="{SMTP_PASSWORD}" size="25" maxlength="255" /></dd> + </dl> + <dl> + <dt></dt> <dd>{S_HIDDEN_FIELDS} ! <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" /> <input type="reset" value="{L_RESET}" class="button2" /></dd> </dl> *************** *** 80,84 **** </fieldset> <fieldset> ! <legend>{L_PHPBB_INFO}</legend> <dl> <dt>{L_PHPBB_VERSION}</dt> --- 222,226 ---- </fieldset> <fieldset> ! <legend>{L_PHPBB_INFO}</legend> <dl> <dt>{L_PHPBB_VERSION}</dt> *************** *** 87,95 **** <dl> <dt>{L_PHPBB_SERVER_NAME}</dt> ! <dd>{PHPBB_SERVER_NAME}</dt> </dl> <dl> <dt>{L_PHPBB_SCRIPT_PATH}</dt> ! <dd>{PHPBB_SCRIPT_PATH}</dt> </dl> </fieldset> --- 229,237 ---- <dl> <dt>{L_PHPBB_SERVER_NAME}</dt> ! <dd>{PHPBB_SERVER_NAME}</dd> </dl> <dl> <dt>{L_PHPBB_SCRIPT_PATH}</dt> ! <dd>{PHPBB_SCRIPT_PATH}</dd> </dl> </fieldset> |