|
From: FlorinCB <ory...@us...> - 2008-10-11 04:04:42
|
Update of /cvsroot/mxbb/mx_chatbox/templates/_core In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv8783/templates/_core Added Files: _core.cfg chatbox_drop.tpl chatbox_footer.tpl chatbox_frameset.tpl chatbox_front.tpl chatbox_header.tpl chatbox_online.tpl chatbox_title.tpl Log Message: fixed version --- NEW FILE: chatbox_online.tpl --- <table width="{BLOCK_SIZE}" cellpadding="0" cellspacing="0" border="1" class="forumline"> <tr> <th class="thHead" align="left"> {L_WHO_IS_ONLINE} </th> </tr> <tr> <td> <table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline" style="border:none; padding:4px;"> <!-- OPEN: Who's Online Block --> <tr> <td class="row1" align="center" valign="middle" rowspan="2"> <a href="{U_VIEWONLINE}" class="cattitle"><img src="{ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" border="0" /></a> </td> <td class="row1" align="left" width="100%"> <span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span> </td> </tr> <tr> <td class="row1" align="left"> <span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span> </td> </tr> <!-- CLOSE: Who's Online Block --> <!-- OPEN: ChatBox Block --> <tr> <!-- BEGIN switch_chatters_list_on --> <td class="row1" align="center" valign="middle" rowspan="3"> <!-- END switch_chatters_list_on --> <!-- BEGIN switch_chatters_list_off --> <td class="row1" align="center" valign="middle" rowspan="2"> <!-- END switch_chatters_list_off --> <img src="{CHAT_IMG}" alt="{L_VERSION}" border="0" /> </td> <td class="row1" align="left"> <span class="gensmall">{TOTAL_CHATTERS_ONLINE}</span> </td> </tr> <tr> <td class="row1" align="left"> <span class="gensmall"> <!-- BEGIN switch_user_logged_out --> [ {L_LOGIN_TO_JOIN_CHAT} ] <!-- END switch_user_logged_out --> <!-- BEGIN switch_user_logged_in --> [ <a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATBOX_NAME}','scrollbars=no,resizable=yes,width=600,height=480')">{L_CLICK_TO_JOIN_CHAT}</a> ] <!-- END switch_user_logged_in --> </span> </td> </tr> <!-- BEGIN switch_chatters_list_on --> <tr> <td class="row1" align="left"> <span class="gensmall">{CHATTERS_LIST}</span> </td> </tr> <!-- END switch_chatters_list_on --> <!-- CLOSE: ChatBox Block --> </table> </td> </tr> </table> <br clear="all" /> --- NEW FILE: chatbox_front.tpl --- <table width="{BLOCK_SIZE}" cellpadding="0" cellspacing="0" border="0" class="forumline"> <tr> <th class="thHead" align="center"> {L_TITLE} </th> </tr> <tr> <td> <table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline" style="border:none; padding:4px;"> <tr> <!-- BEGIN switch_chatters_list_on --> <td class="row1" align="center" valign="middle" rowspan="3"> <!-- END switch_chatters_list_on --> <!-- BEGIN switch_chatters_list_off --> <td class="row1" align="center" valign="middle" rowspan="2"> <!-- END switch_chatters_list_off --> <img src="{CHAT_IMG}" alt="{L_VERSION}" border="0" /> </td> <td class="row1" align="left"> <span class="gensmall">{TOTAL_CHATTERS_ONLINE}</span> </td> </tr> <tr> <td class="row1" align="left"> <span class="gensmall"> <!-- BEGIN switch_user_logged_out --> [ {L_LOGIN_TO_JOIN_CHAT} ] <!-- END switch_user_logged_out --> <!-- BEGIN switch_user_logged_in --> [ <a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATBOX_NAME}','scrollbars=no,resizable=yes,width=600,height=480')">{L_CLICK_TO_JOIN_CHAT}</a> ] <!-- END switch_user_logged_in --> </span> </td> </tr> <!-- BEGIN switch_chatters_list_on --> <tr> <td class="row1" align="left"> <span class="gensmall">{CHATTERS_LIST}</span> </td> </tr> <!-- END switch_chatters_list_on --> </table> </td> </tr> </table> <br clear="all" /> --- NEW FILE: _core.cfg --- <?php /** * * @package MX-Publisher Module * @version $Id: _core.cfg,v 1.1 2008/10/11 04:04:35 orynider Exp $ * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // Please note that to enable support of different languages // the {LANG} place holder is available. This will be replaced // with xxx where xxx is the users selected language. If // that language isn't available it will default to english. // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // // // Do not alter this line! // define(MX_TEMPLATE_CONFIG, TRUE); $mx_template_config = true; // ------------------------------------------------------------------------- // Do some checks // ------------------------------------------------------------------------- $current_template_path = file_exists($mx_root_path . $current_template_path . "/images" ) ? $current_template_path : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path : $default_template_path); $current_template_root_path = str_replace($module_root_path, "", $current_template_path); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; $current_template_theme_images = !empty($current_template_root_path) && file_exists($mx_root_path . $current_template_root_path . "/images") ? PORTAL_URL . $current_template_root_path . "/images" : ( !empty($cloned_template_path) && file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? PORTAL_URL . cloned_template_path . "/images" : PORTAL_URL . "templates/_core/images"); $current_module_images = !empty($current_template_root_path) && file_exists($module_root_path . $current_template_root_path ."/images") ? PORTAL_URL . $module_root_path . $current_template_root_path ."/images" : $current_template_theme_images . "/phpbb2"; // ------------------------------------------------------------------------- // (Re)Define images // ------------------------------------------------------------------------- $mx_images['chatbox_icon'] = "$current_module_images/chatbox_front_00.gif"; $mx_images['mx_who_is_online'] = $images['mx_who_is_online']; ?> --- NEW FILE: chatbox_title.tpl --- <!-- chatbox_title.tpl --> <table class="formarea" width="100%"> <tr> <td> <table class="formarea" width="100%"> <tr> <td align="left"> {S_CHATNAME} </td> <td align="right"> <a href="{U_REFRESH}" target="ekran">{L_REFRESH}<a> | <a href="{U_FAQ}" target="ekran" >{L_FAQ}</a> | <a href="{U_ABOUT}" target="ekran">{L_ABOUT}</a> </td> </tr> </table> </td> </tr> </table> --- NEW FILE: chatbox_header.tpl --- <html> <!-- chatbox_header.tpl --> <head> <title>{PAGE_TITLE}</title> <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}"> <link rel="stylesheet" href="{U_STYLESHEET}" type="text/css"> <!-- BEGIN switch_javascript_head_on --> <script language="javascript" type="text/javascript"> <!-- {S_JAVASCRIPT_HEAD} // --> </script> <!-- END switch_javascript_head_on --> </head> <!-- BEGIN switch_body_open_on --> <body link="#006699" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" {S_EXTRA_BODY_ARGS}> <!-- END switch_body_open_on --> <!-- BEGIN switch_javascript_body_on --> <script language="javascript" type="text/javascript"> <!-- {S_JAVASCRIPT_BODY} // --> </script> <!-- END switch_javascript_body_on --> --- NEW FILE: chatbox_footer.tpl --- <!-- chatbox_footer.tpl --> {S_FOOTER_HTML} <!-- BEGIN switch_body_close_on --> </body> <!-- END switch_body_close_on --> </html> --- NEW FILE: chatbox_drop.tpl --- <!-- chatbox_drop.tpl --> <div align="center"><span class="chatbox"> <br /><br /> <b>{S_USERNICK},</b> <br /> {S_LOG_OUT_CHAT} <br /> {S_DATE} <br /> </span></div> --- NEW FILE: chatbox_frameset.tpl --- <!-- chatbox_frameset.tpl --> <frameset rows="30,*,50" framespacing="0" frameborder="no" border="0" onunload="window_open('{U_WINDOW_UNLOAD}', 'drop', 'scrollbars=no,width=300,height=100')"> <frame src="{U_FRAME_TITLE}" scrolling="no" name="title" noresize marginwidth="0" marginheight="0"> <frameset cols="150,*"> <frame src="{U_FRAME_LIST}" scrolling="yes" name="who" marginwidth="0" marginheight="0"> <frame src="{U_FRAME_VIEW}" scrolling="yes" name="ekran" marginwidth="0" marginheight="0"> </frameset> <frame src="{U_FRAME_SEND}" scrolling="no" name="sender" noresize marginwidth="0" marginheight="0"> </frameset> <noframes> <body>Sorry, your browser does not support this feature!!!</body> </noframes> |