|
From: Jon O. <jon...@us...> - 2005-12-05 22:25:25
|
Update of /cvsroot/mxbb/core27x/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32005/core27x/templates/subSilver/admin Modified Files: index_body.tpl index_frameset.tpl index_navigate.tpl mx_module_admin_body.tpl Added Files: mx_modulecp_admin_body.tpl Log Message: Updated - more is backported - some is fixed --- NEW FILE: mx_modulecp_admin_body.tpl --- <script type="text/javascript"> function 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 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 delCookie(name, path, domain) { if( getCookie(name) ) { document.cookie = name + '=;expires=Thu, 01-Jan-1970 00:00:01 GMT' + ((path) ? '; path=' + path : '') + ((domain) ? '; domain=' + domain : ''); } } 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(); } } var oldOnLoadMenuACP = window.onload; window.onload = doOnLoadMenuACP; // --> </script> <h1>{L_TITLE}</h1> <p>{L_EXPLAIN}</p> <form method="post" name="jumpbox" action="{S_ACTION}"> <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <td nowrap="nowrap" align="right"><span class="gensmall"><b>{L_QUICK_NAV}</b> {MODULE_SELECT_BOX} <input type="submit" value="{S_SUBMIT}" class="liteoption" /></span> </td> </tr> </table> </form> <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" align="center"> <tr> <td align="center" colspan="5">{RESULT_MESSAGE}</td> </tr> <tr> <th class="thHead" colspan="5">{L_TITLE}</th> </tr> <tr> <td class="catBottom" colspan="5" align="center"> <form action="{S_ACTION}" method="post"> {S_MODULE_INSTALL_LIST}{S_HIDDEN_MODULE_INSTALL_FIELDS}<input class="mainoption" type="submit" name="import_pack" value="{L_IMPORT_PACK}"> </form> </td> </tr> <!-- BEGIN module --> <tr title="{L_TITLE}"> <td width="40%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModule_');"> <span class="cattitle"><img name="adminModule_image_{module.MODULE_ID}" src="{module.IMG_URL}" border="0" align="absmiddle"> <img src="{IMG_ICON_MODULE}" border="0" align="absmiddle"> {module.MODULE_TITLE}</span> <span class="gensmall">{module.MODULE_DESCRIPTION}</span><br /> <span class="gensmall"><i>{module.MODULE_VERSION}</i></span></td> <td width="15%" class="cat" align="center" valign="middle"> <!-- BEGIN settings --> <!-- <img src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> <span class="cattitle"><a href="{module.U_MODULE}">{L_SETTING}</a></span> --> <!-- END settings --> </td> <td width="15%" class="cat" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModuleUpgrade_');"> <!-- BEGIN settings --> <img name="adminModuleUpgrade_image_{module.MODULE_ID}" src="{module.IMG_URL_UPGRADE}" border="0" align="absmiddle"> <span class="genmed">{L_UPGRADE_PACK}</span> <!-- END settings --> </td> <td width="15%" class="cat" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModuleExport_');"> <!-- BEGIN settings --> <img name="adminModuleExport_image_{module.MODULE_ID}" src="{module.IMG_URL_EXPORT}" border="0" align="absmiddle"> <span class="genmed">{L_EXPORT_PACK}</span> <!-- END settings --> </td> <td width="15%" class="catRight" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModuleDelete_');"> <!-- BEGIN settings --> <img name="adminModuleDelete_image_{module.MODULE_ID}" src="{module.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="genmed">{L_UNINSTALL}</span> <!-- END settings --> </td> </tr> <!-- Module Delete --> <tr> <td colspan="5" class="row1"> <div id="adminModuleDelete_{module.MODULE_ID}" style="display:{module.VISIBLE_DELETE};" class="genmed"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModuleDelete_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{L_UNINSTALL}</span></td> </tr> <tr> <td width="50%" align="center" colspan="2">{module.MESSAGE_DELETE}</td> </tr> </table> </div> </td> </tr> <!-- Module Delete --> <!-- Module Upgrade --> <tr> <td colspan="5" class="row1"> <div id="adminModuleUpgrade_{module.MODULE_ID}" style="display:{module.VISIBLE_UPGRADE};" class="genmed"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModuleUpgrade_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{L_UPGRADE_PACK}</span></td> </tr> <tr> <td width="50%" align="center" colspan="2">{module.MESSAGE_UPGRADE}</td> </tr> </table> </div> </td> </tr> <!-- Module Upgrade --> <!-- Module Export --> <tr> <td colspan="5" class="row1"> <div id="adminModuleExport_{module.MODULE_ID}" style="display:{module.VISIBLE_EXPORT};" class="genmed"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModuleExport_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{L_EXPORT_PACK}</span></td> </tr> <tr> <td width="50%" align="center" colspan="2">{module.MESSAGE_EXPORT}</td> </tr> </table> </div> </td> </tr> <!-- Module Export --> <!-- Module Settings --> <tr> <td colspan="5" class="row1"> <div id="adminModule_{module.MODULE_ID}" style="display:{module.VISIBLE};" class="genmed"> <form action="{S_ACTION}" method="post"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.MODULE_ID}','adminModule_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{module.L_TITLE}</span></td> </tr> <tr> <td width="50%" align="right" >{L_MODULE_NAME}</td> <td ><input type="text" size="50" name="module_name" value="{module.E_MODULE_NAME}" class="post" /></td> </tr> <tr> <td width="50%" align="right" >{L_MODULE_DESC}</td> <td ><input type="text" size="50" name="module_desc" value="{module.E_MODULE_DESC}" class="post" /></td> </tr> <tr> <td width="50%" align="right" >{L_MODULE_PATH}</td> <td ><input type="text" size="50" name="module_path" value="{module.E_MODULE_PATH}" class="post" /></td> </tr> <tr> <td width="50%" align="right" >{L_MODULE_INCLUDE_ADMIN}</td> <td ><input type="checkbox" size="45" name="module_include_admin" value="1" {module.E_MODULE_INCLUDE_CHECK_OPT}/></td> </tr> <tr> <td class="row2" colspan="2" align="center">{module.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{module.S_SUBMIT}" class="liteoption" /></td> </tr> </table> </form> </div> </td> </tr> <!-- Module Settings --> <!-- END module --> </table> Index: index_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core27x/templates/subSilver/admin/index_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index_body.tpl 6 May 2005 06:48:12 -0000 1.1 --- index_body.tpl 5 Dec 2005 22:25:12 -0000 1.2 *************** *** 1,79 **** - <h1>{L_WELCOME}</h1> - <p>{L_ADMIN_INTRO}</p> - <h1>{L_FORUM_STATS}</h1> - <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th width="25%" nowrap="nowrap" height="25" class="thCornerL">{L_STATISTIC}</th> ! <th width="25%" height="25" class="thTop">{L_VALUE}</th> ! <th width="25%" nowrap="nowrap" height="25" class="thTop">{L_STATISTIC}</th> ! <th width="25%" height="25" class="thCornerR">{L_VALUE}</th> ! </tr> ! <tr> ! <td class="row1" nowrap="nowrap">{L_NUMBER_POSTS}:</td> ! <td class="row2"><b>{NUMBER_OF_POSTS}</b></td> ! <td class="row1" nowrap="nowrap">{L_POSTS_PER_DAY}:</td> ! <td class="row2"><b>{POSTS_PER_DAY}</b></td> ! </tr> ! <tr> ! <td class="row1" nowrap="nowrap">{L_NUMBER_TOPICS}:</td> ! <td class="row2"><b>{NUMBER_OF_TOPICS}</b></td> ! <td class="row1" nowrap="nowrap">{L_TOPICS_PER_DAY}:</td> ! <td class="row2"><b>{TOPICS_PER_DAY}</b></td> ! </tr> ! <tr> ! <td class="row1" nowrap="nowrap">{L_NUMBER_USERS}:</td> ! <td class="row2"><b>{NUMBER_OF_USERS}</b></td> ! <td class="row1" nowrap="nowrap">{L_USERS_PER_DAY}:</td> ! <td class="row2"><b>{USERS_PER_DAY}</b></td> ! </tr> ! <tr> ! <td class="row1" nowrap="nowrap">{L_BOARD_STARTED}:</td> ! <td class="row2"><b>{START_DATE}</b></td> ! <td class="row1" nowrap="nowrap">{L_AVATAR_DIR_SIZE}:</td> ! <td class="row2"><b>{AVATAR_DIR_SIZE}</b></td> ! </tr> ! <tr> ! <td class="row1" nowrap="nowrap">{L_DB_SIZE}:</td> ! <td class="row2"><b>{DB_SIZE}</b></td> ! <td class="row1" nowrap="nowrap">{L_GZIP_COMPRESSION}:</td> ! <td class="row2"><b>{GZIP_COMPRESSION}</b></td> ! </tr> </table> <h1>{L_WHO_IS_ONLINE}</h1> - <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th width="20%" class="thCornerL" height="25"> {L_USERNAME} </th> ! <th width="20%" height="25" class="thTop"> {L_STARTED} </th> ! <th width="20%" class="thTop"> {L_LAST_UPDATE} </th> ! <th width="20%" class="thCornerR"> {L_FORUM_LOCATION} </th> ! <th width="20%" height="25" class="thCornerR"> {L_IP_ADDRESS} </th> ! </tr> ! <!-- BEGIN reg_user_row --> ! <tr> ! <td width="20%" class="{reg_user_row.ROW_CLASS}"> <span class="gen"><a href="{reg_user_row.U_USER_PROFILE}" class="gen">{reg_user_row.USERNAME}</a></span> </td> ! <td width="20%" align="center" class="{reg_user_row.ROW_CLASS}"> <span class="gen">{reg_user_row.STARTED}</span> </td> ! <td width="20%" align="center" nowrap="nowrap" class="{reg_user_row.ROW_CLASS}"> <span class="gen">{reg_user_row.LASTUPDATE}</span> </td> ! <td width="20%" class="{reg_user_row.ROW_CLASS}"> <span class="gen"><a href="{reg_user_row.U_FORUM_LOCATION}" class="gen">{reg_user_row.FORUM_LOCATION}</a></span> </td> ! <td width="20%" class="{reg_user_row.ROW_CLASS}"> <span class="gen"><a href="{reg_user_row.U_WHOIS_IP}" class="gen" target="_phpbbwhois">{reg_user_row.IP_ADDRESS}</a></span> </td> ! </tr> ! <!-- END reg_user_row --> ! <tr> ! <td colspan="5" height="1" class="row3"><img src="{U_PHPBB_ROOT_PATH}{TEMPLATE_ROOT_PATH}spacer.gif" width="1" height="1" alt="."></td> ! </tr> ! <!-- BEGIN guest_user_row --> ! <tr> ! <td width="20%" class="{guest_user_row.ROW_CLASS}"> <span class="gen">{guest_user_row.USERNAME}</span> </td> ! <td width="20%" align="center" class="{guest_user_row.ROW_CLASS}"> <span class="gen">{guest_user_row.STARTED}</span> </td> ! <td width="20%" align="center" nowrap="nowrap" class="{guest_user_row.ROW_CLASS}"> <span class="gen">{guest_user_row.LASTUPDATE}</span> </td> ! <td width="20%" class="{guest_user_row.ROW_CLASS}"> <span class="gen"><a href="{guest_user_row.U_FORUM_LOCATION}" class="gen">{guest_user_row.FORUM_LOCATION}</a></span> </td> ! <td width="20%" class="{guest_user_row.ROW_CLASS}"> <span class="gen"><a href="{guest_user_row.U_WHOIS_IP}" target="_phpbbwhois">{guest_user_row.IP_ADDRESS}</a></span> </td> ! </tr> ! <!-- END guest_user_row --> </table> ! <br /> --- 1,78 ---- <h1>{L_WELCOME}</h1> <p>{L_ADMIN_INTRO}</p> <h1>{L_FORUM_STATS}</h1> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th width="25%" nowrap="nowrap" height="25" class="thCornerL">{L_STATISTIC}</th> ! <th width="25%" height="25" class="thTop">{L_VALUE}</th> ! <th width="25%" nowrap="nowrap" height="25" class="thTop">{L_STATISTIC}</th> ! <th width="25%" height="25" class="thCornerR">{L_VALUE}</th> ! </tr> ! <tr> ! <td class="row1" nowrap="nowrap">{L_NUMBER_POSTS}:</td> ! <td class="row2"><b>{NUMBER_OF_POSTS}</b></td> ! <td class="row1" nowrap="nowrap">{L_POSTS_PER_DAY}:</td> ! <td class="row2"><b>{POSTS_PER_DAY}</b></td> ! </tr> ! <tr> ! <td class="row1" nowrap="nowrap">{L_NUMBER_TOPICS}:</td> ! <td class="row2"><b>{NUMBER_OF_TOPICS}</b></td> ! <td class="row1" nowrap="nowrap">{L_TOPICS_PER_DAY}:</td> ! <td class="row2"><b>{TOPICS_PER_DAY}</b></td> ! </tr> ! <tr> ! <td class="row1" nowrap="nowrap">{L_NUMBER_USERS}:</td> ! <td class="row2"><b>{NUMBER_OF_USERS}</b></td> ! <td class="row1" nowrap="nowrap">{L_USERS_PER_DAY}:</td> ! <td class="row2"><b>{USERS_PER_DAY}</b></td> ! </tr> ! <tr> ! <td class="row1" nowrap="nowrap">{L_BOARD_STARTED}:</td> ! <td class="row2"><b>{START_DATE}</b></td> ! <td class="row1" nowrap="nowrap">{L_AVATAR_DIR_SIZE}:</td> ! <td class="row2"><b>{AVATAR_DIR_SIZE}</b></td> ! </tr> ! <tr> ! <td class="row1" nowrap="nowrap">{L_DB_SIZE}:</td> ! <td class="row2"><b>{DB_SIZE}</b></td> ! <td class="row1" nowrap="nowrap">{L_GZIP_COMPRESSION}:</td> ! <td class="row2"><b>{GZIP_COMPRESSION}</b></td> ! </tr> </table> <h1>{L_WHO_IS_ONLINE}</h1> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th width="20%" class="thCornerL" height="25"> {L_USERNAME} </th> ! <th width="20%" height="25" class="thTop"> {L_STARTED} </th> ! <th width="20%" class="thTop"> {L_LAST_UPDATE} </th> ! <th width="20%" class="thCornerR"> {L_FORUM_LOCATION} </th> ! <th width="20%" height="25" class="thCornerR"> {L_IP_ADDRESS} </th> ! </tr> ! <!-- BEGIN reg_user_row --> ! <tr> ! <td width="20%" class="{reg_user_row.ROW_CLASS}"> <span class="gen"><a href="{reg_user_row.U_USER_PROFILE}" class="gen">{reg_user_row.USERNAME}</a></span> </td> ! <td width="20%" align="center" class="{reg_user_row.ROW_CLASS}"> <span class="gen">{reg_user_row.STARTED}</span> </td> ! <td width="20%" align="center" nowrap="nowrap" class="{reg_user_row.ROW_CLASS}"> <span class="gen">{reg_user_row.LASTUPDATE}</span> </td> ! <td width="20%" class="{reg_user_row.ROW_CLASS}"> <span class="gen"><a href="{reg_user_row.U_FORUM_LOCATION}" class="gen">{reg_user_row.FORUM_LOCATION}</a></span> </td> ! <td width="20%" class="{reg_user_row.ROW_CLASS}"> <span class="gen"><a href="{reg_user_row.U_WHOIS_IP}" class="gen" target="_phpbbwhois">{reg_user_row.IP_ADDRESS}</a></span> </td> ! </tr> ! <!-- END reg_user_row --> ! <tr> ! <td colspan="5" height="1" class="row3"><img src="{U_PHPBB_ROOT_PATH}{TEMPLATE_ROOT_PATH}spacer.gif" width="1" height="1" alt="."></td> ! </tr> ! <!-- BEGIN guest_user_row --> ! <tr> ! <td width="20%" class="{guest_user_row.ROW_CLASS}"> <span class="gen">{guest_user_row.USERNAME}</span> </td> ! <td width="20%" align="center" class="{guest_user_row.ROW_CLASS}"> <span class="gen">{guest_user_row.STARTED}</span> </td> ! <td width="20%" align="center" nowrap="nowrap" class="{guest_user_row.ROW_CLASS}"> <span class="gen">{guest_user_row.LASTUPDATE}</span> </td> ! <td width="20%" class="{guest_user_row.ROW_CLASS}"> <span class="gen"><a href="{guest_user_row.U_FORUM_LOCATION}" class="gen">{guest_user_row.FORUM_LOCATION}</a></span> </td> ! <td width="20%" class="{guest_user_row.ROW_CLASS}"> <span class="gen"><a href="{guest_user_row.U_WHOIS_IP}" target="_phpbbwhois">{guest_user_row.IP_ADDRESS}</a></span> </td> ! </tr> ! <!-- END guest_user_row --> </table> ! <h1>{L_VERSION_INFORMATION}</h1> ! ! {PHPBB_VERSION_INFO} ! ! <br clear="all" /> \ No newline at end of file Index: index_frameset.tpl =================================================================== RCS file: /cvsroot/mxbb/core27x/templates/subSilver/admin/index_frameset.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index_frameset.tpl 6 May 2005 06:48:12 -0000 1.1 --- index_frameset.tpl 5 Dec 2005 22:25:12 -0000 1.2 *************** *** 1,11 **** <html> <head> ! <title>MX-System Administration</title> ! <meta http-equiv="Content-Type" content="text/html;"> </head> ! <frameset cols="170,*" rows="*" border="2" framespacing="0" frameborder="yes"> ! <frame src="{S_FRAME_NAV}" name="nav" marginwidth="3" marginheight="3" scrolling="auto"> ! <frame src="{S_FRAME_MAIN}" name="main" marginwidth="10" marginheight="10" scrolling="auto"> </frameset> --- 1,11 ---- <html> <head> ! <title>mxBB-Portal Administration</title> ! <meta http-equiv="Content-Type" content="text/html;" /> </head> ! <frameset cols="190,*" rows="*" border="1" framespacing="0" frameborder="yes"> ! <frame src="{S_FRAME_NAV}" name="nav" marginwidth="3" marginheight="3" scrolling="auto" /> ! <frame src="{S_FRAME_MAIN}" name="main" marginwidth="10" marginheight="10" scrolling="auto" /> </frameset> Index: index_navigate.tpl =================================================================== RCS file: /cvsroot/mxbb/core27x/templates/subSilver/admin/index_navigate.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index_navigate.tpl 6 May 2005 06:48:12 -0000 1.1 --- index_navigate.tpl 5 Dec 2005 22:25:12 -0000 1.2 *************** *** 1,93 **** ! <table width="100%" cellpadding="4" cellspacing="0" border="0" align="center"> ! <tr> ! <td align="center" ><a href="{U_FORUM_INDEX}" target="_parent"><img src="{U_PHPBB_ROOT_PATH}{TEMPLATE_ROOT_PATH}images/logo_phpBB_med.gif" border="0" /></a></td> ! </tr> ! <tr> ! <td align="center" > ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th height="25" class="thHead"><b>{L_ADMIN}</b></th> ! </tr> ! <tr> ! <td class="row1"><span class="genmed"><a href="{U_ADMIN_INDEX}" target="main" class="genmed">{L_ADMIN_INDEX}</a></span></td> ! </tr> ! <tr> ! <td class="row1"><span class="genmed"><a href="{U_PORTAL_INDEX}" target="_parent" class="genmed">{L_PORTAL_INDEX}</a></span></td> ! </tr> ! <tr> ! <td class="row1"><span class="genmed"><a href="{U_FORUM_INDEX}" target="_parent" class="genmed">{L_FORUM_INDEX}</a></span></td> ! </tr> ! <tr> ! <td class="row1"><span class="genmed"><a href="{U_FORUM_INDEX}" target="main" class="genmed">{L_PREVIEW_FORUM}</a></span></td> ! </tr> ! <tr> ! <td class="row1"><span class="genmed"><a href="{U_PORTAL_INDEX}" target="main" class="genmed">{L_PREVIEW_PORTAL}</a></span></td> ! </tr> ! </table> ! <br /> ! <!-- BEGIN module_portal --> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th height="25" class="thHead"><b>{module_portal.L_MX_PORTAL}</b></th> ! </tr> ! <!-- BEGIN catrow --> ! <tr> ! <td height="28" class="catSides"><span class="cattitle">{module_portal.catrow.ADMIN_CATEGORY}</span></td> ! </tr> ! <!-- BEGIN modulerow --> ! <tr> ! <td class="row1"><span class="genmed"><a href="{module_portal.catrow.modulerow.U_ADMIN_MODULE}" target="main" class="genmed">{module_portal.catrow.modulerow.ADMIN_MODULE}</a></span> ! </td> ! </tr> ! <!-- END modulerow --> ! <!-- END catrow --> ! </table> ! <br /> ! <!-- END module_portal --> ! <!-- BEGIN module_mx --> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th height="25" class="thHead"><b>{module_mx.L_MX_MODULES}</b></th> ! </tr> ! <!-- BEGIN catrow --> ! <tr> ! <td height="28" class="catSides"><span class="cattitle">{module_mx.catrow.ADMIN_CATEGORY}</span></td> ! </tr> ! <!-- BEGIN modulerow --> ! <tr> ! <td class="row1"><span class="genmed"><a href="{module_mx.catrow.modulerow.U_ADMIN_MODULE}" target="main" class="genmed">{module_mx.catrow.modulerow.ADMIN_MODULE}</a></span> ! </td> ! </tr> ! <!-- END modulerow --> ! <!-- END catrow --> ! </table> ! <br /> ! <!-- END module_mx --> ! <!-- BEGIN module_phpbb --> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th height="25" class="thHead"><b>{module_phpbb.L_PHPBB}</b></th> ! </tr> ! <!-- BEGIN catrow --> ! <tr> ! <td height="28" class="catSides"><span class="cattitle">{module_phpbb.catrow.ADMIN_CATEGORY}</span></td> ! </tr> ! <!-- BEGIN modulerow --> ! <tr> ! <td class="row1"><span class="genmed"><a href="{module_phpbb.catrow.modulerow.U_ADMIN_MODULE}" target="main" class="genmed">{module_phpbb.catrow.modulerow.ADMIN_MODULE}</a></span> ! </td> ! </tr> ! <!-- END modulerow --> ! <!-- END catrow --> ! </table> ! <br /> ! <!-- END module_phpbb --> ! </td> ! </tr> </table> - <br /> --- 1,339 ---- + <script language="javascript" type="text/javascript"> + <!-- ! /************************************************************* ! * DHTML Slide Menu for ACP MOD ! * ! * Copyright (C) 2004, Markus (phpMiX) ! * This script is released under GPL License. ! * Feel free to use this script (or part of it) wherever you need ! * it ...but please, give credit to original author. Thank you. :-) ! * We will also appreciate any links you could give us. ! * ! * Enjoy! ;-) ! * ! * This MOD is adapted for mxBB adminCP, by Jon ! *************************************************************/ ! function 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 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 delCookie(name, path, domain) ! { ! if( getCookie(name) ) ! { ! document.cookie = name + '=;expires=Thu, 01-Jan-1970 00:00:01 GMT' + ! ((path) ? '; path=' + path : '') + ! ((domain) ? '; domain=' + domain : ''); ! } ! } ! function menuCat(id, rows, mode) ! { ! this.cat_id = id; ! this.cat_rows = rows; ! this.menu_mode = mode; ! this.status = 'none'; ! } ! var menuCats = new Array(); ! <!-- BEGIN module_portal --> ! <!-- BEGIN catrow --> ! menuCats['menuPortal_{module_portal.catrow.MENU_CAT_ID}'] = new menuCat('{module_portal.catrow.MENU_CAT_ID}', {module_portal.catrow.MENU_CAT_ROWS}, 'menuPortal_'); ! <!-- END catrow --> ! <!-- END module_portal --> ! ! <!-- BEGIN module_mx --> ! <!-- BEGIN catrow --> ! menuCats['menuMX_{module_mx.catrow.MENU_CAT_ID}'] = new menuCat('{module_mx.catrow.MENU_CAT_ID}', {module_mx.catrow.MENU_CAT_ROWS}, 'menuMX_'); ! <!-- END catrow --> ! <!-- END module_mx --> ! ! <!-- BEGIN module_phpbb --> ! <!-- BEGIN catrow --> ! menuCats['menuphpBB_{module_phpbb.catrow.MENU_CAT_ID}'] = new menuCat('{module_phpbb.catrow.MENU_CAT_ID}', {module_phpbb.catrow.MENU_CAT_ROWS}, 'menuphpBB_'); ! <!-- END catrow --> ! <!-- END module_phpbb --> ! ! 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 = 20; // 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; ! ! currentCat = type + cat_id; ! currentStatus = menuCats[currentCat].status; ! ! queuedSteps = new Array(); ! currentStep = 0; ! ! for( var catName in menuCats ) ! { ! if( (menuCats[catName].menu_mode == type && menuCats[catName].status == 'block')) ! { ! for( var i=(menuCats[catName].cat_rows-1); i >= 0; i-- ) ! { ! queuedSteps[currentStep++] = new queueStep(catName+'_'+i, 'none'); ! } ! queuedSteps[currentStep++] = new queueStep(catName, 'none'); ! menuCats[catName].status == 'none'; ! ! if( document.images && document.images['image_' + catName] ) ! { ! document.images['image_' + catName].src = '{IMG_URL_EXPAND}'; ! } ! } ! } ! ! if( currentStatus == 'none' ) ! { ! queuedSteps[currentStep++] = new queueStep(currentCat, 'block'); ! for( var i=0; i < menuCats[currentCat].cat_rows; i++ ) ! { ! queuedSteps[currentStep++] = new queueStep(currentCat+'_'+i, 'block'); ! } ! menuCats[currentCat].status == 'block'; ! ! var expdate = new Date(); // 72 Hours from now ! expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); ! setCookie('{COOKIE_NAME}_'+type+'cat_id', cat_id, expdate, ! ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ! ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ! ('{COOKIE_SECURE}' == '0') ? false : true); ! ! if( document.images && document.images['image_' + currentCat] ) ! { ! document.images['image_' + currentCat].src = '{IMG_URL_CONTRACT}'; ! } ! } ! else ! { ! delCookie('{COOKIE_NAME}_'+type+'cat_id', ! ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ! ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); ! } ! currentStep = 0; ! setTimeout("execQueue();", execInterval); ! } ! ! function doOnLoadMenuACP() ! { ! var cat_id; ! ! if( getObj('menuPortal_0') ) ! { ! cat_id = getCookie('{COOKIE_NAME}_menuPortal_cat_id'); ! if( !menuCats['menuPortal_'+cat_id] ) ! { ! cat_id = 0; ! } ! else ! { ! menuCats['menuPortal_'+cat_id].status = 'none'; ! } ! onMenuCatClick(cat_id, 'menuPortal_', 'true'); ! } ! ! if( getObj('menuMX_0') ) ! { ! cat_id = getCookie('{COOKIE_NAME}_menuMX_cat_id'); ! if( !menuCats['menuMX_'+cat_id] ) ! { ! cat_id = 0; ! } ! else ! { ! menuCats['menuMX_'+cat_id].status = 'none'; ! } ! } ! ! if( getObj('menuphpBB_0') ) ! { ! cat_id = getCookie('{COOKIE_NAME}_menuphpBB_cat_id'); ! if( !menuCats['menuphpBB_'+cat_id] ) ! { ! cat_id = 0; ! } ! else ! { ! menuCats['menuphpBB_'+cat_id].status = 'none'; ! } ! } ! ! if( oldOnLoadMenuACP ) ! { ! oldOnLoadMenuACP(); ! } ! } ! var oldOnLoadMenuACP = window.onload; ! window.onload = doOnLoadMenuACP; ! ! // --> ! </script> ! ! <table width="100%" cellpadding="4" cellspacing="0" border="0" align="center"> ! <tr> ! <td align="center" ><a href="{U_FORUM_INDEX}" target="_parent"><img src="{U_PHPBB_ROOT_PATH}{TEMPLATE_ROOT_PATH}images/logo_phpBB_med.gif" border="0" /></a></td> ! </tr> ! <tr> ! <td align="center" > ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th class="thHead"><b>{L_ADMIN}</b></th> ! </tr> ! <tr> ! <td class="row1"><span class="genmed"><a href="{U_ADMIN_INDEX}" target="main" class="genmed">{L_ADMIN_INDEX}</a></span></td> ! </tr> ! <tr> ! <td class="row1"><span class="genmed"><a href="{U_PORTAL_INDEX}" target="_parent" class="genmed">{L_PORTAL_INDEX}</a></span></td> ! </tr> ! <tr> ! <td class="row1"><span class="genmed"><a href="{U_FORUM_INDEX}" target="_parent" class="genmed">{L_FORUM_INDEX}</a></span></td> ! </tr> ! <tr> ! <td class="row1"><span class="genmed"><a href="{U_FORUM_INDEX}" target="main" class="genmed">{L_PREVIEW_FORUM}</a></span></td> ! </tr> ! <tr> ! <td class="row1"><span class="genmed"><a href="{U_PORTAL_INDEX}" target="main" class="genmed">{L_PREVIEW_PORTAL}</a></span></td> ! </tr> ! </table> ! </td> ! </tr> ! <tr> ! <td align="center" > ! <!-- BEGIN module_portal --> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th class="thHead"><b>{module_portal.L_MX_PORTAL}</b></th> ! </tr> ! <!-- BEGIN catrow --> ! <tr> ! <td class="catSides" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module_portal.catrow.MENU_CAT_ID}','menuPortal_');"><img name="image_menuPortal_{module_portal.catrow.MENU_CAT_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> <span class="cattitle"><a>{module_portal.catrow.ADMIN_CATEGORY}</a></span></td> ! </tr> ! <tr> ! <td class="row1"> ! <div id="menuPortal_{module_portal.catrow.MENU_CAT_ID}" style="display:none;"> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="bodyline"> ! <!-- BEGIN modulerow --> ! <tr> ! <td class="row1"><div id="menuPortal_{module_portal.catrow.MENU_CAT_ID}_{module_portal.catrow.modulerow.ROW_COUNT}" style="display:block;" class="genmed"><a href="{module_portal.catrow.modulerow.U_ADMIN_MODULE}" target="main" class="genmed">{module_portal.catrow.modulerow.ADMIN_MODULE}</a></div></td> ! </tr> ! <!-- END modulerow --> ! </table> ! </div> ! </td> ! </tr> ! <!-- END catrow --> ! </table> ! <!-- END module_portal --> ! </td> ! </tr> ! <tr> ! <td align="center" > ! <!-- BEGIN module_mx --> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th class="thHead"><b>{module_mx.L_MX_MODULES}</b></th> ! </tr> ! <!-- BEGIN catrow --> ! <tr> ! <td class="catSides" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module_mx.catrow.MENU_CAT_ID}', 'menuMX_');"><img name="image_menuMX_{module_mx.catrow.MENU_CAT_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> <span class="cattitle">{module_mx.catrow.ADMIN_CATEGORY}</span></td> ! </tr> ! <tr> ! <td class="row1"> ! <div id="menuMX_{module_mx.catrow.MENU_CAT_ID}" style="display:none;"> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="bodyline"> ! <!-- BEGIN modulerow --> ! <tr> ! <td class="row1"><div id="menuMX_{module_mx.catrow.MENU_CAT_ID}_{module_mx.catrow.modulerow.ROW_COUNT}" style="display:block;" class="genmed"><a href="{module_mx.catrow.modulerow.U_ADMIN_MODULE}" target="main" class="genmed">{module_mx.catrow.modulerow.ADMIN_MODULE}</a></div></td> ! </tr> ! <!-- END modulerow --> ! </table> ! </div> ! </td> ! </tr> ! <!-- END catrow --> ! </table> ! <!-- END module_mx --> ! </td> ! </tr> ! <tr> ! <td align="center" > ! <!-- BEGIN module_phpbb --> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th class="thHead"><b>{module_phpbb.L_PHPBB}</b></th> ! </tr> ! <!-- BEGIN catrow --> ! <tr> ! <td class="catSides" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module_phpbb.catrow.MENU_CAT_ID}', 'menuphpBB_');"><img name="image_menuphpBB_{module_phpbb.catrow.MENU_CAT_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> <span class="cattitle">{module_phpbb.catrow.ADMIN_CATEGORY}</span></td> ! </tr> ! <tr> ! <td class="row1"> ! <div id="menuphpBB_{module_phpbb.catrow.MENU_CAT_ID}" style="display:none;"> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="bodyline"> ! <!-- BEGIN modulerow --> ! <tr> ! <td class="row1"><div id="menuphpBB_{module_phpbb.catrow.MENU_CAT_ID}_{module_phpbb.catrow.modulerow.ROW_COUNT}" style="display:block;" class="genmed"><a href="{module_phpbb.catrow.modulerow.U_ADMIN_MODULE}" target="main" class="genmed">{module_phpbb.catrow.modulerow.ADMIN_MODULE}</a></div></td> ! </tr> ! <!-- END modulerow --> ! </table> ! </div> ! </td> ! </tr> ! <!-- END catrow --> ! </table> ! <!-- END module_phpbb --> ! </td> ! </tr> </table> Index: mx_module_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core27x/templates/subSilver/admin/mx_module_admin_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_module_admin_body.tpl 6 May 2005 06:48:12 -0000 1.1 --- mx_module_admin_body.tpl 5 Dec 2005 22:25:12 -0000 1.2 *************** *** 1,29 **** - <h1>{L_MODULE_TITLE}</h1> - - <P>{L_MODULE_TEXT}</p> - - <form method="post" action="{S_ACTION}"><table width="100%" cellspacing="1" cellpadding="4" border="0" align="center" class="forumline"> - <tr> - <th class="thCornerL">{L_CODE}</th> - <th class="thTop">{L_MODULE_NAME}</th> - <th class="thTop">{L_MODULE_DESC}</th> - <th colspan="2" class="thCornerR">{L_ACTION}</th> - </tr> - <!-- BEGIN module --> - <tr> - <td class="{module.ROW_CLASS}">{module.CODE}</td> - <td class="{module.ROW_CLASS}">{module.NAME}</td> - <td class="{module.ROW_CLASS}">{module.DESC}</td> - <td class="{module.ROW_CLASS}"><a href="{module.U_EDIT}">{L_EDIT}</a></td> - <td class="{module.ROW_CLASS}"><a href="{module.U_DELETE}">{L_DELETE}</a></td> - </tr> - <!-- END module --> - <tr> - <td class="catBottom" colspan="5" align="center">{S_HIDDEN_FIELDS_MODULE}<input class="mainoption" type="submit" name="import_pack" value="{L_IMPORT_PACK}"> <input class="mainoption" type="submit" name="upgrade_module" value="{L_UPGRADE_PACK}"> <input type="submit" name="add" value="{L_ADD}" class="liteoption" /> <input class="liteoption" type="submit" name="export_pack" value="{L_EXPORT_PACK}"></td> - </tr> - </table></form> - - <br /> <h1>{L_FUNCTION_TITLE}</h1> --- 1,3 ---- |