Update of /cvsroot/mxbb/mx_profilecp/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29972/_core Added Files: _core.cfg avatar_body.tpl birthday_popup.tpl board_config_body.tpl buddy_body.tpl buddy_box.tpl home_body.tpl index.htm privmsgs_body.tpl privmsgs_box.tpl privmsgs_read_body.tpl profil_avatar_body.tpl profil_groups_body.tpl profil_signature_body.tpl profilcp_footer.tpl profilcp_header.tpl public_base_body.tpl public_groups_body.tpl register_body.tpl topics_list_box.tpl Log Message: for 2.9.x --- NEW FILE: register_body.tpl --- <table cellpadding="0" cellspacing="5" border="0" width="100%"> <form name="post" action="{S_PROFILCP_ACTION}" method="post"> <tr> <td valign="top" align="center"> <table cellpadding="4" cellspacing="1" border="0" class="forumline" width="100%"> <tr> <th colspan="2" valign="middle">{L_REGISTRATION}</th> </tr> <tr> <td class="row1" width="50%"><span class="gen">{L_USERNAME}:</span></td> <!-- BEGIN switch_edit_name --> <td class="row2" width="50%"><input type="text" class="post" style="width:200px" name="username" size="25" maxlength="255" value="{USERNAME}" /></td> <!-- END switch_edit_name --> <!-- BEGIN switch_no_edit_name --> <td class="row2" width="50%"><span class="gen">{USERNAME}</span></td> <!-- END switch_no_edit_name --> </tr> <tr> <td class="cat" colspan="2"><span class="cattitle">{L_EMAIL_TITLE}</span></td> </tr> <tr> <td class="row1" width="50%"><span class="gen">{L_EMAIL}:</span></td> <td class="row2" width="50%"><input type="text" class="post" style="width:200px" name="user_email" size="25" maxlength="255" value="{EMAIL}" /></td> </tr> <tr> <td class="row1" width="50%"><span class="gen">{L_EMAIL_CONFIRM}:</span></td> <td class="row2" width="50%"><input type="text" class="post" style="width:200px" name="user_email_confirm" size="25" maxlength="255" value="{EMAIL}" /></td> </tr> <!-- BEGIN switch_anti_robotic --> <tr> <td class="row1" width="50%"> <span class="gen">{L_IMAGE}:</span> <span class="gensmall"><br />{L_IMAGE_EXPLAIN}</span> </td> <td class="row2"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <!-- BEGIN robotic_pic --> <td><img src="{switch_anti_robotic.robotic_pic.PIC}"></td> <!-- END robotic_pic --> </tr> </table> <span class="gen"><input type="text" class="post" style="width:200px" name="robot_confirm" size="25" maxlength="255" /> </td> </tr> <!-- END switch_anti_robotic --> <tr> <td class="cat" colspan="2"><span class="cattitle">{L_PASSWORD_TITLE}</span></td> </tr> <!-- BEGIN switch_get_cur_password --> <tr> <td class="row1" width="50%"> <span class="gen">{L_CURRENT_PASSWORD}:</span> <span class="gensmall"><br />{L_CONFIRM_PASSWORD_EXPLAIN}</span> </td> <td class="row2"> <input type="password" class="post" style="width: 200px" name="cur_password" size="25" maxlength="100" value="{CUR_PASSWORD}" /> </td> </tr> <!-- END switch_get_cur_password --> <tr> <td class="row1"> <span class="gen">{L_NEW_PASSWORD}:</span> <span class="gensmall"><br />{L_PASSWORD_IF_CHANGED}</span> </td> <td class="row2"> <input type="password" class="post" style="width: 200px" name="new_password" size="25" maxlength="100" value="{NEW_PASSWORD}" /> </td> </tr> <tr> <td class="row1"> <span class="gen">{L_CONFIRM_PASSWORD}:</span> <span class="gensmall"><br />{L_PASSWORD_CONFIRM_IF_CHANGED}</span> </td> <td class="row2"> <input type="password" class="post" style="width: 200px" name="password_confirm" size="25" maxlength="100" value="{PASSWORD_CONFIRM}" /> </td> </tr> <!-- BEGIN switch_forum_rules --> </table> </td> </tr> <tr> <td valign="top" align="center"> <table cellpadding="4" cellspacing="1" border="0" class="forumline" width="100%"> <tr> <th colspan="2" valign="middle">{L_FORUM_RULES}</th> </tr> <tr> <td class="row1"> <br /> <div class="postbody" align="justify">{FORUM_RULES}</div> <br /> <div class="postbody" align="right">{LAST_UPDATE}</div> <!-- BEGIN confirm_rules --> <hr /> <div align="center" class="postbody">{L_AGREE_RULES}<input type="checkbox" name="agree_rules" value="1"><br /></div> <!-- END confirm_rules --> </td> </tr> <!-- END switch_forum_rules --> <tr> <td class="cat" colspan="2" align="center"> <input type="submit" name="submit" class="mainoption" value="{L_SUBMIT}"> <input type="submit" name="reset" class="liteoption" value="{L_RESET}"> {S_HIDDEN_FIELDS} </td> </tr> </table> </td> </tr> </form> </table> --- NEW FILE: public_base_body.tpl --- <table cellpadding="0" cellspacing="5" border="0" width="100%" > <tr> <td valign="top" align="center"> <table cellpadding="2" cellspacing="1" border="0" width="100%" > <tr> <th valign="middle">{L_PUBLIC_TITLE}</th> </tr> <tr> <td valign="top"> <table cellpadding="2" cellspacing="4" border="0" width="100%" > <tr> <!-- BEGIN col --> <td valign="top"> <!-- BEGIN panel --> <!-- BEGIN linefeed --> <br style="font-size: 4 px;" /> <!-- END linefeed --> <table cellpadding="4" cellspacing="0" border="0" class="bodyline" width="100%"> <tr> <td class="cat" align="center" colspan="{col.panel.SPAN}"><span class="cattitle">{col.panel.TITLE}</span></td> </tr> <!-- BEGIN row --> <tr> <!-- BEGIN linefeed --> <td class="row2" colspan="{col.panel.SPAN}"><span style="font-size: 2px"> </span></td> <!-- END linefeed --> <!-- BEGIN cell --> <td class="{col.panel.row.cell.CLASS}" align="{col.panel.row.cell.ALIGN}" width="{col.panel.row.cell.WIDTH}" {col.panel.row.cell.WRAP}><span class="gen">{col.panel.row.cell.VALUE}</span></td> <!-- END cell --> <!-- BEGIN cellfeed --> <td class="row2"></td> <!-- END cellfeed --> </tr> <!-- END row --> </table> <!-- END panel --> </td> <!-- END col --> </tr> </table> </td> </tr> </table> </td> </tr> </table> --- NEW FILE: profil_signature_body.tpl --- <table cellpadding="0" cellspacing="5" border="0" width="100%"> <form action="{S_PROFILCP_ACTION}" method="post" name="post" onsubmit="return checkForm(this)"> <script language="JavaScript" type="text/javascript"> <!-- // bbCode control by // subBlue design // www.subBlue.com // Startup variables var imageTag = false; var theSelection = false; // Check for Browser & Platform for PC & IE specific bits // More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html var clientPC = navigator.userAgent.toLowerCase(); // Get client info var clientVer = parseInt(navigator.appVersion); // Get browser version var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1)); var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1) && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1) && (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1)); var is_moz = 0; var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1)); var is_mac = (clientPC.indexOf("mac")!=-1); // Helpline messages b_help = "{L_BBCODE_B_HELP}"; i_help = "{L_BBCODE_I_HELP}"; u_help = "{L_BBCODE_U_HELP}"; q_help = "{L_BBCODE_Q_HELP}"; c_help = "{L_BBCODE_C_HELP}"; l_help = "{L_BBCODE_L_HELP}"; o_help = "{L_BBCODE_O_HELP}"; p_help = "{L_BBCODE_P_HELP}"; w_help = "{L_BBCODE_W_HELP}"; a_help = "{L_BBCODE_A_HELP}"; s_help = "{L_BBCODE_S_HELP}"; f_help = "{L_BBCODE_F_HELP}"; // Define the bbCode tags bbcode = new Array(); bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]'); imageTag = false; // Shows the help messages in the helpline window function helpline(help) { document.post.helpbox.value = eval(help + "_help"); } // Replacement for arrayname.length property function getarraysize(thearray) { for (i = 0; i < thearray.length; i++) { if ((thearray[i] == "undefined") || (thearray[i] == "") || (thearray[i] == null)) return i; } return thearray.length; } // Replacement for arrayname.push(value) not implemented in IE until version 5.5 // Appends element to the array function arraypush(thearray,value) { thearray[ getarraysize(thearray) ] = value; } // Replacement for arrayname.pop() not implemented in IE until version 5.5 // Removes and returns the last element of an array function arraypop(thearray) { thearraysize = getarraysize(thearray); retval = thearray[thearraysize - 1]; delete thearray[thearraysize - 1]; return retval; } function checkForm() { formErrors = false; if (formErrors) { alert(formErrors); return false; } else { bbstyle(-1); //formObj.preview.disabled = true; //formObj.submit.disabled = true; return true; } } function emoticon(text) { var txtarea = document.post.message; text = ' ' + text + ' '; if (txtarea.createTextRange && txtarea.caretPos) { var caretPos = txtarea.caretPos; caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text; txtarea.focus(); } else { txtarea.value += text; txtarea.focus(); } } function bbfontstyle(bbopen, bbclose) { var txtarea = document.post.message; if ((clientVer >= 4) && is_ie && is_win) { theSelection = document.selection.createRange().text; if (!theSelection) { txtarea.value += bbopen + bbclose; txtarea.focus(); return; } document.selection.createRange().text = bbopen + theSelection + bbclose; txtarea.focus(); return; } else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0)) { mozWrap(txtarea, bbopen, bbclose); return; } else { txtarea.value += bbopen + bbclose; txtarea.focus(); } storeCaret(txtarea); } function bbstyle(bbnumber) { var txtarea = document.post.message; donotinsert = false; theSelection = false; bblast = 0; if (bbnumber == -1) { // Close all open tags & default button names while (bbcode[0]) { butnumber = arraypop(bbcode) - 1; txtarea.value += bbtags[butnumber + 1]; buttext = eval('document.post.addbbcode' + butnumber + '.value'); eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"'); } imageTag = false; // All tags are closed including image tags :D txtarea.focus(); return; } if ((clientVer >= 4) && is_ie && is_win) { theSelection = document.selection.createRange().text; // Get text selection if (theSelection) { // Add tags around selection document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1]; txtarea.focus(); theSelection = ''; return; } } else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0)) { mozWrap(txtarea, bbtags[bbnumber], bbtags[bbnumber+1]); return; } // Find last occurance of an open tag the same as the one just clicked for (i = 0; i < bbcode.length; i++) { if (bbcode[i] == bbnumber+1) { bblast = i; donotinsert = true; } } if (donotinsert) { // Close all open tags up to the one just clicked & default button names while (bbcode[bblast]) { butnumber = arraypop(bbcode) - 1; txtarea.value += bbtags[butnumber + 1]; buttext = eval('document.post.addbbcode' + butnumber + '.value'); eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"'); imageTag = false; } txtarea.focus(); return; } else { // Open tags if (imageTag && (bbnumber != 14)) { // Close image tag before adding another txtarea.value += bbtags[15]; lastValue = arraypop(bbcode) - 1; // Remove the close image tag from the list document.post.addbbcode14.value = "Img"; // Return button back to normal state imageTag = false; } // Open tag txtarea.value += bbtags[bbnumber]; if ((bbnumber == 14) && (imageTag == false)) imageTag = 1; // Check to stop additional tags after an unclosed image tag arraypush(bbcode,bbnumber+1); eval('document.post.addbbcode'+bbnumber+'.value += "*"'); txtarea.focus(); return; } storeCaret(txtarea); } // From http://www.massless.org/mozedit/ function mozWrap(txtarea, open, close) { var selLength = txtarea.textLength; var selStart = txtarea.selectionStart; var selEnd = txtarea.selectionEnd; if (selEnd == 1 || selEnd == 2) selEnd = selLength; var s1 = (txtarea.value).substring(0,selStart); var s2 = (txtarea.value).substring(selStart, selEnd) var s3 = (txtarea.value).substring(selEnd, selLength); txtarea.value = s1 + open + s2 + close + s3; return; } // Insert at Claret position. Code from // http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130 function storeCaret(textEl) { if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate(); } //--> </script> <tr> <td valign="top" align="center"> <table cellpadding="4" cellspacing="1" border="0" class="forumline" width="100%"> <tr> <th colspan="2" valign="middle">{L_SIGNATURE}</th> </tr> <tr> <td class="row2" colspan="2"><span class="gensmall">{L_SIGNATURE_EXPLAIN}</span></td> </tr> <tr> <td class="row1" align="center" valign="bottom"> <table width="100" border="0" cellspacing="0" cellpadding="5"> <tr align="center"> <td colspan="{S_SMILIES_COLSPAN}" class="gensmall"><b>{L_EMOTICONS}</b></td> </tr> <!-- BEGIN smilies_row --> <tr align="center" valign="middle"> <!-- BEGIN smilies_col --> <td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td> <!-- END smilies_col --> </tr> <!-- END smilies_row --> <!-- BEGIN switch_smilies_extra --> <tr align="center"> <td colspan="{S_SMILIES_COLSPAN}"><span class="nav"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies" class="nav">{L_MORE_SMILIES}</a></span></td> </tr> <!-- END switch_smilies_extra --> </table> <div class="gensmall" align="left"> <br />{HTML_STATUS} <br />{BBCODE_STATUS} <br />{SMILIES_STATUS} </div> </td> <td class="row2" nowrap="nowrap"> <table border="0" cellspacing="0" cellpadding="2"> <tr align="center" valign="middle"> <td><span class="genmed"> <input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onClick="bbstyle(0)" onMouseOver="helpline('b')" /> </span></td> <td><span class="genmed"> <input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onClick="bbstyle(2)" onMouseOver="helpline('i')" /> </span></td> <td><span class="genmed"> <input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onClick="bbstyle(4)" onMouseOver="helpline('u')" /> </span></td> <td><span class="genmed"> <input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onClick="bbstyle(6)" onMouseOver="helpline('q')" /> </span></td> <td><span class="genmed"> <input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onClick="bbstyle(8)" onMouseOver="helpline('c')" /> </span></td> <td><span class="genmed"> <input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onClick="bbstyle(10)" onMouseOver="helpline('l')" /> </span></td> <td><span class="genmed"> <input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onClick="bbstyle(12)" onMouseOver="helpline('o')" /> </span></td> <td><span class="genmed"> <input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onClick="bbstyle(14)" onMouseOver="helpline('p')" /> </span></td> <td><span class="genmed"> <input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" /> </span></td> </tr> <tr> <td colspan="9"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="genmed"> {L_FONT_COLOR}: <select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')"> <option style="color:black; background-color: {T_TD_COLOR1}" value="{T_FONTCOLOR1}" class="genmed">{L_COLOR_DEFAULT}</option> <option style="color:darkred; background-color: {T_TD_COLOR1}" value="darkred" class="genmed">{L_COLOR_DARK_RED}</option> <option style="color:red; background-color: {T_TD_COLOR1}" value="red" class="genmed">{L_COLOR_RED}</option> <option style="color:orange; background-color: {T_TD_COLOR1}" value="orange" class="genmed">{L_COLOR_ORANGE}</option> <option style="color:brown; background-color: {T_TD_COLOR1}" value="brown" class="genmed">{L_COLOR_BROWN}</option> <option style="color:yellow; background-color: {T_TD_COLOR1}" value="yellow" class="genmed">{L_COLOR_YELLOW}</option> <option style="color:green; background-color: {T_TD_COLOR1}" value="green" class="genmed">{L_COLOR_GREEN}</option> <option style="color:olive; background-color: {T_TD_COLOR1}" value="olive" class="genmed">{L_COLOR_OLIVE}</option> <option style="color:cyan; background-color: {T_TD_COLOR1}" value="cyan" class="genmed">{L_COLOR_CYAN}</option> <option style="color:blue; background-color: {T_TD_COLOR1}" value="blue" class="genmed">{L_COLOR_BLUE}</option> <option style="color:darkblue; background-color: {T_TD_COLOR1}" value="darkblue" class="genmed">{L_COLOR_DARK_BLUE}</option> <option style="color:indigo; background-color: {T_TD_COLOR1}" value="indigo" class="genmed">{L_COLOR_INDIGO}</option> <option style="color:violet; background-color: {T_TD_COLOR1}" value="violet" class="genmed">{L_COLOR_VIOLET}</option> <option style="color:white; background-color: {T_TD_COLOR1}" value="white" class="genmed">{L_COLOR_WHITE}</option> <option style="color:black; background-color: {T_TD_COLOR1}" value="black" class="genmed">{L_COLOR_BLACK}</option> </select> {L_FONT_SIZE}:<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')"> <option value="7" class="genmed">{L_FONT_TINY}</option> <option value="9" class="genmed">{L_FONT_SMALL}</option> <option value="12" selected class="genmed">{L_FONT_NORMAL}</option> <option value="18" class="genmed">{L_FONT_LARGE}</option> <option value="24" class="genmed">{L_FONT_HUGE}</option> </select> </span></td> <td nowrap="nowrap" align="right"><span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span></td> </tr> </table> </td> </tr> <tr> <td colspan="9"> <span class="gensmall"> <input type="text" name="helpbox" size="45" maxlength="100" style="width:450px; font-size:10px" class="helpline" value="{L_STYLES_TIP}" /> </span></td> </tr> <tr> <td class="row2" colspan="9"> <textarea name="message" rows="15" cols="35" wrap="virtual" style="width:600px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea> </td> </tr> </table> </td> </tr> <tr> <td class="cat" colspan="2"><span class="cattitle">{L_SIG_PREVIEW}</span></td> </tr> <tr> <td class="row1" colspan="2"><span class="postbody">{SIG_PREVIEW}</span></td> </tr> <tr> <td class="cat" colspan="2" align="center"> <input type="submit" name="submit" class="mainoption" value="{L_SUBMIT}"> <input type="submit" name="preview" class="liteoption" value="{L_PREVIEW}"> <input type="submit" name="reset" class="liteoption" value="{L_RESET}"> {S_HIDDEN_FIELDS} </td> </tr> </table> </td> </tr> </form> </table> --- NEW FILE: topics_list_box.tpl --- <!-- BEGIN topics_list_box --> <!-- BEGIN row --> <!-- BEGIN header_table --> <!-- BEGIN multi_selection --> <script language="Javascript" type="text/javascript"> // // checkbox selection management function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() { var all_checked = true; for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) { if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') { all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked; } } document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked; } // check/uncheck all function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() { for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) { if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') { document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked; } } } </script> <!-- END multi_selection --> <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline"> <tr> <th colspan="{topics_list_box.row.header_table.COLSPAN}" align="center" nowrap="nowrap"> {topics_list_box.row.L_TITLE} </th> <th width="50" align="center" nowrap="nowrap"> {topics_list_box.row.L_REPLIES} </th> <th width="100" align="center" nowrap="nowrap"> {topics_list_box.row.L_AUTHOR} </th> <th width="50" align="center" nowrap="nowrap"> {topics_list_box.row.L_VIEWS} </th> <th width="150" align="center" nowrap="nowrap"> {topics_list_box.row.L_LASTPOST} </th> <!-- BEGIN multi_selection --> <th width="20" align="center" nowrap="nowrap"><input type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" onClick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" /></th> <!-- END multi_selection --> </tr> <!-- END header_table --> <!-- BEGIN header_row --> <tr> <td class="row3" colspan="{topics_list_box.row.COLSPAN}"><span class="gensmall"> <b>{topics_list_box.row.L_TITLE}</b></span></td> </tr> <!-- END header_row --> <!-- BEGIN topic --> <tr> <!-- BEGIN single_selection --> <td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20"><input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td> <!-- END single_selection --> <td class="{topics_list_box.row.ROW_FOLDER_CLASS}" align="center" valign="middle" width="20"><img src="{topics_list_box.row.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" /></td> <!-- BEGIN icon --> <td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20">{topics_list_box.row.ICON}</td> <!-- END icon --> <td class="{topics_list_box.row.ROW_CLASS}" width="100%"> <span class="topictitle">{topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.TOPIC_TYPE}<a href="{topics_list_box.row.U_VIEW_TOPIC}" class="topictitle">{topics_list_box.row.TOPIC_TITLE}</a></span><span class="gensmall"> {topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span> <span class="gensmall"> {topics_list_box.row.GOTO_PAGE} <!-- BEGIN nav_tree --> {topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree --> </span> </td> <td class="row2" align="center" valign="middle"><span class="postdetails">{topics_list_box.row.REPLIES}</span></td> <td class="row3" align="center" valign="middle"><span class="name">{topics_list_box.row.TOPIC_AUTHOR}</span></td> <td class="row2" align="center" valign="middle"><span class="postdetails">{topics_list_box.row.VIEWS}</span></td> <td class="row3" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topics_list_box.row.LAST_POST_TIME}<br />{topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</span></td> <!-- BEGIN multi_selection --> <td class="row2" align="center" valign="middle"><span class="postdetails"><input type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" onClick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" {topics_list_box.row.L_SELECT} /></span></td> <!-- END multi_selection --> </tr> <!-- END topic --> <!-- BEGIN no_topics --> <tr> <td class="row1" colspan="{topics_list_box.row.COLSPAN}" height="30" align="center" valign="middle"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></td> </tr> <!-- END no_topics --> <!-- BEGIN bottom --> <tr> <td class="cat" colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle"><span class="genmed">{topics_list_box.row.FOOTER}</span></td> </tr> <!-- END bottom --> <!-- BEGIN footer_table --> </table> <!-- END footer_table --> <!-- BEGIN spacer --> <br class="gensmall"> <!-- END spacer --> <!-- END row --> <!-- END topics_list_box --> --- NEW FILE: board_config_body.tpl --- <table cellpadding="0" cellspacing="5" border="0" width="100%"> <form name="post" action="{S_PROFILCP_ACTION}" method="post"> <tr> <td valign="top" align="center"> <table width="100%" cellpadding="0" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th colspan="2">{L_MOD_NAME}</th> </tr> <tr> <td valign="top" class="row3" width="200"> <table cellpadding="10" cellspacing="1" border="0" class="bodyline" width="100%"> <!-- BEGIN mod --> <tr> <td class="{mod.CLASS}" align="{mod.ALIGN}" nowrap="nowrap"> <a href="{mod.U_MOD}" class="gen">{mod.L_MOD}</a> <!-- BEGIN sub --> <hr /> <table cellpadding="2" cellspacing="1" border="0" align="left" width="100%"> <!-- BEGIN row --> <tr> <td align="left" class="{mod.sub.row.CLASS}" nowrap="nowrap"><span class="genmed"> » <a href="{mod.sub.row.U_MOD}" class="genmed">{mod.sub.row.L_MOD}</a> </span></td> </tr> <!-- END row --> </table> <!-- END sub --> </td> </tr> <!-- END mod --> </table> </td> <td valign="top" class="row3"> <table cellpadding="5" cellspacing="1" border="0" width="100%" class="bodyline"> <!-- BEGIN field --> <tr> <td class="row1" width="50%"><span class="gen">{field.L_NAME}</span><span class="gensmall">{field.L_EXPLAIN}</span></td> <td class="row2" width="50%" nowrap="nowrap"><span class="gen">{field.INPUT}</span></td> </tr> <!-- END field --> </table> </td> </tr> <tr> <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" class="liteoption" /> </td> </tr> </table> </td> </tr> </form> </table> --- NEW FILE: buddy_box.tpl --- <table cellpadding="4" cellspacing="1" border="0" class="forumline" width="150"> <tr> <th nowrap="nowrap"> {L_LIST_NAME} </th> </tr> <!-- BEGIN online --> <tr> <td class="row3" align="center" nowrap="nowrap" colspan="2" nowrap="nowrap"><span class="genmed"> <b>{online.L_ONLINE}</b> </span></td> </tr> <!-- BEGIN buddy --> <tr> <td class="row1" nowrap="nowrap" align="center"> <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <!-- BEGIN visible --> <td align="center"><span class="name"><img src="{online.buddy.VISIBLE_IMG}" alt="{online.buddy.VISIBLE}" title="{online.buddy.VISIBLE}" /></span></td> <td align="center"><span class="name">{online.buddy.BIRTHDAY}</span></td> <!-- END visible --> <td align="center" width="100%"><a href="{online.buddy.U_PROFILE}" class="name" alt="{online.buddy.USERNAME}" title="{online.buddy.USERNAME}">{online.buddy.USERNAME}</a></td> </tr> </table> </td> </tr> <!-- END buddy --> <!-- END online --> <!-- BEGIN nobody --> <tr> <td class="row1" align="center" nowrap="nowrap"><span class="name"><i>{NOBODY}</i></span></td> </tr> <!-- END nobody --> </table> --- NEW FILE: home_body.tpl --- <form method="post" name="post" action="{S_PROFILCP_ACTION}"> <table cellpadding="0" cellspacing="2" border="0" width="100%" > <tr> <!-- BEGIN left_part --> <td valign="top"> <!-- BEGIN box --> {left_part.box.BOX} <!-- BEGIN pagination --> <table width="100%" cellspacing="2" cellpadding="2" border="0"> <tr> <td align="left" valign="top"><span class="gensmall"><b>{left_part.box.pagination.PAGE_NUMBER}</b></span></td> <td align="right" valign="top"><span class="gensmall"><b>{left_part.box.pagination.PAGINATION}</b></span></td> </tr> </table> <!-- END pagination --> <br class="gensmall" /> <!-- END box --> </td> <!-- END left_part --> <!-- BEGIN right_part --> <td width="99%" valign="top"> <!-- BEGIN box --> {right_part.box.BOX} <!-- BEGIN pagination --> <table width="100%" cellspacing="2" cellpadding="2" border="0"> <tr> <td align="left" valign="top"><span class="gensmall"><b>{right_part.box.pagination.PAGE_NUMBER}</b></span></td> <td align="right" valign="top"><span class="gensmall"><b>{right_part.box.pagination.PAGINATION}</b></span></td> </tr> </table> <!-- END pagination --> <br class="gensmall" /> <!-- END box --> </td> <!-- END right_part --> </tr> </table>{S_HIDDEN_FIELDS}</form> --- NEW FILE: profilcp_header.tpl --- <style type="text/css"> <!-- /*-- mod : profile cp --*/ .foundercolor, a.foundercolor, a.foundercolor:link, a.foundercolor:active, a.foundercolor:visited { color: #FE00FE; font-weight: bold; } a.foundercolor:hover { color: #FF0000; text-decoration: underline; } .admincolor, a.admincolor, a.admincolor:link, a.admincolor:active, a.admincolor:visited { color: {T_FONTCOLOR3}; font-weight: bold; } a.admincolor:hover { color: {T_BODY_HLINK}; text-decoration: underline; } .modcolor, a.modcolor, a.modcolor:link, a.modcolor:active, a.modcolor:visited { color: {T_FONTCOLOR2}; font-weight: bold; } a.modcolor:hover { color: {T_BODY_HLINK}; text-decoration: underline; } .usercolor, a.usercolor, a.usercolor:link, a.usercolor:active, a.usercolor:visited { color : {T_BODY_LINK}; font-weight: bold; } a.usercolor:hover { color: {T_BODY_HLINK}; text-decoration: underline; } /*-- fin mod : profile cp --*/ --> </style> <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> <td align="left" class="nav"> <a href="{U_MODULE_HOME}" class="nav">{L_MODULE_HOME}</a> {NAV_SEPARATOR}<a href="{U_MODULE}" class="nav">{L_MODULE}</a> <!-- BEGIN sub_menu --> {NAV_SEPARATOR}<a href="{sub_menu.U_MODULE}" class="nav">{sub_menu.L_MODULE}</a> <!-- END sub_menu --> </td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0" border="0" > <tr> <!-- BEGIN opt --> <!-- BEGIN curopt --> <td class="row1" nowrap="nowrap" align="center" width="{WIDTH}%" style="border-left : 1px solid {BORDER_COLOR}; border-top : 1px solid {BORDER_COLOR}; border-right : 1px solid {BORDER_COLOR}; "> <span class="gensmall"><b>{opt.curopt.SHORTCUT}</b></span> </td> <!-- END curopt --> <!-- BEGIN otheropt --> <td nowrap="nowrap" align="center" width="{WIDTH}%" > <table cellpadding="1" cellspacing="0" border="0" width="100%" class="bodyline"> <tr><td nowrap="nowrap" class="row3" align="center"> <a href="{opt.otheropt.U_SHORTCUT}" class="gensmall">{opt.otheropt.SHORTCUT}</a> </td></tr></table> </td> <!-- END otheropt --> <!-- BEGIN inactopt --> <td nowrap="nowrap" align="center" width="{WIDTH}%" > <table cellpadding="1" cellspacing="0" border="0" width="100%" class="bodyline"> <tr><td nowrap="nowrap" class="row3" align="center"> <span class="gensmall"><i>{opt.inactopt.SHORTCUT}</i></span> </td></tr></table> </td> <!-- END inactopt --> <!-- END opt --> <!-- BEGIN filleropt --> <td nowrap="nowrap" align="center" width="{FILLER_WIDTH}%" > </td> <!-- END filleropt --> </tr> <tr> <td colspan="{NBOPT}" class="row1" > <table cellpadding="0" cellspacing="1" width="100%" border="0" class="forumline"> <tr> <td class="row1"> <!-- BEGIN sub_menu --> <table cellpadding="1" cellspacing="0" border="0" width="100%"> <tr> <td class=""> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <!-- BEGIN opt --> <!-- BEGIN curopt --> <td nowrap="nowrap" class="row1" align="center" width="{sub_menu.WIDTH}%" style="border-left : 1px solid {BORDER_COLOR}; border-top : 1px solid {BORDER_COLOR}; border-right : 1px solid {BORDER_COLOR}; "> <span class="gensmall"><b>{sub_menu.opt.curopt.SHORTCUT}</b></span> </td> <!-- END curopt --> <!-- BEGIN otheropt --> <td nowrap="nowrap" align="center" width="{sub_menu.WIDTH}%" style="border-bottom : 1px solid {BORDER_COLOR};"> <table cellpadding="1" cellspacing="0" border="0" width="100%" class="bodyline"> <tr><td nowrap="nowrap" class="row3" align="center"> <a href="{sub_menu.opt.otheropt.U_SHORTCUT}" class="gensmall">{sub_menu.opt.otheropt.SHORTCUT}</a> </td></tr></table> </td> <!-- END otheropt --> <!-- END opt --> <!-- BEGIN filleropt --> <td class="row1" nowrap="nowrap" align="center" width="{sub_menu.FILLER_WIDTH}%" style="border-bottom : 1px solid {BORDER_COLOR};"> </td> <!-- END filleropt --> </tr> <tr> <td class="row1" colspan="{sub_menu.NBOPT}" style="border-left : 1px solid {BORDER_COLOR}; border-bottom : 1px solid {BORDER_COLOR}; border-right : 1px solid {BORDER_COLOR};"> <table cellpadding="0" cellspacing="1" width="100%" border="0"> <tr> <td class=""> <!-- END sub_menu --> --- NEW FILE: profilcp_footer.tpl --- <!-- BEGIN sub_menu_b --> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> <!-- END sub_menu_b --> </td> </tr> </table> </td> </tr> </table> <!-- <div align="center"><span class="copyright"><br /> Based on Profile Control Panel, Ptirhiik - RPGnet-fr ©2002 <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=150925" target="_phpbb" class="copyright">PHPBB.com MOD</a><br /> This script (ProfileCP Suite v. 1.0.0 :: mxBB Portal Module 2004) is modified by <a href="http://www.mx-system.com/" target="_phpbb" class="copyright">mxBB Team</a><br /> </span></div> --> --- NEW FILE: avatar_body.tpl --- <script language="javascript" type="text/javascript"> <!-- function avatar_choose(avatarfile) { opener.document.forms['post'].avatarlocal.value = avatarfile; opener.focus(); window.close(); } //--> </script> <form method="post" name="avatar_select" action="{S_AVATAR_SELECT_ACTION}"> <table border="0" cellpadding="0" cellspacing="0" width="100%" > <tr> <th valign="middle">{L_AVATAR_GALLERY}</th> </tr> <tr> <td class="cat" align="center" valign="middle"> <span class="genmed">{L_CATEGORY}: {S_CATEGORY_SELECT} <input type="submit" class="liteoption" value="{L_GO}" name="avatargallery" /></span> </td> </tr> <tr> <td class="row3"> <table cellpadding="3" cellspacing="1" width="100%" border="0" > <!-- BEGIN avatar_row --> <tr> <!-- BEGIN avatar_column --> <td class="row1" align="center"><a href="javascript:avatar_choose('{avatar_row.avatar_column.AVATAR_FILE}')"> <img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt="{avatar_row.avatar_column.AVATAR_NAME}" title="{avatar_row.avatar_column.AVATAR_NAME}" border="0"/> </a></td> <!-- END avatar_column --> </tr> <!-- END avatar_row --> </table> </td> </tr> <tr> <td class="cat" align="center">{S_HIDDEN_FIELDS}<a href="javascript:window.close();" class="genmed">{L_CLOSE_WINDOW}</a></td> </tr> </table> </form> --- NEW FILE: profil_groups_body.tpl --- <script language="JavaScript" type="text/javascript"> <!-- // checkbox selection management function check_uncheck_main() { var all_checked = true; for (i = 0; (i < document.post.elements.length) && all_checked; i++) { if (document.post.elements[i].name == 'ids[]') { all_checked = document.post.elements[i].checked; } } document.post.all_mark.checked = all_checked; } function check_uncheck_all() { for (i = 0; i < document.post.length; i++) { if (document.post.elements[i].name == 'ids[]') { document.post.elements[i].checked = document.post.all_mark.checked; } } } //--> </script> <table cellpadding="0" cellspacing="10" border="0" width="100%"> <form action="{S_PROFILCP_ACTION}" method="post" name="post"> <tr> <td valign="top" align="center"> <table cellpadding="4" cellspacing="1" border="0" class="forumline" width="100%"> <tr> <th colspan="2">{L_GROUPS}</th> <th nowrap="nowrap" width="5%"> {L_STATUS} </th> <!-- BEGIN select_avail --> <th nowrap="nowrap" width="1%"> <input type="checkbox" name="all_mark" value="{L_SELECTION}" onClick="check_uncheck_all();"> </th> <!-- END select_avail --> </tr> <!-- BEGIN grouprow --> <tr> <td class="{grouprow.COLOR}"><a href="{grouprow.U_GROUP}" class="gen">{grouprow.NAME}</a></td> <td class="{grouprow.COLOR}"><span class="gen">{grouprow.DESC}</span></td> <td class="{grouprow.COLOR}" align="center"><span class="gen">{grouprow.STATUS}</span></td> <!-- BEGIN select_avail --> <td class="{grouprow.COLOR}" align="center" nowrap="nowrap"> <!-- BEGIN select --> <input type="checkbox" name="ids[]" value="{grouprow.GROUP_ID}" {grouprow.CHECKED} onClick="check_uncheck_main();" /> <!-- END select --> <!-- BEGIN no_select --> <span class="gen"> </span> <!-- END no_select --> </td> <!-- END select_avail --> </tr> <!-- END grouprow --> <!-- BEGIN no_groups --> <tr> <td colspan="4" class="row1" align="center"><span class="gen"><i>{L_NO_GROUPS}</i></span></td> </tr> <!-- END no_groups --> <tr> <td colspan="4" class="cat" align="center"> <input type="submit" name="submit" class="mainoption" value="{L_SUBMIT}"> {S_HIDDEN_FIELDS} </td> </tr> </table> </td> </tr> </form> </table> --- NEW FILE: privmsgs_box.tpl --- <table cellpadding="4" cellspacing="1" border="0" class="forumline" width="100%"> <tr> <th > {L_NEW_PM} </th> <th width="150" nowrap="nowrap"> {L_FROM} </th> <th width="150" nowrap="nowrap"> {L_DATE} </th> </tr> <!-- BEGIN new_pm --> <tr> <td class="{new_pm.CLASS}"><a href="{new_pm.U_TITLE}" class="topictitle">{new_pm.TITLE}</a></td> <td class="{new_pm.CLASS}" align="center"><span class="name"><a href="{new_pm.U_AUTHOR}" class="{new_pm.CLASS_NAME}">{new_pm.USERNAME}</a></span></td> <td class="{new_pm.CLASS}" align="center" nowrap="nowrap"><span class="postdetails">{new_pm.DATE}</span></td> </tr> <!-- END new_pm --> <!-- BEGIN no_new_pm --> <tr> <td class="row1" nowrap="nowrap" align="center" colspan="3"><span class="genmed"><i>{no_new_pm.L_NO_MESSAGES}</i></span></td> </tr> <!-- END no_new_pm --> </table> --- NEW FILE: buddy_body.tpl --- <script language="JavaScript" type="text/javascript"> <!-- function ref(object) { if (document.getElementById) { return document.getElementById(object); } else if (document.all) { return eval('document.all.' + object); } else { return false; } } function expand(object) { var object = ref(object); if( !object.style ) { return false; } else { object.style.display = ''; } if (window.event) { window.event.cancelBubble = true; } } function contract(object) { var object = ref(object); if( !object.style ) { return false; } else { object.style.display = 'none'; } if (window.event) { window.event.cancelBubble = true; } } function toggle(object, open_close) { object = ref(object); icone = ref(open_close); if( !object.style ) { return false; } if( object.style.display == 'none' ) { object.style.display = ''; icone.src = "{UP_ARROW}"; } else { object.style.display = 'none'; icone.src = "{DOWN_ARROW}"; } } // // checkbox selection management function check_uncheck_main() { var all_checked = true; for (i = 0; (i < document.post.elements.length) && all_checked; i++) { if (document.post.elements[i].name == 'user_ids[]') { all_checked = document.post.elements[i].checked; } } document.post.all_mark.checked = all_checked; } function check_uncheck_all() { for (i = 0; i < document.post.length; i++) { if (document.post.elements[i].name == 'user_ids[]') { document.post.elements[i].checked = document.post.all_mark.checked; } } } //--> </script> <table cellpadding="0" cellspacing="5" border="0" width="100%"> <form name="post" action="{S_PROFILCP_ACTION}" method="post"> <tr> <td valign="top" align="center" colspan="2"> <table cellpadding="4" cellspacing="1" border="0" class="forumline" width="100%"> <tr> <th width="100%" colspan="{COLSPAN}"><a href="#" onClick="toggle('fields_display','open_close'); return false;"><img src="{DOWN_ARROW}" id="open_close" border="0"></a> {L_USER_FIELDS}</th> </tr> <tbody id="fields_display" style="display:none"> <!-- BEGIN userfields_row --> <tr> <!-- BEGIN userfields_cell --> <td class="{userfields_row.userfields_cell.CLASS}" nowrap="nowrap"> <span class="genmed"> <input type="checkbox" name="field_ids[]" value="{userfields_row.userfields_cell.FIELD_ID}" {userfields_row.userfields_cell.CHECKED} /> {userfields_row.userfields_cell.FIELDS} </span> </td> <!-- END userfields_cell --> <!-- BEGIN userfields_cell_empty --> <td class="{userfields_row.userfields_cell_empty.CLASS}" nowrap="nowrap"><span class="gen"> </span></td> <!-- END userfields_cell_empty --> </tr> <!-- END userfields_row --> <tr> <td class="cat" colspan="{COLSPAN}" align="center"> {S_HIDDEN_FIELDS} <input type="submit" name="fields_choosen" value="{L_SUBMIT}" class="mainoption" /> </td> </tr> </tbody> </table> </td> </tr> <tr> <td align="left" valign="bottom" nowrap="nowrap" colspan="2"> <span class="gen"> {L_FILTER_FIELDS}:<br /> {S_FILTER_FIELDS} {S_COMP} <input type="text" class="gen" name="fvalue" size="20" maxlength="255" value="{FILTER}" /> <input type="submit" name="filter_active" value="{L_GO}" class="liteoption" /> </span> </td> </tr> <tr> <td valign="top" align="center" colspan="2"> <table cellpadding="3" cellspacing="1" border="0" class="forumline" width="100%"> <tr> <th width="1%" align="center"><span class="genmed">#</span></th> <!-- BEGIN header_list --> <th nowrap="nowrap"><span class="genmed">{header_list.L_FIELD} {header_list.ICON_SORT}</span></th> <!-- END header_list --> <!-- BEGIN select --> <th nowrap="nowrap"><input type="checkbox" name="all_mark" value="{L_SELECT}" onClick="check_uncheck_all();"></th> <!-- END select --> </tr> <!-- BEGIN userrow --> <tr> <td width="1%" align="center" class="{userrow.CLASS}"><span class="genmed">{userrow.NUMBER}</span></td> <!-- BEGIN user_list --> <td class="{userrow.CLASS}" align="center"><span class="genmed">{userrow.user_list.FIELD}</span></td> <!-- END user_list --> <!-- BEGIN select --> <td class="{userrow.CLASS}" align="center"><input type="checkbox" name="user_ids[]" value="{userrow.select.USER_ID}" {userrow.select.CHECKED} onClick="check_uncheck_main();" /></td> <!-- END select --> </tr> <!-- END userrow --> <!-- BEGIN select --> <tr> <td class="cat" colspan="{ROW_SPAN}" align="center" valign="top" nowrap="nowrap"> <span class="gensmall"> <input type="text" class="post" name="username" maxlength="40" size="20" /> <input type="submit" name="adduser" value="{L_ADD_MEMBER}" class="mainoption" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /> <input type="submit" name="remove" class="liteoption" value="{L_REMOVE_SELECTED}" /> </span> </td> </tr> <!-- END select --> </table> </td> </tr> <tr> <td align="right" valign="bottom" nowrap="nowrap" colspan="2"><span class="nav"><b>{PAGINATION}</b></span></td> </tr> </form> </table> --- NEW FILE: _core.cfg --- <?php // // ** Configuration file for subSilver template ** // // ** copyright (C) 2001 The phpBB Group ** // ** Created by subBlue design ** // ** www.subBlue.com ** // // ** subSilver dev. forum: www.subSky.com/phpBB2/ ** // // $Id: _core.cfg,v 1.1 2007/09/09 20:34:34 jonohlsson Exp $ // // 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 ); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; // ------------------------------------------------------------------------- // Define images // ------------------------------------------------------------------------- $mx_images['profilecp_icon_visible'] = $current_template_images . "/icon_visible.gif"; $mx_images['profilecp_icon_not_visible'] = $current_template_images . "/icon_not_visible.gif"; $mx_images['profilecp_icon_offline'] = $current_template_images . "/icon_offline.gif"; $mx_images['profilecp_icon_hidden'] = $current_template_images . "/icon_hidden.gif"; $mx_images['profilecp_icon_online'] = $current_template_images . "/icon_online.gif"; $mx_images['profilecp_icon_birthday'] = $current_template_images . "/icon_birthday.gif"; $mx_images['profilecp_Happy_birthday'] = $current_template_images . "/happy_birthday.gif"; $mx_images['profilecp_up_arrow'] = $current_template_images . "/icon_up_arrow.gif"; $mx_images['profilecp_down_arrow'] = $current_template_images . "/icon_down_arrow.gif"; $mx_images['profilecp_next_arrow'] = $current_template_images . "/next.gif"; $mx_images['profilecp_spacer'] = $current_template_images . "/spacer.gif"; $mx_images['profilecp_icon_friend_add'] = $current_template_images . "/icon_friend_add.gif"; $mx_images['profilecp_icon_friend_remove'] = $current_template_images . "/icon_friend_remove.gif"; $mx_images['profilecp_icon_ignore_add'] = $current_template_images . "/icon_ignore_add.gif"; $mx_images['profilecp_icon_ignore_remove'] = $current_template_images . "/icon_ignore_remove.gif"; $alphabet = 'aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ0123456789'; for ($i_alphabet=0; $i_alphabet < strlen($alphabet); $i_alphabet++) { $let_alphabet = $alphabet[$i_alphabet]; $let_alphabet_f = $let_alphabet; if ( strtoupper($let_alphabet) == $let_alphabet ) $let_alphabet_f .= $let_alphabet; $key_alphabet = 'alphabet_' . $let_alphabet; $ico_alphabet = 'alpha_' . $let_alphabet_f . '.gif'; $mx_images[$key_alphabet] = "$current_template_path/images/profilcp/" . $ico_alphabet; } $mx_images['tz_-12'] = "$current_template_images/profilcp/gmt_-12.gif"; $mx_images['tz_-11'] = "$current_template_images/profilcp/gmt_-11.gif"; $mx_images['tz_-10'] = "$current_template_images/profilcp/gmt_-10.gif"; $mx_images['tz_-9'] = "$current_template_images/profilcp/gmt_-9.gif"; $mx_images['tz_-8'] = "$current_template_images/profilcp/gmt_-8.gif"; $mx_images['tz_-7'] = "$current_template_images/profilcp/gmt_-7.gif"; $mx_images['tz_-6'] = "$current_template_images/profilcp/gmt_-6.gif"; $mx_images['tz_-5'] = "$current_template_images/profilcp/gmt_-5.gif"; $mx_images['tz_-4'] = "$current_template_images/profilcp/gmt_-4.gif"; $mx_images['tz_-3.5'] = "$current_template_images/profilcp/gmt_-3,5.gif"; $mx_images['tz_-3'] = "$current_template_images/profilcp/gmt_-3.gif"; $mx_images['tz_-2'] = "$current_template_images/profilcp/gmt_-2.gif"; $mx_images['tz_-1'] = "$current_template_images/profilcp/gmt_-1.gif"; $mx_images['tz_0'] = "$current_template_images/profilcp/gmt_0.gif"; $mx_images['tz_1'] = "$current_template_images/profilcp/gmt_1.gif"; $mx_images['tz_2'] = "$current_template_images/profilcp/gmt_2.gif"; $mx_images['tz_3'] = "$current_template_images/profilcp/gmt_3.gif"; $mx_images['tz_3.5'] = "$current_template_images/profilcp/gmt_3,5.gif"; $mx_images['tz_4'] = "$current_template_images/profilcp/gmt_4.gif"; $mx_images['tz_4.5'] = "$current_template_images/profilcp/gmt_4,5.gif"; $mx_images['tz_5'] = "$current_template_images/profilcp/gmt_5.gif"; $mx_images['tz_5.45'] = "$current_template_images/profilcp/gmt_5,45.gif"; $mx_images['tz_5.5'] = "$current_template_images/profilcp/gmt_5,5.gif"; $mx_images['tz_6'] = "$current_template_images/profilcp/gmt_6.gif"; $mx_images['tz_6.5'] = "$current_template_images/profilcp/gmt_6,5.gif"; $mx_images['tz_7'] = "$current_template_images/profilcp/gmt_7.gif"; $mx_images['tz_8'] = "$current_template_images/profilcp/gmt_8.gif"; $mx_images['tz_8.5'] = "$current_template_images/profilcp/gmt_8,5.gif"; $mx_images['tz_9'] = "$current_template_images/profilcp/gmt_9.gif"; $mx_images['tz_9.5'] = "$current_template_images/profilcp/gmt_9,5.gif"; $mx_images['tz_10'] = "$current_template_images/profilcp/gmt_10.gif"; $mx_images['tz_11'] = "$current_template_images/profilcp/gmt_11.gif"; $mx_images['tz_12'] = "$current_template_images/profilcp/gmt_12.gif"; $mx_images['tz_13'] = "$current_template_images/profilcp/gmt_13.gif"; $mx_images['profilecp_folder_global_announce'] = "$current_template_images/folder_announce.gif"; $mx_images['profilecp_folder_global_announce_new'] = "$current_template_images/folder_announce_new.gif"; $mx_images['profilecp_folder_global_announce_own'] = "$current_template_images/folder_announce_own.gif"; $mx_images['profilecp_folder_global_announce_new_own'] = "$current_template_images/folder_announce_new_own.gif"; $mx_images['profilecp_folder_own'] = "$current_template_images/folder_own.gif"; $mx_images['profilecp_folder_new_own'] = "$current_template_images/folder_new_own.gif"; $mx_images['profilecp_folder_hot_own'] = "$current_template_images/folder_hot_own.gif"; $mx_images['profilecp_folder_hot_new_own'] = "$current_template_images/folder_new_hot_own.gif"; $mx_images['profilecp_folder_locked_own'] = "$current_template_images/folder_lock_own.gif"; $mx_images['profilecp_folder_locked_new_own'] = "$current_template_images/folder_lock_new_own.gif"; $mx_images['profilecp_folder_sticky_own'] = "$current_template_images/folder_sticky_own.gif"; $mx_images['profilecp_folder_sticky_new_own'] = "$current_template_images/folder_sticky_new_own.gif"; $mx_images['profilecp_folder_announce_own'] = "$current_template_images/folder_announce_own.gif"; $mx_images['profilecp_folder_announce_new_own'] = "$current_template_images/folder_announce_new_own.gif"; // // Photo Album integration 4 PCP // $mx_images['icon_gallery'] = "$current_template_images/button_photo.gif"; // ------------------------------------------------------------------------- // Redefine phpBB images // ------------------------------------------------------------------------- $mx_images['profilecp_folder'] = $images['folder']; $mx_images['profilecp_icon_newest_reply'] = $images['icon_newest_reply']; $mx_images['profilecp_icon_gotopost'] = $images['icon_gotopost']; $mx_images['profilecp_icon_latest_reply'] = $images['icon_latest_reply']; $mx_images['profilecp_pm_postmsg'] = $images['pm_postmsg']; $mx_images['profilecp_pm_replymsg'] = $images['pm_replymsg']; $mx_images['profilecp_pm_quotemsg'] = $images['pm_quotemsg']; $mx_images['profilecp_pm_editmsg'] = $images['pm_editmsg']; $mx_images['profilecp_pm_readmsg'] = $images['pm_readmsg']; $mx_images['profilecp_pm_unreadmsg'] = $images['pm_unreadmsg']; $mx_images['profilecp_icon_search'] = $images['icon_search']; $mx_images['profilecp_post_new'] = $images['post_new']; $mx_images['profilecp_icon_profile'] = $images['icon_profile']; $mx_images['profilecp_icon_pm'] = $images['icon_pm']; $mx_images['profilecp_icon_email'] = $images['icon_email']; $mx_images['profilecp_icon_icq'] = $images['icon_icq']; $mx_images['profilecp_icon_aim'] = $images['icon_aim']; $mx_images['profilecp_icon_yim'] = $images['icon_yim']; $mx_images['profilecp_icon_msnm'] = $images['icon_msnm']; $mx_images['profilecp_icon_www'] = $images['icon_www']; $mx_images['profilecp_No_gender_specify'] = $images['No_gender_specify']; $mx_images['profilecp_Male'] = $images['Male']; $mx_images['profilecp_Female'] = $images['Female']; ?> --- NEW FILE: profil_avatar_body.tpl --- <table cellpadding="0" cellspacing="5" border="0" width="100%" > <form action="{S_PROFILCP_ACTION}" method="post" name="post" {S_FORM_ENCTYPE}> <tr> <td valign="top" align="center"> <table cellpadding="4" cellspacing="1" border="0" class="forumline"> <tr> <th colspan="2" valign="middle">{L_AVATAR_PANEL}</th> </tr> <tr> <td class="row1" colspan="2"> <table width="70%" cellspacing="2" cellpadding="0" border="0" align="center"> <tr> <td width="65%"><span class="gensmall">{L_AVATAR_EXPLAIN}</span></td> <td align="center"><span class="gensmall">{L_CURRENT_IMAGE}</span><br />{AVATAR}<br /><input type="checkbox" name="avatardel" /> <span class="gensmall">{L_DELETE_AVATAR}</span></td> </tr> </table> </td> </tr> <!-- BEGIN switch_avatar_local_upload --> <tr> <td class="row1" width="50%"><span class="gen">{L_UPLOAD_AVATAR_FILE}:</span></td> <td class="row2" width="50%"><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_SIZE}" /><input type="file" name="avatar" class="post" style="width:200px" /></td> </tr> <!-- END switch_avatar_local_upload --> <!-- BEGIN switch_avatar_remote_upload --> <tr> <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_URL}:</span><br /><span class="gensmall">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td> <td class="row2"><input type="text" name="avatarurl" size="40" class="post" style="width:200px" /></td> </tr> <!-- END switch_avatar_remote_upload --> <!-- BEGIN switch_avatar_remote_link --> <tr> <td class="row1"><span class="gen">{L_LINK_REMOTE_AVATAR}:</span><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td> <td class="row2"><input type="text" name="avatarremoteurl" size="40" class="post" style="width:200px" /></td> </tr> <!-- END switch_avatar_remote_link --> <!-- BEGIN switch_avatar_local_gallery --> <tr> <td class="row1"><span class="gen">{L_AVATAR_GALLERY}:</span></td> <td class="row2"><input type="text" name="avatarlocal" size="40" class="post" style="width:200px"> <input type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" class="liteoption" onClick="window.open('{U_AVATAR_SELECT}', '_phpbbavatar', 'HEIGHT=400,resizable=yes,scrollbars=yes,WIDTH=620');return false;" /></td> </tr> <!-- END switch_avatar_local_gallery --> <tr> <td class="cat" colspan="2" align="center"> <input type="submit" name="submit" class="mainoption" value="{L_SUBMIT}"> <input type="submit" name="reset" class="liteoption" value="{L_RESET}"> {S_HIDDEN_FIELDS} </td> </tr> </table> </td> </tr> </form> </table> --- NEW FILE: privmsgs_read_body.tpl --- <form method="post" action="{S_PRIVMSGS_ACTION}"> <table cellpadding="0" cellspacing="5" border="0" width="100%"> <tr><td valign="top" align="center"> <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> <tr> <th colspan="3" class="thHead" nowrap="nowrap">{BOX_NAME} :: {L_MESSAGE}</th> </tr> <tr> <td class="row2"><span class="genmed">{L_FROM}:</span></td> <td width="100%" class="row2" colspan="2"><span class="genmed">{MESSAGE_FROM}</span></td> </tr> <tr> <td class="row2"><span class="genmed">{L_TO}:</span></td> <td width="100%" class="row2" colspan="2"><span class="genmed">{MESSAGE_TO}</span></td> </tr> <tr> <td class="row2"><span class="genmed">{L_POSTED}:</span></td> <td width="100%" class="row2" colspan="2"><span class="genmed">{POST_DATE}</span></td> </tr> <tr> <td class="row2"><span class="genmed">{L_SUBJECT}:</span></td> <td width="100%" class="row2"><span class="genmed">{POST_SUBJECT}</span></td> <td nowrap="nowrap" class="row2" align="right"> {QUOTE_PM_IMG} {EDIT_PM_IMG}</td> </tr> <tr> <td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span> <!-- BEGIN postrow --> {ATTACHMENTS} <!-- END postrow --> </td> </tr> <tr> <td width="78%" height="28" valign="bottom" colspan="3" class="row1"> <table cellspacing="0" cellpadding="0" border="0" height="18"> <tr> <td valign="middle" nowrap="nowrap">{PROFILE_IMG} {PM_IMG} {EMAIL_IMG} {WWW_IMG} {AIM_IMG} {YIM_IMG} {MSN_IMG}</td><td> </td><td valign="top" nowrap="nowrap"><script language="JavaScript" type="text/javascript"><!-- if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 ) document.write('{ICQ_IMG}'); else document.write('<div style="position:relative"><div style="position:absolute">{ICQ_IMG}</div><div style="position:absolute;left:3px">{ICQ_STATUS_IMG}</div></div>'); //--></script><noscript>{ICQ_IMG}</noscript></td> </tr> </table> </td> </tr> <tr> <td class="cat" colspan="3" height="28" align="right"> {S_HIDDEN_FIELDS} <input type="submit" name="save" value="{L_SAVE_MSG}" class="liteoption" /> <input type="submit" name="delete" value="{L_DELETE_MSG}" class="liteoption" /> <!-- BEGIN switch_attachments --> <input type="submit" name="pm_delete_attach" value="{L_DELETE_ATTACHMENTS}" class="liteoption" /> <!-- END switch_attachments --> </td> </tr> </table> <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2"> <tr> <td>{REPLY_PM_IMG}</td> <td align="right" valign="top"><span class="gensmall">{S_TIMEZONE}</span></td> </tr> </table> </form> <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2"> <tr> <td valign="top" align="right"><span class="gensmall">{JUMPBOX}</span></td> </tr> </table> </tr> </table> --- NEW FILE: birthday_popup.tpl --- <table width="100%" border="0" cellspacing="0" cellpadding="5"class="forumline"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="4" > <tr> <td valign="top" class="row1" align="center"> <br /> <span class="gen">{L_MESSAGE}</span> <br /> <br /> <span class="genmed"> <a href="... [truncated message content] |