|
From: OryNider <ory...@us...> - 2008-01-21 01:03:08
|
Update of /cvsroot/mxbb/core/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18781 Added Files: admin_mx_preview.tpl mainpage_body.tpl mainpage_footer.tpl mainpage_header.tpl Log Message: The NEW mxBB AdminCP !!!!!!!!!!!!!!!!!!!!!!!!!! --- NEW FILE: admin_mx_preview.tpl --- <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <td> <!-- frames --> <frameset> <iframe style="width:100%;height:550px;" name="main" src="{S_PREVIEW_ACTION}" marginwidth="0" marginheight="0" scrolling="auto" frameborder="no"></iframe> </frameset> <!-- frames end --> </td> </tr> </table> <br clear="all" /> --- NEW FILE: mainpage_footer.tpl --- <div id="page-footer" 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> </body> </html> --- NEW FILE: mainpage_body.tpl --- <script type="text/javascript"> // <![CDATA[ var menu_state = 'shown'; /** * Hiding/Showing the side menu */ function switch_menu() { var menu = document.getElementById('menu'); var main = document.getElementById('main'); var toggle = document.getElementById('toggle'); var handle = document.getElementById('toggle-handle'); switch (menu_state) { // hide case 'shown': main.style.width = '93%'; menu_state = 'hidden'; menu.style.display = 'none'; toggle.style.width = '20px'; handle.style.backgroundImage = 'url({U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}admin/images/toggle.gif)'; handle.style.backgroundRepeat = 'no-repeat'; <!-- IF S_CONTENT_DIRECTION eq 'rtl' --> handle.style.backgroundPosition = '0% 50%'; toggle.style.left = '96%'; <!-- ELSE --> handle.style.backgroundPosition = '100% 50%'; toggle.style.left = '0'; <!-- ENDIF --> break; // show case 'hidden': main.style.width = '76%'; menu_state = 'shown'; menu.style.display = 'block'; toggle.style.width = '5%'; handle.style.backgroundImage = 'url({U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}admin/images/toggle.gif)'; handle.style.backgroundRepeat = 'no-repeat'; <!-- IF S_CONTENT_DIRECTION eq 'rtl' --> handle.style.backgroundPosition = '100% 50%'; toggle.style.left = '75%'; <!-- ELSE --> handle.style.backgroundPosition = '0% 50%'; toggle.style.left = '15%'; <!-- ENDIF --> break; } } // ]]> </script> <table border="1" width="100%" cellspacing="0" cellpadding="0" class="forumline"> <tr><td colspan="2"> <table border="0" width="100%" cellspacing="0" cellpadding="0" class="forumline" style="border:none;"> <tr> <th class="thCornerL"> </th> <!-- BEGIN tab --> <th class="thHead"{tab.ACTIVE_TAB} style="cursor:pointer;white-space:nowrap;" onclick="window.location='{U_ADMIN_INDEX}&cat={tab.CATEGORY}{tab.PARAMS}';">{tab.L_TAB}</th> <!-- END tab --> <th class="thCornetR"> </th> </tr> </table> </td></tr> <tr> <td width="20%" valign="top" class="row1" style="border-left:none;"> <table border="0" width="100%" cellspacing="0" cellpadding="4" class="forumline" style="border:none;"> <!-- BEGIN category --> <tr> <th class="thHead">{category.ADMIN_CATEGORY}</th> </tr> <!-- BEGIN panel --> <tr> <td class="row1"{category.panel.A_PANEL}><a href="{category.panel.U_PANEL}">{category.panel.L_PANEL}</a></td> </tr> <!-- END panel --> <!-- END category --> </table> </td> <td width="80%" style="padding:6px;padding-left:12px;background-color:#E5E5E5;"><div>{ACTION_SCRIPT}</div> {CONTENT_ACP}</td> </tr> </table> --- NEW FILE: mainpage_header.tpl --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="{S_CONTENT_DIRECTION}"> <head> {META} <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" /> <title>{SITENAME} - {L_MX_ADMIN}</title> <!-- First load standard template *.css definition, located in the the phpbb template folder --> <link rel="stylesheet" href="{U_PHPBB_ROOT_PATH}{TEMPLATE_ROOT_PATH}subSilver.css" type="text/css" > <!-- Then load mxBB template *.css definition for mx, located in the the portal template folder --> <link rel="stylesheet" href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}subSilver.css" type="text/css" > <!-- Optionally, redefine some defintions for gecko browsers --> <!-- BEGIN switch_gecko --> <link rel="stylesheet" href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}gecko.css" type="text/css" > <!-- END switch_gecko --> <script language="javascript" type="text/javascript" src="{U_PORTAL_ROOT_PATH}modules/mx_shared/lib/Common.js"></script> <script language="javascript" type="text/javascript" src="{U_PORTAL_ROOT_PATH}modules/mx_shared/lib/Toggle.js"></script> {MX_ADDITIONAL_CSS} {MX_ICON_CSS} </head> <body class="{S_CONTENT_DIRECTION}"> <table border="0" width="100%" cellspacing="1" cellpadding="4" class="forumline"> <tr> <td><img src="{LOGO}" alt="logo mxBB" /></td> <td align="right"><h1>{ADMIN_TITLE}</h1></td> </tr> <tr> <td>{L_LOGGED_IN_AS} <strong>{USERNAME}</strong> [ <a href="{U_LOGOUT}">{L_LOGOUT}</a> ]</td> <td align="right"><a href="{U_PORTAL_ADMIN_INDEX}" target="main">{L_ADMIN_INDEX}</a> • <a href="{U_PORTAL_INDEX}">{L_PORTAL_INDEX}</a> </td> </tr> </table> <p id="skip"><a href="#acp">{L_SKIP}</a></p> |