You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2007-09-09 20:47:10
|
Update of /cvsroot/mxbb/mx_profilecp/templates/_core/images/profilcp In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3335/profilcp Log Message: Directory /cvsroot/mxbb/mx_profilecp/templates/_core/images/profilcp added to the repository |
Update of /cvsroot/mxbb/mx_profilecp/templates/subSilver/images/profilcp In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30453 Removed Files: alpha_00.gif alpha_11.gif alpha_22.gif alpha_33.gif alpha_44.gif alpha_55.gif alpha_66.gif alpha_77.gif alpha_88.gif alpha_99.gif alpha_AA.gif alpha_BB.gif alpha_CC.gif alpha_DD.gif alpha_EE.gif alpha_FF.gif alpha_GG.gif alpha_HH.gif alpha_II.gif alpha_JJ.gif alpha_KK.gif alpha_LL.gif alpha_MM.gif alpha_NN.gif alpha_OO.gif alpha_PP.gif alpha_QQ.gif alpha_RR.gif alpha_SS.gif alpha_TT.gif alpha_UU.gif alpha_VV.gif alpha_WW.gif alpha_XX.gif alpha_YY.gif alpha_ZZ.gif alpha_a.gif alpha_b.gif alpha_c.gif alpha_d.gif alpha_e.gif alpha_f.gif alpha_g.gif alpha_h.gif alpha_i.gif alpha_j.gif alpha_k.gif alpha_l.gif alpha_m.gif alpha_n.gif alpha_o.gif alpha_p.gif alpha_q.gif alpha_r.gif alpha_s.gif alpha_t.gif alpha_u.gif alpha_v.gif alpha_w.gif alpha_x.gif alpha_y.gif alpha_z.gif gmt_-1.gif gmt_-10.gif gmt_-11.gif gmt_-12.gif gmt_-2.gif gmt_-3,5.gif gmt_-3.gif gmt_-4.gif gmt_-5.gif gmt_-6.gif gmt_-7.gif gmt_-8.gif gmt_-9.gif gmt_0.gif gmt_1.gif gmt_10.gif gmt_11.gif gmt_12.gif gmt_2.gif gmt_3,5.gif gmt_3.gif gmt_4,5.gif gmt_4.gif gmt_5,45.gif gmt_5,5.gif gmt_5.gif gmt_6,5.gif gmt_6.gif gmt_7.gif gmt_8.gif gmt_9,5.gif gmt_9.gif index.htm Log Message: for 2.9.x --- gmt_5.gif DELETED --- --- alpha_EE.gif DELETED --- --- alpha_99.gif DELETED --- --- gmt_5,5.gif DELETED --- --- alpha_66.gif DELETED --- --- alpha_DD.gif DELETED --- --- gmt_4.gif DELETED --- --- alpha_s.gif DELETED --- --- alpha_k.gif DELETED --- --- alpha_LL.gif DELETED --- --- alpha_t.gif DELETED --- --- gmt_1.gif DELETED --- --- gmt_8.gif DELETED --- --- alpha_YY.gif DELETED --- --- gmt_-5.gif DELETED --- --- alpha_h.gif DELETED --- --- alpha_c.gif DELETED --- --- gmt_6,5.gif DELETED --- --- alpha_PP.gif DELETED --- --- gmt_5,45.gif DELETED --- --- alpha_n.gif DELETED --- --- alpha_OO.gif DELETED --- --- gmt_-8.gif DELETED --- --- alpha_FF.gif DELETED --- --- alpha_MM.gif DELETED --- --- gmt_-1.gif DELETED --- --- gmt_6.gif DELETED --- --- alpha_r.gif DELETED --- --- gmt_10.gif DELETED --- --- gmt_-7.gif DELETED --- --- alpha_44.gif DELETED --- --- alpha_u.gif DELETED --- --- gmt_-4.gif DELETED --- --- alpha_RR.gif DELETED --- --- alpha_g.gif DELETED --- --- gmt_9,5.gif DELETED --- --- gmt_0.gif DELETED --- --- alpha_VV.gif DELETED --- --- alpha_m.gif DELETED --- --- alpha_w.gif DELETED --- --- alpha_ZZ.gif DELETED --- --- alpha_b.gif DELETED --- --- alpha_QQ.gif DELETED --- --- gmt_-3,5.gif DELETED --- --- alpha_GG.gif DELETED --- --- alpha_00.gif DELETED --- --- alpha_p.gif DELETED --- --- alpha_y.gif DELETED --- --- index.htm DELETED --- --- alpha_33.gif DELETED --- --- alpha_II.gif DELETED --- --- gmt_3.gif DELETED --- --- gmt_-10.gif DELETED --- --- alpha_HH.gif DELETED --- --- alpha_22.gif DELETED --- --- alpha_f.gif DELETED --- --- alpha_WW.gif DELETED --- --- gmt_-11.gif DELETED --- --- gmt_4,5.gif DELETED --- --- gmt_7.gif DELETED --- --- gmt_12.gif DELETED --- --- alpha_AA.gif DELETED --- --- gmt_3,5.gif DELETED --- --- gmt_-12.gif DELETED --- --- alpha_XX.gif DELETED --- --- alpha_q.gif DELETED --- --- alpha_SS.gif DELETED --- --- gmt_9.gif DELETED --- --- alpha_o.gif DELETED --- --- gmt_11.gif DELETED --- --- alpha_z.gif DELETED --- --- gmt_-3.gif DELETED --- --- alpha_i.gif DELETED --- --- gmt_-6.gif DELETED --- --- gmt_2.gif DELETED --- --- alpha_55.gif DELETED --- --- alpha_BB.gif DELETED --- --- alpha_l.gif DELETED --- --- alpha_v.gif DELETED --- --- alpha_77.gif DELETED --- --- alpha_d.gif DELETED --- --- alpha_j.gif DELETED --- --- alpha_NN.gif DELETED --- --- gmt_-2.gif DELETED --- --- alpha_JJ.gif DELETED --- --- alpha_e.gif DELETED --- --- alpha_TT.gif DELETED --- --- alpha_CC.gif DELETED --- --- alpha_a.gif DELETED --- --- gmt_-9.gif DELETED --- --- alpha_88.gif DELETED --- --- alpha_11.gif DELETED --- --- alpha_KK.gif DELETED --- --- alpha_UU.gif DELETED --- --- alpha_x.gif DELETED --- |
Update of /cvsroot/mxbb/mx_profilecp/templates/subSilver/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30401/images Removed Files: button_photo.gif folder_announce_new_own.gif folder_announce_own.gif folder_hot_own.gif folder_lock_new_own.gif folder_lock_own.gif folder_new_hot_own.gif folder_new_own.gif folder_own.gif folder_sticky_new_own.gif folder_sticky_own.gif happy_birthday.gif icon_birthday.gif icon_down_arrow.gif icon_hidden.gif icon_not_visible.gif icon_offline.gif icon_online.gif icon_up_arrow.gif icon_visible.gif index.htm next.gif Log Message: for 2.9.x --- happy_birthday.gif DELETED --- --- folder_sticky_new_own.gif DELETED --- --- icon_birthday.gif DELETED --- --- folder_new_hot_own.gif DELETED --- --- folder_lock_own.gif DELETED --- --- index.htm DELETED --- --- folder_new_own.gif DELETED --- --- icon_offline.gif DELETED --- --- next.gif DELETED --- --- folder_announce_new_own.gif DELETED --- --- icon_not_visible.gif DELETED --- --- folder_hot_own.gif DELETED --- --- icon_down_arrow.gif DELETED --- --- folder_lock_new_own.gif DELETED --- --- icon_visible.gif DELETED --- --- folder_sticky_own.gif DELETED --- --- icon_hidden.gif DELETED --- --- folder_own.gif DELETED --- --- folder_announce_own.gif DELETED --- --- button_photo.gif DELETED --- --- icon_up_arrow.gif DELETED --- --- icon_online.gif DELETED --- |
Update of /cvsroot/mxbb/mx_profilecp/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30401/admin Removed Files: board_config_extend_body.tpl index.htm lang_extend_body.tpl lang_extend_def.tpl lang_extend_key_body.tpl lang_extend_pack_body.tpl lang_extend_search_body.tpl pcp_classesfields_body.tpl pcp_classesfields_edit_body.tpl pcp_confirm_body.tpl pcp_tableslinked_body.tpl pcp_tableslinked_edit_body.tpl pcp_userfields_body.tpl pcp_userfields_def.tpl pcp_userfields_edit_body.tpl pcp_userfields_edit_sqldef_body.tpl pcp_userfields_sql_body.tpl pcp_usermaps_body.tpl pcp_usermaps_def.tpl pcp_usermaps_edit_body.tpl pcp_valueslist_body.tpl pcp_valueslist_edit_body.tpl Log Message: for 2.9.x --- pcp_classesfields_edit_body.tpl DELETED --- --- lang_extend_body.tpl DELETED --- --- index.htm DELETED --- --- lang_extend_search_body.tpl DELETED --- --- pcp_userfields_edit_sqldef_body.tpl DELETED --- --- pcp_usermaps_def.tpl DELETED --- --- pcp_usermaps_edit_body.tpl DELETED --- --- pcp_valueslist_edit_body.tpl DELETED --- --- pcp_tableslinked_body.tpl DELETED --- --- board_config_extend_body.tpl DELETED --- --- pcp_userfields_edit_body.tpl DELETED --- --- pcp_tableslinked_edit_body.tpl DELETED --- --- pcp_userfields_sql_body.tpl DELETED --- --- pcp_valueslist_body.tpl DELETED --- --- pcp_userfields_body.tpl DELETED --- --- lang_extend_key_body.tpl DELETED --- --- pcp_usermaps_body.tpl DELETED --- --- lang_extend_def.tpl DELETED --- --- pcp_classesfields_body.tpl DELETED --- --- pcp_userfields_def.tpl DELETED --- --- pcp_confirm_body.tpl DELETED --- --- lang_extend_pack_body.tpl DELETED --- |
Update of /cvsroot/mxbb/mx_profilecp/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29972/subSilver Removed Files: 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 subSilver.cfg topics_list_box.tpl Log Message: for 2.9.x --- register_body.tpl DELETED --- --- public_base_body.tpl DELETED --- --- profil_signature_body.tpl DELETED --- --- topics_list_box.tpl DELETED --- --- board_config_body.tpl DELETED --- --- birthday_popup.tpl DELETED --- --- buddy_box.tpl DELETED --- --- home_body.tpl DELETED --- --- profilcp_header.tpl DELETED --- --- profilcp_footer.tpl DELETED --- --- avatar_body.tpl DELETED --- --- subSilver.cfg DELETED --- --- privmsgs_box.tpl DELETED --- --- buddy_body.tpl DELETED --- --- profil_avatar_body.tpl DELETED --- --- profil_groups_body.tpl DELETED --- --- privmsgs_read_body.tpl DELETED --- --- public_groups_body.tpl DELETED --- --- index.htm DELETED --- --- privmsgs_body.tpl DELETED --- |
Update of /cvsroot/mxbb/mx_profilecp/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29972/_core/admin Added Files: board_config_extend_body.tpl index.htm lang_extend_body.tpl lang_extend_def.tpl lang_extend_key_body.tpl lang_extend_pack_body.tpl lang_extend_search_body.tpl pcp_classesfields_body.tpl pcp_classesfields_edit_body.tpl pcp_confirm_body.tpl pcp_tableslinked_body.tpl pcp_tableslinked_edit_body.tpl pcp_userfields_body.tpl pcp_userfields_def.tpl pcp_userfields_edit_body.tpl pcp_userfields_edit_sqldef_body.tpl pcp_userfields_sql_body.tpl pcp_usermaps_body.tpl pcp_usermaps_def.tpl pcp_usermaps_edit_body.tpl pcp_valueslist_body.tpl pcp_valueslist_edit_body.tpl Log Message: for 2.9.x --- NEW FILE: pcp_classesfields_edit_body.tpl --- <script language="JavaScript" type="text/javascript"> function storeCaret(text) { } function insertText(text) { if (document.post.sql_def.createTextRange) { document.post.sql_def.focus(document.post.sql_def.caretPos); document.post.sql_def.caretPos = document.selection.createRange().duplicate(); document.post.sql_def.caretPos.text = text; } else document.post.sql_def.value += text; } </script> <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th nowrap="nowrap" colspan="2">{L_TITLE}</th> </tr> <tr> <td class="row1"><span class="gen">{L_NAME}</span><span class="gensmall"><br />{L_NAME_EXPLAIN}</span></td> <td class="row2"><input type="text" name="name" value="{NAME}" size="60" /></td> </tr> <tr> <td class="row1"><span class="gen">{L_CONFIG}</span><span class="gensmall"><br />{L_CONFIG_EXPLAIN}</span></td> <td class="row2"><input type="text" name="config_field" value="{CONFIG_FIELD}" size="40" /></td> </tr> <tr> <td class="row1"><span class="gen">{L_ADMIN}</span><span class="gensmall"><br />{L_ADMIN_EXPLAIN}</span></td> <td class="row2"><input type="text" name="admin_field" value="{ADMIN_FIELD}" size="40" /></td> </tr> <tr> <td class="row1"><span class="gen">{L_USER}</span><span class="gensmall"><br />{L_USER_EXPLAIN}</span></td> <td class="row2"><input type="text" name="user_field" value="{USER_FIELD}" size="40" /></td> </tr> <tr> <td class="row1" valign="top"><span class="gen">{L_SQL_DEF}</span><span class="gensmall"><br />{L_SQL_DEF_EXPLAIN}</span></td> <td class="row2"> <input type="submit" name="suggest" value="{L_SUGGEST}" class="liteoption" /><br /> <textarea rows="8" cols="70" wrap="virtual" name="sql_def" class="post" onKeyUp="javascript:storeCaret(this);" onClick="javascript:storeCaret(this);" onChange="javascript:storeCaret(this);">{SQL_DEF}</textarea> <table cellpadding="2" cellspacing="0" border="0" class="bodyline" width="100%"> <tr> <td class="row1"><span class="genmed" valign="top" align="center"> {L_SYSTEM_VALUES} </span></td> </tr> <tr> <td class="row3"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap="nowrap" align="right"><span class="genmed"> {L_TABLES_LINKED}: </span></td> <td><select name="tables" onChange="javascript:insertText(this.form.tables.options[this.form.tables.selectedIndex].value); this.form.tables.selectedIndex=0; this.form.sql_def.focus();">{S_TABLES_OPT}</select></td> </tr> <tr> <td nowrap="nowrap" align="right"><span class="genmed"> {L_CFG_VALUES}: </span></td> <td><select name="cfg_values" onChange="javascript:insertText(this.form.cfg_values.options[this.form.cfg_values.selectedIndex].value); this.form.cfg_values.selectedIndex=0; this.form.sql_def.focus();">{S_CFG_VALUES}</select></td> </tr> <tr> <td nowrap="nowrap" align="right"><span class="genmed"> {L_VIEWED_USER}: </span></td> <td><select name="viewed_user" onChange="javascript:insertText(this.form.viewed_user.options[this.form.viewed_user.selectedIndex].value); this.form.viewed_user.selectedIndex=0; this.form.sql_def.focus();">{S_VIEWED_USER}</select></td> </tr> <tr> <td nowrap="nowrap" align="right"><span class="genmed"> {L_ACTING_USER}: </span></td> <td><select name="acting_user" onChange="javascript:insertText(this.form.acting_user.options[this.form.acting_user.selectedIndex].value); this.form.acting_user.selectedIndex=0; this.form.sql_def.focus();">{S_ACTING_USER}</select></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td class="cat" align="center" colspan="2">{S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="submit" name="refresh" value="{L_REFRESH}" class="liteoption" /> <input type="submit" name="delete" value="{L_DELETE}" class="liteoption" /> <input type="submit" name="cancel" value="{L_CANCEL}" class="liteoption" /> </td> </tr> </table> </form> --- NEW FILE: lang_extend_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th nowrap="nowrap" colspan="3">{L_PACK}</th> </tr> <!-- BEGIN row --> <tr> <td class="{row.COLOR}"><span class="gen">{row.PACK}</span></td> <td class="{row.COLOR}" nowrap="nowrap"><a href="{row.U_PACK_NORMAL}" class="gen">{L_NORMAL}</a></td> <td class="{row.COLOR}" nowrap="nowrap"><a href="{row.U_PACK_ADMIN}" class="gen">{L_ADMIN}</a></td> </tr> <!-- END row --> <!-- BEGIN none --> <tr> <td class="row1" align="center" colspan="3"><span class="gen">{L_NONE}</span></td> </tr> <!-- END none --> </table> <br class="gen" /> <table cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th colspan="2">{L_SEARCH}</th> </tr> <tr> <td class="row1" valign="top"><span class="row1">{L_SEARCH_WORDS}</span><span class="gensmall"><br />{L_SEARCH_WORDS_EXPLAIN}<br /></span></td> <td class="row2"> <span class="gen"> <input type="post" name="search_words" value="{SEARCH_WORDS}" size="64" class="post" /><br /> <input type="radio" name="search_logic" value="0" {SEARCH_ALL} />{L_SEARCH_ALL} <input type="radio" name="search_logic" value="1" {SEARCH_ONE} />{L_SEARCH_ONE} </span> </td> </tr> <tr> <td class="row1" valign="top"><span class="row1">{L_SEARCH_IN}</span><span class="gensmall"><br />{L_SEARCH_IN_EXPLAIN}<br /></span></td> <td class="row2"> <span class="gen"> <input type="radio" name="search_in" value="0" {SEARCH_IN_KEY} />{L_SEARCH_IN_KEY}<br /> <input type="radio" name="search_in" value="1" {SEARCH_IN_VALUE} />{L_SEARCH_IN_VALUE}<br /> <input type="radio" name="search_in" value="2" {SEARCH_IN_BOTH} />{L_SEARCH_IN_BOTH}<hr /> {S_LANGUAGES} <input type="radio" name="search_admin" value="0" {SEARCH_LEVEL_ADMIN} />{L_SEARCH_LEVEL_ADMIN} <input type="radio" name="search_admin" value="1" {SEARCH_LEVEL_NORMAL} />{L_SEARCH_LEVEL_NORMAL} <input type="radio" name="search_admin" value="2" checked="checked" {SEARCH_LEVEL_BOTH} />{L_SEARCH_LEVEL_BOTH} </span> </td> </tr> <tr> <td class="cat" align="center" colspan="2"> <input type="submit" name="submit" class="mainoption" value="{L_SUBMIT}" /> </td> </tr> </table> {S_HIDDEN_FIELDS}</form> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: lang_extend_search_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th nowrap="nowrap" colspan="4">{L_SEARCH_RESULTS}</th> </tr> <tr> <td class="cat" nowrap="nowrap" align="center"><span class="cattitle">{L_PACK}</span></td> <td class="cat" nowrap="nowrap"><span class="cattitle">{L_KEY}</span></td> <td class="cat" nowrap="nowrap"><span class="cattitle">{L_VALUE}</span></td> <td class="cat" nowrap="nowrap" align="center"><span class="cattitle">{L_LEVEL}</span></td> </tr> <!-- BEGIN row --> <tr> <td class="{row.CLASS}"><a href="{row.U_PACK}" class="gen">{row.PACK}</a></td> <td class="{row.CLASS}" nowrap="nowrap"><a href="{row.U_KEY}" class="gen">{row.KEY_MAIN}{row.KEY_SUB}</a><span class="gen">{row.STATUS}</span></td> <td class="{row.CLASS}"><span class="gen">{row.VALUE}</span></td> <td class="{row.CLASS}" align="center"><span class="gen">{row.LEVEL}</span></td> </tr> <!-- END row --> <!-- BEGIN none --> <tr> <td class="row1" align="center" colspan="4"><span class="gen">{L_NONE}</span></td> </tr> <!-- END none --> <tr> <td class="cat" align="center" colspan="4"> <input type="submit" name="cancel" class="liteoption" value="{L_CANCEL}" /> </td> </tr> </table> {S_HIDDEN_FIELDS}</form> --- NEW FILE: pcp_userfields_edit_sqldef_body.tpl --- <script language="JavaScript" type="text/javascript"> function insertText_{NAME}(fieldname, text) { var field; if (document.getElementById) { field = document.getElementById(fieldname); } else if (document.all) { field = eval('document.all.' + fieldname); } if (field.createTextRange) { field.focus(field.caretPos); field.caretPos = document.selection.createRange().duplicate(); field.caretPos.text = text; } else field.value += text; } </script> <textarea rows="5" cols="60" wrap="virtual" name="{NAME}" class="post" onKeyUp="javascript:storeCaret(this);" onClick="javascript:storeCaret(this);" onChange="javascript:storeCaret(this);">{VALUE}</textarea> <table cellpadding="2" cellspacing="0" border="0" class="bodyline" width="100%"> <tr> <td class="row1"><span class="genmed" valign="top" align="center"> {L_SYSTEM_VALUES} </span></td> </tr> <tr> <td class="row3"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap="nowrap" align="right"><span class="genmed"> {L_TABLES_LINKED}: </span></td> <td><select name="tables_{NAME}" onChange="javascript:insertText_{NAME}('{NAME}', this.form.tables_{NAME}.options[this.form.tables_{NAME}.selectedIndex].value); this.form.tables_{NAME}.selectedIndex=0; this.form.{NAME}.focus();">{S_TABLES_OPT}</select></td> </tr> <tr> <td nowrap="nowrap" align="right"><span class="genmed"> {L_CFG_VALUES}: </span></td> <td><select name="cfg_values_{NAME}" onChange="javascript:insertText_{NAME}('{NAME}', this.form.cfg_values_{NAME}.options[this.form.cfg_values_{NAME}.selectedIndex].value); this.form.cfg_values_{NAME}.selectedIndex=0; this.form.{NAME}.focus();">{S_CFG_VALUES}</select></td> </tr> <tr> <td nowrap="nowrap" align="right"><span class="genmed"> {L_VIEWED_USER}: </span></td> <td><select name="viewed_user_{NAME}" onChange="javascript:insertText_{NAME}('{NAME}', this.form.viewed_user_{NAME}.options[this.form.viewed_user_{NAME}.selectedIndex].value); this.form.viewed_user_{NAME}.selectedIndex=0; this.form.{NAME}.focus();">{S_VIEWED_USER}</select></td> </tr> <tr> <td nowrap="nowrap" align="right"><span class="genmed"> {L_ACTING_USER}: </span></td> <td><select name="acting_user_{NAME}" onChange="javascript:insertText_{NAME}('{NAME}', this.form.acting_user_{NAME}.options[this.form.acting_user_{NAME}.selectedIndex].value); this.form.acting_user_{NAME}.selectedIndex=0; this.form.{NAME}.focus();">{S_ACTING_USER}</select></td> </tr> </table> </td> </tr> </table> --- NEW FILE: pcp_usermaps_def.tpl --- /*************************************************************************** * def_usermaps.php * ---------------- * begin : 04/10/2003 * copyright : Ptirhiik * email : ad...@rp... * * version : 1.0.2 - 23/10/2003 * * last update : {TIME} by {USERNAME} * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * ***************************************************************************/ if ( !defined('IN_PHPBB') ) { die('Hacking attempt'); exit; } //-------------------------------------------------------------------------------------------------- // // $user_maps array // // key = name of the map, // order : order, // split : split the display in a new column // custom : use a dedicated program or a standard program : 0: dedicated, 1: standard input, 2: standard output // title : title or set of fields // fields : set of fields // // title and fields : <!-- BEGIN def_title --> // {def_title.KEY}{def_title.PAD}: {def_title.L_KEY} <!-- END def_title --> // //-------------------------------------------------------------------------------------------------- $user_maps = array( <!-- BEGIN map --> '{map.NAME}' => array( <!-- BEGIN order --> 'order' => {map.ORDER}, <!-- END order --> <!-- BEGIN split --> 'split' => {map.SPLIT}, <!-- END split --> <!-- BEGIN custom --> 'custom' => {map.CUSTOM}, <!-- END custom --> <!-- BEGIN title_single --> 'title' => '{map.TITLE_SINGLE}', <!-- END title_single --> <!-- BEGIN block --> '{map.block.NAME}' => array( <!-- BEGIN field --> '{map.block.field.NAME}' => array( <!-- BEGIN def --> '{map.block.field.def.DEF_KEY}'{map.block.field.def.PAD} => {map.block.field.def.VALUE}, <!-- END def --> ), <!-- END field --> ), <!-- END block --> ), <!-- END map --> ); --- NEW FILE: pcp_usermaps_edit_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center"><tr><td>{MAP_NAV_DESC}</td></tr></table> <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th colspan="2">{L_TITLE}</th> </tr> <tr> <td class="row1"><span class="gen">{L_NAME}</span><span class="gensmall"><br />{L_NAME_EXPLAIN}</span></td> <td class="row2"><input type="text" name="name" value="{NAME}" size="60" /></td> </tr> <tr> <td class="row1"><span class="gen">{L_PARENT}</span><span class="gensmall"><br />{L_PARENT_EXPLAIN}</span></td> <td class="row2"><select name="parent">{S_PARENT}</select></td> </tr> <tr> <td class="row1"><span class="gen">{L_SPLIT}</span><span class="gensmall"><br />{L_SPLIT_EXPLAIN}</span></td> <td class="row2">{S_SPLIT}</td> </tr> <tr> <td class="row1"><span class="gen">{L_CUSTOM}</span><span class="gensmall"><br />{L_CUSTOM_EXPLAIN}</span></td> <td class="row2">{S_CUSTOM}</td> </tr> <!-- BEGIN block --> <!-- BEGIN single --> <tr> <td class="row1"><span class="gen">{block.L_TITLE}</span><span class="gensmall"><br />{block.L_TITLE_EXPLAIN}</span></td> <td class="row2"> <span class="gen"> <input type="text" name="title_single" value="{block.TITLE}" size="60" /> <!-- BEGIN button --> <div align="center"><input type="submit" name="add_{block.BUTTON}" value="{block.L_BUTTON}" class="liteoption" /></div> <!-- END button --> </span> </td> </tr> <!-- END single --> <!-- BEGIN multi --> <tr> <td class="cat" colspan="2" align="center"><span class="cattitle">{block.L_TITLE}</span></td> </tr> <tr> <td class="row3" colspan="2"> <table cellpadding="4" cellspacing="1" border="0" class="bodyline" width="100%"> <tr> <!-- BEGIN col --> <th>{block.multi.col.TITLE}</th> <!-- END col --> <th width="5%" nowrap="nowrap">{L_ACTION}</th> </tr> <!-- BEGIN row --> <tr> <!-- BEGIN col --> <td class="{block.multi.row.COLOR}" align="{block.multi.row.col.ALIGN}"><span class="genmed">{block.multi.row.col.VALUE}</span></td> <!-- END col --> <td class="{block.multi.row.COLOR}" align="center" nowrap="nowrap"> <input type="submit" name="moveup_{block.BUTTON}_{block.multi.row.ROW_ID}" value="{L_UP}" class="liteoption" style="width:18;" /> <input type="submit" name="edit_{block.BUTTON}_{block.multi.row.ROW_ID}" value="{L_EDIT}" class="liteoption" /> <input type="submit" name="movedw_{block.BUTTON}_{block.multi.row.ROW_ID}" value="{L_DW}" class="liteoption" style="width:18;" /> </td> </tr> <!-- END row --> <!-- BEGIN none --> <tr> <td class="row1" align="center" colspan="{block.SPAN}"><span class="gen">{L_NONE}</span></td> </tr> <!-- END none --> <tr> <td class="cat" align="center" colspan="{block.SPAN}"><input type="submit" name="add_{block.BUTTON}" value="{block.L_BUTTON}" class="liteoption" /></td> </tr> </table> </td> </tr> <!-- END multi --> <!-- END block --> <tr> <td class="cat" align="center" colspan="2">{S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="submit" name="refresh" value="{L_REFRESH}" class="liteoption" /> <input type="submit" name="delete" value="{L_DELETE}" class="liteoption" /> <input type="submit" name="cancel" value="{L_CANCEL}" class="liteoption" /> </td> </tr> </table> </form> --- NEW FILE: pcp_valueslist_edit_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" method="post"> <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th nowrap="nowrap" colspan="2">{L_TITLE}</th> </tr> <tr> <td class="row1"><span class="gen">{L_NAME}</span><span class="gensmall"><br />{L_NAME_EXPLAIN}</span></td> <td class="row2"><input type="text" name="name" value="{NAME}" size="60" /></td> </tr> <tr> <td class="row1"><span class="gen">{L_FUNC}</span><span class="gensmall"><br />{L_FUNC_EXPLAIN}</span></td> <td class="row2"><input type="text" name="func" value="{FUNC}" size="60" /></td> </tr> <tr> <td class="row1"><span class="gen">{L_TABLE}</span><span class="gensmall"><br />{L_TABLE_EXPLAIN}</span></td> <td class="row2"><select name="main" onChange="javascript:if (this.form.main.selectedIndex != 0) {if (document.post.keyfield.value.length==0) {document.post.keyfield.value='['+this.form.main.options[this.form.main.selectedIndex].value+'].'}; if (document.post.txtfield.value.length==0) {document.post.txtfield.value='['+this.form.main.options[this.form.main.selectedIndex].value+'].'}; if (document.post.imgfield.value.length==0) {document.post.imgfield.value='['+this.form.main.options[this.form.main.selectedIndex].value+'].'};}">{S_TABLES_OPT}</select></td> </tr> <tr> <td class="row1" align="right"><span class="gen">{L_KEYFIELD}</span><span class="gensmall"><br />{L_KEYFIELD_EXPLAIN}</span></td> <td class="row2"><input type="text" name="keyfield" value="{KEYFIELD}" size="60" /></td> </tr> <tr> <td class="row1" align="right"><span class="gen">{L_TXTFIELD}</span><span class="gensmall"><br />{L_TXTFIELD_EXPLAIN}</span></td> <td class="row2"><input type="text" name="txtfield" value="{TXTFIELD}" size="60" /></td> </tr> <tr> <td class="row1" align="right"><span class="gen">{L_IMGFIELD}</span><span class="gensmall"><br />{L_IMGFIELD_EXPLAIN}</span></td> <td class="row2"><input type="text" name="imgfield" value="{IMGFIELD}" size="60" /></td> </tr> <tr> <td class="cat" align="center" colspan="2"><span class="cattitle">{L_VALUES}</span></td> </tr> <tr> <td class="row3" colspan="2"> <table cellpadding="2" cellspacing="1" border="0" class="bodyline" width="100%"> <tr> <th colspan="3">{L_ITEM}</td> <th>{L_TXT}</td> <th>{L_IMG}</td> <th width="5%" nowrap="nowrap"> {L_DELETE} </th> </tr> <!-- BEGIN row --> <tr> <td class="{row.COLOR}" align="center"><input type="submit" name="moveup_{row.ITEM_ROW}" value="{L_UP}" class="liteoption" style="width:18;" /></td> <td class="{row.COLOR}" align="center"><input type="text" name="item_key_{row.ITEM_ROW}" value="{row.ITEM_KEY}" size="10" /></td> <td class="{row.COLOR}" align="center"><input type="submit" name="movedw_{row.ITEM_ROW}" value="{L_DOWN}" class="liteoption" style="width:18;" /></td> <td class="{row.COLOR}" align="center"><input type="text" name="item_txt_{row.ITEM_ROW}" value="{row.ITEM_TXT}" size="30" /></td> <td class="{row.COLOR}" align="center"><input type="text" name="item_img_{row.ITEM_ROW}" value="{row.ITEM_IMG}" size="30" /></td> <td class="{row.COLOR}" align="center"> <input type="hidden" name="item_rows[]" value="{row.ITEM_ROW}" /> <input type="checkbox" name="item_chk_{row.ITEM_ROW}" value="{row.ITEM_ROW}" {row.ITEM_CHK} /> </td> </tr> <!-- END row --> <!-- BEGIN empty --> <tr> <td class="row1" align="center" colspan="6"><span class="gen">{L_EMPTY}</span></td> </tr> <!-- END empty --> <tr> <td class="cat" align="center" colspan="6"> <input type="submit" name="add_selection" value="{L_ADD_ITEM}" class="liteoption" /> <input type="submit" name="delete_selection" value="{L_DELETE_SELECTION}" class="liteoption" /> </td> </tr> </table> </td> </tr> <tr> <td class="cat" align="center" colspan="2">{S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="submit" name="refresh" value="{L_REFRESH}" class="liteoption" /> <input type="submit" name="delete" value="{L_DELETE}" class="liteoption" /> <input type="submit" name="cancel" value="{L_CANCEL}" class="liteoption" /> </td> </tr> </table> </form> --- NEW FILE: pcp_tableslinked_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th nowrap="nowrap">{L_TABLE_NAME}</th> <th nowrap="nowrap"> {L_TABLE_ID} </th> <th nowrap="nowrap">{L_TABLE_SQL_DESC}</th> </tr> <!-- BEGIN row --> <tr> <td class="{row.COLOR}"><a href="{row.U_TABLE}" class="gen">{row.TABLE_NAME}</a></td> <td class="{row.COLOR}" align="center"><span class="gen">{row.TABLE_ID}</span></td> <td class="{row.COLOR}"> <span class="gensmall"> <b>{L_TABLE_JOIN}:</b><br />{row.TABLE_JOIN}<hr /> <b>{L_TABLE_WHERE}:</b><br />{row.TABLE_WHERE}<hr /> <b>{L_TABLE_ORDER}:</b><br />{row.TABLE_ORDER} </span> </td> </tr> <!-- END row --> <tr> <td class="cat" align="center" colspan="3">{S_HIDDEN_FIELDS} <input type="submit" name="create" value="{L_ADD_TABLE}" class="mainoption" /> </td> </tr> </table> </form> --- NEW FILE: board_config_extend_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" method="post"> <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="250"> <!-- BEGIN menu --> <table cellpadding="0" cellspacing="1" border="0" class="bodyline" width="100%"> <tr> <td class="row3" align="center"> <!-- BEGIN title_open --> <table cellspacing="0" cellpadding="2" border="0" width="100%"> <tr> <td class="cat" align="center"><a href="{menu.U_MENU}" class="cattitle">{menu.L_MENU}</a></td> </tr> </table> <!-- END title_open --> <table cellpadding="10" cellspacing="1" border="0" class="bodyline" width="100%"> <!-- BEGIN title_close --> <tr> <td class="{menu.CLASS}" align="center"><a href="{menu.U_MENU}" class="gen">{menu.L_MENU}</a></td> </tr> <!-- END title_close --> <!-- BEGIN mod --> <tr> <td class="{menu.mod.CLASS}" align="{menu.mod.ALIGN}" nowrap="nowrap" width="100%"> <a href="{menu.mod.U_MOD}" class="gen">{menu.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="{menu.mod.sub.row.CLASS}" nowrap="nowrap"><span class="genmed"> » <a href="{menu.mod.sub.row.U_MOD}" class="genmed">{menu.mod.sub.row.L_MOD}</a> </span></td> </tr> <!-- END row --> </table> <!-- END sub --> </td> </tr> <!-- END mod --> </table> </td> </tr> </table> <!-- END menu --> </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><span class="gensmall">{field.OVERRIDE}</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></form> --- NEW FILE: pcp_userfields_edit_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table width="99%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <!-- BEGIN catmenu --> <!-- BEGIN flat --> <td nowrap="nowrap" width="150"> <table border="0" cellpadding="1" cellspacing="1" width="100%" style="border-left : 1px solid {BORDER_COLOR}; border-top : 1px solid {BORDER_COLOR}; border-right : 1px solid {BORDER_COLOR}; "> <tr> <td class="row2" align="center"><span class="genmed"><b>{catmenu.L_CAT_NAME}</b></span></td> </tr> </table> </td> <!-- END flat --> <!-- BEGIN input --> <td align="center" nowrap="nowrap"><input type="submit" name="select_field_cat_{catmenu.CAT_NAME}" value="{catmenu.L_CAT_NAME}" class="liteoption" style="width:150;" /></td> <!-- END input --> <!-- END catmenu --> <td width="100%"><span class="genmed"> </span></td> </tr> <tr> <td colspan="{SPAN}"> <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th colspan="2">{L_TITLE}</th> </tr> <!-- BEGIN row --> <!-- BEGIN cat --> <tr> <td class="cat" colspan="2"><span class="cattitle">{row.cat.L_CAT}</span></td> </tr> <!-- END cat --> <tr> <td class="row1" width="40%"><span class="gen">{row.L_FIELD}</span><span class="gensmall"><br />{row.L_FIELD_EXPLAIN}</span></td> <td class="row2" width="60%"><span class="gen">{row.FIELD}</span></td> </tr> <!-- END row --> <tr> <td class="cat" align="center" colspan="2">{S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="submit" name="refresh" value="{L_REFRESH}" class="liteoption" /> <input type="submit" name="delete" value="{L_DELETE}" class="liteoption" /> <input type="submit" name="cancel" value="{L_CANCEL}" class="liteoption" /> </td> </tr> </table> </td> </tr> </table> </form> --- NEW FILE: pcp_tableslinked_edit_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th nowrap="nowrap" colspan="2">{L_TITLE}</th> </tr> <tr> <td class="row1"><span class="gen"><b>{L_NAME}</b></span><span class="gensmall"><br />{L_NAME_EXPLAIN}</span></td> <td class="row2"><input type="text" name="name" value="{NAME}" size="60" /></td> </tr> <tr> <td class="row1"><span class="gen"><b>{L_SQL_ID}</b></span><span class="gensmall"><br />{L_SQL_ID_EXPLAIN}</span></td> <td class="row2"><input type="text" name="sql_id" value="{SQL_ID}" size="5" /></td> </tr> <tr> <td class="row1" valign="top"><span class="gen"><b>{L_SQL_JOIN}</b></span><span class="gensmall"><br />{L_SQL_JOIN_EXPLAIN}</span></td> <td class="row2"><textarea rows="8" cols="70" wrap="virtual" name="sql_join" class="post">{SQL_JOIN}</textarea></td> </tr> <tr> <td class="row1" valign="top"><span class="gen"><b>{L_SQL_WHERE}</b></span><span class="gensmall"><br />{L_SQL_WHERE_EXPLAIN}</span></td> <td class="row2"><textarea rows="8" cols="70" wrap="virtual" name="sql_where" class="post">{SQL_WHERE}</textarea></td> </tr> <tr> <td class="row1" valign="top"><span class="gen"><b>{L_SQL_ORDER}</b></span><span class="gensmall"><br />{L_SQL_ORDER_EXPLAIN}</span></td> <td class="row2"><textarea rows="8" cols="70" wrap="virtual" name="sql_order" class="post">{SQL_ORDER}</textarea></td> </tr> <tr> <td class="cat" align="center" colspan="2">{S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="submit" name="refresh" value="{L_REFRESH}" class="liteoption" /> <input type="submit" name="delete" value="{L_DELETE}" class="liteoption" /> <input type="submit" name="cancel" value="{L_CANCEL}" class="liteoption" /> </td> </tr> </table> </form> --- NEW FILE: pcp_userfields_sql_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th colspan="2">{L_SQL_TITLE}</th> </tr> <tr> <td class="row1" width="40%"><span class="gen">{L_NAME}</span><span class="gensmall"><br />{L_NAME_EXPLAIN}</span></td> <td class="row2" width="60%"><span class="genmed">{NAME}</span></td> </tr> <tr> <td class="row1"><span class="gen">{L_TYPE}</span><span class="gensmall"><br />{L_TYPE_EXPLAIN}</span></td> <td class="row2">{S_TYPES}</td> </tr> <tr> <td class="row1"><span class="gen">{L_LENGTH}</span><span class="gensmall"><br />{L_LENGTH_EXPLAIN}</span></td> <td class="row2"><input type="text" name="length" value="{LENGTH}" size="5" /> , <input type="text" name="decimal" value="{DECIMAL}" size="2" /></td> </tr> <tr> <td class="row1"><span class="gen">{L_UNSIGNED}</span><span class="gensmall"><br />{L_UNSIGNED_EXPLAIN}</span></td> <td class="row2"><span class="genmed"><input type="radio" name="unsigned" value="0" {UNSIGNED_NO} />{L_NO} <input type="radio" name="unsigned" value="1" {UNSIGNED_YES} />{L_YES}</span></td> </tr> <tr> <td class="row1"><span class="gen">{L_NULL}</span></td> <td class="row2"><span class="genmed"><input type="radio" name="not_null" value="1" {NULL_NO} />{L_NO}</span> <input type="radio" name="not_null" value="0" {NULL_YES} />{L_YES}</td> </tr> <tr> <td class="row1"><span class="gen">{L_DEFAULT}</span></td> <td class="row2"><span class="genmed"><input type="text" name="default" value="{DEFAULT}" size="40" /> <input type="checkbox" name="default_null" {DEFAULT_NULL} />{L_DEFAULT_NULL}</span></td> </tr> <tr> <td class="cat" align="center" colspan="2">{S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="submit" name="refresh" value="{L_REFRESH}" class="liteoption" /> <input type="submit" name="cancel" value="{L_CANCEL}" class="liteoption" /> </td> </tr> </table> </form> --- NEW FILE: pcp_valueslist_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th nowrap="nowrap">{L_NAME}</th> <th nowrap="nowrap">{L_FUNC}</th> <th nowrap="nowrap">{L_TABLE}</th> <th nowrap="nowrap">{L_VALUES}</th> </tr> <!-- BEGIN row --> <tr> <td class="{row.COLOR}"><a href="{row.U_VLIST}" class="gen">{row.NAME}</a></td> <td class="{row.COLOR}" align="center"><span class="gen">{row.FUNC}</span></td> <td class="{row.COLOR}" align="center"><a href="{row.U_MAIN}" class="gen">{row.MAIN}</a></span></td> <td class="{row.COLOR}"> <!-- BEGIN items --> <table cellpadding="2" cellspacing="1" border="0" class="bodyline" width="100%"> <tr> <td class="row3" width="10%"><span class="gensmall">{L_ITEM}</span></td> <td class="row3" width="45%"><span class="gensmall">{L_TXT}</span></td> <td class="row3" width="45%"><span class="gensmall">{L_IMG}</span></td> </tr> <!-- BEGIN list --> <tr> <td class="{row.items.list.COLOR}" align="center"><span class="gensmall">{row.items.list.VAL}</span></td> <td class="{row.items.list.COLOR}"><span class="gensmall">{row.items.list.TXT}</span></td> <td class="{row.items.list.COLOR}"><span class="gensmall">{row.items.list.IMG}</span></td> </tr> <!-- END list --> <!-- BEGIN more --> <tr> <td class="row3" align="center" colspan="3"><span class="gensmall">{L_MORE}</span></td> </tr> <!-- END more --> </table> <!-- END items --> </td> </tr> <!-- END row --> <tr> <td class="cat" align="center" colspan="4">{S_HIDDEN_FIELDS} <input type="submit" name="create" value="{L_ADD_TABLE}" class="mainoption" /> </td> </tr> </table> </form> --- NEW FILE: pcp_userfields_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table width="99%" cellpadding="2" cellspacing="1" border="0" align="center"> <tr> <td align="right"><span class="gen">{L_SORT}: {S_SORT}{S_ORDER} <input type="submit" name="sort_by" value="{L_GO}" class="liteoption" /></span></td> </tr> </table> <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th nowrap="nowrap">{L_NAME}</th> <th nowrap="nowrap">{L_DESC}</th> <th nowrap="nowrap">{L_CLASS} & {L_TYPE}</th> <th nowrap="nowrap">{L_MAP_USAGE}</th> <th nowrap="nowrap">{L_SQL_ACTIONS}</th> </tr> <!-- BEGIN fields --> <tr> <td class="{fields.COLOR}"><a href="{fields.U_NAME}" class="genmed">{fields.NAME}</a></td> <td class="{fields.COLOR}"><span class="genmed">{fields.LANG_KEY}</span><span class="gensmall">{fields.EXPLAIN}<br />{fields.IMAGE}</span></td> <td class="{fields.COLOR}" align="center"><span class="genmed"><a href="{fields.U_CLASS}" class="genmed">{fields.CLASS}</a><br />{fields.TYPE}<br />{fields.GET_MODE}</span></td> <td class="{fields.COLOR}"> <span class="genmed"> <!-- BEGIN maps --> <a href="{fields.maps.U_NAME}" class="genmed">{fields.maps.NAME}</a><br /> <!-- END maps --> </span> </td> <td class="{fields.COLOR}" align="center"> <!-- BEGIN sql_actions --> <span class="genmed">{fields.SQL_ACTIONS}</span> <!-- END sql_actions --> </td> </tr> <!-- END fields --> <tr> <td class="cat" align="center" colspan="5">{S_HIDDEN_FIELDS} <input type="submit" name="create" value="{L_ADD_FIELD}" class="mainoption" /> </td> </tr> </table> </form> --- NEW FILE: lang_extend_key_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th nowrap="nowrap" colspan="2">{L_KEY}</th> </tr> <tr> <td class="row1" width="40%"><span class="gen">{L_KEY_MAIN}</span><span class="gensmall"><br />{L_KEY_MAIN_EXPLAIN}</span></td> <td class="row2" width="60%"><input type="text" class="post" name="new_main" size="64" value="{KEY_MAIN}" /></td> </tr> <tr> <td class="row1" width="40%"><span class="gen">{L_KEY_SUB}</span><span class="gensmall"><br />{L_KEY_SUB_EXPLAIN}</span></td> <td class="row2" width="60%"><input type="text" class="post" name="new_sub" size="64" value="{KEY_SUB}" /></td> </tr> <tr> <td class="row1" width="40%"><span class="gen">{L_PACK}</span><span class="gensmall"><br />{L_PACK_EXPLAIN}</span></td> <td class="row2" width="60%"><span class="gen">{S_PACKS}</span></td> </tr> <tr> <td class="row1" width="40%"><span class="gen">{L_LEVEL}</span><span class="gensmall"><br />{L_LEVEL_EXPLAIN}</span></td> <td class="row2" width="60%"><span class="gen"><input type="radio" class="radio" name="new_level" value="{LEVEL_NORMAL}" {S_LEVEL_NORMAL}/>{L_LEVEL_NORMAL} <input type="radio" class="radio" name="new_level" value="{LEVEL_ADMIN}" {S_LEVEL_ADMIN}/>{L_LEVEL_ADMIN}</span></td> </tr> <tr> <td class="cat" align="center" colspan="2"><span class="cattitle">{L_LANGUAGES}</span></td> </tr> <!-- BEGIN row --> <tr> <td class="row1" align="center"><span class="gen">{row.L_COUNTRY}</span><span class="gensmall"><br />{row.L_STATUS}</span></td> <td class="row2"><textarea rows="8" cols="64" wrap="virtual" name="new_values[{row.COUNTRY}]" class="post">{row.VALUE}</textarea></td> </tr> <!-- END row --> <tr> <td class="cat" align="center" colspan="2"> <input type="submit" accesskey="s" name="submit" class="mainoption" value="{L_SUBMIT}" /> <input type="submit" name="delete" class="liteoption" value="{L_DELETE}" /> <input type="submit" name="cancel" class="liteoption" value="{L_CANCEL}" /> </td> </tr> </table>{S_HIDDEN_FIELDS}</form> --- NEW FILE: pcp_usermaps_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center"><tr><td>{MAP_NAV_DESC}</td></tr></table> <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th>{L_NAME}</th> <th>{L_MAP_TITLE}</th> <th width="5%" nowrap="nowrap">{L_ACTION}</th> </tr> <!-- BEGIN sub --> <tr> <td class="cat" colspan="3"><span class="cattitle">{L_SUB_MAPS}</span></td> </tr> <!-- BEGIN row --> <tr> <td class="{sub.row.COLOR}"><a href="{sub.row.U_NAME}" class="gen">{sub.row.NAME}</a></td> <td class="{sub.row.COLOR}"><span class="gen">{sub.row.MAP_TITLE}</span></td> <td class="{sub.row.COLOR}" nowrap="nowrap"> <input type="submit" name="moveup_map_{sub.row.MAP_ID}" value="{L_UP}" class="liteoption" style="width:18px;" /> <input type="submit" name="edit_map_{sub.row.MAP_ID}" value="{L_EDIT}" class="liteoption" /> <input type="submit" name="movedw_map_{sub.row.MAP_ID}" value="{L_DW}" class="liteoption" style="width:18px;" /> </td> </tr> <!-- END row --> <!-- BEGIN none --> <tr> <td class="row1" colspan="3" align="center"><span class="gen">{L_NONE}</span></td> </tr> <!-- END none --> <!-- END sub --> <tr> <td class="cat" align="center" colspan="3">{S_HIDDEN_FIELDS} <input type="submit" name="create" value="{L_ADD_MAP}" class="liteoption" /> </td> </tr> </table> <br class="gensmall" /> <!-- BEGIN details --> <table width="99%" cellpadding="0" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th colspan="4">{MAP_NAME}</th> </tr> <tr> <td class="row3"> <!-- BEGIN block --> <table cellpadding="4" cellspacing="1" border="0" width="100%" class="bodyline"> <!-- BEGIN text --> <tr> <td class="cat" align="center" colspan="{details.block.SPAN}"><span class="cattitle">{details.block.L_TITLE}</span></td> </tr> <tr> <td class="row1" align="center" colspan="{details.block.SPAN}"><span class="gen">{details.block.TITLE}</span></td> </tr> <!-- END text --> <!-- BEGIN multi --> <tr> <!-- BEGIN col --> <td class="cat" align="center" width="{details.block.multi.col.WIDTH}"><span class="cattitle">{details.block.multi.col.TITLE}</span></td> <!-- END col --> </tr> <!-- BEGIN row --> <tr> <!-- BEGIN col --> <td class="{details.block.multi.row.COLOR}" align="{details.block.multi.row.col.ALIGN}"><span class="genmed">{details.block.multi.row.col.VALUE}</span></td> <!-- END col --> </tr> <!-- END row --> <!-- END multi --> </table> <br style="font-size:2" /> <!-- END block --> </td> </tr> <tr> <td class="cat" align="center" colspan="4">{S_HIDDEN_FIELDS} <input type="submit" name="edit" value="{L_EDIT}" class="liteoption" /> </td> </tr> </table> <!-- END details --> </form> --- NEW FILE: lang_extend_def.tpl --- /*************************************************************************** * lang_extend.php [{COUNTRY_NAME}] * --------------- * begin : 28/09/2003 * copyright : Ptirhiik * email : pti...@cl... * * version : 1.0.1 - 16/10/2003 * * redefinition of existing keys * * last edit : {EDITTIME} by {USERNAME} ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ if ( !defined('IN_PHPBB') ) { die("Hacking attempt"); } // admin part if ( $lang_extend_admin ) { <!-- BEGIN admin --> <!-- BEGIN pack --> <!-- BEGIN linefeed --> <!-- END linefeed --> // pack : {admin.pack.TITLE} <!-- BEGIN entry --> <!-- BEGIN switch_simple --> $lang['{admin.pack.entry.KEY_MAIN}'] = '{admin.pack.entry.VALUE}'; <!-- END switch_simple --> <!-- BEGIN switch_double --> $lang['{admin.pack.entry.KEY_MAIN}']['{admin.pack.entry.KEY_SUB}'] = '{admin.pack.entry.VALUE}'; <!-- END switch_double --> <!-- END entry --> <!-- END pack --> <!-- END admin --> } <!-- BEGIN normal --> <!-- BEGIN pack --> // pack : {normal.pack.TITLE} <!-- BEGIN entry --> <!-- BEGIN switch_simple --> $lang['{normal.pack.entry.KEY_MAIN}'] = '{normal.pack.entry.VALUE}'; <!-- END switch_simple --> <!-- BEGIN switch_double --> $lang['{normal.pack.entry.KEY_MAIN}']['{normal.pack.entry.KEY_SUB}'] = '{normal.pack.entry.VALUE}'; <!-- END switch_double --> <!-- END entry --> <!-- END pack --> <!-- END normal --> --- NEW FILE: pcp_classesfields_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th nowrap="nowrap">{L_NAME}</th> <th nowrap="nowrap">{L_CONFIG}</th> <th nowrap="nowrap">{L_ADMIN}</th> <th nowrap="nowrap">{L_USER}</th> </tr> <!-- BEGIN row --> <tr> <td class="{row.COLOR}" rowspan="2"><a href="{row.U_NAME}" class="gen">{row.NAME}</a></td> <td class="{row.COLOR}"><span class="gen">{row.CONFIG}<br /></span></td> <td class="{row.COLOR}"><span class="gen">{row.ADMIN}</span></td> <td class="{row.COLOR}"><span class="gen">{row.USER}</span></td> </tr> <tr> <td class="{row.COLOR}" colspan="3"><span class="genmed">{row.SQL_DEF}<br /></span></td> </tr> <!-- END row --> <tr> <td class="cat" align="center" colspan="5">{S_HIDDEN_FIELDS} <input type="submit" name="create" value="{L_ADD_CLASS}" class="mainoption" /> </td> </tr> </table> </form> --- NEW FILE: pcp_userfields_def.tpl --- /*************************************************************************** * def_userfields.php * ------------------ * begin : 03/10/2003 * copyright : Ptirhiik * email : ad...@rp... * * version : 1.0.2 - 17/10/2003 * * last update : {TIME} by {USERNAME} * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * ***************************************************************************/ if ( !defined('IN_PHPBB') ) { die('Hacking attempt'); exit; } //-------------------------------------------------------------------------------------------------- // // tables_linked array // // key = identifier (used in [*]) // // sql_id : id used in sql request, // sql_join : sql FROM statement // sql_where : WHERE statement // sql_order : ORDER BY statement // //-------------------------------------------------------------------------------------------------- $tables_linked = array( <!-- BEGIN tables --> '{tables.NAME}' => array( <!-- BEGIN row --> '{tables.row.KEY}' => '{tables.row.VALUE}', <!-- END row --> ), <!-- END tables --> ); //-------------------------------------------------------------------------------------------------- // // $values_list array // // key = values list name // func = special function // table = use tables to build the list // main : main table the list is based on, // key : key field, // txt : text field, // img : image field // values = field values // txt : text or $lang key entry to display // img : img url or $images key entry to display //-------------------------------------------------------------------------------------------------- $values_list = array( <!-- BEGIN values --> '{values.NAME}' => array( <!-- BEGIN func --> 'func' => '{values.FUNC}', <!-- END func --> <!-- BEGIN table --> 'table' => array( 'main' => '{values.MAIN}', 'key' => '{values.KEY}', 'txt' => '{values.TXT}', 'img' => '{values.IMG}', ), <!-- END tables --> <!-- BEGIN set --> 'values' => array( <!-- BEGIN val --> {values.set.val.VALUE} => array('txt' => '{values.set.val.TXT}', 'img' => '{values.set.val.IMG}'), <!-- END val --> ), <!-- END set --> ), <!-- END values --> ); //-------------------------------------------------------------------------------------------------- // // $classes_fields array // // key = name of the class, // // config_field : the config table field set by the admin to restrict the class display to everybody // admin_field : the users table field set by the admin to restrict the class display to a particular user, // user_field : the users table field set by the user (preferences) to restrict the class display, // sql_def : sql definition of the condition field // //-------------------------------------------------------------------------------------------------- $classes_fields = array( <!-- BEGIN classes --> '{classes.NAME}' => array( 'config_field' => '{classes.CONFIG_FIELD}', 'admin_field' => '{classes.ADMIN_FIELD}', 'user_field' => '{classes.USER_FIELD}', 'sql_def' => '{classes.SQL_DEF}', ), <!-- END classes --> ); //-------------------------------------------------------------------------------------------------- // // $user_fields array // // key = name of the field, // <!-- BEGIN def_title --> // {def_title.KEY}{def_title.PAD}: {def_title.L_KEY} <!-- END def_title --> // //-------------------------------------------------------------------------------------------------- $user_fields = array( <!-- BEGIN field --> <!-- BEGIN comment --> // {field.COMMENT} informations <!-- END comment --> '{field.NAME}' => array( <!-- BEGIN row --> '{field.row.KEY}'{field.row.PAD} => {field.row.VALUE}, <!-- END row --> ), <!-- END field --> ); --- NEW FILE: pcp_confirm_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" method="post"> <table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0"> <tr> <th>{MESSAGE_TITLE}</th> </tr> <tr> <td class="row1" align="center"><span class="gen"><br />{MESSAGE}<br /><br /></span></td> </tr> <tr> <td class="cat" align="center">{S_HIDDEN_FIELDS} <input type="submit" name="confirm" value="{L_YES}" class="mainoption" /> <input type="submit" name="cancel" value="{L_NO}" class="liteoption" /> </td> </tr> </table> </form> <br clear="all" /> --- NEW FILE: lang_extend_pack_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_TITLE_EXPLAIN}</p> <form action="{S_ACTION}" name="post" method="post"> <table width="99%" cellpadding="4" cellspacing="0" border="0"> <tr> <td width="100%"><span class="gen"><a href="{U_PACK}" class="gen"><b>{L_PACK}:</b></a> {LEVEL} - {PACK}</span></td> <td nowrap="nowrap" align="right"><a href="{U_LEVEL_NEXT}" class="gen">{L_LEVEL_NEXT}</a></td> </tr> </table> <table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th nowrap="nowrap" colspan="2">{L_KEYS}</th> </tr> <!-- BEGIN row --> <tr> <td class="{row.CLASS}" nowrap="nowrap"><a href="{row.U_KEY}" class="gen">{row.KEY_MAIN}{row.KEY_SUB}</a><span class="gen">{row.STATUS}</span></td> <td class="{row.CLASS}" width="100%"><span class="gen">{row.VALUE}</span></td> </tr> <!-- END row --> <!-- BEGIN none --> <tr> <td class="row1" align="center"><span class="gen">{L_NONE}</span></td> </tr> <!-- END none --> <tr> <td class="cat" align="center" colspan="2"> <input type="submit" name="add" class="mainoption" value="{L_ADD}" /> <input type="submit" name="cancel" class="liteoption" value="{L_CANCEL}" /> </td> </tr> </table>{S_HIDDEN_FIELDS}</form> |
Update of /cvsroot/mxbb/mx_profilecp/templates/_core/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29972/_core/images Added Files: button_photo.gif folder_announce_new_own.gif folder_announce_own.gif folder_hot_own.gif folder_lock_new_own.gif folder_lock_own.gif folder_new_hot_own.gif folder_new_own.gif folder_own.gif folder_sticky_new_own.gif folder_sticky_own.gif happy_birthday.gif icon_birthday.gif icon_down_arrow.gif icon_hidden.gif icon_not_visible.gif icon_offline.gif icon_online.gif icon_up_arrow.gif icon_visible.gif index.htm next.gif Log Message: for 2.9.x --- NEW FILE: happy_birthday.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder_sticky_new_own.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_birthday.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder_new_hot_own.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder_lock_own.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: folder_new_own.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_offline.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: next.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder_announce_new_own.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_not_visible.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder_hot_own.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_down_arrow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder_lock_new_own.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_visible.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder_sticky_own.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_hidden.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder_own.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder_announce_own.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: button_photo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_up_arrow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_online.gif --- (This appears to be a binary file; contents omitted.) |
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] |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:35:04
|
Update of /cvsroot/mxbb/mx_profilecp/profilcp/def In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29558 Modified Files: def_userfuncs.php def_userfuncs_album.php def_userfuncs_std.php Log Message: for 2.9.x Index: def_userfuncs.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/def/def_userfuncs.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** def_userfuncs.php 5 Apr 2006 23:04:42 -0000 1.4 --- def_userfuncs.php 9 Sep 2007 20:34:01 -0000 1.5 *************** *** 353,361 **** { case 'DATE': ! $txt = !empty($view_userdata[$field_name]) ? create_date($lang['DATE_FORMAT'], $view_userdata[$field_name], $userdata['user_timezone']) : ''; $img .= isset($images[$field_data['image']]) ? '<img src="' . $images[$field_data['image']] . '" border="0" alt="' . $alt . '" title="' . $title . '" />' : ''; break; case 'DATETIME': ! $txt = !empty($view_userdata[$field_name]) ? create_date($userdata['user_dateformat'], $view_userdata[$field_name], $userdata['user_timezone']) : ''; $img .= isset($images[$field_data['image']]) ? '<img src="' . $images[$field_data['image']] . '" border="0" alt="' . $alt . '" title="' . $title . '" />' : ''; break; --- 353,361 ---- { case 'DATE': ! $txt = !empty($view_userdata[$field_name]) ? phpBB2::create_date($lang['DATE_FORMAT'], $view_userdata[$field_name], $userdata['user_timezone']) : ''; $img .= isset($images[$field_data['image']]) ? '<img src="' . $images[$field_data['image']] . '" border="0" alt="' . $alt . '" title="' . $title . '" />' : ''; break; case 'DATETIME': ! $txt = !empty($view_userdata[$field_name]) ? phpBB2::create_date($userdata['user_dateformat'], $view_userdata[$field_name], $userdata['user_timezone']) : ''; $img .= isset($images[$field_data['image']]) ? '<img src="' . $images[$field_data['image']] . '" border="0" alt="' . $alt . '" title="' . $title . '" />' : ''; break; *************** *** 364,368 **** if ( !empty($view_userdata[$field_name]) ) { ! $temp_url = $pm_display ? append_sid("./privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : ''; $txt = create_birthday_date($lang['DATE_FORMAT'], $view_userdata[$field_name], $userdata['user_timezone']); $img = ( ( intval(substr($view_userdata[$field_name], 4, 4)) == date('md', time()) ) ? ( $pm_display ? '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_birthday'] . '" border="0" align="absbottom" alt="' . $lang['Happy_birthday'] . '" title="' . $lang['Happy_birthday'] . '" /></a>' : '<img src="' . $images['profilecp_icon_birthday'] . '" border="0" align="absbottom" alt="' . $lang['Happy_birthday'] . '" title="' . $lang['Happy_birthday'] . '" />' ) : '' ); --- 364,368 ---- if ( !empty($view_userdata[$field_name]) ) { ! $temp_url = $pm_display ? mx_append_sid("./privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : ''; $txt = create_birthday_date($lang['DATE_FORMAT'], $view_userdata[$field_name], $userdata['user_timezone']); $img = ( ( intval(substr($view_userdata[$field_name], 4, 4)) == date('md', time()) ) ? ( $pm_display ? '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_birthday'] . '" border="0" align="absbottom" alt="' . $lang['Happy_birthday'] . '" title="' . $lang['Happy_birthday'] . '" /></a>' : '<img src="' . $images['profilecp_icon_birthday'] . '" border="0" align="absbottom" alt="' . $lang['Happy_birthday'] . '" title="' . $lang['Happy_birthday'] . '" />' ) : '' ); Index: def_userfuncs_album.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/def/def_userfuncs_album.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** def_userfuncs_album.php 18 Jun 2006 10:47:13 -0000 1.5 --- def_userfuncs_album.php 9 Sep 2007 20:34:01 -0000 1.6 *************** *** 59,63 **** if (!$userdata['session_logged_in']) { ! redirect(append_sid("login.$phpEx?redirect=album_by.$phpEx&user_id=$user_id")); } } --- 59,63 ---- if (!$userdata['session_logged_in']) { ! mx_redirect(mx_append_sid("login.$phpEx?redirect=album_by.$phpEx&user_id=$user_id")); } } *************** *** 129,133 **** ! $temp_url = append_sid($mx_root_path ."index.$phpEx?page=".$smartor_page_id."&user_id=" . $view_userdata['user_id']); $txt = '<a href="' . $temp_url . '" title="' . $number_gals . $lang['gal_pic_in'] . $lang['gallery'] . '">' . $number_gals . $lang['gal_pic'] . '</a>'; $img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_gallery'] . '" alt="' . $number_gals . $lang['gal_pic'] . '" title="' . $number_gals . $lang['gal_pic_in']. $lang['gallery'] . '" border="0" /></a>'; --- 129,133 ---- ! $temp_url = mx_append_sid($mx_root_path ."index.$phpEx?page=".$smartor_page_id."&user_id=" . $view_userdata['user_id']); $txt = '<a href="' . $temp_url . '" title="' . $number_gals . $lang['gal_pic_in'] . $lang['gallery'] . '">' . $number_gals . $lang['gal_pic'] . '</a>'; $img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_gallery'] . '" alt="' . $number_gals . $lang['gal_pic'] . '" title="' . $number_gals . $lang['gal_pic_in']. $lang['gallery'] . '" border="0" /></a>'; *************** *** 222,226 **** if (!$userdata['session_logged_in']) { ! redirect(append_sid("login.$phpEx?redirect=album_by.$phpEx&user_id=$user_id")); } } --- 222,226 ---- if (!$userdata['session_logged_in']) { ! mx_redirect(mx_append_sid("login.$phpEx?redirect=album_by.$phpEx&user_id=$user_id")); } } *************** *** 251,255 **** if ( $total_pics > 0 ) { ! $temp_url = append_sid("./album_by.$phpEx?user_id=" . $view_userdata['user_id']); $txt = '<a href="' . $temp_url . '" title="' . $total_pics . $lang['pics_up'] . '">' . $total_pics . '</a>'; //$img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_gallery'] . '" alt="' . $number_gals . $lang['gal_pic'] . '" title="' . $number_gals . $lang['gal_pic_in']. $lang['gallery'] . '" border="0" /></a>'; --- 251,255 ---- if ( $total_pics > 0 ) { ! $temp_url = mx_append_sid("./album_by.$phpEx?user_id=" . $view_userdata['user_id']); $txt = '<a href="' . $temp_url . '" title="' . $total_pics . $lang['pics_up'] . '">' . $total_pics . '</a>'; //$img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_gallery'] . '" alt="' . $number_gals . $lang['gal_pic'] . '" title="' . $number_gals . $lang['gal_pic_in']. $lang['gallery'] . '" border="0" /></a>'; Index: def_userfuncs_std.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/def/def_userfuncs_std.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** def_userfuncs_std.php 5 Apr 2006 23:04:42 -0000 1.5 --- def_userfuncs_std.php 9 Sep 2007 20:34:01 -0000 1.6 *************** *** 91,96 **** if ( $view_userdata['user_my_friend'] ) { ! // $temp_url = append_sid("./profile.$phpEx?mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=remove" . $from); ! $temp_url = append_sid(this_profile_mxurl("mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=remove" . $from)); $title = $lang['Remove_from_friend_list']; $icon = $images['profilecp_icon_friend_remove']; --- 91,96 ---- if ( $view_userdata['user_my_friend'] ) { ! // $temp_url = mx_append_sid("./profile.$phpEx?mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=remove" . $from); ! $temp_url = mx_append_sid(this_profile_mxurl("mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=remove" . $from)); $title = $lang['Remove_from_friend_list']; $icon = $images['profilecp_icon_friend_remove']; *************** *** 100,105 **** else if ( !$view_userdata['user_my_ignore'] ) { ! // $temp_url = append_sid("./profile.$phpEx?mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=add" . $from); ! $temp_url = append_sid(this_profile_mxurl("mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=add" . $from)); $title = $lang['Add_to_friend_list']; $icon = $images['profilecp_icon_friend_add']; --- 100,105 ---- else if ( !$view_userdata['user_my_ignore'] ) { ! // $temp_url = mx_append_sid("./profile.$phpEx?mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=add" . $from); ! $temp_url = mx_append_sid(this_profile_mxurl("mode=buddy&sub=friend&b=" . $view_userdata['user_id'] . "&set=add" . $from)); $title = $lang['Add_to_friend_list']; $icon = $images['profilecp_icon_friend_add']; *************** *** 134,139 **** if ( $view_userdata['user_my_friend'] ) { ! // $temp_url = append_sid( "./profile.$phpEx?mode=" . $mode . "&sub=$sub&b=" . $view_userdata['user_id'] . "&set=" . ( $view_userdata['user_my_visible'] ? 'inv' : 'vis') ); ! $temp_url = append_sid( this_profile_mxurl("mode=" . $mode . "&sub=$sub&b=" . $view_userdata['user_id']) . "&set=" . ( $view_userdata['user_my_visible'] ? 'inv' : 'vis') ); $title = $view_userdata['user_my_visible'] ? $lang['Always_visible'] : $lang['Not_always_visible']; $icon = $view_userdata['user_my_visible'] ? $images['profilecp_icon_visible'] : $images['profilecp_icon_not_visible']; --- 134,139 ---- if ( $view_userdata['user_my_friend'] ) { ! // $temp_url = mx_append_sid( "./profile.$phpEx?mode=" . $mode . "&sub=$sub&b=" . $view_userdata['user_id'] . "&set=" . ( $view_userdata['user_my_visible'] ? 'inv' : 'vis') ); ! $temp_url = mx_append_sid( this_profile_mxurl("mode=" . $mode . "&sub=$sub&b=" . $view_userdata['user_id']) . "&set=" . ( $view_userdata['user_my_visible'] ? 'inv' : 'vis') ); $title = $view_userdata['user_my_visible'] ? $lang['Always_visible'] : $lang['Not_always_visible']; $icon = $view_userdata['user_my_visible'] ? $images['profilecp_icon_visible'] : $images['profilecp_icon_not_visible']; *************** *** 184,189 **** if ( $view_userdata['user_my_ignore'] ) { ! // $temp_url = append_sid("./profile.$phpEx?mode=buddy&sub=ignore&b=" . $view_userdata['user_id'] . "&set=remove" . $from); ! $temp_url = append_sid(this_profile_mxurl("mode=buddy&sub=ignore&b=" . $view_userdata['user_id'] . "&set=remove" . $from)); $title = $lang['Remove_from_ignore_list']; $icon = $images['profilecp_icon_ignore_remove']; --- 184,189 ---- if ( $view_userdata['user_my_ignore'] ) { ! // $temp_url = mx_append_sid("./profile.$phpEx?mode=buddy&sub=ignore&b=" . $view_userdata['user_id'] . "&set=remove" . $from); ! $temp_url = mx_append_sid(this_profile_mxurl("mode=buddy&sub=ignore&b=" . $view_userdata['user_id'] . "&set=remove" . $from)); $title = $lang['Remove_from_ignore_list']; $icon = $images['profilecp_icon_ignore_remove']; *************** *** 193,198 **** else if (!is_admin($userdata) && !is_admin($view_userdata) && (get_user_level($userdata) != MOD) && (get_user_level($view_userdata) != MOD) && !$view_userdata['user_my_friend']) { ! // $temp_url = append_sid("./profile.$phpEx?mode=buddy&sub=ignore&b=" . $view_userdata['user_id'] . "&set=add" . $from); ! $temp_url = append_sid(this_profile_mxurl("mode=buddy&sub=ignore&b=" . $view_userdata['user_id'] . "&set=add" . $from)); $title = $lang['Add_to_ignore_list']; $icon = $images['profilecp_icon_ignore_add']; --- 193,198 ---- else if (!is_admin($userdata) && !is_admin($view_userdata) && (get_user_level($userdata) != MOD) && (get_user_level($view_userdata) != MOD) && !$view_userdata['user_my_friend']) { ! // $temp_url = mx_append_sid("./profile.$phpEx?mode=buddy&sub=ignore&b=" . $view_userdata['user_id'] . "&set=add" . $from); ! $temp_url = mx_append_sid(this_profile_mxurl("mode=buddy&sub=ignore&b=" . $view_userdata['user_id'] . "&set=add" . $from)); $title = $lang['Add_to_ignore_list']; $icon = $images['profilecp_icon_ignore_add']; *************** *** 227,232 **** if ( $view_userdata['user_id'] != ANONYMOUS ) { ! // $temp_url = append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']); ! $temp_url = append_sid(this_profile_mxurl("mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id'])); $img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_profile'] . '" border="0" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" /></a>'; } --- 227,232 ---- if ( $view_userdata['user_id'] != ANONYMOUS ) { ! // $temp_url = mx_append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']); ! $temp_url = mx_append_sid(this_profile_mxurl("mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id'])); $img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_profile'] . '" border="0" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" /></a>'; } *************** *** 254,259 **** if ( $view_userdata['user_id'] != ANONYMOUS ) { ! // $temp_url = append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']); ! $temp_url = append_sid(this_profile_mxurl("mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id'])); $txt = '<a href="' . $temp_url . '" title="' . $lang['Read_profile'] . '" class="' . get_user_level_class($view_userdata['user_level'], 'gen', $view_userdata) . '">' . $username . '</a>'; $img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_profile'] . '" border="0" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" /></a>'; --- 254,259 ---- if ( $view_userdata['user_id'] != ANONYMOUS ) { ! // $temp_url = mx_append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']); ! $temp_url = mx_append_sid(this_profile_mxurl("mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id'])); $txt = '<a href="' . $temp_url . '" title="' . $lang['Read_profile'] . '" class="' . get_user_level_class($view_userdata['user_level'], 'gen', $view_userdata) . '">' . $username . '</a>'; $img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_profile'] . '" border="0" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" /></a>'; *************** *** 284,289 **** if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) && ($userdata['user_id'] != ANONYMOUS) ) { ! $temp_url = append_sid($phpbb_root_path . "privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']); ! // $temp_url = append_sid("./privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']); $txt = '<a href="' . $temp_url . '" title="' . $lang['Send_private_message'] . '">' . $lang['Send_private_message'] . '</a>'; $img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>'; --- 284,289 ---- if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) && ($userdata['user_id'] != ANONYMOUS) ) { ! $temp_url = mx_append_sid($phpbb_root_path . "privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']); ! // $temp_url = mx_append_sid("./privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']); $txt = '<a href="' . $temp_url . '" title="' . $lang['Send_private_message'] . '">' . $lang['Send_private_message'] . '</a>'; $img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>'; *************** *** 317,322 **** if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) ) { ! // $temp_url = ( $board_config['board_email_form'] ) ? append_sid("./profile.$phpEx?mode=email&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : 'mailto:' . $view_userdata[$field_name]; ! $temp_url = ( $board_config['board_email_form'] ) ? append_sid(this_profile_mxurl("mode=email&" . POST_USERS_URL . '=' . $view_userdata['user_id'])) : 'mailto:' . $view_userdata[$field_name]; $txt_title = ( is_admin($userdata) || $user_maps[$map_name]['fields'][$field_name]['img'] || $board_config['board_email_form'] ) ? $lang['Send_email'] : $view_userdata[$field_name]; --- 317,322 ---- if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) ) { ! // $temp_url = ( $board_config['board_email_form'] ) ? mx_append_sid("./profile.$phpEx?mode=email&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : 'mailto:' . $view_userdata[$field_name]; ! $temp_url = ( $board_config['board_email_form'] ) ? mx_append_sid(this_profile_mxurl("mode=email&" . POST_USERS_URL . '=' . $view_userdata['user_id'])) : 'mailto:' . $view_userdata[$field_name]; $txt_title = ( is_admin($userdata) || $user_maps[$map_name]['fields'][$field_name]['img'] || $board_config['board_email_form'] ) ? $lang['Send_email'] : $view_userdata[$field_name]; *************** *** 351,355 **** $icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $view_userdata[$field_name] . '"><img src="' . $images['profilecp_icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $view_userdata[$field_name] . '" border="0" /></a>'; $txt = '<a href="' . $temp_url . '" title="' . $view_userdata[$field_name] . '" title="' . $view_userdata[$field_name] . '">' . $lang['ICQ'] . '</a>'; ! $img = '<table cellspacing="0" cellpadding="0" border="0"><tr><td><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 . '\'); --- 351,355 ---- $icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $view_userdata[$field_name] . '"><img src="' . $images['profilecp_icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $view_userdata[$field_name] . '" border="0" /></a>'; $txt = '<a href="' . $temp_url . '" title="' . $view_userdata[$field_name] . '" title="' . $view_userdata[$field_name] . '">' . $lang['ICQ'] . '</a>'; ! $img = '<table cellspacing="0" cellpadding="0" border="0"><tr><td><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 . '\'); *************** *** 426,431 **** if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) ) { ! // $temp_url = (substr($map_name, 0, 6) == 'PHPBB.') ? append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : 'mailto:' . $view_userdata[$field_name]; ! $temp_url = (substr($map_name, 0, 6) == 'PHPBB.') ? append_sid(this_profile_mxurl("mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id'])) : 'mailto:' . $view_userdata[$field_name]; $txt = '<a href="' . $temp_url . '" title="' . $view_userdata[$field_name] . '">' . $lang['MSNM'] . '</a>'; $img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $view_userdata[$field_name] . '" border="0" /></a>'; --- 426,431 ---- if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) ) { ! // $temp_url = (substr($map_name, 0, 6) == 'PHPBB.') ? mx_append_sid("./profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : 'mailto:' . $view_userdata[$field_name]; ! $temp_url = (substr($map_name, 0, 6) == 'PHPBB.') ? mx_append_sid(this_profile_mxurl("mode=viewprofile&" . POST_USERS_URL . '=' . $view_userdata['user_id'])) : 'mailto:' . $view_userdata[$field_name]; $txt = '<a href="' . $temp_url . '" title="' . $view_userdata[$field_name] . '">' . $lang['MSNM'] . '</a>'; $img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $view_userdata[$field_name] . '" border="0" /></a>'; *************** *** 457,461 **** if ( $view_userdata[$field_name] == $offset ) { ! $txt = $value . ' (' . create_date($userdata['user_dateformat'], time(), $view_userdata['user_timezone']) . ')'; $img = '<img src="' . $images['tz_' . $offset] . '" border="0" alt="' . $value . '" title="' . $txt .'" />'; break; --- 457,461 ---- if ( $view_userdata[$field_name] == $offset ) { ! $txt = $value . ' (' . phpBB2::create_date($userdata['user_dateformat'], time(), $view_userdata['user_timezone']) . ')'; $img = '<img src="' . $images['tz_' . $offset] . '" border="0" alt="' . $value . '" title="' . $txt .'" />'; break; *************** *** 558,563 **** if ( !empty($view_userdata['user_birthday']) && ($view_userdata['user_id'] != ANONYMOUS) ) { ! // $temp_url = $pm_display ? append_sid("./privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : ''; ! $temp_url = $pm_display ? append_sid($phpbb_root_path . "privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : ''; $img = ( intval(substr($view_userdata['user_birthday'], 4, 4)) == date('md', time()) ) ? ( $pm_display ? '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_birthday'] . '" border="0" alt="' . $lang['Happy_birthday'] . '" title="' . $lang['Happy_birthday'] . '" /></a>' : '<img src="' . $images['profilecp_icon_birthday'] . '" border="0" alt="' . $lang['Happy_birthday'] . '" title="' . $lang['Happy_birthday'] . '" />') : ''; $txt = date('Y', time()) - intval(substr($view_userdata['user_birthday'], 0, 4)); --- 558,563 ---- if ( !empty($view_userdata['user_birthday']) && ($view_userdata['user_id'] != ANONYMOUS) ) { ! // $temp_url = $pm_display ? mx_append_sid("./privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : ''; ! $temp_url = $pm_display ? mx_append_sid($phpbb_root_path . "privmsg.$phpEx?mode=post&" . POST_USERS_URL . '=' . $view_userdata['user_id']) : ''; $img = ( intval(substr($view_userdata['user_birthday'], 4, 4)) == date('md', time()) ) ? ( $pm_display ? '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_birthday'] . '" border="0" alt="' . $lang['Happy_birthday'] . '" title="' . $lang['Happy_birthday'] . '" /></a>' : '<img src="' . $images['profilecp_icon_birthday'] . '" border="0" alt="' . $lang['Happy_birthday'] . '" title="' . $lang['Happy_birthday'] . '" />') : ''; $txt = date('Y', time()) - intval(substr($view_userdata['user_birthday'], 0, 4)); *************** *** 650,654 **** { $user_sig = $view_userdata[$field_name]; ! $user_sig_bbcode_uid = $view_userdata[$field_name . '_bbcode_uid']; if ( !$board_config['allow_html'] && $userdata['user_allowhtml']) { --- 650,654 ---- { $user_sig = $view_userdata[$field_name]; ! $user_sig_bbcode_uid = $view_userdata[$field_name . '_bbcode_uid']; if ( !$board_config['allow_html'] && $userdata['user_allowhtml']) { *************** *** 691,695 **** if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) ) { ! $txt = create_date($lang['DATE_FORMAT'], $view_userdata[$field_name], $userdata['user_timezone']); if ( substr($map_name, 0, 4) == 'PCP.' ) { --- 691,695 ---- if ( !empty($view_userdata[$field_name]) && ($view_userdata['user_id'] != ANONYMOUS) ) { ! $txt = phpBB2::create_date($lang['DATE_FORMAT'], $view_userdata[$field_name], $userdata['user_timezone']); if ( substr($map_name, 0, 4) == 'PCP.' ) { *************** *** 718,723 **** if ( !empty($view_userdata['user_posts']) && ($view_userdata['user_id'] != ANONYMOUS) ) { ! // $temp_url = append_sid("./search.$phpEx?search_author=" . urlencode($view_userdata['username']) . "&showresults=posts"); ! $temp_url = append_sid($phpbb_root_path . "search.$phpEx?search_author=" . urlencode($view_userdata['username']) . "&showresults=posts"); $img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_search'] . '" alt="' . sprintf($lang['Search_user_posts'], $view_userdata['username']) . '" title="' . sprintf($lang['Search_user_posts'], $view_userdata['username']) . '" border="0" /></a>'; if ( !$user_maps[$map_name]['fields'][$field_name]['img'] ) --- 718,723 ---- if ( !empty($view_userdata['user_posts']) && ($view_userdata['user_id'] != ANONYMOUS) ) { ! // $temp_url = mx_append_sid("./search.$phpEx?search_author=" . urlencode($view_userdata['username']) . "&showresults=posts"); ! $temp_url = mx_append_sid($phpbb_root_path . "search.$phpEx?search_author=" . urlencode($view_userdata['username']) . "&showresults=posts"); $img = '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_search'] . '" alt="' . sprintf($lang['Search_user_posts'], $view_userdata['username']) . '" title="' . sprintf($lang['Search_user_posts'], $view_userdata['username']) . '" border="0" /></a>'; if ( !$user_maps[$map_name]['fields'][$field_name]['img'] ) *************** *** 727,731 **** $posts_per_day = $view_userdata['user_posts'] / max(1, round( (time() - $view_userdata['user_regdate']) / 86400 )); ! $total_posts = get_db_stat('postcount'); $percentage = ( $total_posts ) ? ( ($view_userdata['user_posts'] * 100) / $total_posts ) : 0; $txt .= ( empty($txt) ? '' : '<br />' ) . sprintf('[' . $lang['User_post_stats'] . ']', $view_userdata['user_posts'], $percentage, $posts_per_day); --- 727,731 ---- $posts_per_day = $view_userdata['user_posts'] / max(1, round( (time() - $view_userdata['user_regdate']) / 86400 )); ! $total_posts = phpBB2::get_db_stat('postcount'); $percentage = ( $total_posts ) ? ( ($view_userdata['user_posts'] * 100) / $total_posts ) : 0; $txt .= ( empty($txt) ? '' : '<br />' ) . sprintf('[' . $lang['User_post_stats'] . ']', $view_userdata['user_posts'], $percentage, $posts_per_day); *************** *** 789,793 **** $orig_word = array(); $replacement_word = array(); ! obtain_word_list($orig_word, $replacement_word); // get the info --- 789,793 ---- $orig_word = array(); $replacement_word = array(); ! phpBB2::obtain_word_list($orig_word, $replacement_word); // get the info *************** *** 803,808 **** { // topic ! // $temp_url = append_sid("./viewtopic.$phpEx?" . POST_TOPIC_URL . "=$most_active_topic_id"); ! $temp_url = append_sid($phpbb_root_path . "viewtopic.$phpEx?" . POST_TOPIC_URL . "=$most_active_topic_id"); $txt = '<a href="' . $temp_url . '" class="topictitle">' . $most_active_topic_title . '</a>'; $txt .= '<br /><span class="genmed">' . sprintf( '[' . $lang['Most_active_topic_stat'] . ']', $most_active_topic_posts, ( ($most_active_topic_posts*100) / $most_active_topic_posts_total ), ( ($most_active_topic_posts*100) / $most_active_topic_posts_total_forum ) ) . '</span>'; --- 803,808 ---- { // topic ! // $temp_url = mx_append_sid("./viewtopic.$phpEx?" . POST_TOPIC_URL . "=$most_active_topic_id"); ! $temp_url = mx_append_sid($phpbb_root_path . "viewtopic.$phpEx?" . POST_TOPIC_URL . "=$most_active_topic_id"); $txt = '<a href="' . $temp_url . '" class="topictitle">' . $most_active_topic_title . '</a>'; $txt .= '<br /><span class="genmed">' . sprintf( '[' . $lang['Most_active_topic_stat'] . ']', $most_active_topic_posts, ( ($most_active_topic_posts*100) / $most_active_topic_posts_total ), ( ($most_active_topic_posts*100) / $most_active_topic_posts_total_forum ) ) . '</span>'; *************** *** 836,840 **** $most_active_forum_posts = 0; $most_active_forum_posts_total = 0; ! $total_posts = get_db_stat('postcount'); $is_auth = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata); --- 836,840 ---- $most_active_forum_posts = 0; $most_active_forum_posts_total = 0; ! $total_posts = phpBB2::get_db_stat('postcount'); $is_auth = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata); *************** *** 874,879 **** { // forum ! // $temp_url = append_sid("./viewforum.$phpEx?" . POST_FORUM_URL . "=$most_active_forum_id"); ! $temp_url = append_sid($phpbb_root_path . "viewforum.$phpEx?" . POST_FORUM_URL . "=$most_active_forum_id"); $txt = '<a href="' . $temp_url . '" class="topictitle">' . $most_active_forum_name . '</a>'; $txt .= '<br /><span class="genmed">' . sprintf( '[' . $lang['Most_active_forum_stat'] . ']', $most_active_forum_posts, ( ($most_active_forum_posts*100) / $most_active_forum_posts_total ), ( ($most_active_forum_posts*100) / $total_posts ) ) . '</span>'; --- 874,879 ---- { // forum ! // $temp_url = mx_append_sid("./viewforum.$phpEx?" . POST_FORUM_URL . "=$most_active_forum_id"); ! $temp_url = mx_append_sid($phpbb_root_path . "viewforum.$phpEx?" . POST_FORUM_URL . "=$most_active_forum_id"); $txt = '<a href="' . $temp_url . '" class="topictitle">' . $most_active_forum_name . '</a>'; $txt .= '<br /><span class="genmed">' . sprintf( '[' . $lang['Most_active_forum_stat'] . ']', $most_active_forum_posts, ( ($most_active_forum_posts*100) / $most_active_forum_posts_total ), ( ($most_active_forum_posts*100) / $total_posts ) ) . '</span>'; *************** *** 903,907 **** $sav_tpl = ''; $is_ok = ''; ! if ( $view_userdata['user_id'] != ANONYMOUS ) { --- 903,907 ---- $sav_tpl = ''; $is_ok = ''; ! if ( $view_userdata['user_id'] != ANONYMOUS ) { *************** *** 917,938 **** // groupes ! $sql = "SELECT ! g.group_id, ! g.group_name, ! g.group_description, ! g.group_type ! FROM ! " . USER_GROUP_TABLE . " l, ! " . GROUPS_TABLE . " g ! WHERE l.user_pending = 0 ! AND g.group_single_user = 0 AND l.user_id = " . $view_userdata['user_id'] . " ! AND g.group_id = l.group_id ! ORDER BY ! g.group_name, g.group_id"; ! if ( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not read groups', '', __LINE__, __FILE__, $sql); } $groups = array(); --- 917,938 ---- // groupes ! $sql = "SELECT ! g.group_id, ! g.group_name, ! g.group_description, ! g.group_type ! FROM ! " . USER_GROUP_TABLE . " l, ! " . GROUPS_TABLE . " g ! WHERE l.user_pending = 0 ! AND g.group_single_user = 0 AND l.user_id = " . $view_userdata['user_id'] . " ! AND g.group_id = l.group_id ! ORDER BY ! g.group_name, g.group_id"; ! if ( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not read groups', '', __LINE__, __FILE__, $sql); } $groups = array(); *************** *** 949,953 **** ); $nb = 0; ! if (count($groups) > 0) { --- 949,953 ---- ); $nb = 0; ! if (count($groups) > 0) { *************** *** 966,971 **** { $group_id = $groups[$ii]['group_id']; ! $sql = "SELECT * FROM " . USER_GROUP_TABLE . " ! WHERE group_id = $group_id AND user_id = " . $userdata['user_id'] . " AND user_pending=0"; --- 966,971 ---- { $group_id = $groups[$ii]['group_id']; ! $sql = "SELECT * FROM " . USER_GROUP_TABLE . " ! WHERE group_id = $group_id AND user_id = " . $userdata['user_id'] . " AND user_pending=0"; *************** *** 982,987 **** $nb++; $class = !$class; ! // $u_group_name = append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . '=' . $groups[$i]['group_id']); ! $u_group_name = append_sid($phpbb_root_path . "groupcp.$phpEx?" . POST_GROUPS_URL . '=' . $groups[$ii]['group_id']); $l_group_name = $groups[$ii]['group_name']; $l_group_desc = $groups[$ii]['group_description']; --- 982,987 ---- $nb++; $class = !$class; ! // $u_group_name = mx_append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . '=' . $groups[$i]['group_id']); ! $u_group_name = mx_append_sid($phpbb_root_path . "groupcp.$phpEx?" . POST_GROUPS_URL . '=' . $groups[$ii]['group_id']); $l_group_name = $groups[$ii]['group_name']; $l_group_desc = $groups[$ii]['group_description']; *************** *** 1006,1010 **** // $template->assign_var_from_handle('_box', '_box_groups'); // $txt = $template->_tpldata['.'][0]['_box']; ! $txt = '<a href="' . $u_group_name . '" title="' . $l_group_name . '">' . $l_group_name . '</a>'; --- 1006,1010 ---- // $template->assign_var_from_handle('_box', '_box_groups'); // $txt = $template->_tpldata['.'][0]['_box']; ! $txt = '<a href="' . $u_group_name . '" title="' . $l_group_name . '">' . $l_group_name . '</a>'; |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:35:03
|
Update of /cvsroot/mxbb/mx_profilecp/tutorials/samples In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29949 Modified Files: profilcp_new_panel.php profilcp_newmenu_newsub1.php profilcp_newmenu_newsub2.php Log Message: for 2.9.x Index: profilcp_new_panel.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/tutorials/samples/profilcp_new_panel.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_new_panel.php 22 Sep 2005 21:26:06 -0000 1.4 --- profilcp_new_panel.php 9 Sep 2007 20:34:18 -0000 1.5 *************** *** 89,99 **** $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['profilcp_field_num_missing']; } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_field_alpha = '" . $field_alpha . "', user_field_num = " . (($field_num == 0) ? '0' : $field_num ) . " --- 89,99 ---- $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['profilcp_field_num_missing']; } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_field_alpha = '" . $field_alpha . "', user_field_num = " . (($field_num == 0) ? '0' : $field_num ) . " *************** *** 130,134 **** $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => append_sid(this_profile_mxurl()), ) ); --- 130,134 ---- $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => mx_append_sid(this_profile_mxurl()), ) ); Index: profilcp_newmenu_newsub1.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/tutorials/samples/profilcp_newmenu_newsub1.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_newmenu_newsub1.php 22 Sep 2005 21:26:06 -0000 1.4 --- profilcp_newmenu_newsub1.php 9 Sep 2007 20:34:18 -0000 1.5 *************** *** 68,78 **** $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['profilcp_field_num_missing']; } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_field_alpha = '" . $field_alpha . "', user_field_num = " . (($field_num == 0) ? '0' : $field_num ) . " --- 68,78 ---- $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['profilcp_field_num_missing']; } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_field_alpha = '" . $field_alpha . "', user_field_num = " . (($field_num == 0) ? '0' : $field_num ) . " *************** *** 109,113 **** $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => append_sid(this_profile_mxurl()), ) ); --- 109,113 ---- $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => mx_append_sid(this_profile_mxurl()), ) ); Index: profilcp_newmenu_newsub2.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/tutorials/samples/profilcp_newmenu_newsub2.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_newmenu_newsub2.php 22 Sep 2005 21:26:06 -0000 1.4 --- profilcp_newmenu_newsub2.php 9 Sep 2007 20:34:18 -0000 1.5 *************** *** 68,78 **** $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['profilcp_field_num_missing']; } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_field_alpha = '" . $field_alpha . "', user_field_num = " . (($field_num == 0) ? '0' : $field_num ) . " --- 68,78 ---- $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['profilcp_field_num_missing']; } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_field_alpha = '" . $field_alpha . "', user_field_num = " . (($field_num == 0) ? '0' : $field_num ) . " *************** *** 109,113 **** $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => append_sid(this_profile_mxurl()), ) ); --- 109,113 ---- $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => mx_append_sid(this_profile_mxurl()), ) ); |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:34:52
|
Update of /cvsroot/mxbb/mx_profilecp/includes/mods_settings In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29540 Modified Files: mod_profile_control_panel.php Log Message: for 2.9.x Index: mod_profile_control_panel.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/includes/mods_settings/mod_profile_control_panel.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mod_profile_control_panel.php 5 Apr 2006 23:04:42 -0000 1.4 --- mod_profile_control_panel.php 9 Sep 2007 20:33:47 -0000 1.5 *************** *** 115,123 **** // define a set of date presentation $timeset = array( ! 'D m d, Y g:i a', ! 'D d-m-Y, G:i', ! 'M Y, D d, g:i a', ! 'D d M Y, G:i', ! 'd M Y h:i a', 'd M Y, G:i', 'D M d, Y g:i a', --- 115,123 ---- // define a set of date presentation $timeset = array( ! 'D m d, Y g:i a', ! 'D d-m-Y, G:i', ! 'M Y, D d, g:i a', ! 'D d M Y, G:i', ! 'd M Y h:i a', 'd M Y, G:i', 'D M d, Y g:i a', *************** *** 133,137 **** $selected = ($value == $timeset[$i]) ? ' selected="selected"' : ''; if ($selected != '') $found = true; ! $s_time .= '<option value="' . $timeset[$i] . '"' . $selected . '>' . create_date($timeset[$i], $time, $userdata['user_timezone']) . '</option>'; } $selected = ( !$found ) ? ' selected="selected"' : ''; --- 133,137 ---- $selected = ($value == $timeset[$i]) ? ' selected="selected"' : ''; if ($selected != '') $found = true; ! $s_time .= '<option value="' . $timeset[$i] . '"' . $selected . '>' . phpBB2::create_date($timeset[$i], $time, $userdata['user_timezone']) . '</option>'; } $selected = ( !$found ) ? ' selected="selected"' : ''; *************** *** 214,221 **** global $board_config, $lang, $userdata; ! $months = array( ' ------------ ', ! $lang['datetime']['January'], ! $lang['datetime']['February'], $lang['datetime']['March'], $lang['datetime']['April'], --- 214,221 ---- global $board_config, $lang, $userdata; ! $months = array( ' ------------ ', ! $lang['datetime']['January'], ! $lang['datetime']['February'], $lang['datetime']['March'], $lang['datetime']['April'], *************** *** 479,486 **** // single user group ! $sql = "SELECT g.group_id ! FROM " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g ! WHERE ug.user_id = $view_user_id ! AND g.group_id = ug.group_id AND g.group_single_user = 1"; if ( !$result = $db->sql_query($sql) ) --- 479,486 ---- // single user group ! $sql = "SELECT g.group_id ! FROM " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g ! WHERE ug.user_id = $view_user_id ! AND g.group_id = ug.group_id AND g.group_single_user = 1"; if ( !$result = $db->sql_query($sql) ) *************** *** 494,498 **** $username = str_replace("'", "\'", $username); $sql = "UPDATE " . POSTS_TABLE . " ! SET poster_id = " . DELETED . ", post_username = '$username' WHERE poster_id = $view_user_id"; if ( !$db->sql_query($sql) ) --- 494,498 ---- $username = str_replace("'", "\'", $username); $sql = "UPDATE " . POSTS_TABLE . " ! SET poster_id = " . DELETED . ", post_username = '$username' WHERE poster_id = $view_user_id"; if ( !$db->sql_query($sql) ) *************** *** 503,507 **** // topic poster name $sql = "UPDATE " . TOPICS_TABLE . " ! SET topic_poster = " . DELETED . " WHERE topic_poster = $view_user_id"; if ( !$db->sql_query($sql) ) --- 503,507 ---- // topic poster name $sql = "UPDATE " . TOPICS_TABLE . " ! SET topic_poster = " . DELETED . " WHERE topic_poster = $view_user_id"; if ( !$db->sql_query($sql) ) *************** *** 534,538 **** { $update_moderator_id = implode(', ', $group_moderator); ! $sql = "UPDATE " . GROUPS_TABLE . " SET group_moderator = $replace_user_id --- 534,538 ---- { $update_moderator_id = implode(', ', $group_moderator); ! $sql = "UPDATE " . GROUPS_TABLE . " SET group_moderator = $replace_user_id *************** *** 575,579 **** $sql = "SELECT privmsgs_id FROM " . PRIVMSGS_TABLE . " ! WHERE privmsgs_from_userid = $view_user_id OR privmsgs_to_userid = $view_user_id"; if ( !$result = $db->sql_query($sql) ) --- 575,579 ---- $sql = "SELECT privmsgs_id FROM " . PRIVMSGS_TABLE . " ! WHERE privmsgs_from_userid = $view_user_id OR privmsgs_to_userid = $view_user_id"; if ( !$result = $db->sql_query($sql) ) |
Update of /cvsroot/mxbb/mx_profilecp/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29066/admin Modified Files: admin_board_extend.php admin_lang_extend.php admin_pcp_classesfields.php admin_pcp_tableslinked.php admin_pcp_userfields.php admin_pcp_valueslist.php Log Message: for 2.9.x Index: admin_pcp_userfields.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/admin/admin_pcp_userfields.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_pcp_userfields.php 2 May 2006 23:28:36 -0000 1.5 --- admin_pcp_userfields.php 9 Sep 2007 20:33:04 -0000 1.6 *************** *** 707,711 **** // prepare feedback message ! $return_path = append_sid("./admin_pcp_userfields.$phpEx"); $message = empty($sql_result) ? sprintf( ( ($action == 'create') ? $lang['PCP_sql_field_created'] : $lang['PCP_sql_field_modified'] ), '<a href="' . $return_path . '" />', '</a>' ) : $sql_result; mx_message_die( GENERAL_MESSAGE, $message ); --- 707,711 ---- // prepare feedback message ! $return_path = mx_append_sid("./admin_pcp_userfields.$phpEx"); $message = empty($sql_result) ? sprintf( ( ($action == 'create') ? $lang['PCP_sql_field_created'] : $lang['PCP_sql_field_modified'] ), '<a href="' . $return_path . '" />', '</a>' ) : $sql_result; mx_message_die( GENERAL_MESSAGE, $message ); *************** *** 786,790 **** $s_hidden_fields .= '<input type="hidden" name="old" value="' . $old . '" />'; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_pcp_userfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 786,790 ---- $s_hidden_fields .= '<input type="hidden" name="old" value="' . $old . '" />'; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_pcp_userfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) *************** *** 816,820 **** // perform the deletion $sql_result = pcp_sql_query($field, 'delete'); ! $return_path = append_sid("./admin_pcp_userfields.$phpEx"); $message = empty($sql_result) ? sprintf( $lang['PCP_sql_field_deleted'], '<a href="' . $return_path . '" />', '</a>' ) : $sql_result; mx_message_die(GENERAL_MESSAGE, $message); --- 816,820 ---- // perform the deletion $sql_result = pcp_sql_query($field, 'delete'); ! $return_path = mx_append_sid("./admin_pcp_userfields.$phpEx"); $message = empty($sql_result) ? sprintf( $lang['PCP_sql_field_deleted'], '<a href="' . $return_path . '" />', '</a>' ) : $sql_result; mx_message_die(GENERAL_MESSAGE, $message); *************** *** 858,862 **** $s_hidden_fields .= '<input type="hidden" name="field" value="' . $field . '" />'; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_pcp_userfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 858,862 ---- $s_hidden_fields .= '<input type="hidden" name="field" value="' . $field . '" />'; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_pcp_userfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) *************** *** 961,965 **** // prepare feedback message ! $return_path = append_sid("./admin_pcp_userfields.$phpEx"); $message = sprintf( $lang['PCP_field_deleted'], '<a href="' . $return_path . '" />', '</a>' ); --- 961,965 ---- // prepare feedback message ! $return_path = mx_append_sid("./admin_pcp_userfields.$phpEx"); $message = sprintf( $lang['PCP_field_deleted'], '<a href="' . $return_path . '" />', '</a>' ); *************** *** 1025,1029 **** // dump to template $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_pcp_userfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 1025,1029 ---- // dump to template $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_pcp_userfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) *************** *** 1195,1209 **** if ( $sql_create ) { ! $link = append_sid("./admin_pcp_userfields.$phpEx?mode=sqlcreate&field=$new_field_name"); $sql_message = sprintf($lang['PCP_SQL_create_field'], '<a href="' . $link . '">', '</a>'); } else if ($sql_modify) { ! $link = append_sid("./admin_pcp_userfields.$phpEx?mode=sqledit&field=$new_field_name" . ( ($field_name == $field) ? '' : "&old=$field")); $sql_message = sprintf($lang['PCP_SQL_modify_field'], '<a href="' . $link . '">', '</a>'); } // send created/updated message ! $return_path = append_sid("./admin_pcp_userfields.$phpEx"); $message = sprintf( ( empty($field) ? $lang['PCP_field_created'] : $lang['PCP_field_modified'] ), $sql_message, '<a href="' . $return_path . '"/>', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); --- 1195,1209 ---- if ( $sql_create ) { ! $link = mx_append_sid("./admin_pcp_userfields.$phpEx?mode=sqlcreate&field=$new_field_name"); $sql_message = sprintf($lang['PCP_SQL_create_field'], '<a href="' . $link . '">', '</a>'); } else if ($sql_modify) { ! $link = mx_append_sid("./admin_pcp_userfields.$phpEx?mode=sqledit&field=$new_field_name" . ( ($field_name == $field) ? '' : "&old=$field")); $sql_message = sprintf($lang['PCP_SQL_modify_field'], '<a href="' . $link . '">', '</a>'); } // send created/updated message ! $return_path = mx_append_sid("./admin_pcp_userfields.$phpEx"); $message = sprintf( ( empty($field) ? $lang['PCP_field_created'] : $lang['PCP_field_modified'] ), $sql_message, '<a href="' . $return_path . '"/>', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); *************** *** 1299,1303 **** $s_hidden_fields .= '<input type="hidden" name="order" value="' . $order . '" />'; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_pcp_userfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 1299,1303 ---- $s_hidden_fields .= '<input type="hidden" name="order" value="' . $order . '" />'; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_pcp_userfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) *************** *** 1369,1373 **** pcp_check_sql_actions($field_name, $fields, $fields_table, $sql_create, $sql_modify, $sql_delete); ! $link = '<a href="' . append_sid("./admin_pcp_userfields.$phpEx?mode=sql%s&field=$field_name&sort=$sort" . ( ($order == 'ASC') ? '' : "&order=$order" )) . '" class="genmed" />%s</a>'; $sql_actions .= ( empty($sql_actions) ? '' : '<br />' ) . ( $sql_create ? sprintf($link, 'create', $lang['Create']) : ''); --- 1369,1373 ---- pcp_check_sql_actions($field_name, $fields, $fields_table, $sql_create, $sql_modify, $sql_delete); ! $link = '<a href="' . mx_append_sid("./admin_pcp_userfields.$phpEx?mode=sql%s&field=$field_name&sort=$sort" . ( ($order == 'ASC') ? '' : "&order=$order" )) . '" class="genmed" />%s</a>'; $sql_actions .= ( empty($sql_actions) ? '' : '<br />' ) . ( $sql_create ? sprintf($link, 'create', $lang['Create']) : ''); *************** *** 1387,1392 **** 'GET_MODE' => ($field_data['type'] == $field_data['get_mode']) ? '' : $field_data['get_mode'], ! 'U_NAME' => append_sid("./admin_pcp_userfields.$phpEx?mode=edit&field=$field_name&sort=$sort" . ( ($order == 'ASC') ? '' : "&order=$order" )), ! 'U_CLASS' => append_sid("./admin_pcp_classesfields.$phpEx?mode=edit&class=" . $field_data['class']), 'SQL_ACTIONS' => $sql_actions, ) --- 1387,1392 ---- 'GET_MODE' => ($field_data['type'] == $field_data['get_mode']) ? '' : $field_data['get_mode'], ! 'U_NAME' => mx_append_sid("./admin_pcp_userfields.$phpEx?mode=edit&field=$field_name&sort=$sort" . ( ($order == 'ASC') ? '' : "&order=$order" )), ! 'U_CLASS' => mx_append_sid("./admin_pcp_classesfields.$phpEx?mode=edit&class=" . $field_data['class']), 'SQL_ACTIONS' => $sql_actions, ) *************** *** 1396,1400 **** $template->assign_block_vars('fields.maps', array( 'NAME' => $maps_usage[$field_name][$i], ! 'U_NAME' => append_sid("./admin_pcp_usermaps.$phpEx?map=" . $maps_usage[$field_name][$i]), ) ); --- 1396,1400 ---- $template->assign_block_vars('fields.maps', array( 'NAME' => $maps_usage[$field_name][$i], ! 'U_NAME' => mx_append_sid("./admin_pcp_usermaps.$phpEx?map=" . $maps_usage[$field_name][$i]), ) ); *************** *** 1410,1414 **** $s_hidden_fields .= '<input type="hidden" name="mode" value="' . $mode . '" />'; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_pcp_userfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 1410,1414 ---- $s_hidden_fields .= '<input type="hidden" name="mode" value="' . $mode . '" />'; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_pcp_userfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) Index: admin_pcp_classesfields.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/admin/admin_pcp_classesfields.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_pcp_classesfields.php 2 May 2006 23:28:36 -0000 1.5 --- admin_pcp_classesfields.php 9 Sep 2007 20:33:04 -0000 1.6 *************** *** 217,221 **** // prepare feedback message ! $return_path = append_sid("./admin_pcp_classesfields.$phpEx"); $message = sprintf( $lang['PCP_classesfields_deleted'], '<a href="' . $return_path . '" />', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); --- 217,221 ---- // prepare feedback message ! $return_path = mx_append_sid("./admin_pcp_classesfields.$phpEx"); $message = sprintf( $lang['PCP_classesfields_deleted'], '<a href="' . $return_path . '" />', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); *************** *** 300,304 **** // prepare feedback message ! $return_path = append_sid("./admin_pcp_classesfields.$phpEx"); $message = sprintf( ( empty($table) ? $lang['PCP_classesfields_created'] : $lang['PCP_classesfields_modified'] ), '<a href="' . $return_path . '" />', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); --- 300,304 ---- // prepare feedback message ! $return_path = mx_append_sid("./admin_pcp_classesfields.$phpEx"); $message = sprintf( ( empty($table) ? $lang['PCP_classesfields_created'] : $lang['PCP_classesfields_modified'] ), '<a href="' . $return_path . '" />', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); *************** *** 394,398 **** $s_hidden_fields .= '<input type="hidden" name="class" value="' . $class . '" />'; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_pcp_classesfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 394,398 ---- $s_hidden_fields .= '<input type="hidden" name="class" value="' . $class . '" />'; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_pcp_classesfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) *************** *** 437,441 **** 'SQL_DEF' => $class_data['sql_def'], ! 'U_NAME' => append_sid("./admin_pcp_classesfields.$phpEx?mode=edit&class=$class_name"), ) ); --- 437,441 ---- 'SQL_DEF' => $class_data['sql_def'], ! 'U_NAME' => mx_append_sid("./admin_pcp_classesfields.$phpEx?mode=edit&class=$class_name"), ) ); *************** *** 445,449 **** $s_hidden_fields = ''; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_pcp_classesfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 445,449 ---- $s_hidden_fields = ''; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_pcp_classesfields.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) Index: admin_lang_extend.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/admin/admin_lang_extend.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_lang_extend.php 2 May 2006 23:28:36 -0000 1.5 --- admin_lang_extend.php 9 Sep 2007 20:33:04 -0000 1.6 *************** *** 514,518 **** // send message ! $pack_url = append_sid("./admin_lang_extend.$phpEx?mode=pack&pack=" . urlencode($pack_file) . "&level=" . urlencode(($level == 'normal') ? 'normal' : 'admin') ); mx_message_die(GENERAL_MESSAGE, sprintf($lang['Lang_extend_delete_done'], '<a href="' . $pack_url . '">', '</a>')); --- 514,518 ---- // send message ! $pack_url = mx_append_sid("./admin_lang_extend.$phpEx?mode=pack&pack=" . urlencode($pack_file) . "&level=" . urlencode(($level == 'normal') ? 'normal' : 'admin') ); mx_message_die(GENERAL_MESSAGE, sprintf($lang['Lang_extend_delete_done'], '<a href="' . $pack_url . '">', '</a>')); *************** *** 603,608 **** // send message ! $key_url = append_sid("./admin_lang_extend.$phpEx?mode=key&pack=" . urlencode($new_pack) . "&key=" . urlencode($new_main) . "&sub=" . urlencode($new_sub) . "&level=" . urlencode(($new_level == 'normal') ? 'normal' : 'admin') ); ! $pack_url = append_sid("./admin_lang_extend.$phpEx?mode=pack&pack=" . urlencode($new_pack) . "&level=" . urlencode(($new_level == 'normal') ? 'normal' : 'admin') ); mx_message_die(GENERAL_MESSAGE, sprintf($lang['Lang_extend_update_done'], '<a href="' . $key_url . '">','</a>', '<a href="' . $pack_url . '">', '</a>')); } --- 603,608 ---- // send message ! $key_url = mx_append_sid("./admin_lang_extend.$phpEx?mode=key&pack=" . urlencode($new_pack) . "&key=" . urlencode($new_main) . "&sub=" . urlencode($new_sub) . "&level=" . urlencode(($new_level == 'normal') ? 'normal' : 'admin') ); ! $pack_url = mx_append_sid("./admin_lang_extend.$phpEx?mode=pack&pack=" . urlencode($new_pack) . "&level=" . urlencode(($new_level == 'normal') ? 'normal' : 'admin') ); mx_message_die(GENERAL_MESSAGE, sprintf($lang['Lang_extend_update_done'], '<a href="' . $key_url . '">','</a>', '<a href="' . $pack_url . '">', '</a>')); } *************** *** 703,707 **** $s_hidden_fields .= '<input type="hidden" name="level" value="' . urlencode($level) . '" />'; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_lang_extend.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 703,707 ---- $s_hidden_fields .= '<input type="hidden" name="level" value="' . urlencode($level) . '" />'; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_lang_extend.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) *************** *** 733,741 **** 'L_PACK' => $lang['Lang_extend_pack'], ! 'U_PACK' => append_sid("./admin_lang_extend.$phpEx"), 'PACK' => lang_extend_get_lang('Lang_extend_' . $packs[$pack_file]), 'L_LEVEL_NEXT' => ($level == 'admin') ? 'normal' : 'admin', ! 'U_LEVEL_NEXT' => append_sid("./admin_lang_extend.$phpEx?mode=pack&pack=" . urlencode($pack_file) . "&level=" . urlencode(($level == 'admin') ? 'normal' : 'admin') ), 'L_KEYS' => $lang['Lang_extend_entries'], --- 733,741 ---- 'L_PACK' => $lang['Lang_extend_pack'], ! 'U_PACK' => mx_append_sid("./admin_lang_extend.$phpEx"), 'PACK' => lang_extend_get_lang('Lang_extend_' . $packs[$pack_file]), 'L_LEVEL_NEXT' => ($level == 'admin') ? 'normal' : 'admin', ! 'U_LEVEL_NEXT' => mx_append_sid("./admin_lang_extend.$phpEx?mode=pack&pack=" . urlencode($pack_file) . "&level=" . urlencode(($level == 'admin') ? 'normal' : 'admin') ), 'L_KEYS' => $lang['Lang_extend_entries'], *************** *** 787,791 **** 'KEY_MAIN' => "['" . $key_main . "']", 'KEY_SUB' => empty($key_sub) ? '' : "['" . $key_sub . "']", ! 'U_KEY' => append_sid("./admin_lang_extend.$phpEx?mode=key&pack=" . urlencode($pack_file) . "&level=" . urlencode($level) . "&key=" . urlencode($key_main) . "&sub=" . urlencode($key_sub)), 'VALUE' => $value, 'STATUS' => $modified_added ? $lang['Lang_extend_added_modified'] : '', --- 787,791 ---- 'KEY_MAIN' => "['" . $key_main . "']", 'KEY_SUB' => empty($key_sub) ? '' : "['" . $key_sub . "']", ! 'U_KEY' => mx_append_sid("./admin_lang_extend.$phpEx?mode=key&pack=" . urlencode($pack_file) . "&level=" . urlencode($level) . "&key=" . urlencode($key_main) . "&sub=" . urlencode($key_sub)), 'VALUE' => $value, 'STATUS' => $modified_added ? $lang['Lang_extend_added_modified'] : '', *************** *** 806,810 **** $s_hidden_fields .= '<input type="hidden" name="level" value="' . urlencode($level) . '" />'; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_lang_extend.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 806,810 ---- $s_hidden_fields .= '<input type="hidden" name="level" value="' . urlencode($level) . '" />'; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_lang_extend.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) *************** *** 836,840 **** if ( empty($search_words) ) { ! $main_url = append_sid("./admin_lang_extend.$phpEx"); mx_message_die(GENERAL_MESSAGE, sprintf($lang['Lang_extend_search_no_words'], '<a href="' . $main_url . '">', '</a>') ); exit; --- 836,840 ---- if ( empty($search_words) ) { ! $main_url = mx_append_sid("./admin_lang_extend.$phpEx"); mx_message_die(GENERAL_MESSAGE, sprintf($lang['Lang_extend_search_no_words'], '<a href="' . $main_url . '">', '</a>') ); exit; *************** *** 980,985 **** 'STATUS' => $modified_added ? $lang['Lang_extend_added_modified'] : '', ! 'U_PACK' => append_sid("./admin_lang_extend.$phpEx?mode=pack&pack=" . urlencode($pack_file) . "&level=" . urlencode($admin ? 'admin' : 'normal')), ! 'U_KEY' => append_sid("./admin_lang_extend.$phpEx?mode=key&pack=" . urlencode($pack_file) . "&level=" . urlencode($admin ? 'admin' : 'normal') . "&key=" . urlencode($key_main). "&sub=" . urlencode($key_sub)), ) ); --- 980,985 ---- 'STATUS' => $modified_added ? $lang['Lang_extend_added_modified'] : '', ! 'U_PACK' => mx_append_sid("./admin_lang_extend.$phpEx?mode=pack&pack=" . urlencode($pack_file) . "&level=" . urlencode($admin ? 'admin' : 'normal')), ! 'U_KEY' => mx_append_sid("./admin_lang_extend.$phpEx?mode=key&pack=" . urlencode($pack_file) . "&level=" . urlencode($admin ? 'admin' : 'normal') . "&key=" . urlencode($key_main). "&sub=" . urlencode($key_sub)), ) ); *************** *** 1001,1005 **** $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_lang_extend.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 1001,1005 ---- $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_lang_extend.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) *************** *** 1047,1052 **** 'COLOR' => $color ? 'row1' : 'row2', 'PACK' => lang_extend_get_lang('Lang_extend_' . $pack_name), ! 'U_PACK_ADMIN' => append_sid("./admin_lang_extend.$phpEx?mode=pack&pack=" . urlencode($pack_file) . "&level=admin"), ! 'U_PACK_NORMAL' => append_sid("./admin_lang_extend.$phpEx?mode=pack&pack=" . urlencode($pack_file) . "&level=normal"), ) ); --- 1047,1052 ---- 'COLOR' => $color ? 'row1' : 'row2', 'PACK' => lang_extend_get_lang('Lang_extend_' . $pack_name), ! 'U_PACK_ADMIN' => mx_append_sid("./admin_lang_extend.$phpEx?mode=pack&pack=" . urlencode($pack_file) . "&level=admin"), ! 'U_PACK_NORMAL' => mx_append_sid("./admin_lang_extend.$phpEx?mode=pack&pack=" . urlencode($pack_file) . "&level=normal"), ) ); *************** *** 1103,1107 **** $s_hidden_fields = ''; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_lang_extend.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 1103,1107 ---- $s_hidden_fields = ''; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_lang_extend.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) Index: admin_board_extend.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/admin/admin_board_extend.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_board_extend.php 2 May 2006 23:28:36 -0000 1.5 --- admin_board_extend.php 9 Sep 2007 20:33:04 -0000 1.6 *************** *** 266,270 **** if ($error) { ! $message = $error_msg . '<br /><br />' . sprintf($lang['Click_return_config'], '<a href="' . append_sid("./admin_board_extend.$phpEx?menu=$menu_id&mod=$mod_id&msub=$sub_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid("./index.$phpEx?pane=right") . '">', '</a>'); mx_message_die(GENERAL_MESSAGE, $message); } --- 266,270 ---- if ($error) { ! $message = $error_msg . '<br /><br />' . sprintf($lang['Click_return_config'], '<a href="' . mx_append_sid("./admin_board_extend.$phpEx?menu=$menu_id&mod=$mod_id&msub=$sub_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . mx_append_sid("./index.$phpEx?pane=right") . '">', '</a>'); mx_message_die(GENERAL_MESSAGE, $message); } *************** *** 301,305 **** // send an update message ! $message = $lang['Config_updated'] . '<br /><br />' . sprintf($lang['Click_return_config'], '<a href="' . append_sid("./admin_board_extend.$phpEx?menu=$menu_id&mod=$mod_id&msub=$sub_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid("./index.$phpEx?pane=right") . '">', '</a>'); mx_message_die(GENERAL_MESSAGE, $message); } --- 301,305 ---- // send an update message ! $message = $lang['Config_updated'] . '<br /><br />' . sprintf($lang['Click_return_config'], '<a href="' . mx_append_sid("./admin_board_extend.$phpEx?menu=$menu_id&mod=$mod_id&msub=$sub_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . mx_append_sid("./index.$phpEx?pane=right") . '">', '</a>'); mx_message_die(GENERAL_MESSAGE, $message); } *************** *** 335,339 **** $template->assign_block_vars('menu', array( 'CLASS' => ($menu_id == $i) ? ( (count($mod_keys[$i]) > 1) ? 'row3' : 'row1' ) : 'row2', ! 'U_MENU' => append_sid("./admin_board_extend.$phpEx?menu=$i"), 'L_MENU' => sprintf( ( ($menu_id == $i) ? '<b>%s</b>' : '%s' ), mods_settings_get_lang($l_menu) ), ) --- 335,339 ---- $template->assign_block_vars('menu', array( 'CLASS' => ($menu_id == $i) ? ( (count($mod_keys[$i]) > 1) ? 'row3' : 'row1' ) : 'row2', ! 'U_MENU' => mx_append_sid("./admin_board_extend.$phpEx?menu=$i"), 'L_MENU' => sprintf( ( ($menu_id == $i) ? '<b>%s</b>' : '%s' ), mods_settings_get_lang($l_menu) ), ) *************** *** 362,366 **** 'CLASS' => ( ($menu_id == $i) && ($mod_id == $j) ) ? 'row1' : 'row2', 'ALIGN' => ( ($menu_id == $i) && ($mod_id == $j) && (count($sub_keys[$i][$j]) > 1) ) ? 'left' : 'center', ! 'U_MOD' => append_sid("./admin_board_extend.$phpEx?menu=$i&mod=$j"), 'L_MOD' => sprintf( ( ( ($menu_id == $i) && ($mod_id == $j) ) ? '<b>%s</b>' : '%s' ), mods_settings_get_lang($l_mod) ), ) --- 362,366 ---- 'CLASS' => ( ($menu_id == $i) && ($mod_id == $j) ) ? 'row1' : 'row2', 'ALIGN' => ( ($menu_id == $i) && ($mod_id == $j) && (count($sub_keys[$i][$j]) > 1) ) ? 'left' : 'center', ! 'U_MOD' => mx_append_sid("./admin_board_extend.$phpEx?menu=$i&mod=$j"), 'L_MOD' => sprintf( ( ( ($menu_id == $i) && ($mod_id == $j) ) ? '<b>%s</b>' : '%s' ), mods_settings_get_lang($l_mod) ), ) *************** *** 375,379 **** $template->assign_block_vars('menu.mod.sub.row', array( 'CLASS' => ( ($menu_id == $i) && ($mod_id == $j) && ($sub_id == $k) ) ? 'row1' : 'row1', ! 'U_MOD' => append_sid("./admin_board_extend.$phpEx?menu=$i&mod=$j&msub=$k"), 'L_MOD' => sprintf( (($sub_id == $k) ? '<b>%s</b>' : '%s'), mods_settings_get_lang($sub_keys[$i][$j][$k]) ), ) --- 375,379 ---- $template->assign_block_vars('menu.mod.sub.row', array( 'CLASS' => ( ($menu_id == $i) && ($mod_id == $j) && ($sub_id == $k) ) ? 'row1' : 'row1', ! 'U_MOD' => mx_append_sid("./admin_board_extend.$phpEx?menu=$i&mod=$j&msub=$k"), 'L_MOD' => sprintf( (($sub_id == $k) ? '<b>%s</b>' : '%s'), mods_settings_get_lang($sub_keys[$i][$j][$k]) ), ) *************** *** 473,477 **** $s_hidden_fields .= '<input type="hidden" name="sub_id" value="' . $sub_id . '" />'; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_board_extend.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 473,477 ---- $s_hidden_fields .= '<input type="hidden" name="sub_id" value="' . $sub_id . '" />'; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_board_extend.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) Index: admin_pcp_tableslinked.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/admin/admin_pcp_tableslinked.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_pcp_tableslinked.php 2 May 2006 23:28:36 -0000 1.5 --- admin_pcp_tableslinked.php 9 Sep 2007 20:33:04 -0000 1.6 *************** *** 151,155 **** // prepare feedback message ! $return_path = append_sid("./admin_pcp_tableslinked.$phpEx"); $message = sprintf( $lang['PCP_tableslinked_deleted'], '<a href="' . $return_path . '" />', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); --- 151,155 ---- // prepare feedback message ! $return_path = mx_append_sid("./admin_pcp_tableslinked.$phpEx"); $message = sprintf( $lang['PCP_tableslinked_deleted'], '<a href="' . $return_path . '" />', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); *************** *** 227,231 **** // prepare feedback message ! $return_path = append_sid("./admin_pcp_tableslinked.$phpEx"); $message = sprintf( ( empty($table) ? $lang['PCP_tableslinked_created'] : $lang['PCP_tableslinked_modified'] ), '<a href="' . $return_path . '" />', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); --- 227,231 ---- // prepare feedback message ! $return_path = mx_append_sid("./admin_pcp_tableslinked.$phpEx"); $message = sprintf( ( empty($table) ? $lang['PCP_tableslinked_created'] : $lang['PCP_tableslinked_modified'] ), '<a href="' . $return_path . '" />', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); *************** *** 276,280 **** $s_hidden_fields .= '<input type="hidden" name="table" value="' . $table . '" />'; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_pcp_tableslinked.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 276,280 ---- $s_hidden_fields .= '<input type="hidden" name="table" value="' . $table . '" />'; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_pcp_tableslinked.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) *************** *** 321,325 **** 'TABLE_ORDER' => $table_data['sql_order'], ! 'U_TABLE' => append_sid("./admin_pcp_tableslinked.$phpEx?mode=edit&table=$table_name"), ) ); --- 321,325 ---- 'TABLE_ORDER' => $table_data['sql_order'], ! 'U_TABLE' => mx_append_sid("./admin_pcp_tableslinked.$phpEx?mode=edit&table=$table_name"), ) ); *************** *** 329,333 **** $s_hidden_fields = ''; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_pcp_tableslinked.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 329,333 ---- $s_hidden_fields = ''; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_pcp_tableslinked.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) Index: admin_pcp_valueslist.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/admin/admin_pcp_valueslist.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_pcp_valueslist.php 2 May 2006 23:28:36 -0000 1.5 --- admin_pcp_valueslist.php 9 Sep 2007 20:33:05 -0000 1.6 *************** *** 260,264 **** // prepare feedback message ! $return_path = append_sid("./admin_pcp_valueslist.$phpEx"); $message = sprintf( $lang['PCP_valueslist_deleted'], '<a href="' . $return_path . '" />', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); --- 260,264 ---- // prepare feedback message ! $return_path = mx_append_sid("./admin_pcp_valueslist.$phpEx"); $message = sprintf( $lang['PCP_valueslist_deleted'], '<a href="' . $return_path . '" />', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); *************** *** 340,344 **** // prepare feedback message ! $return_path = append_sid("./admin_pcp_valueslist.$phpEx"); $message = sprintf( ( empty($vlist) ? $lang['PCP_valueslist_created'] : $lang['PCP_valueslist_modified'] ), '<a href="' . $return_path . '" />', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); --- 340,344 ---- // prepare feedback message ! $return_path = mx_append_sid("./admin_pcp_valueslist.$phpEx"); $message = sprintf( ( empty($vlist) ? $lang['PCP_valueslist_created'] : $lang['PCP_valueslist_modified'] ), '<a href="' . $return_path . '" />', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); *************** *** 437,441 **** $s_hidden_fields .= '<input type="hidden" name="not_init" value="1" />'; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_pcp_valueslist.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 437,441 ---- $s_hidden_fields .= '<input type="hidden" name="not_init" value="1" />'; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_pcp_valueslist.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) *************** *** 482,487 **** 'MAIN' => $vlist_data['table']['main'], ! 'U_VLIST' => append_sid("./admin_pcp_valueslist.$phpEx?mode=edit&vlist=$vlist_name"), ! 'U_MAIN' => append_sid("./admin_pcp_tableslinked.$phpEx?mode=edit&table=" . $vlist_data['table']['main']), ) ); --- 482,487 ---- 'MAIN' => $vlist_data['table']['main'], ! 'U_VLIST' => mx_append_sid("./admin_pcp_valueslist.$phpEx?mode=edit&vlist=$vlist_name"), ! 'U_MAIN' => mx_append_sid("./admin_pcp_tableslinked.$phpEx?mode=edit&table=" . $vlist_data['table']['main']), ) ); *************** *** 515,519 **** $s_hidden_fields = ''; $template->assign_vars(array( ! 'S_ACTION' => append_sid("./admin_pcp_valueslist.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 515,519 ---- $s_hidden_fields = ''; $template->assign_vars(array( ! 'S_ACTION' => mx_append_sid("./admin_pcp_valueslist.$phpEx"), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:33:47
|
Update of /cvsroot/mxbb/mx_profilecp/tools In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29066/tools Modified Files: MOD-Profile_Control_Panel.txt Log Message: for 2.9.x Index: MOD-Profile_Control_Panel.txt =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/tools/MOD-Profile_Control_Panel.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MOD-Profile_Control_Panel.txt 29 Jun 2004 22:27:48 -0000 1.1 --- MOD-Profile_Control_Panel.txt 9 Sep 2007 20:33:07 -0000 1.2 *************** *** 1,5 **** ! ############################################################## ! ## Info: This MOD is the original phpbb mod, use it for MX with extrem care!!!!! ! ## Instead, the minimal phpbb mod for mx is documented in mod-phpbb.txt ## ## MOD Title: Profile Control Panel --- 1,5 ---- ! ############################################################## ! ## Info: This MOD is the original phpbb mod, use it for MX with extrem care!!!!! ! ## Instead, the minimal phpbb mod for mx is documented in mod-phpbb.txt ## ## MOD Title: Profile Control Panel *************** *** 8,12 **** ## ## MOD Version: 2.0.0-1 ! ## ## Installation Level: Moderate ## Installation Time: 40 Minutes --- 8,12 ---- ## ## MOD Version: 2.0.0-1 ! ## ## Installation Level: Moderate ## Installation Time: 40 Minutes *************** *** 89,100 **** ## mod-topics_list/graph.gif/folder_sticky_new_own.gif ## ! ############################################################## ! ## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the ! ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code ! ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered ! ## in our MOD-Database, located at: http://www.phpbb.com/mods/ ! ############################################################## ## ! ## Author Notes: ## ## to prevent an erase of the original prog, rename profile.php into profile_orig.php --- 89,100 ---- ## mod-topics_list/graph.gif/folder_sticky_new_own.gif ## ! ############################################################## ! ## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the ! ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code ! ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered ! ## in our MOD-Database, located at: http://www.phpbb.com/mods/ ! ############################################################## ## ! ## Author Notes: ## ## to prevent an erase of the original prog, rename profile.php into profile_orig.php *************** *** 119,124 **** ## - more friendly programmers adding fields to users table, ## - modulated menu and sub-menu management ! ## ! ## A great thanks to Gilgraf (http://www.gilgraf.com/ggforum/) who was a so precious help ## while debugging and finalizing steps ## --- 119,124 ---- ## - more friendly programmers adding fields to users table, ## - modulated menu and sub-menu management ! ## ! ## A great thanks to Gilgraf (http://www.gilgraf.com/ggforum/) who was a so precious help ## while debugging and finalizing steps ## *************** *** 140,144 **** ## COPY mod-lang_settings/lang_extend.php TO language/lang_*/lang_extend.php ## ! ############################################################## ## ## MOD History: --- 140,144 ---- ## COPY mod-lang_settings/lang_extend.php TO language/lang_*/lang_extend.php ## ! ############################################################## ## ## MOD History: *************** *** 237,243 **** ## 2003/05/08 - Version 0.0.1 ## - first beta, ! ## ! ############################################################## ! ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # --- 237,243 ---- ## 2003/05/08 - Version 0.0.1 ## - first beta, ! ## ! ############################################################## ! ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # *************** *** 282,286 **** # ALTER TABLE phpbb_ranks CHANGE rank_title rank_title VARCHAR(255) NOT NULL; ! ALTER TABLE phpbb_ranks ADD rank_max MEDIUMINT(8) NOT NULL AFTER rank_min; # #-----[ SQL ]------------------------------------------------- --- 282,286 ---- # ALTER TABLE phpbb_ranks CHANGE rank_title rank_title VARCHAR(255) NOT NULL; ! ALTER TABLE phpbb_ranks ADD rank_max MEDIUMINT(8) NOT NULL AFTER rank_min; # #-----[ SQL ]------------------------------------------------- *************** *** 427,431 **** { case POST_USERS_URL: $key = 'b'; break; ! case 'mode': $newpm = ($val == 'newpm'); if (!$newpm) $key = 'privmsg_mode'; --- 427,431 ---- { case POST_USERS_URL: $key = 'b'; break; ! case 'mode': $newpm = ($val == 'newpm'); if (!$newpm) $key = 'privmsg_mode'; *************** *** 487,491 **** } # ! #-----[ REPLACE WITH ]---------------------------------------- # // --- 487,491 ---- } # ! #-----[ REPLACE WITH ]---------------------------------------- # // *************** *** 510,514 **** { # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ --- 510,514 ---- { # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ *************** *** 558,562 **** } # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ --- 558,562 ---- } # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ *************** *** 648,652 **** $sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, p.*, pt.post_text, pt.post_subject, pt.bbcode_uid # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ --- 648,652 ---- $sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, p.*, pt.post_text, pt.post_subject, pt.bbcode_uid # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ *************** *** 704,708 **** $db->sql_freeresult($result); # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ --- 704,708 ---- $db->sql_freeresult($result); # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ *************** *** 790,794 **** $poster_from = ( $postrow[$i]['user_from'] && $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Location'] . ': ' . $postrow[$i]['user_from'] : ''; ! $poster_joined = ( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Joined'] . ': ' . create_date($lang['DATE_FORMAT'], $postrow[$i]['user_regdate'], $board_config['board_timezone']) : ''; $poster_avatar = ''; --- 790,794 ---- $poster_from = ( $postrow[$i]['user_from'] && $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Location'] . ': ' . $postrow[$i]['user_from'] : ''; ! $poster_joined = ( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Joined'] . ': ' . mx_create_date($lang['DATE_FORMAT'], $postrow[$i]['user_regdate'], $board_config['board_timezone']) : ''; $poster_avatar = ''; *************** *** 809,815 **** } # ! #-----[ REPLACE WITH ]---------------------------------------- # ! $post_date = create_date($board_config['default_dateformat'], $postrow[$i]['post_time'], $board_config['board_timezone']); # #-----[ FIND ]------------------------------------------------ --- 809,815 ---- } # ! #-----[ REPLACE WITH ]---------------------------------------- # ! $post_date = mx_create_date($board_config['default_dateformat'], $postrow[$i]['post_time'], $board_config['board_timezone']); # #-----[ FIND ]------------------------------------------------ *************** *** 929,933 **** } # ! #-----[ REPLACE WITH ]---------------------------------------- # $mini_post_url = append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $postrow[$i]['post_id']) . '#' . $postrow[$i]['post_id']; --- 929,933 ---- } # ! #-----[ REPLACE WITH ]---------------------------------------- # $mini_post_url = append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $postrow[$i]['post_id']) . '#' . $postrow[$i]['post_id']; *************** *** 945,949 **** 'POSTER_AVATAR' => $poster_avatar, # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ --- 945,949 ---- 'POSTER_AVATAR' => $poster_avatar, # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ *************** *** 980,984 **** 'YIM' => $yim, # ! #-----[ REPLACE WITH ]---------------------------------------- # 'MINI_POST_IMG' => $mini_post_img, --- 980,984 ---- 'YIM' => $yim, # ! #-----[ REPLACE WITH ]---------------------------------------- # 'MINI_POST_IMG' => $mini_post_img, *************** *** 1048,1052 **** "RANK" => $rank_info['rank_title'], # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ --- 1048,1052 ---- "RANK" => $rank_info['rank_title'], # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ *************** *** 1066,1070 **** $rank_title = ( isset($HTTP_POST_VARS['title']) ) ? trim($HTTP_POST_VARS['title']) : ""; # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ --- 1066,1070 ---- $rank_title = ( isset($HTTP_POST_VARS['title']) ) ? trim($HTTP_POST_VARS['title']) : ""; # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ *************** *** 1237,1245 **** //-- modify # ! #-----[ IN-LINE FIND ]---------------------------------------- # , $add_prevnext_text = TRUE # ! #-----[ IN-LINE AFTER, ADD ]---------------------------------- # , $start_field='start' --- 1237,1245 ---- //-- modify # ! #-----[ IN-LINE FIND ]---------------------------------------- # , $add_prevnext_text = TRUE # ! #-----[ IN-LINE AFTER, ADD ]---------------------------------- # , $start_field='start' *************** *** 1257,1261 **** $page_string .= ( $i == $on_page ) ? '<b>' . $i . '</b>' : '<a href="' . append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>'; # ! #-----[ REPLACE WITH ]---------------------------------------- # $init_page_max = ( $total_pages > 3 ) ? 3 : $total_pages; --- 1257,1261 ---- $page_string .= ( $i == $on_page ) ? '<b>' . $i . '</b>' : '<a href="' . append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>'; # ! #-----[ REPLACE WITH ]---------------------------------------- # $init_page_max = ( $total_pages > 3 ) ? 3 : $total_pages; *************** *** 1278,1282 **** $page_string .= ($i == $on_page) ? '<b>' . $i . '</b>' : '<a href="' . append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>'; # ! #-----[ REPLACE WITH ]---------------------------------------- # for($i = $init_page_min - 1; $i < $init_page_max + 2; $i++) --- 1278,1282 ---- $page_string .= ($i == $on_page) ? '<b>' . $i . '</b>' : '<a href="' . append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>'; # ! #-----[ REPLACE WITH ]---------------------------------------- # for($i = $init_page_min - 1; $i < $init_page_max + 2; $i++) *************** *** 1297,1301 **** $page_string .= ( $i == $on_page ) ? '<b>' . $i . '</b>' : '<a href="' . append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>'; # ! #-----[ REPLACE WITH ]---------------------------------------- # for($i = $total_pages - 2; $i < $total_pages + 1; $i++) --- 1297,1301 ---- $page_string .= ( $i == $on_page ) ? '<b>' . $i . '</b>' : '<a href="' . append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>'; # ! #-----[ REPLACE WITH ]---------------------------------------- # for($i = $total_pages - 2; $i < $total_pages + 1; $i++) *************** *** 1318,1322 **** $page_string .= ( $i == $on_page ) ? '<b>' . $i . '</b>' : '<a href="' . append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>'; # ! #-----[ REPLACE WITH ]---------------------------------------- # else --- 1318,1322 ---- $page_string .= ( $i == $on_page ) ? '<b>' . $i . '</b>' : '<a href="' . append_sid($base_url . "&start=" . ( ( $i - 1 ) * $per_page ) ) . '">' . $i . '</a>'; # ! #-----[ REPLACE WITH ]---------------------------------------- # else *************** *** 1339,1343 **** $page_string = ' <a href="' . append_sid($base_url . "&start=" . ( ( $on_page - 2 ) * $per_page ) ) . '">' . $lang['Previous'] . '</a> ' . $page_string; # ! #-----[ REPLACE WITH ]---------------------------------------- # if ( $on_page > 1 ) --- 1339,1343 ---- $page_string = ' <a href="' . append_sid($base_url . "&start=" . ( ( $on_page - 2 ) * $per_page ) ) . '">' . $lang['Previous'] . '</a> ' . $page_string; # ! #-----[ REPLACE WITH ]---------------------------------------- # if ( $on_page > 1 ) *************** *** 1358,1362 **** $page_string .= ' <a href="' . append_sid($base_url . "&start=" . ( $on_page * $per_page ) ) . '">' . $lang['Next'] . '</a>'; # ! #-----[ REPLACE WITH ]---------------------------------------- # if ( $on_page < $total_pages ) --- 1358,1362 ---- $page_string .= ' <a href="' . append_sid($base_url . "&start=" . ( $on_page * $per_page ) ) . '">' . $lang['Next'] . '</a>'; # ! #-----[ REPLACE WITH ]---------------------------------------- # if ( $on_page < $total_pages ) *************** *** 1469,1473 **** $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ --- 1469,1473 ---- $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ *************** *** 1475,1479 **** // $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip //-- add ! $sql = "SELECT u.*, s.session_logged_in, s.session_time, s.session_page, s.session_ip # #-----[ FIND ]------------------------------------------------ --- 1475,1479 ---- // $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip //-- add ! $sql = "SELECT u.*, s.session_logged_in, s.session_time, s.session_page, s.session_ip # #-----[ FIND ]------------------------------------------------ *************** *** 1539,1543 **** $db->sql_freeresult($result); # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ --- 1539,1543 ---- $db->sql_freeresult($result); # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ *************** *** 1673,1677 **** $status = 'guest'; } ! else if ($view_ignore) { $status = 'offline'; --- 1673,1677 ---- $status = 'guest'; } ! else if ($view_ignore) { $status = 'offline'; *************** *** 1732,1736 **** 'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'] # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ --- 1732,1736 ---- 'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'] # ! #-----[ REPLACE WITH ]---------------------------------------- # //-- mod : profile cp ------------------------------------------------------------------------------ *************** *** 1773,1778 **** { $userdata['user_last_birthday'] = time(); ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_last_birthday = " . $userdata['user_last_birthday'] . " WHERE user_id = " . $userdata['user_id']; if ( !$db->sql_query($sql) ) --- 1773,1778 ---- { $userdata['user_last_birthday'] = time(); ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_last_birthday = " . $userdata['user_last_birthday'] . " WHERE user_id = " . $userdata['user_id']; if ( !$db->sql_query($sql) ) *************** *** 1800,1811 **** $today = date("md", $time); $user_id = $userdata['user_id']; ! $sql = "SELECT u.*, (CASE WHEN i.buddy_ignore = 1 THEN 1 ELSE 0 END) AS user_ignore, (CASE WHEN b.buddy_ignore = 0 THEN 1 ELSE 0 END) AS user_friend, (CASE WHEN b.buddy_visible = 1 THEN 1 ELSE 0 END) AS user_visible ! FROM ((" . USERS_TABLE . " AS u LEFT JOIN " . BUDDYS_TABLE . " AS b ON b.user_id=u.user_id AND b.buddy_id=$user_id) LEFT JOIN " . BUDDYS_TABLE . " AS i ON i.user_id=$user_id AND i.buddy_id=u.user_id) ! WHERE u.user_id <> " . ANONYMOUS . " AND u.user_birthday <> 0 AND u.user_birthday <> '' and RIGHT(u.user_birthday, 4) = $today ORDER BY username"; if ( !$result = $db->sql_query($sql) ) --- 1800,1811 ---- $today = date("md", $time); $user_id = $userdata['user_id']; ! $sql = "SELECT u.*, (CASE WHEN i.buddy_ignore = 1 THEN 1 ELSE 0 END) AS user_ignore, (CASE WHEN b.buddy_ignore = 0 THEN 1 ELSE 0 END) AS user_friend, (CASE WHEN b.buddy_visible = 1 THEN 1 ELSE 0 END) AS user_visible ! FROM ((" . USERS_TABLE . " AS u LEFT JOIN " . BUDDYS_TABLE . " AS b ON b.user_id=u.user_id AND b.buddy_id=$user_id) LEFT JOIN " . BUDDYS_TABLE . " AS i ON i.user_id=$user_id AND i.buddy_id=u.user_id) ! WHERE u.user_id <> " . ANONYMOUS . " AND u.user_birthday <> 0 AND u.user_birthday <> '' and RIGHT(u.user_birthday, 4) = $today ORDER BY username"; if ( !$result = $db->sql_query($sql) ) *************** *** 1901,1905 **** {TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ] # ! #-----[ IN-LINE FIND ]---------------------------------------- # [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ] --- 1901,1905 ---- {TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ] # ! #-----[ IN-LINE FIND ]---------------------------------------- # [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ] *************** *** 2007,2011 **** # <table cellspacing="2" cellpadding="2" border="0" align="center"> ! <tr> <td valign="middle">{INBOX_IMG}</td> <td valign="middle"><span class="cattitle">{INBOX} </span></td> --- 2007,2011 ---- # <table cellspacing="2" cellpadding="2" border="0" align="center"> ! <tr> <td valign="middle">{INBOX_IMG}</td> <td valign="middle"><span class="cattitle">{INBOX} </span></td> *************** *** 2021,2025 **** <br clear="all" /> # ! #-----[ REPLACE WITH ]---------------------------------------- # <!-- mod : profile cp --> --- 2021,2025 ---- <br clear="all" /> # ! #-----[ REPLACE WITH ]---------------------------------------- # <!-- mod : profile cp --> *************** *** 2029,2033 **** <form method="post" action="{S_PRIVMSGS_ACTION}"> # ! #-----[ REPLACE WITH ]---------------------------------------- # <table cellpadding="0" cellspacing="10" border="0" width="100%"> --- 2029,2033 ---- <form method="post" action="{S_PRIVMSGS_ACTION}"> # ! #-----[ REPLACE WITH ]---------------------------------------- # <table cellpadding="0" cellspacing="10" border="0" width="100%"> *************** *** 2041,2045 **** <td width="100%"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td> # ! #-----[ REPLACE WITH ]---------------------------------------- # <td valign="middle">{REPLY_PM_IMG}</td> --- 2041,2045 ---- <td width="100%"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td> # ! #-----[ REPLACE WITH ]---------------------------------------- # <td valign="middle">{REPLY_PM_IMG}</td> *************** *** 2051,2055 **** {MESSAGE_FROM} # ! #-----[ IN-LINE FIND ]---------------------------------------- # {MESSAGE_FROM} --- 2051,2055 ---- {MESSAGE_FROM} # ! #-----[ IN-LINE FIND ]---------------------------------------- # {MESSAGE_FROM} *************** *** 2065,2069 **** {MESSAGE_TO} # ! #-----[ IN-LINE FIND ]---------------------------------------- # {MESSAGE_TO} --- 2065,2069 ---- {MESSAGE_TO} # ! #-----[ IN-LINE FIND ]---------------------------------------- # {MESSAGE_TO} *************** *** 2087,2091 **** //--></script> # ! #-----[ REPLACE WITH ]---------------------------------------- # <td valign="middle" nowrap="nowrap">{BUTTONS_PANEL}</td> --- 2087,2091 ---- //--></script> # ! #-----[ REPLACE WITH ]---------------------------------------- # <td valign="middle" nowrap="nowrap">{BUTTONS_PANEL}</td> *************** *** 2096,2105 **** <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> # ! #-----[ REPLACE WITH ]---------------------------------------- # </td> --- 2096,2105 ---- <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> # ! #-----[ REPLACE WITH ]---------------------------------------- # </td> *************** *** 2282,2286 **** # #-----[ BEFORE, ADD ]----------------------------------------- ! # <!-- mod : profile cp --> # --- 2282,2286 ---- # #-----[ BEFORE, ADD ]----------------------------------------- ! # <!-- mod : profile cp --> # *************** *** 2291,2295 **** <a href="{reg_user_row.U_USER_PROFILE}" class="gen">{reg_user_row.USERNAME}</a> # ! #-----[ IN-LINE FIND ]---------------------------------------- # <a href="{reg_user_row.U_USER_PROFILE}" class="gen">{reg_user_row.USERNAME}</a> --- 2291,2295 ---- <a href="{reg_user_row.U_USER_PROFILE}" class="gen">{reg_user_row.USERNAME}</a> # ! #-----[ IN-LINE FIND ]---------------------------------------- # <a href="{reg_user_row.U_USER_PROFILE}" class="gen">{reg_user_row.USERNAME}</a> *************** *** 2432,2436 **** <td class="row2"><input class="post" type="text" name="title" size="35" maxlength="40" value="{RANK}" /></td> # ! #-----[ REPLACE WITH ]---------------------------------------- # <td class="row2"> --- 2432,2436 ---- <td class="row2"><input class="post" type="text" name="title" size="35" maxlength="40" value="{RANK}" /></td> # ! #-----[ REPLACE WITH ]---------------------------------------- # <td class="row2"> |
Update of /cvsroot/mxbb/mx_profilecp/profilcp In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29066/profilcp Modified Files: functions_profile.php profilcp_activate.php profilcp_board_config.php profilcp_buddy.php profilcp_email.php profilcp_home.php profilcp_home_buddy.php profilcp_home_privmsgs.php profilcp_home_wtopics.php profilcp_privmsg.php profilcp_privmsg_popup.php profilcp_profil_avatar.php profilcp_profil_groups.php profilcp_profil_signature.php profilcp_public_groups.php profilcp_register.php profilcp_sendpassword.php uacp.php Log Message: for 2.9.x Index: profilcp_activate.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_activate.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** profilcp_activate.php 5 Apr 2006 23:04:42 -0000 1.6 --- profilcp_activate.php 9 Sep 2007 20:33:05 -0000 1.7 *************** *** 8,12 **** * */ ! if ( !empty($setmodules) ) return; --- 8,12 ---- * */ ! if ( !empty($setmodules) ) return; *************** *** 17,21 **** } ! $sql = "SELECT user_active, user_id, username, user_email, user_newpasswd, user_lang, user_actkey FROM " . USERS_TABLE . " WHERE user_id = " . intval($HTTP_GET_VARS[POST_USERS_URL]); --- 17,21 ---- } ! $sql = "SELECT user_active, user_id, username, user_email, user_newpasswd, user_lang, user_actkey FROM " . USERS_TABLE . " WHERE user_id = " . intval($HTTP_GET_VARS[POST_USERS_URL]); *************** *** 30,34 **** { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="10;url=' . append_sid("index.$phpEx") . '">') ); --- 30,34 ---- { $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="10;url=' . mx_append_sid("index.$phpEx") . '">') ); *************** *** 41,50 **** mx_message_die(GENERAL_MESSAGE, $lang['Not_Authorised']); } ! $sql_update_pass = ( $row['user_newpasswd'] != '' ) ? ", user_password = '" . str_replace("\'", "''", $row['user_newpasswd']) . "', user_newpasswd = ''" : ''; $sql = "UPDATE " . USERS_TABLE . " ! SET user_active = 1, user_actkey = ''" . $sql_update_pass . " ! WHERE user_id = " . $row['user_id']; if ( !($result = $db->sql_query($sql)) ) { --- 41,50 ---- mx_message_die(GENERAL_MESSAGE, $lang['Not_Authorised']); } ! $sql_update_pass = ( $row['user_newpasswd'] != '' ) ? ", user_password = '" . str_replace("\'", "''", $row['user_newpasswd']) . "', user_newpasswd = ''" : ''; $sql = "UPDATE " . USERS_TABLE . " ! SET user_active = 1, user_actkey = ''" . $sql_update_pass . " ! WHERE user_id = " . $row['user_id']; if ( !($result = $db->sql_query($sql)) ) { *************** *** 68,72 **** $emailer->assign_vars(array( ! 'SITENAME' => $board_config['sitename'], 'USERNAME' => $row['username'], 'PASSWORD' => $password_confirm, --- 68,72 ---- $emailer->assign_vars(array( ! 'SITENAME' => $board_config['sitename'], 'USERNAME' => $row['username'], 'PASSWORD' => $password_confirm, *************** *** 77,83 **** $template->assign_vars(array( ! // original 'META' => '<meta http-equiv="refresh" content="10;url=' . append_sid("index.$phpEx") . '">') ! 'META' => '<meta http-equiv="refresh" content="10;url=' . append_sid( this_profile_mxurl() ) . '">') ! ); --- 77,83 ---- $template->assign_vars(array( ! // original 'META' => '<meta http-equiv="refresh" content="10;url=' . mx_append_sid("index.$phpEx") . '">') ! 'META' => '<meta http-equiv="refresh" content="10;url=' . mx_append_sid( this_profile_mxurl() ) . '">') ! ); *************** *** 87,95 **** { $template->assign_vars(array( ! // original 'META' => '<meta http-equiv="refresh" content="10;url=' . append_sid("index.$phpEx") . '">') ! 'META' => '<meta http-equiv="refresh" content="10;url=' . append_sid( this_profile_mxurl() ) . '">') ); ! $message = ( $sql_update_pass == '' ) ? $lang['Account_active'] : $lang['Password_activated']; mx_message_die(GENERAL_MESSAGE, $message); } --- 87,95 ---- { $template->assign_vars(array( ! // original 'META' => '<meta http-equiv="refresh" content="10;url=' . mx_append_sid("index.$phpEx") . '">') ! 'META' => '<meta http-equiv="refresh" content="10;url=' . mx_append_sid( this_profile_mxurl() ) . '">') ); ! $message = ( $sql_update_pass == '' ) ? $lang['Account_active'] : $lang['Password_activated']; mx_message_die(GENERAL_MESSAGE, $message); } Index: profilcp_home_privmsgs.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_home_privmsgs.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_home_privmsgs.php 5 Apr 2006 23:04:42 -0000 1.4 --- profilcp_home_privmsgs.php 9 Sep 2007 20:33:06 -0000 1.5 *************** *** 47,55 **** { $user_id = $userdata['user_id']; ! $sql = "SELECT pm.privmsgs_type, pm.privmsgs_id, pm.privmsgs_date, pm.privmsgs_subject, u.* ! FROM " . PRIVMSGS_TABLE . " pm, " . USERS_TABLE . " u ! WHERE pm.privmsgs_to_userid = $view_user_id AND (pm.privmsgs_from_userid = $user_id OR $user_id=$view_user_id) ! AND u.user_id = pm.privmsgs_from_userid AND ( pm.privmsgs_type = " . PRIVMSGS_NEW_MAIL . " OR privmsgs_type = " . PRIVMSGS_UNREAD_MAIL . " ) ORDER BY pm.privmsgs_date DESC"; --- 47,55 ---- { $user_id = $userdata['user_id']; ! $sql = "SELECT pm.privmsgs_type, pm.privmsgs_id, pm.privmsgs_date, pm.privmsgs_subject, u.* ! FROM " . PRIVMSGS_TABLE . " pm, " . USERS_TABLE . " u ! WHERE pm.privmsgs_to_userid = $view_user_id AND (pm.privmsgs_from_userid = $user_id OR $user_id=$view_user_id) ! AND u.user_id = pm.privmsgs_from_userid AND ( pm.privmsgs_type = " . PRIVMSGS_NEW_MAIL . " OR privmsgs_type = " . PRIVMSGS_UNREAD_MAIL . " ) ORDER BY pm.privmsgs_date DESC"; *************** *** 115,124 **** $template->assign_block_vars('new_pm', array( 'TITLE' => $privmsgs_rowset[$i]['privmsgs_subject'], ! 'U_TITLE' => append_sid(this_profile_mxurl("mode=privmsg&folder=inbox&privmsg_mode=read&" . POST_POST_URL . "=" . $privmsgs_rowset[$i]['privmsgs_id'])), 'CLASS' => ( $class ) ? 'row1' : 'row2', 'CLASS_NAME' => get_user_level_class( $privmsgs_rowset[$i]['user_level'], 'name', $privmsgs_rowset[$i] ), 'USERNAME' => $privmsgs_rowset[$i]['username'], ! 'U_AUTHOR' => append_sid(this_profile_mxurl("mode=viewprofile&" . POST_USERS_URL . "=" . $privmsgs_rowset[$i]['user_id'] )), ! 'DATE' => create_date( $board_config['default_dateformat'], $privmsgs_rowset[$i]['privmsgs_date'], $board_config['board_timezone'] ), ) ); --- 115,124 ---- $template->assign_block_vars('new_pm', array( 'TITLE' => $privmsgs_rowset[$i]['privmsgs_subject'], ! 'U_TITLE' => mx_append_sid(this_profile_mxurl("mode=privmsg&folder=inbox&privmsg_mode=read&" . POST_POST_URL . "=" . $privmsgs_rowset[$i]['privmsgs_id'])), 'CLASS' => ( $class ) ? 'row1' : 'row2', 'CLASS_NAME' => get_user_level_class( $privmsgs_rowset[$i]['user_level'], 'name', $privmsgs_rowset[$i] ), 'USERNAME' => $privmsgs_rowset[$i]['username'], ! 'U_AUTHOR' => mx_append_sid(this_profile_mxurl("mode=viewprofile&" . POST_USERS_URL . "=" . $privmsgs_rowset[$i]['user_id'] )), ! 'DATE' => phpBB2::create_date( $board_config['default_dateformat'], $privmsgs_rowset[$i]['privmsgs_date'], $board_config['board_timezone'] ), ) ); *************** *** 167,172 **** // send the pagination sentence to display $template->assign_block_vars('right_part.box.pagination', array( ! 'PAGINATION' => generate_pagination(this_profile_mxurl("$w_pagination"), $privmsgs_total, $privmsgs_page_size, $privmsgs_start, true, 'privmsgs_start'), ! 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $privmsgs_start / $privmsgs_page_size ) + 1 ), ceil( $privmsgs_total / $privmsgs_page_size )), ) ); --- 167,172 ---- // send the pagination sentence to display $template->assign_block_vars('right_part.box.pagination', array( ! 'PAGINATION' => phpBB2::generate_pagination(this_profile_mxurl("$w_pagination"), $privmsgs_total, $privmsgs_page_size, $privmsgs_start, true, 'privmsgs_start'), ! 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $privmsgs_start / $privmsgs_page_size ) + 1 ), ceil( $privmsgs_total / $privmsgs_page_size )), ) ); Index: profilcp_home.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_home.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_home.php 5 Apr 2006 23:04:42 -0000 1.4 --- profilcp_home.php 9 Sep 2007 20:33:06 -0000 1.5 *************** *** 64,68 **** $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => append_sid( this_profile_mxurl() ), ) ); --- 64,68 ---- $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => mx_append_sid( this_profile_mxurl() ), ) ); Index: profilcp_sendpassword.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_sendpassword.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** profilcp_sendpassword.php 5 Apr 2006 23:04:42 -0000 1.5 --- profilcp_sendpassword.php 9 Sep 2007 20:33:06 -0000 1.6 *************** *** 8,12 **** * */ ! if ( !empty($setmodules) ) return; --- 8,12 ---- * */ ! if ( !empty($setmodules) ) return; *************** *** 28,34 **** $email = ( !empty($HTTP_POST_VARS['email']) ) ? trim(strip_tags(htmlspecialchars($HTTP_POST_VARS['email']))) : ''; ! $sql = "SELECT user_id, username, user_email, user_active, user_lang ! FROM " . USERS_TABLE . " ! WHERE user_email = '" . str_replace("\'", "''", $email) . "' AND username = '" . str_replace("\'", "''", $username) . "'"; if ( $result = $db->sql_query($sql) ) --- 28,34 ---- $email = ( !empty($HTTP_POST_VARS['email']) ) ? trim(strip_tags(htmlspecialchars($HTTP_POST_VARS['email']))) : ''; ! $sql = "SELECT user_id, username, user_email, user_active, user_lang ! FROM " . USERS_TABLE . " ! WHERE user_email = '" . str_replace("\'", "''", $email) . "' AND username = '" . str_replace("\'", "''", $username) . "'"; if ( $result = $db->sql_query($sql) ) *************** *** 49,55 **** $user_actkey = substr($user_actkey, 0, $key_len); $user_password = pcp_gen_rand_string(false); ! ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_newpasswd = '" . md5($user_password) . "', user_actkey = '$user_actkey' WHERE user_id = " . $row['user_id']; if ( !$db->sql_query($sql) ) --- 49,55 ---- $user_actkey = substr($user_actkey, 0, $key_len); $user_password = pcp_gen_rand_string(false); ! ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_newpasswd = '" . md5($user_password) . "', user_actkey = '$user_actkey' WHERE user_id = " . $row['user_id']; if ( !$db->sql_query($sql) ) *************** *** 72,79 **** $emailer->assign_vars(array( ! 'SITENAME' => $board_config['sitename'], 'USERNAME' => $username, 'PASSWORD' => $user_password, ! 'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '', 'U_ACTIVATE' => $server_url . '?mode=activate&' . POST_USERS_URL . '=' . $user_id . '&act_key=' . $user_actkey) --- 72,79 ---- $emailer->assign_vars(array( ! 'SITENAME' => $board_config['sitename'], 'USERNAME' => $username, 'PASSWORD' => $user_password, ! 'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '', 'U_ACTIVATE' => $server_url . '?mode=activate&' . POST_USERS_URL . '=' . $user_id . '&act_key=' . $user_actkey) *************** *** 83,90 **** $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="15;url=' . append_sid(this_profile_mxurl()) . '">') ); ! $message = $lang['Password_updated'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid(this_profile_mxurl()) . '">', '</a>'); mx_message_die(GENERAL_MESSAGE, $message); --- 83,90 ---- $template->assign_vars(array( ! 'META' => '<meta http-equiv="refresh" content="15;url=' . mx_append_sid(this_profile_mxurl()) . '">') ); ! $message = $lang['Password_updated'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . mx_append_sid(this_profile_mxurl()) . '">', '</a>'); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 116,120 **** 'body' => 'profile_send_pass.tpl') ); ! make_jumpbox( $phpbb_root_path . 'viewforum.'.$phpEx); $template->assign_vars(array( --- 116,120 ---- 'body' => 'profile_send_pass.tpl') ); ! mx_make_jumpbox( $phpbb_root_path . 'viewforum.'.$phpEx); $template->assign_vars(array( *************** *** 122,133 **** 'EMAIL' => $email, ! 'L_SEND_PASSWORD' => $lang['Send_password'], 'L_ITEMS_REQUIRED' => $lang['Items_required'], 'L_EMAIL_ADDRESS' => $lang['Email_address'], 'L_SUBMIT' => $lang['Submit'], 'L_RESET' => $lang['Reset'], ! ! 'S_HIDDEN_FIELDS' => '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />', ! 'S_PROFILE_ACTION' => append_sid(this_profile_mxurl("mode=sendpassword"))) ); --- 122,133 ---- 'EMAIL' => $email, ! 'L_SEND_PASSWORD' => $lang['Send_password'], 'L_ITEMS_REQUIRED' => $lang['Items_required'], 'L_EMAIL_ADDRESS' => $lang['Email_address'], 'L_SUBMIT' => $lang['Submit'], 'L_RESET' => $lang['Reset'], ! ! 'S_HIDDEN_FIELDS' => '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />', ! 'S_PROFILE_ACTION' => mx_append_sid(this_profile_mxurl("mode=sendpassword"))) ); Index: profilcp_privmsg.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_privmsg.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** profilcp_privmsg.php 5 Apr 2006 23:04:42 -0000 1.8 --- profilcp_privmsg.php 9 Sep 2007 20:33:06 -0000 1.9 *************** *** 95,102 **** { $redirect = str_replace("?", "&", this_profile_mxurl("mode=privmsg&privmsg_mode=$mode&sub=$folder&" . POST_POST_URL . "=$privmsgs_id") ); ! mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=". $redirect, true)); ! // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".this_profile_mxurl("mode=privmsg&privmsg_mode=$mode&sub=$folder&" . POST_POST_URL . "=$privmsgs_id"), true)); // mx_message_die(GENERAL_MESSAGE, $lang['Not_allowed_to']); ! // redirect(append_sid("login.$phpEx?redirect=profile.$phpEx&mode=privmsg&privmsg_mode=$mode&sub=$folder&" . POST_POST_URL . "=$privmsgs_id", true)); } --- 95,102 ---- { [...1465 lines suppressed...] ! 'L_PRIVMSG_FOLDER_ALT' => $icon_flag_alt, ! 'S_MARK_ID' => $privmsg_id, 'U_READ' => $u_subject, *************** *** 2145,2150 **** $template->assign_vars(array( ! 'PAGINATION' => generate_pagination(this_profile_mxurl("mode=privmsg&sub=$folder"), $pm_total, $board_config['topics_per_page'], $start), ! 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $board_config['topics_per_page'] ) + 1 ), ceil( $pm_total / $board_config['topics_per_page'] )), 'L_GOTO_PAGE' => $lang['Goto_page']) --- 2145,2150 ---- $template->assign_vars(array( ! 'PAGINATION' => phpBB2::generate_pagination(this_profile_mxurl("mode=privmsg&sub=$folder"), $pm_total, $board_config['topics_per_page'], $start), ! 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $board_config['topics_per_page'] ) + 1 ), ceil( $pm_total / $board_config['topics_per_page'] )), 'L_GOTO_PAGE' => $lang['Goto_page']) Index: profilcp_home_buddy.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_home_buddy.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** profilcp_home_buddy.php 5 Apr 2006 23:04:42 -0000 1.5 --- profilcp_home_buddy.php 9 Sep 2007 20:33:06 -0000 1.6 *************** *** 156,165 **** $last_status = $buddy_rowset[$i]['online']; ! // birthday $real_display = ( $userdata['user_allow_real'] && $buddy_rowset[$i]['user_allow_real'] && ( ($buddy_rowset[$i]['user_viewreal'] == YES) || ( ($buddy_rowset[$i]['user_viewreal'] == FRIEND_ONLY) && $friend ) ) ); $birthday_img = ''; if ($real_display) { ! $temp_url = append_sid(this_profile_mxurl("mode=privmsg&privmsg_mode=post&" . POST_USERS_URL . "=$w_user_id")); $birthday_img = ( intval(substr($buddy_rowset[$i]['user_birthday'], 4, 4)) == date('md', time()) ) ? '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_birthday'] . '" border="0" alt="' . $lang['Happy_birthday'] . '" title="' . $lang['Happy_birthday'] . '" /></a>' : ''; } --- 156,165 ---- $last_status = $buddy_rowset[$i]['online']; ! // birthday $real_display = ( $userdata['user_allow_real'] && $buddy_rowset[$i]['user_allow_real'] && ( ($buddy_rowset[$i]['user_viewreal'] == YES) || ( ($buddy_rowset[$i]['user_viewreal'] == FRIEND_ONLY) && $friend ) ) ); $birthday_img = ''; if ($real_display) { ! $temp_url = mx_append_sid(this_profile_mxurl("mode=privmsg&privmsg_mode=post&" . POST_USERS_URL . "=$w_user_id")); $birthday_img = ( intval(substr($buddy_rowset[$i]['user_birthday'], 4, 4)) == date('md', time()) ) ? '<a href="' . $temp_url . '"><img src="' . $images['profilecp_icon_birthday'] . '" border="0" alt="' . $lang['Happy_birthday'] . '" title="' . $lang['Happy_birthday'] . '" /></a>' : ''; } *************** *** 169,173 **** 'VISIBLE' => ($buddy_rowset[$i]['buddy_visible']) ? $lang['Always_visible'] : $lang['Not_always_visible'], 'USERNAME' => $buddy_rowset[$i]['username'], ! 'U_PROFILE' => append_sid(this_profile_mxurl("mode=viewprofile&" . POST_USERS_URL . "=$w_user_id")), 'BIRTHDAY' => $birthday_img, ) --- 169,173 ---- 'VISIBLE' => ($buddy_rowset[$i]['buddy_visible']) ? $lang['Always_visible'] : $lang['Not_always_visible'], 'USERNAME' => $buddy_rowset[$i]['username'], ! 'U_PROFILE' => mx_append_sid(this_profile_mxurl("mode=viewprofile&" . POST_USERS_URL . "=$w_user_id")), 'BIRTHDAY' => $birthday_img, ) Index: profilcp_profil_signature.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_profil_signature.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** profilcp_profil_signature.php 5 Apr 2006 23:04:42 -0000 1.5 --- profilcp_profil_signature.php 9 Sep 2007 20:33:06 -0000 1.6 *************** *** 50,54 **** $view_userdata['user_sig'] = $signature; ! $view_userdata['user_sig_bbcode_uid'] = $signature_bbcode_uid; } if ( $error ) --- 50,54 ---- $view_userdata['user_sig'] = $signature; ! $view_userdata['user_sig_bbcode_uid'] = $signature_bbcode_uid; } if ( $error ) *************** *** 58,65 **** if (!$error && !$preview) { ! $sql = "UPDATE " . USERS_TABLE . " SET user_sig = '" . $signature . "', ! user_sig_bbcode_uid = '" . $signature_bbcode_uid . "' WHERE user_id = " . $view_userdata['user_id']; --- 58,65 ---- if (!$error && !$preview) { ! $sql = "UPDATE " . USERS_TABLE . " SET user_sig = '" . $signature . "', ! user_sig_bbcode_uid = '" . $signature_bbcode_uid . "' WHERE user_id = " . $view_userdata['user_id']; *************** *** 81,120 **** 'L_RESET' => $lang['Reset'], ! 'L_BBCODE_B_HELP' => $lang['bbcode_b_help'], ! 'L_BBCODE_I_HELP' => $lang['bbcode_i_help'], ! 'L_BBCODE_U_HELP' => $lang['bbcode_u_help'], ! 'L_BBCODE_Q_HELP' => $lang['bbcode_q_help'], ! 'L_BBCODE_C_HELP' => $lang['bbcode_c_help'], ! 'L_BBCODE_L_HELP' => $lang['bbcode_l_help'], ! 'L_BBCODE_O_HELP' => $lang['bbcode_o_help'], ! 'L_BBCODE_P_HELP' => $lang['bbcode_p_help'], ! 'L_BBCODE_W_HELP' => $lang['bbcode_w_help'], ! 'L_BBCODE_A_HELP' => $lang['bbcode_a_help'], ! 'L_BBCODE_S_HELP' => $lang['bbcode_s_help'], ! 'L_BBCODE_F_HELP' => $lang['bbcode_f_help'], 'L_EMPTY_MESSAGE' => $lang['Empty_message'], ! 'L_FONT_COLOR' => $lang['Font_color'], ! 'L_COLOR_DEFAULT' => $lang['color_default'], ! 'L_COLOR_DARK_RED' => $lang['color_dark_red'], ! 'L_COLOR_RED' => $lang['color_red'], ! 'L_COLOR_ORANGE' => $lang['color_orange'], ! 'L_COLOR_BROWN' => $lang['color_brown'], ! 'L_COLOR_YELLOW' => $lang['color_yellow'], ! 'L_COLOR_GREEN' => $lang['color_green'], ! 'L_COLOR_OLIVE' => $lang['color_olive'], ! 'L_COLOR_CYAN' => $lang['color_cyan'], ! 'L_COLOR_BLUE' => $lang['color_blue'], ! 'L_COLOR_DARK_BLUE' => $lang['color_dark_blue'], ! 'L_COLOR_INDIGO' => $lang['color_indigo'], ! 'L_COLOR_VIOLET' => $lang['color_violet'], ! 'L_COLOR_WHITE' => $lang['color_white'], ! 'L_COLOR_BLACK' => $lang['color_black'], ! 'L_FONT_SIZE' => $lang['Font_size'], ! 'L_FONT_TINY' => $lang['font_tiny'], ! 'L_FONT_SMALL' => $lang['font_small'], ! 'L_FONT_NORMAL' => $lang['font_normal'], ! 'L_FONT_LARGE' => $lang['font_large'], 'L_FONT_HUGE' => $lang['font_huge'], --- 81,120 ---- 'L_RESET' => $lang['Reset'], ! 'L_BBCODE_B_HELP' => $lang['bbcode_b_help'], ! 'L_BBCODE_I_HELP' => $lang['bbcode_i_help'], ! 'L_BBCODE_U_HELP' => $lang['bbcode_u_help'], ! 'L_BBCODE_Q_HELP' => $lang['bbcode_q_help'], ! 'L_BBCODE_C_HELP' => $lang['bbcode_c_help'], ! 'L_BBCODE_L_HELP' => $lang['bbcode_l_help'], ! 'L_BBCODE_O_HELP' => $lang['bbcode_o_help'], ! 'L_BBCODE_P_HELP' => $lang['bbcode_p_help'], ! 'L_BBCODE_W_HELP' => $lang['bbcode_w_help'], ! 'L_BBCODE_A_HELP' => $lang['bbcode_a_help'], ! 'L_BBCODE_S_HELP' => $lang['bbcode_s_help'], ! 'L_BBCODE_F_HELP' => $lang['bbcode_f_help'], 'L_EMPTY_MESSAGE' => $lang['Empty_message'], ! 'L_FONT_COLOR' => $lang['Font_color'], ! 'L_COLOR_DEFAULT' => $lang['color_default'], ! 'L_COLOR_DARK_RED' => $lang['color_dark_red'], ! 'L_COLOR_RED' => $lang['color_red'], ! 'L_COLOR_ORANGE' => $lang['color_orange'], ! 'L_COLOR_BROWN' => $lang['color_brown'], ! 'L_COLOR_YELLOW' => $lang['color_yellow'], ! 'L_COLOR_GREEN' => $lang['color_green'], ! 'L_COLOR_OLIVE' => $lang['color_olive'], ! 'L_COLOR_CYAN' => $lang['color_cyan'], ! 'L_COLOR_BLUE' => $lang['color_blue'], ! 'L_COLOR_DARK_BLUE' => $lang['color_dark_blue'], ! 'L_COLOR_INDIGO' => $lang['color_indigo'], ! 'L_COLOR_VIOLET' => $lang['color_violet'], ! 'L_COLOR_WHITE' => $lang['color_white'], ! 'L_COLOR_BLACK' => $lang['color_black'], ! 'L_FONT_SIZE' => $lang['Font_size'], ! 'L_FONT_TINY' => $lang['font_tiny'], ! 'L_FONT_SMALL' => $lang['font_small'], ! 'L_FONT_NORMAL' => $lang['font_normal'], ! 'L_FONT_LARGE' => $lang['font_large'], 'L_FONT_HUGE' => $lang['font_huge'], *************** *** 142,146 **** 'SIG_PREVIEW' => $preview_sig, 'HTML_STATUS' => $html_status, ! 'BBCODE_STATUS' => sprintf($bbcode_status, '<a href="' . append_sid( $phpbb_root_path . "faq.$phpEx?mode=bbcode") . '" target="_phpbbcode">', '</a>'), 'SMILIES_STATUS' => $smilies_status, ) --- 142,146 ---- 'SIG_PREVIEW' => $preview_sig, 'HTML_STATUS' => $html_status, ! 'BBCODE_STATUS' => sprintf($bbcode_status, '<a href="' . mx_append_sid( $phpbb_root_path . "faq.$phpEx?mode=bbcode") . '" target="_phpbbcode">', '</a>'), 'SMILIES_STATUS' => $smilies_status, ) *************** *** 149,153 **** $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => append_sid(this_profile_mxurl()), ) ); --- 149,153 ---- $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => mx_append_sid(this_profile_mxurl()), ) ); Index: profilcp_privmsg_popup.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_privmsg_popup.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** profilcp_privmsg_popup.php 18 Jun 2006 10:47:14 -0000 1.6 --- profilcp_privmsg_popup.php 9 Sep 2007 20:33:06 -0000 1.7 *************** *** 49,53 **** $l_new_message = $lang['You_no_new_pm']; } ! $l_new_message .= '<br /><br />' . sprintf($lang['Click_view_privmsg'], '<a href="' . append_sid(this_profile_mxurl("mode=privmsg&sub=inbox")) . '" onclick="jump_to_inbox();return false;" target="_new">', '</a>'); } else --- 49,53 ---- $l_new_message = $lang['You_no_new_pm']; } ! $l_new_message .= '<br /><br />' . sprintf($lang['Click_view_privmsg'], '<a href="' . mx_append_sid(this_profile_mxurl("mode=privmsg&sub=inbox")) . '" onclick="jump_to_inbox();return false;" target="_new">', '</a>'); } else Index: profilcp_board_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_board_config.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_board_config.php 5 Apr 2006 23:04:42 -0000 1.4 --- profilcp_board_config.php 9 Sep 2007 20:33:05 -0000 1.5 *************** *** 291,295 **** if ($error) { ! $ret_link = append_sid(this_profile_mxurl("mode=profil&sub=$sub&mod=$mod_id&msub=$sub_id&" . POST_USERS_URL . "=$view_user_id")); $template->assign_vars(array( 'META' => '<meta http-equiv="refresh" content="3;url=' . $ret_link . '">') --- 291,295 ---- if ($error) { ! $ret_link = mx_append_sid(this_profile_mxurl("mode=profil&sub=$sub&mod=$mod_id&msub=$sub_id&" . POST_USERS_URL . "=$view_user_id")); $template->assign_vars(array( 'META' => '<meta http-equiv="refresh" content="3;url=' . $ret_link . '">') *************** *** 310,314 **** { // update ! $sql = "UPDATE " . USERS_TABLE . " SET $user_field='" . $$user_field . "' WHERE user_id = " . $view_userdata['user_id']; --- 310,314 ---- { // update ! $sql = "UPDATE " . USERS_TABLE . " SET $user_field='" . $$user_field . "' WHERE user_id = " . $view_userdata['user_id']; *************** *** 321,325 **** // send an update message ! $ret_link = append_sid(this_profile_mxurl("mode=profil&sub=$sub&mod=$mod_id&msub=$sub_id&" . POST_USERS_URL . "=$view_user_id")); $template->assign_vars(array( 'META' => '<meta http-equiv="refresh" content="3;url=' . $ret_link . '">') --- 321,325 ---- // send an update message ! $ret_link = mx_append_sid(this_profile_mxurl("mode=profil&sub=$sub&mod=$mod_id&msub=$sub_id&" . POST_USERS_URL . "=$view_user_id")); $template->assign_vars(array( 'META' => '<meta http-equiv="refresh" content="3;url=' . $ret_link . '">') *************** *** 354,358 **** 'CLASS' => ($mod_id == $i) ? 'row1' : 'row2', 'ALIGN' => ( ($mod_id == $i) && (count($sub_keys[$i]) > 1) ) ? 'left' : 'center', ! 'U_MOD' => append_sid(this_profile_mxurl("mode=profil&sub=$sub&mod=$i&" . POST_USERS_URL . "=$view_user_id")), 'L_MOD' => sprintf( (($mod_id == $i) ? '<b>%s</b>' : '%s'), mods_settings_get_lang($l_mod) ), ) --- 354,358 ---- 'CLASS' => ($mod_id == $i) ? 'row1' : 'row2', 'ALIGN' => ( ($mod_id == $i) && (count($sub_keys[$i]) > 1) ) ? 'left' : 'center', ! 'U_MOD' => mx_append_sid(this_profile_mxurl("mode=profil&sub=$sub&mod=$i&" . POST_USERS_URL . "=$view_user_id")), 'L_MOD' => sprintf( (($mod_id == $i) ? '<b>%s</b>' : '%s'), mods_settings_get_lang($l_mod) ), ) *************** *** 367,371 **** $template->assign_block_vars('mod.sub.row', array( 'CLASS' => ($sub_id == $j) ? 'row1' : 'row1', ! 'U_MOD' => append_sid(this_profile_mxurl("mode=profil&sub=$sub&mod=$i&msub=$j&" . POST_USERS_URL . "=$view_user_id")), 'L_MOD' => sprintf( (($sub_id == $j) ? '<b>%s</b>' : '%s'), mods_settings_get_lang($sub_keys[$i][$j]) ), ) --- 367,371 ---- $template->assign_block_vars('mod.sub.row', array( 'CLASS' => ($sub_id == $j) ? 'row1' : 'row1', ! 'U_MOD' => mx_append_sid(this_profile_mxurl("mode=profil&sub=$sub&mod=$i&msub=$j&" . POST_USERS_URL . "=$view_user_id")), 'L_MOD' => sprintf( (($sub_id == $j) ? '<b>%s</b>' : '%s'), mods_settings_get_lang($sub_keys[$i][$j]) ), ) *************** *** 453,457 **** $s_hidden_fields .= '<input type="hidden" name="submit" value="1" />'; $template->assign_vars(array( ! 'S_PROFILCP_ACTION' => append_sid(this_profile_mxurl()), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) --- 453,457 ---- $s_hidden_fields .= '<input type="hidden" name="submit" value="1" />'; $template->assign_vars(array( ! 'S_PROFILCP_ACTION' => mx_append_sid(this_profile_mxurl()), 'S_HIDDEN_FIELDS' => $s_hidden_fields, ) Index: profilcp_home_wtopics.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_home_wtopics.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_home_wtopics.php 5 Apr 2006 23:04:42 -0000 1.4 --- profilcp_home_wtopics.php 9 Sep 2007 20:33:06 -0000 1.5 *************** *** 8,12 **** * */ ! if ( !defined('IN_PORTAL') ) { --- 8,12 ---- * */ ! if ( !defined('IN_PORTAL') ) { *************** *** 125,129 **** AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id ! AND u2.user_id = p2.poster_id AND p2.post_time >= $floor ORDER BY t.topic_type DESC, t.topic_last_post_id DESC"; --- 125,129 ---- AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id ! AND u2.user_id = p2.poster_id AND p2.post_time >= $floor ORDER BY t.topic_type DESC, t.topic_last_post_id DESC"; *************** *** 161,165 **** mx_message_die(GENERAL_ERROR, 'Could not query watched topics information', '', __LINE__, __FILE__, $sql); } ! while ($row = $db->sql_fetchrow($result) ) { $row['topic_id'] = POST_TOPIC_URL . $row['topic_id']; --- 161,165 ---- mx_message_die(GENERAL_ERROR, 'Could not query watched topics information', '', __LINE__, __FILE__, $sql); } ! while ($row = $db->sql_fetchrow($result) ) { $row['topic_id'] = POST_TOPIC_URL . $row['topic_id']; *************** *** 229,234 **** // send the pagination sentence to display $template->assign_block_vars('right_part.box.pagination', array( ! 'PAGINATION' => generate_pagination(this_profile_mxurl("$w_pagination"), $topics_watched_total, $topics_watched_page_size, $topics_watched_start, true, 'startwt'), ! 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $topics_watched_start / $topics_watched_page_size ) + 1 ), ceil( $topics_watched_total / $topics_watched_page_size )), ) ); --- 229,234 ---- // send the pagination sentence to display $template->assign_block_vars('right_part.box.pagination', array( ! 'PAGINATION' => phpBB2::generate_pagination(this_profile_mxurl("$w_pagination"), $topics_watched_total, $topics_watched_page_size, $topics_watched_start, true, 'startwt'), ! 'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $topics_watched_start / $topics_watched_page_size ) + 1 ), ceil( $topics_watched_total / $topics_watched_page_size )), ) ); Index: profilcp_profil_avatar.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_profil_avatar.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** profilcp_profil_avatar.php 5 Apr 2006 23:04:42 -0000 1.6 --- profilcp_profil_avatar.php 9 Sep 2007 20:33:06 -0000 1.7 *************** *** 14,18 **** exit; } ! if ( !empty($setmodules) ) { if ( $board_config['allow_avatar_upload'] || $board_config['allow_avatar_remote'] || $board_config['allow_avatar_local'] ) --- 14,18 ---- exit; } ! if ( !empty($setmodules) ) { if ( $board_config['allow_avatar_upload'] || $board_config['allow_avatar_remote'] || $board_config['allow_avatar_local'] ) *************** *** 87,91 **** if ($avatar_sql != '') { ! $sql = "UPDATE " . USERS_TABLE . " SET $avatar_sql WHERE user_id=$view_user_id"; if ( !($result = $db->sql_query($sql)) ) mx_message_die(GENERAL_ERROR, 'Could not update user table', '', __LINE__, __FILE__, $sql); } --- 87,91 ---- if ($avatar_sql != '') { ! $sql = "UPDATE " . USERS_TABLE . " SET $avatar_sql WHERE user_id=$view_user_id"; if ( !($result = $db->sql_query($sql)) ) mx_message_die(GENERAL_ERROR, 'Could not update user table', '', __LINE__, __FILE__, $sql); } *************** *** 114,118 **** 'L_AVATAR_GALLERY' => $lang['Select_from_gallery'], 'L_SHOW_GALLERY' => $lang['View_avatar_gallery'], ! 'U_AVATAR_SELECT' => append_sid( $mx_root_path . "modules/mx_profilecp/profile_avatar.$phpEx"), 'L_SUBMIT' => $lang['Submit'], --- 114,118 ---- 'L_AVATAR_GALLERY' => $lang['Select_from_gallery'], 'L_SHOW_GALLERY' => $lang['View_avatar_gallery'], ! 'U_AVATAR_SELECT' => mx_append_sid( $mx_root_path . "modules/mx_profilecp/profile_avatar.$phpEx"), 'L_SUBMIT' => $lang['Submit'], *************** *** 176,180 **** 'S_FORM_ENCTYPE' => $form_enctype, 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => append_sid(this_profile_mxurl()), ) ); --- 176,180 ---- 'S_FORM_ENCTYPE' => $form_enctype, 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => mx_append_sid(this_profile_mxurl()), ) ); Index: uacp.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/uacp.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** uacp.php 18 Jun 2006 10:47:14 -0000 1.7 --- uacp.php 9 Sep 2007 20:33:06 -0000 1.8 *************** *** 39,43 **** if (isset($HTTP_GET_VARS[$get_vars[$i]])) $s_call .= '&' . $key . '=' . $HTTP_GET_VARS[$get_vars[$i]]; } ! redirect(append_sid( ( $is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . "uacp" . $s_call, true)); exit; } --- 39,43 ---- if (isset($HTTP_GET_VARS[$get_vars[$i]])) $s_call .= '&' . $key . '=' . $HTTP_GET_VARS[$get_vars[$i]]; } ! mx_redirect(mx_append_sid( ( $is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . "uacp" . $s_call, true)); exit; } *************** *** 283,290 **** //-- mod : profile cp ------------------------------------------------------------------------------ //-- add ! // redirect(append_sid( ( $is_block ? "index.$phpEx?page=$page&mode=" : "profile.$phpEx?mode=" ) . "uacp")); ! // redirect(append_sid( ( $is_block ? "index.$phpEx?page=$page&mode=" : "profile.$phpEx?mode=" ) . "home")); ! $from = append_sid( ( $is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . "home") ; $l_from = sprintf( $lang['Click_return_privmsg'], '<a href="' . $from . '">', '</a>' ); $ret_link = $from; --- 283,290 ---- //-- mod : profile cp ------------------------------------------------------------------------------ //-- add ! // redirect(mx_append_sid( ( $is_block ? "index.$phpEx?page=$page&mode=" : "profile.$phpEx?mode=" ) . "uacp")); ! // redirect(mx_append_sid( ( $is_block ? "index.$phpEx?page=$page&mode=" : "profile.$phpEx?mode=" ) . "home")); ! $from = mx_append_sid( ( $is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . "home") ; $l_from = sprintf( $lang['Click_return_privmsg'], '<a href="' . $from . '">', '</a>' ); $ret_link = $from; *************** *** 333,337 **** // 'L_NO' => $lang['No'], // ! // 'S_CONFIRM_ACTION' => append_sid(( $is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . "uacp"), // 'S_HIDDEN_FIELDS' => $hidden_fields) // ); --- 333,337 ---- // 'L_NO' => $lang['No'], // ! // 'S_CONFIRM_ACTION' => mx_append_sid(( $is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . "uacp"), // 'S_HIDDEN_FIELDS' => $hidden_fields) // ); *************** *** 395,401 **** //-- mod : profile cp ------------------------------------------------------------------------------ //-- delete ! // 'S_MODE_ACTION' => append_sid('uacp.' . $phpEx), //-- add ! 'S_MODE_ACTION' => append_sid( ( $is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . "uacp"), //-- fin mod : profile cp -------------------------------------------------------------------------- 'S_MODE_SELECT' => $select_sort_mode, --- 395,401 ---- //-- mod : profile cp ------------------------------------------------------------------------------ //-- delete ! // 'S_MODE_ACTION' => mx_append_sid('uacp.' . $phpEx), //-- add ! 'S_MODE_ACTION' => mx_append_sid( ( $is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . "uacp"), //-- fin mod : profile cp -------------------------------------------------------------------------- 'S_MODE_SELECT' => $select_sort_mode, *************** *** 491,495 **** } ! $view_topic = append_sid($phpbb_root_path . 'viewtopic.' . $phpEx . '?' . POST_POST_URL . '=' . $ids[$j]['post_id'] . '#' . $ids[$j]['post_id']); $post_titles[] = '<a href="' . $view_topic . '" class="gen" target="_blank">' . $post_title . '</a>'; --- 491,495 ---- } ! $view_topic = mx_append_sid($phpbb_root_path . 'viewtopic.' . $phpEx . '?' . POST_POST_URL . '=' . $ids[$j]['post_id'] . '#' . $ids[$j]['post_id']); $post_titles[] = '<a href="' . $view_topic . '" class="gen" target="_blank">' . $post_title . '</a>'; *************** *** 593,603 **** 'SIZE' => round(($attachments[$i]['filesize'] / MEGABYTE), 2), 'DOWNLOAD_COUNT' => $attachments[$i]['download_count'], ! 'POST_TIME' => create_date($board_config['default_dateformat'], $attachments[$i]['filetime'], $board_config['board_timezone']), 'POST_TITLE' => $post_titles, 'S_DELETE_BOX' => $delete_box, 'S_HIDDEN' => $hidden_field, ! 'U_VIEW_ATTACHMENT' => append_sid($phpbb_root_path . 'download.' . $phpEx . '?id=' . $attachments[$i]['attach_id'])) ! // 'U_VIEW_POST' => ($attachments[$i]['post_id'] != 0) ? append_sid("../viewtopic." . $phpEx . "?" . POST_POST_URL . "=" . $attachments[$i]['post_id'] . "#" . $attachments[$i]['post_id']) : '') ); } --- 593,603 ---- 'SIZE' => round(($attachments[$i]['filesize'] / MEGABYTE), 2), 'DOWNLOAD_COUNT' => $attachments[$i]['download_count'], ! 'POST_TIME' => phpBB2::create_date($board_config['default_dateformat'], $attachments[$i]['filetime'], $board_config['board_timezone']), 'POST_TITLE' => $post_titles, 'S_DELETE_BOX' => $delete_box, 'S_HIDDEN' => $hidden_field, ! 'U_VIEW_ATTACHMENT' => mx_append_sid($phpbb_root_path . 'download.' . $phpEx . '?id=' . $attachments[$i]['attach_id'])) ! // 'U_VIEW_POST' => ($attachments[$i]['post_id'] != 0) ? mx_append_sid("../viewtopic." . $phpEx . "?" . POST_POST_URL . "=" . $attachments[$i]['post_id'] . "#" . $attachments[$i]['post_id']) : '') ); } *************** *** 614,618 **** // $pagination = generate_pagination($phpbb_root_path . 'uacp.' . $phpEx . '?mode=' . $mode . '&order=' . $sort_order . '&' . POST_USERS_URL . '=' . $profiledata['user_id'] . '&sid=' . $userdata['session_id'], $total_rows, $board_config['topics_per_page'], $start).' '; //-- add ! $pagination = generate_pagination( ( $is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . 'uacp&sort=' . $sort . '&order=' . $sort_order . '&' . POST_USERS_URL . '=' . $profiledata['user_id'] . '&sid=' . $userdata['session_id'], $total_rows, $board_config['topics_per_page'], $start).' '; //-- fin mod : profile cp -------------------------------------------------------------------------- --- 614,618 ---- // $pagination = generate_pagination($phpbb_root_path . 'uacp.' . $phpEx . '?mode=' . $mode . '&order=' . $sort_order . '&' . POST_USERS_URL . '=' . $profiledata['user_id'] . '&sid=' . $userdata['session_id'], $total_rows, $board_config['topics_per_page'], $start).' '; //-- add ! $pagination = phpBB2::generate_pagination( ( $is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . 'uacp&sort=' . $sort . '&order=' . $sort_order . '&' . POST_USERS_URL . '=' . $profiledata['user_id'] . '&sid=' . $userdata['session_id'], $total_rows, $board_config['topics_per_page'], $start).' '; //-- fin mod : profile cp -------------------------------------------------------------------------- Index: profilcp_register.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_register.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** profilcp_register.php 5 Apr 2006 23:04:42 -0000 1.8 --- profilcp_register.php 9 Sep 2007 20:33:06 -0000 1.9 *************** *** 185,207 **** } ! // check domain name ! if ( ($create_user || $email_changed) && ($board_config['require_activation'] != USER_ACTIVATION_NONE)) ! { ! $result = domain_check($user_email); ! if ( !$result['error'] && $result['error_msg'] == 'invalid_domain' ) ! { ! $user_email = $view_userdata['user_email']; ! $email_error = true; ! $error = true; ! $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . sprintf($lang['profilcp_email_invalid_domain'], $board_config['email_domain']); ! } ! else $email_changed = true; ! } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); ! // disabling the user (or creation) $active_changed = false; --- 185,207 ---- } ! // check domain name ! if ( ($create_user || $email_changed) && ($board_config['require_activation'] != USER_ACTIVATION_NONE)) ! { ! $result = domain_check($user_email); ! if ( !$result['error'] && $result['error_msg'] == 'invalid_domain' ) ! { ! $user_email = $view_userdata['user_email']; ! $email_error = true; ! $error = true; ! $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . sprintf($lang['profilcp_email_invalid_domain'], $board_config['email_domain']); ! } ! else $email_changed = true; ! } ! // break if error if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); ! // disabling the user (or creation) $active_changed = false; *************** *** 259,263 **** // validate domain...save original mail adress $userrow['user_email_reg'] = $values['user_email']; ! // add new values @reset($values); --- 259,263 ---- // validate domain...save original mail adress $userrow['user_email_reg'] = $values['user_email']; ! // add new values @reset($values); *************** *** 380,384 **** if ( $username_changed ) { ! $sql = "UPDATE " . GROUPS_TABLE . " SET group_name = '" . str_replace("\'", "''", $username) . "' WHERE group_name = '" . str_replace("\'", "''", $view_userdata['username'] ) . "'"; --- 380,384 ---- if ( $username_changed ) { ! $sql = "UPDATE " . GROUPS_TABLE . " SET group_name = '" . str_replace("\'", "''", $username) . "' WHERE group_name = '" . str_replace("\'", "''", $view_userdata['username'] ) . "'"; *************** *** 428,441 **** if ( $board_config['require_activation'] == USER_ACTIVATION_SELF ) { ! $message = $lang['Account_inactive'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); } else if ( $board_config['require_activation'] == USER_ACTIVATION_ADMIN ) { ! $message = $lang['Account_inactive_admin'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); } } else { ! $message = $lang['Profile_updated_inactive'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); } } --- 428,441 ---- if ( $board_config['require_activation'] == USER_ACTIVATION_SELF ) { ! $message = $lang['Account_inactive'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . mx_append_sid("index.$phpEx") . '">', '</a>'); } else if ( $board_config['require_activation'] == USER_ACTIVATION_ADMIN ) { ! $message = $lang['Account_inactive_admin'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . mx_append_sid("index.$phpEx") . '">', '</a>'); } } else { ! $message = $lang['Profile_updated_inactive'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . mx_append_sid("index.$phpEx") . '">', '</a>'); } } *************** *** 444,452 **** if ($create_user) { ! $message = $lang['Account_added'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); } else { ! $message = $lang['Profile_updated'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); } } --- 444,452 ---- if ($create_user) { ! $message = $lang['Account_added'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . mx_append_sid("index.$phpEx") . '">', '</a>'); } else { ! $message = $lang['Profile_updated'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . mx_append_sid("index.$phpEx") . '">', '</a>'); } } *************** *** 455,459 **** { $template->assign_vars(array( ! "META" => '<meta http-equiv="refresh" content="5;url=' . append_sid(this_profile_mxurl()) . '">') ); mx_message_die(GENERAL_MESSAGE, $message); --- 455,459 ---- { $template->assign_vars(array( ! "META" => '<meta http-equiv="refresh" content="5;url=' . mx_append_sid(this_profile_mxurl()) . '">') ); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 520,525 **** for ($i=0; $i < strlen($userdata['session_robot']); $i++) { ! $template->assign_block_vars('switch_anti_robotic.robotic_pic', array( ! 'PIC' => append_sid($module_root_path . "profile_pic.$phpEx?l=$i"), ) ); --- 520,525 ---- for ($i=0; $i < strlen($userdata['session_robot']); $i++) { ! $template->assign_block_vars('switch_anti_robotic.robotic_pic', array( ! 'PIC' => mx_append_sid($module_root_path . "profile_pic.$phpEx?l=$i"), ) ); *************** *** 544,548 **** FROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt WHERE p.topic_id = $topic_id ! AND p.post_id=t.topic_first_post_id AND pt.post_id = p.post_id AND u.user_id = p.poster_id"; --- 544,548 ---- FROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt WHERE p.topic_id = $topic_id ! AND p.post_id=t.topic_first_post_id AND pt.post_id = p.post_id AND u.user_id = p.poster_id"; *************** *** 561,565 **** if ( $board_config['allow_smilies'] && $row['enable_smilies'] ) $message = smilies_pass($message); $message = str_replace("\n", "\n<br />\n", $message); ! $last_update = $lang['Last_updated'] . ": " . create_date($board_config['default_dateformat'], $row['post_time'], $board_config['board_timezone']); // send --- 561,565 ---- if ( $board_config['allow_smilies'] && $row['enable_smilies'] ) $message = smilies_pass($message); $message = str_replace("\n", "\n<br />\n", $message); ! $last_update = $lang['Last_updated'] . ": " . phpBB2::create_date($board_config['default_dateformat'], $row['post_time'], $board_config['board_timezone']); // send *************** *** 582,586 **** $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => append_sid(this_profile_mxurl()), ) ); --- 582,586 ---- $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => mx_append_sid(this_profile_mxurl()), ) ); Index: profilcp_profil_groups.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_profil_groups.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_profil_groups.php 5 Apr 2006 23:04:42 -0000 1.4 --- profilcp_profil_groups.php 9 Sep 2007 20:33:06 -0000 1.5 *************** *** 35,51 **** $sql_mod_gmz = !$mod_group_moderatorz ? '' : ', view_ug.group_moderator AS view_group_moderator, user_ug.group_moderator AS user_group_moderator'; ! $sql = "SELECT ! g.*, ! view_ug.user_pending AS view_pending, ! user_ug.user_pending AS user_pending $sql_mod_gmz FROM ((" . GROUPS_TABLE . " AS g LEFT JOIN " . USER_GROUP_TABLE . " AS view_ug ON view_ug.group_id=g.group_id AND view_ug.user_id=" . $view_userdata['user_id'] . ") LEFT JOIN " . USER_GROUP_TABLE . " AS user_ug ON user_ug.group_id=g.group_id AND user_ug.user_id=" . $userdata['user_id'] . ") ! WHERE g.group_single_user = 0 ORDER BY g.group_name, g.group_id"; ! if ( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not read groups', '', __LINE__, __FILE__, $sql); } $select_avail = false; --- 35,51 ---- $sql_mod_gmz = !$mod_group_moderatorz ? '' : ', view_ug.group_moderator AS view_group_moderator, user_ug.group_moderator AS user_group_moderator'; ! $sql = "SELECT ! g.*, ! view_ug.user_pending AS view_pending, ! user_ug.user_pending AS user_pending $sql_mod_gmz FROM ((" . GROUPS_TABLE . " AS g LEFT JOIN " . USER_GROUP_TABLE . " AS view_ug ON view_ug.group_id=g.group_id AND view_ug.user_id=" . $view_userdata['user_id'] . ") LEFT JOIN " . USER_GROUP_TABLE . " AS user_ug ON user_ug.group_id=g.group_id AND user_ug.user_id=" . $userdata['user_id'] . ") ! WHERE g.group_single_user = 0 ORDER BY g.group_name, g.group_id"; ! if ( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not read groups', '', __LINE__, __FILE__, $sql); } $select_avail = false; *************** *** 256,260 **** // update table ! $sql = "SELECT * FROM " . USER_GROUP_TABLE . " WHERE group_id=$group_id AND user_id=" . $view_userdata['user_id']; if ( !$result = $db->sql_query($sql) ) --- 256,260 ---- // update table ! $sql = "SELECT * FROM " . USER_GROUP_TABLE . " WHERE group_id=$group_id AND user_id=" . $view_userdata['user_id']; if ( !$result = $db->sql_query($sql) ) *************** *** 265,270 **** { // update user group ! $sql = "UPDATE " . USER_GROUP_TABLE . " ! SET user_pending=" . ( $pending ? '1' : '0' ) . " WHERE group_id=$group_id AND user_id=" . $view_userdata['user_id']; if ( !$db->sql_query($sql) ) --- 265,270 ---- { // update user group ! $sql = "UPDATE " . USER_GROUP_TABLE . " ! SET user_pending=" . ( $pending ? '1' : '0' ) . " WHERE group_id=$group_id AND user_id=" . $view_userdata['user_id']; if ( !$db->sql_query($sql) ) *************** *** 276,282 **** { // create user group ! $sql = "INSERT INTO " . USER_GROUP_TABLE . " (group_id, user_id, user_pending) ! VALUES ($group_id, " . $view_userdata['user_id'] . ", " . ( $pending ? '1' : '0' ) . ")"; if ( !$db->sql_query($sql) ) --- 276,282 ---- { // create user group ! $sql = "INSERT INTO " . USER_GROUP_TABLE . " (group_id, user_id, user_pending) ! VALUES ($group_id, " . $view_userdata['user_id'] . ", " . ( $pending ? '1' : '0' ) . ")"; if ( !$db->sql_query($sql) ) *************** *** 292,300 **** if ( $action && ($view_userdata['user_level'] != ADMIN) ) { ! $sql = "SELECT COUNT(auth_mod) AS is_auth_mod ! FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug ! WHERE ug.user_id = " . $view_userdata['user_id'] . " AND ug.user_pending = 0 ! AND aa.group_id = ug.group_id AND aa.auth_mod = 1"; if ( !$result = $db->sql_query($sql) ) --- 292,300 ---- if ( $action && ($view_userdata['user_level'] != ADMIN) ) { ! $sql = "SELECT COUNT(auth_mod) AS is_auth_mod ! FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug ! WHERE ug.user_id = " . $view_userdata['user_id'] . " AND ug.user_pending = 0 ! AND aa.group_id = ug.group_id AND aa.auth_mod = 1"; if ( !$result = $db->sql_query($sql) ) *************** *** 311,316 **** // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_level = " . ( $is_moderator ? MOD : USER ) . " WHERE user_id = " . $view_userdata['user_id']; if ( !$db->sql_query($sql) ) --- 311,316 ---- // update ! $sql = "UPDATE " . USERS_TABLE . " ! SET user_level = " . ( $is_moderator ? MOD : USER ) . " WHERE user_id = " . $view_userdata['user_id']; if ( !$db->sql_query($sql) ) *************** *** 372,379 **** $emailer->assign_vars(array( ! 'SITENAME' => $board_config['sitename'], 'GROUP_NAME' => $group_name, 'GROUP_MODERATOR' => $moderator['username'], ! 'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '', 'U_GROUPCP' => $server_url . '?' . POST_GROUPS_URL . "=$group_id&validate=true") --- 372,379 ---- $emailer->assign_vars(array( ! 'SITENAME' => $board_config['sitename'], 'GROUP_NAME' => $group_name, 'GROUP_MODERATOR' => $moderator['username'], ! 'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '', 'U_GROUPCP' => $server_url . '?' . POST_GROUPS_URL . "=$group_id&validate=true") *************** *** 412,418 **** // dump to template $emailer->assign_vars(array( ! 'SITENAME' => $board_config['sitename'], 'GROUP_NAME' => $group_name, ! 'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '', 'U_GROUPCP' => $server_url . '?' . POST_GROUPS_URL . "=$group_id") --- 412,418 ---- // dump to template $emailer->assign_vars(array( ! 'SITENAME' => $board_config['sitename'], 'GROUP_NAME' => $group_name, ! 'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '', 'U_GROUPCP' => $server_url . '?' . POST_GROUPS_URL . "=$group_id") *************** *** 425,429 **** // send action msg ! $ret_link = append_sid(this_profile_mxurl("mode=$mode" . (($cur_subopt < 0) ? '' : "&sub=$sub") . "&" . POST_USERS_URL . "=$view_user_id") ); if ( $action ) { --- 425,429 ---- // send action msg ! $ret_link = mx_append_sid(this_profile_mxurl("mode=$mode" . (($cur_subopt < 0) ? '' : "&sub=$sub") . "&" . POST_USERS_URL . "=$view_user_id") ); if ( $action ) { *************** *** 439,443 **** $submit = false; $redirect = str_replace("?", "&", $ret_link ); ! mx_redirect(append_sid($redirect, true), 'ddd'); // redirect($ret_link); } --- 439,443 ---- $submit = false; $redirect = str_replace("?", "&", $ret_link ); ! mx_redirect(mx_append_sid($redirect, true), 'ddd'); // redirect($ret_link); } *************** *** 492,496 **** 'CHECKED' => ( $group_data['view_status'] >= 1 ) ? 'checked="checked"' : '', ! 'U_GROUP' => append_sid($phpbb_root_path . "groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id"), ) ); --- 492,496 ---- 'CHECKED' => ( $group_data['view_status'] >= 1 ) ? 'checked="checked"' : '', ! 'U_GROUP' => mx_append_sid($phpbb_root_path . "groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id"), ) ); *************** *** 525,529 **** $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => append_sid(this_profile_mxurl()), ) ); --- 525,529 ---- $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => mx_append_sid(this_profile_mxurl()), ) ); Index: profilcp_public_groups.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_public_groups.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** profilcp_public_groups.php 5 Apr 2006 23:04:42 -0000 1.5 --- profilcp_public_groups.php 9 Sep 2007 20:33:06 -0000 1.6 *************** *** 30,51 **** // groupes $groups = array(); ! $sql = "SELECT ! g.group_id, ! g.group_name, ! g.group_description, ! g.group_type ! FROM ! " . USER_GROUP_TABLE . " l, ! " . GROUPS_TABLE . " g ! WHERE l.user_pending = 0 ! AND g.group_single_user = 0 ! AND l.user_id = $view_user_id ! AND g.group_id = l.group_id ! ORDER BY ! g.group_name, g.group_id"; ! if ( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not read groups', '', __LINE__, __FILE__, $sql); } while ($row = $db->sql_fetchrow($result)) --- 30,51 ---- // groupes $groups = array(); ! $sql = "SELECT ! g.group_id, ! g.group_name, ! g.group_description, ! g.group_type ! FROM ! " . USER_GROUP_TABLE . " l, ! " . GROUPS_TABLE . " g ! WHERE l.user_pending = 0 ! AND g.group_single_user = 0 ! AND l.user_id = $view_user_id ! AND g.group_id = l.group_id ! ORDER BY ! g.group_name, g.group_id"; ! if ( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not read groups', '', __LINE__, __FILE__, $sql); } while ($row = $db->sql_fetchrow($result)) *************** *** 92,96 **** $nb++; $class = !$class; ! $u_group_name = append_sid($phpbb_root_path . "groupcp.$phpEx?" . POST_GROUPS_URL . '=' . $groups[$i]['group_id']); $l_group_name = $groups[$i]['group_name']; $l_group_desc = $groups[$i]['group_description']; --- 92,96 ---- $nb++; $class = !$class; ! $u_group_name = mx_append_sid($phpbb_root_path . "groupcp.$phpEx?" . POST_GROUPS_URL . '=' . $groups[$i]['group_id']); $l_group_name = $groups[$i]['group_name']; $l_group_desc = $groups[$i]['group_description']; *************** *** 114,118 **** $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => append_sid(this_profile_mxurl()), ) ); --- 114,118 ---- $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $s_hidden_fields, ! 'S_PROFILCP_ACTION' => mx_append_sid(this_profile_mxurl()), ) ); Index: profilcp_email.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_email.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** profilcp_email.php 5 Apr 2006 23:04:42 -0000 1.8 --- profilcp_email.php 9 Sep 2007 20:33:05 -0000 1.9 *************** *** 8,12 **** * */ ! if ( !empty($setmodules) ) return; --- 8,12 ---- * */ ! if ( !empty($setmodules) ) return; *************** *** 20,24 **** if (!$board_config['board_email_form']) { ! redirect(append_sid("index.$phpEx", true)); } --- 20,24 ---- if (!$board_config['board_email_form']) { ! mx_redirect(mx_append_sid("index.$phpEx", true)); } *************** *** 35,46 **** { $redirect = str_replace("?", "&", this_profile_mxurl("mode=email&" . POST_US... [truncated message content] |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:33:29
|
Update of /cvsroot/mxbb/mx_profilecp In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29066 Modified Files: profile.php profile_pic.php Log Message: for 2.9.x Index: profile.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profile.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** profile.php 17 Jun 2006 20:49:53 -0000 1.11 --- profile.php 9 Sep 2007 20:33:07 -0000 1.12 *************** *** 169,182 **** { $redirect = str_replace("?", "&", this_profile_mxurl() ); ! mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=". $redirect, true)); // mx_message_die(GENERAL_MESSAGE, $lang['Not_allowed_to']); ! // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".this_profile_mxurl(), true)); } else if ($mode != 'activate') { $redirect = str_replace("?", "&", this_profile_mxurl("mode=viewprofile&" . POST_USERS_URL . "=$view_user_id") ); ! mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=". $redirect, true)); // mx_message_die(GENERAL_MESSAGE, $lang['Not_allowed_to']); ! // redirect(append_sid("login.$phpEx?redirect=profile.$phpEx&mode=viewprofile&" . POST_USERS_URL . "=$view_user_id", true)); $mode = 'viewprofile'; } --- 169,182 ---- { $redirect = str_replace("?", "&", this_profile_mxurl() ); ! mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=". $redirect, true)); // mx_message_die(GENERAL_MESSAGE, $lang['Not_allowed_to']); ! // mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=".this_profile_mxurl(), true)); } else if ($mode != 'activate') { $redirect = str_replace("?", "&", this_profile_mxurl("mode=viewprofile&" . POST_USERS_URL . "=$view_user_id") ); ! mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=". $redirect, true)); // mx_message_die(GENERAL_MESSAGE, $lang['Not_allowed_to']); ! // mx_redirect(mx_append_sid("login.$phpEx?redirect=profile.$phpEx&mode=viewprofile&" . POST_USERS_URL . "=$view_user_id", true)); $mode = 'viewprofile'; } *************** *** 282,287 **** if (!$error && !$no_header) { ! $ret_link = append_sid(this_profile_mxurl("mode=$mode") . (($cur_subopt < 0) ? '' : "&sub=$sub") . "&" . POST_USERS_URL . "=$view_user_id"); ! // $ret_link = append_sid( ($is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . (($cur_subopt < 0) ? '' : "&sub=$sub") . "&" . POST_USERS_URL . "=$view_user_id" ); $template->assign_vars(array( 'META' => '<meta http-equiv="refresh" content="3;url=' . $ret_link . '">') --- 282,287 ---- if (!$error && !$no_header) { ! $ret_link = mx_append_sid(this_profile_mxurl("mode=$mode") . (($cur_subopt < 0) ? '' : "&sub=$sub") . "&" . POST_USERS_URL . "=$view_user_id"); ! // $ret_link = mx_append_sid( ($is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . (($cur_subopt < 0) ? '' : "&sub=$sub") . "&" . POST_USERS_URL . "=$view_user_id" ); $template->assign_vars(array( 'META' => '<meta http-equiv="refresh" content="3;url=' . $ret_link . '">') *************** *** 293,302 **** else if ($cancel) { ! // $msg = sprintf($lang['Click_return_inbox'], '<a href="' . append_sid(this_profile_mxurl("mode=privmsg&sub=$folder")) . '">', '</a> ') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid(this_profile_mxurl()) . '">', '</a>'); // mx_message_die(GENERAL_MESSAGE, $msg); $redirect = str_replace("?", "&", this_profile_mxurl("mode=$mode&sub=$sub&debugg=on") ); ! mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=". $redirect, true)); ! // mx_redirect(append_sid( this_profile_mxurl("mode=$mode&sub=$sub&debugg=on"), true)); ! // redirect(append_sid( ($is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . "$mode&sub=$sub")); } else --- 293,302 ---- else if ($cancel) { ! // $msg = sprintf($lang['Click_return_inbox'], '<a href="' . mx_append_sid(this_profile_mxurl("mode=privmsg&sub=$folder")) . '">', '</a> ') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . mx_append_sid(this_profile_mxurl()) . '">', '</a>'); // mx_message_die(GENERAL_MESSAGE, $msg); $redirect = str_replace("?", "&", this_profile_mxurl("mode=$mode&sub=$sub&debugg=on") ); ! mx_redirect(mx_append_sid($mx_root_path . "login.$phpEx?redirect=". $redirect, true)); ! // mx_redirect(mx_append_sid( this_profile_mxurl("mode=$mode&sub=$sub&debugg=on"), true)); ! // redirect(mx_append_sid( ($is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . "$mode&sub=$sub")); } else *************** *** 318,324 **** $template->assign_vars(array( "BORDER_COLOR" => "#bdbdbd", ! "U_INDEX" => append_sid($mx_root_path), "L_INDEX" => '<<', ! 'U_MODULE_HOME' => append_sid(this_profile_mxurl("mode=home" ) . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ), 'L_MODULE_HOME' => $lang['ProfileCP_title'] )); --- 318,324 ---- $template->assign_vars(array( "BORDER_COLOR" => "#bdbdbd", ! "U_INDEX" => mx_append_sid($mx_root_path), "L_INDEX" => '<<', ! 'U_MODULE_HOME' => mx_append_sid(this_profile_mxurl("mode=home" ) . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ), 'L_MODULE_HOME' => $lang['ProfileCP_title'] )); *************** *** 349,357 **** $switch = ($curopt==$i) ? 'curopt' : ( ($userdata['session_logged_in'] && ( ($userdata['user_id'] == $view_user_id) || (is_admin($userdata) && ($level_prior[get_user_level($userdata)] > $level_prior[get_user_level($view_userdata)])))) ? 'otheropt' : 'inactopt' ); $template->assign_block_vars('opt', array()); ! $link = append_sid(this_profile_mxurl("mode=" . $module['mode'][$i]) . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ); if ( count($module['sub'][$i]['mode']) == 1 ) { // only one sub-module ! $link = append_sid(this_profile_mxurl("mode=" . $module['mode'][$i] . "&sub=" . $module['sub'][$i]['mode'][0] ). ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ); } $template->assign_block_vars('opt.' . $switch, array( --- 349,357 ---- $switch = ($curopt==$i) ? 'curopt' : ( ($userdata['session_logged_in'] && ( ($userdata['user_id'] == $view_user_id) || (is_admin($userdata) && ($level_prior[get_user_level($userdata)] > $level_prior[get_user_level($view_userdata)])))) ? 'otheropt' : 'inactopt' ); $template->assign_block_vars('opt', array()); ! $link = mx_append_sid(this_profile_mxurl("mode=" . $module['mode'][$i]) . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ); if ( count($module['sub'][$i]['mode']) == 1 ) { // only one sub-module ! $link = mx_append_sid(this_profile_mxurl("mode=" . $module['mode'][$i] . "&sub=" . $module['sub'][$i]['mode'][0] ). ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ); } $template->assign_block_vars('opt.' . $switch, array( *************** *** 373,378 **** $template->assign_block_vars('sub_menu', array( ! 'U_MODULE' => append_sid(this_profile_mxurl("mode=" . $module['mode'][$curopt] . "&sub=$sub" ) . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ), ! // 'U_MODULE' => append_sid( ($is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . $module['mode'][$curopt] . "&sub=$sub" . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ), 'L_MODULE' => $module['sub'][$curopt]['page_title'][$cur_subopt], 'NBOPT' => $nb_opt, --- 373,378 ---- $template->assign_block_vars('sub_menu', array( ! 'U_MODULE' => mx_append_sid(this_profile_mxurl("mode=" . $module['mode'][$curopt] . "&sub=$sub" ) . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ), ! // 'U_MODULE' => mx_append_sid( ($is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . $module['mode'][$curopt] . "&sub=$sub" . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ), 'L_MODULE' => $module['sub'][$curopt]['page_title'][$cur_subopt], 'NBOPT' => $nb_opt, *************** *** 395,400 **** $template->assign_block_vars('sub_menu.opt.' . $switch, array( 'SHORTCUT' => $module['sub'][$curopt]['shortcut'][$i], ! 'U_SHORTCUT' => append_sid(this_profile_mxurl("mode=" . $module['mode'][$curopt] . "&sub=" . $module['sub'][$curopt]['mode'][$i]) . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ), ! // 'U_SHORTCUT' => append_sid( ($is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . $module['mode'][$curopt] . "&sub=" . $module['sub'][$curopt]['mode'][$i] . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ), ) ); --- 395,400 ---- $template->assign_block_vars('sub_menu.opt.' . $switch, array( 'SHORTCUT' => $module['sub'][$curopt]['shortcut'][$i], ! 'U_SHORTCUT' => mx_append_sid(this_profile_mxurl("mode=" . $module['mode'][$curopt] . "&sub=" . $module['sub'][$curopt]['mode'][$i]) . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ), ! // 'U_SHORTCUT' => mx_append_sid( ($is_block ? "index.$phpEx?page=$page_id&mode=" : "profile.$phpEx?mode=" ) . $module['mode'][$curopt] . "&sub=" . $module['sub'][$curopt]['mode'][$i] . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ), ) ); *************** *** 426,430 **** 'NAV_SEPARATOR' => $nav_separator, 'L_MODULE' => ( ($view_userdata['user_id'] != ANONYMOUS) ? $view_userdata['username'] : $lang['Guest']), ! 'U_MODULE' => append_sid(this_profile_mxurl("mode=" . $module['mode'][$curopt] ) . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ), 'L_TITLE' => $title, ) --- 426,430 ---- 'NAV_SEPARATOR' => $nav_separator, 'L_MODULE' => ( ($view_userdata['user_id'] != ANONYMOUS) ? $view_userdata['username'] : $lang['Guest']), ! 'U_MODULE' => mx_append_sid(this_profile_mxurl("mode=" . $module['mode'][$curopt] ) . ( ($view_userdata['user_id'] != ANONYMOUS) ? '&' . POST_USERS_URL . '=' . $view_userdata['user_id'] : '') ), 'L_TITLE' => $title, ) Index: profile_pic.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profile_pic.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** profile_pic.php 18 Jun 2006 10:47:14 -0000 1.7 --- profile_pic.php 9 Sep 2007 20:33:07 -0000 1.8 *************** *** 23,27 **** // init_userprefs($userdata); // $userdata = session_pagestart($user_ip, PAGE_INDEX); ! // mx_init_userprefs($userdata); $mx_user->init($user_ip, PAGE_INDEX); --- 23,27 ---- // init_userprefs($userdata); // $userdata = session_pagestart($user_ip, PAGE_INDEX); ! // init_userprefs($userdata); $mx_user->init($user_ip, PAGE_INDEX); |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:33:29
|
Update of /cvsroot/mxbb/mx_profilecp/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29066/includes Modified Files: functions_topics_list.php Log Message: for 2.9.x Index: functions_topics_list.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/includes/functions_topics_list.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** functions_topics_list.php 5 Apr 2006 23:04:41 -0000 1.6 --- functions_topics_list.php 9 Sep 2007 20:33:05 -0000 1.7 *************** *** 51,61 **** // standard sql request in order to fill the topic_rowset array : // --------------------------------- ! // $sql = "SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time // FROM " . TOPICS_TABLE . " t, " . USERS_TABLE . " u, " . POSTS_TABLE . " p, " . POSTS_TABLE . " p2, " . USERS_TABLE . " u2 // WHERE t.topic_poster = u.user_id // AND p.post_id = t.topic_first_post_id // AND p2.post_id = t.topic_last_post_id ! // AND u2.user_id = p2.poster_id ! // ORDER BY t.topic_type DESC, t.topic_last_post_id DESC // LIMIT $start, ".$board_config['topics_per_page']; // --------------------------------- --- 51,61 ---- // standard sql request in order to fill the topic_rowset array : // --------------------------------- ! // $sql = "SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time // FROM " . TOPICS_TABLE . " t, " . USERS_TABLE . " u, " . POSTS_TABLE . " p, " . POSTS_TABLE . " p2, " . USERS_TABLE . " u2 // WHERE t.topic_poster = u.user_id // AND p.post_id = t.topic_first_post_id // AND p2.post_id = t.topic_last_post_id ! // AND u2.user_id = p2.poster_id ! // ORDER BY t.topic_type DESC, t.topic_last_post_id DESC // LIMIT $start, ".$board_config['topics_per_page']; // --------------------------------- *************** *** 132,136 **** $orig_word = array(); $replacement_word = array(); ! obtain_word_list($orig_word, $replacement_word); // read the user cookie --- 132,136 ---- $orig_word = array(); $replacement_word = array(); ! phpBB2::obtain_word_list($orig_word, $replacement_word); // read the user cookie *************** *** 182,186 **** // check the posts $s_topic_ids = implode(', ', $topic_ids); ! $sql = "SELECT DISTINCT topic_id FROM " . POSTS_TABLE . " WHERE topic_id IN ($s_topic_ids) AND poster_id = " . $userdata['user_id']; --- 182,186 ---- // check the posts $s_topic_ids = implode(', ', $topic_ids); ! $sql = "SELECT DISTINCT topic_id FROM " . POSTS_TABLE . " WHERE topic_id IN ($s_topic_ids) AND poster_id = " . $userdata['user_id']; *************** *** 261,265 **** else { ! $topic_type = ''; } if( $topic_rowset[$i]['topic_vote'] ) --- 261,265 ---- else { ! $topic_type = ''; } if( $topic_rowset[$i]['topic_vote'] ) *************** *** 326,330 **** if ( $userdata['session_logged_in'] && ($topic_item_type == POST_TOPIC_URL) ) { ! if( $topic_rowset[$i]['post_time'] > $userdata['user_lastvisit'] ) { if( !empty($tracking_topics) || !empty($tracking_forums) || !empty($tracking_all) ) --- 326,330 ---- if ( $userdata['session_logged_in'] && ($topic_item_type == POST_TOPIC_URL) ) { ! if( $topic_rowset[$i]['post_time'] > $userdata['user_lastvisit'] ) { if( !empty($tracking_topics) || !empty($tracking_forums) || !empty($tracking_all) ) *************** *** 356,360 **** $folder_image = $folder_new; $folder_alt = $lang['New_posts']; ! $newest_post_img = '<a href="' . append_sid($phpbb_root_path . "viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest") . '"><img src="' . $images['profilecp_icon_newest_reply'] . '" alt="' . $lang['View_newest_post'] . '" title="' . $lang['View_newest_post'] . '" border="0" /></a> '; } else --- 356,360 ---- $folder_image = $folder_new; $folder_alt = $lang['New_posts']; ! $newest_post_img = '<a href="' . mx_append_sid($phpbb_root_path . "viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest") . '"><img src="' . $images['profilecp_icon_newest_reply'] . '" alt="' . $lang['View_newest_post'] . '" title="' . $lang['View_newest_post'] . '" border="0" /></a> '; } else *************** *** 369,376 **** $folder_image = $folder_new; $folder_alt = ( $topic_rowset[$i]['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['New_posts']; ! $newest_post_img = '<a href="' . append_sid($phpbb_root_path ."viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest") . '"><img src="' . $images['profilecp_icon_newest_reply'] . '" alt="' . $lang['View_newest_post'] . '" title="' . $lang['View_newest_post'] . '" border="0" /></a> '; } } ! else { $folder_image = $folder; --- 369,376 ---- $folder_image = $folder_new; $folder_alt = ( $topic_rowset[$i]['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['New_posts']; ! $newest_post_img = '<a href="' . mx_append_sid($phpbb_root_path ."viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest") . '"><img src="' . $images['profilecp_icon_newest_reply'] . '" alt="' . $lang['View_newest_post'] . '" title="' . $lang['View_newest_post'] . '" border="0" /></a> '; } } ! else { $folder_image = $folder; *************** *** 396,400 **** for($j = 0; $j < $replies + 1; $j += $board_config['posts_per_page']) { ! $goto_page .= '<a href="' . append_sid($phpbb_root_path ."viewtopic.$phpEx?" . POST_TOPIC_URL . "=" . $topic_id . "&start=$j") . '">' . $times . '</a>'; if( $times == 1 && $total_pages > 4 ) { --- 396,400 ---- for($j = 0; $j < $replies + 1; $j += $board_config['posts_per_page']) { ! $goto_page .= '<a href="' . mx_append_sid($phpbb_root_path ."viewtopic.$phpEx?" . POST_TOPIC_URL . "=" . $topic_id . "&start=$j") . '">' . $times . '</a>'; if( $times == 1 && $total_pages > 4 ) { *************** *** 420,434 **** { case POST_USERS_URL: ! $view_topic_url = append_sid($phpbb_root_path ."profile.$phpEx?" . POST_USERS_URL . "=$topic_id"); break; default: ! $view_topic_url = append_sid($phpbb_root_path ."viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id"); ! $topic_author = ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $topic_rowset[$i]['user_id']) . '">' : ''; $topic_author .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? $topic_rowset[$i]['username'] : ( ( $topic_rowset[$i]['post_username'] != '' ) ? $topic_rowset[$i]['post_username'] : $lang['Guest'] ); $topic_author .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : ''; ! $first_post_time = create_date($board_config['default_dateformat'], $topic_rowset[$i]['topic_time'], $board_config['board_timezone']); ! $last_post_time = create_date($board_config['default_dateformat'], $topic_rowset[$i]['post_time'], $board_config['board_timezone']); ! $last_post_author = ( $topic_rowset[$i]['id2'] == ANONYMOUS ) ? ( ($topic_rowset[$i]['post_username2'] != '' ) ? $topic_rowset[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $topic_rowset[$i]['id2']) . '">' . $topic_rowset[$i]['user2'] . '</a>'; ! $last_post_url = '<a href="' . append_sid($phpbb_root_path ."viewtopic.$phpEx?" . POST_POST_URL . '=' . $topic_rowset[$i]['topic_last_post_id']) . '#' . $topic_rowset[$i]['topic_last_post_id'] . '"><img src="' . $images['profilecp_icon_latest_reply'] . '" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" border="0" /></a>'; $views = $topic_rowset[$i]['topic_views']; break; --- 420,434 ---- { case POST_USERS_URL: ! $view_topic_url = mx_append_sid($phpbb_root_path ."profile.$phpEx?" . POST_USERS_URL . "=$topic_id"); break; default: ! $view_topic_url = mx_append_sid($phpbb_root_path ."viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id"); ! $topic_author = ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $topic_rowset[$i]['user_id']) . '">' : ''; $topic_author .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? $topic_rowset[$i]['username'] : ( ( $topic_rowset[$i]['post_username'] != '' ) ? $topic_rowset[$i]['post_username'] : $lang['Guest'] ); $topic_author .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : ''; ! $first_post_time = phpBB2::create_date($board_config['default_dateformat'], $topic_rowset[$i]['topic_time'], $board_config['board_timezone']); ! $last_post_time = phpBB2::create_date($board_config['default_dateformat'], $topic_rowset[$i]['post_time'], $board_config['board_timezone']); ! $last_post_author = ( $topic_rowset[$i]['id2'] == ANONYMOUS ) ? ( ($topic_rowset[$i]['post_username2'] != '' ) ? $topic_rowset[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $topic_rowset[$i]['id2']) . '">' . $topic_rowset[$i]['user2'] . '</a>'; ! $last_post_url = '<a href="' . mx_append_sid($phpbb_root_path ."viewtopic.$phpEx?" . POST_POST_URL . '=' . $topic_rowset[$i]['topic_last_post_id']) . '#' . $topic_rowset[$i]['topic_last_post_id'] . '"><img src="' . $images['profilecp_icon_latest_reply'] . '" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" border="0" /></a>'; $views = $topic_rowset[$i]['topic_views']; break; *************** *** 450,454 **** if ($is_auth[ $topic_rowset[$i]['forum_id'] ]['auth_view']) { ! $nav_tree = '<a href="' . append_sid($phpbb_root_path ."viewforum.$phpEx?f=" . $topic_rowset[$i]['forum_id']) . '" class="gensmall">' . $topic_rowset[$i]['forum_name'] . '</a>'; } } --- 450,454 ---- if ($is_auth[ $topic_rowset[$i]['forum_id'] ]['auth_view']) { ! $nav_tree = '<a href="' . mx_append_sid($phpbb_root_path ."viewforum.$phpEx?f=" . $topic_rowset[$i]['forum_id']) . '" class="gensmall">' . $topic_rowset[$i]['forum_name'] . '</a>'; } } |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:28:35
|
Update of /cvsroot/mxbb/mx_profilecp/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27275 Modified Files: subSilver.cfg Log Message: update-check-before-removal Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/templates/subSilver/subSilver.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** subSilver.cfg 5 Apr 2006 21:35:21 -0000 1.1 --- subSilver.cfg 9 Sep 2007 20:28:00 -0000 1.2 *************** *** 14,19 **** // 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 // --- 14,19 ---- // 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 // *************** *** 26,29 **** --- 26,34 ---- // ------------------------------------------------------------------------- + // 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 // ------------------------------------------------------------------------- *************** *** 120,124 **** // 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']; --- 125,129 ---- // 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']; |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:27:04
|
Update of /cvsroot/mxbb/mx_profilecp/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26852/admin Log Message: Directory /cvsroot/mxbb/mx_profilecp/templates/_core/admin added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:27:04
|
Update of /cvsroot/mxbb/mx_profilecp/templates/_core/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26852/images Log Message: Directory /cvsroot/mxbb/mx_profilecp/templates/_core/images added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:26:49
|
Update of /cvsroot/mxbb/mx_profilecp/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26828/_core Log Message: Directory /cvsroot/mxbb/mx_profilecp/templates/_core added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:26:16
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/subsilver2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26795 Removed Files: mx_forum.html mx_viewforum.html subsilver2.cfg Log Message: for 2.9.x --- subsilver2.cfg DELETED --- --- mx_viewforum.html DELETED --- --- mx_forum.html DELETED --- |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:20:07
|
Update of /cvsroot/mxbb/mx_phpbb/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25023/admin Removed Files: forum_admin_body_ext.tpl index.htm mx_module_parameters.tpl Log Message: for 2.9.x --- forum_admin_body_ext.tpl DELETED --- --- mx_module_parameters.tpl DELETED --- --- index.htm DELETED --- |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:20:05
|
Update of /cvsroot/mxbb/mx_phpbb/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25023 Removed Files: index.htm Log Message: for 2.9.x --- index.htm DELETED --- |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:19:59
|
Update of /cvsroot/mxbb/mx_phpbb/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24999 Added Files: index.htm Log Message: for 2.9.x --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: Jon O. <jon...@us...> - 2007-09-09 20:19:59
|
Update of /cvsroot/mxbb/mx_phpbb/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24999/admin Added Files: forum_admin_body_ext.tpl index.htm mx_module_parameters.tpl Log Message: for 2.9.x --- NEW FILE: forum_admin_body_ext.tpl --- <h1>{L_FORUM_TITLE}</h1> <p>{L_FORUM_EXPLAIN}</p> <form action="{S_FORUM_ACTION}" method="post"> <table width="100%" cellpadding="3" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_DEFAULT_PAGES_TITLE}<br /><span class="gensmall">{L_DEFAULT_PAGES_TITLE_EXPLAIN}</span></th> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_INTEGRATION_ENABLED}<br /><span class="gensmall">{L_PHPBB_INTEGRATION_ENABLED_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="enable_module" value="1" {PHPBB_INTEGRATION_ENABLED_YES} /><span class="gensmall">{L_PHPBB_INTEGRATION_ENABLED_YES} <input type="radio" name="enable_module" value="0" {PHPBB_INTEGRATION_ENABLED_NO} /><span class="gensmall">{L_PHPBB_INTEGRATION_ENABLED_NO}</span></td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_OVERRIDE_DEFAULT_PAGES}<br /><span class="gensmall">{L_PHPBB_OVERRIDE_DEFAULT_PAGES_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="override_default_pages" value="1" {OVERRIDE_DEFAULT_PAGES_CHECKBOX_YES} /><span class="gensmall">{L_PHPBB_OVERRIDE_DEFAULT_PAGES_YES} <input type="radio" name="override_default_pages" value="0" {OVERRIDE_DEFAULT_PAGES_CHECKBOX_NO} /><span class="gensmall">{L_PHPBB_OVERRIDE_DEFAULT_PAGES_NO}</span></td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_INDEX}<br /><span class="gensmall">{L_PHPBB_EXPLAIN}</span></td> <td class="row2" width="50%">{PHPBB_INDEX}</td> </tr> <tr> <th class="thHead" colspan="2">{L_DEFAULT_PAGES_MORE_TITLE}<br /><span class="gensmall">{L_DEFAULT_PAGES_MORE_TITLE_EXPLAIN}</span></th> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_MEMBERLIST}<br /><span class="gensmall">{L_DEFAULT_PAGES_PROFILECP}</span></td> <td class="row2" width="50%">{PHPBB_MEMBERLIST}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_PRIVMSG}<br /><span class="gensmall">{L_DEFAULT_PAGES_PROFILECP}</span></td> <td class="row2" width="50%">{PHPBB_PRIVMSG}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_PROFILE}<br /><span class="gensmall">{L_DEFAULT_PAGES_PROFILECP}</span></td> <td class="row2" width="50%">{PHPBB_PROFILE}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_GROUPCP}</td> <td class="row2" width="50%">{PHPBB_GROUPCP}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_SEARCH}</td> <td class="row2" width="50%">{PHPBB_SEARCH}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_LOGIN}</td> <td class="row2" width="50%">{PHPBB_LOGIN}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_FAQ}</td> <td class="row2" width="50%">{PHPBB_FAQ}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_VIEWONLINE}</td> <td class="row2" width="50%">{PHPBB_VIEWONLINE}</td> </tr> <tr> <td class="row1" width="50%">{L_PHPBB_OTHER}</td> <td class="row2" width="50%">{PHPBB_OTHER}</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> </form> --- NEW FILE: mx_module_parameters.tpl --- <script type="text/javascript" src="{MX_ROOT_PATH}modules/mx_shared/lib/Toggle.js"></script> <tr> <td width="100%" colspan="2"> <!-- BEGIN switch_forums_phpbb --> <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline"> <tr> <th align="center" class="thTop" colspan="2" nowrap="nowrap" colspan="2"> {L_NEWS_FORUMS} </th> </tr> <!-- END switch_forums_phpbb --> <!-- BEGIN catrow --> <tr> <td class="cat" align="center"><a href="#" onClick="toggle('cat_{catrow.CAT_ID}', '{MX_IMAGES_ROOT}'); return false;"><img src="{MX_IMAGES_ROOT}contract.gif" border="0" id="cat_{catrow.CAT_ID}_img" /></a> <td class="cat" ><span class="cattitle">{catrow.CAT_NAME}</span></td> </tr> <tbody id="cat_{catrow.CAT_ID}"> <!-- BEGIN forumrow_phpbb --> <tr> <td class="row1" align="center" valign="top"><input type="checkbox" name="{SELECT_NAME}[{catrow.forumrow_phpbb.FORUM_ID}]" value="1" {catrow.forumrow_phpbb.CHECKED} /></td> <td class="row1" align="left" valign="top"><span class="forumlink">{catrow.forumrow_phpbb.FORUM_NAME}</span><br /><span class="gensmall">{catrow.forumrow_phpbb.FORUM_DESC}</span></td> </tr> <!-- END forumrow_phpbb --> </tbody> <!-- END catrow --> <!-- BEGIN switch_forums_phpbb --> </table> <!-- END switch_forums_phpbb --> </td> </tr> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |