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...> - 2005-09-06 18:52:06
|
Update of /cvsroot/mxbb/core/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4716/templates/subSilver Modified Files: mx_main_layout.tpl Log Message: Finalizing core 2.8 ;) Index: mx_main_layout.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/mx_main_layout.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_main_layout.tpl 1 May 2005 16:07:10 -0000 1.2 --- mx_main_layout.tpl 6 Sep 2005 18:51:57 -0000 1.3 *************** *** 2,121 **** <tr valign="top"> ! <!-- BEGIN layout_column --> <td class="{layout_column.COL_CLASS}" width="{layout_column.BLOCK_SIZE}"> ! <!-- BEGIN blocks --> ! ! <!-- BEGIN sub_start --> ! <table border="0" cellspacing="0" cellpadding="0" width="{layout_column.BLOCK_SIZE}"> ! <tr valign="top"> ! <!-- END sub_start --> ! ! <!-- BEGIN sub_col --> ! {layout_column.blocks.sub_col.INNER_SPACE} ! <td class="{layout_column.blocks.sub_col.COL_CLASS}" width="{layout_column.blocks.sub_col.BLOCK_SIZE}"> ! <!-- END sub_col --> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" class="mx_graphborder"> ! <tr> ! <td> ! ! <!-- BEGIN graph_border --> ! <table width="100%" cellpadding="0" cellspacing="0" border="0"> ! <tr> ! <td><img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}1-1.gif" width="5" height="5" alt="" /></td> ! <td background="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}1-2.gif" width="100%"><img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/spacer.gif" width="5" height="5" alt="" /></td> ! <td><img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}1-3.gif" width="5" height="5" alt="" /></td> ! </tr> ! <tr> ! <td background="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}2-1.gif" width="5"><img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/spacer.gif" width="5" height="5" alt="" /></td> ! <td background="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}2-2.gif" width="100%" align="center"> ! <!-- END graph_border --> ! ! <!-- BEGIN block_header --> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" class="mx_blockline"> ! <tr> ! <!-- END block_header --> ! ! <!-- BEGIN show_title --> ! <th class="{layout_column.blocks.show_title.TITLECLASS}" align="left" width="99%"> ! {layout_column.blocks.show_title.L_TITLE} ! </th> ! <!-- END show_title --> ! ! <!-- BEGIN edit --> ! <th class="{layout_column.blocks.edit.TITLECLASS}" align="right" width="1"> ! <form action="{layout_column.blocks.edit.EDIT_ACTION}" method="post" class="mx_editform"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0"> ! ! <!-- BEGIN switch_edit_on --> ! <tbody id="phpbbEdit_Blocks" name="phpbbEdit_Blocks" style="display: ;"> ! <!-- END switch_edit_on --> ! ! <!-- BEGIN switch_edit_off --> ! <tbody id="phpbbEdit_Blocks" name="phpbbEdit_Blocks" style="display: none;"> ! <!-- END switch_edit_off --> ! ! <tr> ! ! <!-- BEGIN hidden_block --> ! <td align="right"><span class="gensmall"><i> {layout_column.blocks.edit.hidden_block.HIDDEN_BLOCK}</i></span></td> ! <!-- END hidden_block --> ! <td align="right"> ! {layout_column.blocks.edit.EDIT_IMG} ! {layout_column.blocks.edit.S_HIDDEN_FORM_FIELDS} ! </td> ! ! </tr> ! ! </tbody> ! </table> ! </form> ! </th> ! <!-- END edit --> ! <!-- BEGIN block_header --> ! </tr> ! </table> ! <!-- END block_header --> ! ! {layout_column.blocks.BLOCK} ! ! <!-- BEGIN graph_border --> ! </td> ! <td background="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}2-3.gif" width="5"><img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/spacer.gif" width="5" height="5" alt="" /></td> ! </tr> ! <tr> ! <td><img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}3-1.gif" width="5" height="5" alt="" /></td> ! <td background="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}3-2.gif" width="100%"><img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/spacer.gif" width="5" height="5" alt="" /></td> ! <td><img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}3-3.gif" width="5" height="5" alt="" /></td> ! </tr> ! </table> ! <!-- END graph_border --> ! </td> ! </tr> ! </table> ! ! <!-- BEGIN block_stats --> ! <div align="right"><span class="copyright">{layout_column.blocks.block_stats.L_BLOCK_UPDATED}{layout_column.blocks.block_stats.EDITOR_NAME} ({layout_column.blocks.block_stats.EDIT_TIME})</span></div> ! <br clear="all" /> ! <!-- END block_stats --> ! ! <!-- BEGIN no_stats --> ! <br clear="all" /> ! <!-- END no_stats --> ! ! <!-- BEGIN sub_col --> ! </td> ! <!-- END sub_col --> ! <!-- BEGIN sub_end --> ! </tr></table> ! <!-- END sub_end --> ! ! <!-- END blocks --> ! </td> ! <!-- END layout_column --> </tr> </table> \ No newline at end of file --- 2,141 ---- <tr valign="top"> ! <!-- BEGIN layout_column --> <td class="{layout_column.COL_CLASS}" width="{layout_column.BLOCK_SIZE}"> ! <!-- BEGIN blocks --> ! <!-- BEGIN sub_start --> ! <table border="0" cellspacing="0" cellpadding="0" width="{layout_column.BLOCK_SIZE}"> ! <tr valign="top"> ! <!-- END sub_start --> ! ! <!-- BEGIN sub_col --> ! {layout_column.blocks.sub_col.INNER_SPACE} ! <td class="{layout_column.blocks.sub_col.COL_CLASS}" width="{layout_column.blocks.sub_col.BLOCK_SIZE}"> ! <!-- END sub_col --> ! ! <table width="{layout_column.BLOCK_SIZE}" cellpadding="0" cellspacing="0" border="0" class="mx_graphborder"> ! <tr> ! <td> ! ! <!-- BEGIN graph_border --> ! <table width="100%" cellpadding="0" cellspacing="0" border="0"> ! <tr> ! <td> ! <img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}1-1.gif" width="5" height="5" alt="" /> ! </td> ! <td background="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}1-2.gif" width="100%"> ! <img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/spacer.gif" width="5" height="5" alt="" /> ! </td> ! <td> ! <img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}1-3.gif" width="5" height="5" alt="" /> ! </td> ! </tr> ! <tr> ! <td background="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}2-1.gif" width="5"> ! <img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/spacer.gif" width="5" height="5" alt="" /> ! </td> ! <td background="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}2-2.gif" width="100%" align="center"> ! <!-- END graph_border --> ! ! <!-- BEGIN block_header --> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" class="mx_blockline"> ! <tr> ! <!-- END block_header --> ! ! <!-- BEGIN show_title --> ! <th class="{layout_column.blocks.show_title.TITLECLASS}" align="left" width="99%"> ! {layout_column.blocks.show_title.L_TITLE} ! </th> ! <!-- END show_title --> ! ! <!-- BEGIN edit --> ! <th class="{layout_column.blocks.edit.TITLECLASS}" align="right" width="1"> ! <form action="{layout_column.blocks.edit.EDIT_ACTION}" method="post" class="mx_editform"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0"> ! ! <!-- BEGIN switch_edit_on --> ! <tbody id="phpbbEdit_Blocks" name="phpbbEdit_Blocks" style="display: ;"> ! <!-- END switch_edit_on --> ! ! <!-- BEGIN switch_edit_off --> ! <tbody id="phpbbEdit_Blocks" name="phpbbEdit_Blocks" style="display: none;"> ! <!-- END switch_edit_off --> ! ! <tr> ! ! <!-- BEGIN hidden_block --> ! <td align="right"> ! <span class="gensmall"><i> {layout_column.blocks.edit.hidden_block.HIDDEN_BLOCK}</i></span> ! </td> ! <!-- END hidden_block --> ! <td align="right"> ! {layout_column.blocks.edit.EDIT_IMG} ! {layout_column.blocks.edit.S_HIDDEN_FORM_FIELDS} ! </td> ! ! </tr> ! ! </tbody> ! </table> ! </form> ! </th> ! <!-- END edit --> ! ! <!-- BEGIN block_header --> ! </tr> ! </table> ! <!-- END block_header --> ! ! {layout_column.blocks.BLOCK} ! <!-- BEGIN graph_border --> ! </td> ! <td background="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}2-3.gif" width="5"> ! <img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/spacer.gif" width="5" height="5" alt="" /> ! </td> ! </tr> ! <tr> ! <td> ! <img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}3-1.gif" width="5" height="5" alt="" /> ! </td> ! <td background="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}3-2.gif" width="100%"> ! <img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/spacer.gif" width="5" height="5" alt="" /> ! </td> ! <td> ! <img src="{layout_column.blocks.graph_border.TEMPLATE_ROOT_PATH}images/{layout_column.blocks.graph_border.PREFIX}3-3.gif" width="5" height="5" alt="" /> ! </td> ! </tr> ! </table> ! <!-- END graph_border --> ! ! </td> ! </tr> ! </table> ! <!-- BEGIN block_stats --> ! <div align="right"><span class="copyright">{layout_column.blocks.block_stats.L_BLOCK_UPDATED}{layout_column.blocks.block_stats.EDITOR_NAME} ({layout_column.blocks.block_stats.EDIT_TIME})</span></div> ! <br clear="all" /> ! <!-- END block_stats --> ! ! <!-- BEGIN no_stats --> ! <br clear="all" /> ! <!-- END no_stats --> ! <!-- BEGIN sub_col --> ! </td> ! <!-- END sub_col --> ! ! <!-- BEGIN sub_end --> ! </tr> ! </table> ! <!-- END sub_end --> ! ! <!-- END blocks --> ! ! </td> ! <!-- END layout_column --> </tr> </table> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2005-09-06 18:52:06
|
Update of /cvsroot/mxbb/core/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4716/templates/subSilver/admin Modified Files: mx_module_admin_body.tpl Log Message: Finalizing core 2.8 ;) Index: mx_module_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/mx_module_admin_body.tpl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mx_module_admin_body.tpl 20 Aug 2005 18:19:12 -0000 1.5 --- mx_module_admin_body.tpl 6 Sep 2005 18:51:57 -0000 1.6 *************** *** 216,224 **** <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="5">{L_TITLE}</th> </tr> <tr> ! <td class="catBottom" colspan="5" align="center">{S_HIDDEN_FIELDS_MODULE}<input class="mainoption" type="submit" name="import_pack" value="{L_IMPORT_PACK}"></td> </tr> <!-- BEGIN module --> --- 216,231 ---- <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" align="center"> + <tr> + <td align="center" colspan="5">{RESULT_MESSAGE}</td> + </tr> <tr> <th class="thHead" colspan="5">{L_TITLE}</th> </tr> <tr> ! <td class="catBottom" colspan="5" align="center"> ! <form action="{S_ACTION}" method="post"> ! {S_MODULE_INSTALL_LIST}{S_HIDDEN_MODULE_INSTALL_FIELDS}<input class="mainoption" type="submit" name="import_pack" value="{L_IMPORT_PACK}"> ! </form> ! </td> </tr> <!-- BEGIN module --> |
|
From: Jon O. <jon...@us...> - 2005-09-06 18:52:06
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4716/modules/mx_navmenu/language/lang_english Modified Files: lang_admin.php Log Message: Finalizing core 2.8 ;) Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/language/lang_english/lang_admin.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lang_admin.php 20 Aug 2005 18:19:12 -0000 1.1 --- lang_admin.php 6 Sep 2005 18:51:57 -0000 1.2 *************** *** 24,27 **** --- 24,30 ---- // Menu Management // + $lang['Nav_menu_cat'] = "Navigation Menu Category"; + $lang['Nav_menu'] = "Navigation Menu"; + $lang['Menu_admin'] = "Navigation Menu Administration"; $lang['Menu_admin_explain'] = "Use this form to customize your Navigation Menu"; *************** *** 52,56 **** --- 55,63 ---- $lang['Menu_par_title'] = "General Menu Navigation Settings:"; $lang['Show_cat'] = "Folded/Unfolded Category: <br /> - Default value, before user value is set:"; + $lang['Move_and_or_Delete'] = "Delete (and move)"; + $lang['Delete_nav_menu'] = "Delete Navigation Menu entry"; + $lang['Delete_nav_menu_explain'] = "This will delete the Navigation Menu entry. Beware, this operation cannot be undone!"; + $lang['Click_nav_menu_delete_yes'] = "Click %sHere%s to delete the Navigation Menu."; // |
|
From: Jon O. <jon...@us...> - 2005-09-06 18:52:05
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4716/modules/mx_navmenu/templates/subSilver/admin Modified Files: mx_module_parameters.tpl Log Message: Finalizing core 2.8 ;) Index: mx_module_parameters.tpl =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/templates/subSilver/admin/mx_module_parameters.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_module_parameters.tpl 21 Aug 2005 21:40:51 -0000 1.2 --- mx_module_parameters.tpl 6 Sep 2005 18:51:57 -0000 1.3 *************** *** 283,303 **** <th class="thHead">{L_MENU_TITLE}</th> </tr> <!-- BEGIN catrow --> <tr> <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="forumline"> - <tr> <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCat_');"> <img name="adminCat_image_{catrow.CAT_ID}" src="{catrow.IMG_URL}" border="0" align="absmiddle"> <span class="cattitle"><b>{catrow.CAT_TITLE}</b></span><br /><span class="gensmall"><b>{catrow.CAT_DESC}</b></span> </td> ! <td width="15%" class="cat" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"> <img name="adminCatEdit_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="gen">{L_EDIT}</span> </td> ! <td width="15%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatDelete_');"><img name="adminCatDelete_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gen">{L_DELETE}</span> </td> <td width="20%" class="cat" align="center" valign="middle" nowrap="nowrap"> <span class="gen"><a href="{catrow.U_CAT_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.U_CAT_MOVE_DOWN}">{L_MOVE_DOWN}</a></span> </td> </tr> --- 283,322 ---- <th class="thHead">{L_MENU_TITLE}</th> </tr> + <tr> + <td align="center"> + {RESULT_MESSAGE} + </td> + </tr> <!-- BEGIN catrow --> <tr> <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="forumline"> <tr> + <!-- BEGIN is_new --> + <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"> <img name="adminCatEdit_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_EDIT}" border="0" align="absmiddle"> + <span class="cattitle"><b>{catrow.CAT_TITLE}</b></span><br /><span class="gensmall"><b>{catrow.CAT_DESC}</b></span> + </td> + <!-- END is_new --> + <!-- BEGIN is_cat --> <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCat_');"> <img name="adminCat_image_{catrow.CAT_ID}" src="{catrow.IMG_URL}" border="0" align="absmiddle"> <span class="cattitle"><b>{catrow.CAT_TITLE}</b></span><br /><span class="gensmall"><b>{catrow.CAT_DESC}</b></span> </td> ! <!-- END is_cat --> ! <td width="15%" class="cat" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatEdit_');"> ! <!-- BEGIN is_cat --> ! <img name="adminCatEdit_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="gen">{L_EDIT}</span> + <!-- END is_cat --> </td> ! <td width="15%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatDelete_');"> ! <!-- BEGIN is_cat --> ! <img name="adminCatDelete_image_{catrow.CAT_ID}" src="{catrow.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gen">{L_DELETE}</span> + <!-- END is_cat --> </td> <td width="20%" class="cat" align="center" valign="middle" nowrap="nowrap"> + <!-- BEGIN is_cat --> <span class="gen"><a href="{catrow.U_CAT_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.U_CAT_MOVE_DOWN}">{L_MOVE_DOWN}</a></span> + <!-- END is_cat --> </td> </tr> *************** *** 316,334 **** <td colspan="5" class="row1"> <div id="adminCatDelete_{catrow.CAT_ID}" style="display:{catrow.VISIBLE_DELETE};" class="genmed"> ! <form action="{S_MENU_ACTION}" method="post"> ! <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatDelete_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.L_TITLE_DELETE}</span></td> </tr> <tr> ! <td class="row1">{L_MENU_NAME}</td> ! <td class="row1"><span class="row1">{NAME}</span></td> </tr> <tr> ! <td class="row1">{L_MOVE_CONTENTS}</td> ! <td class="row1">{S_SELECT_TO}</td> </tr> <tr> ! <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{S_SUBMIT_VALUE}" class="mainoption" /></td> </tr> </table> --- 335,353 ---- <td colspan="5" class="row1"> <div id="adminCatDelete_{catrow.CAT_ID}" style="display:{catrow.VISIBLE_DELETE};" class="genmed"> ! <form action="{S_ACTION}" method="post"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> <td class="row2" colspan="2" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.CAT_ID}','adminCatDelete_');"><img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> <span class="topictitle">{catrow.L_TITLE_DELETE}</span></td> </tr> <tr> ! <td width="50%" class="row1" align="right"><b>{catrow.L_MENU_NAME}</b></td> ! <td class="row1"><span class="row1">{catrow.NAME}</span></td> </tr> <tr> ! <td width="50%" class="row1" align="right"><input type="checkbox" name="move_contents" value="1" />{catrow.L_MOVE_CONTENTS}</td> ! <td class="row1">{catrow.S_SELECT_TO}</td> </tr> <tr> ! <td class="row2" colspan="2" align="center">{catrow.S_HIDDEN_DELETE_FIELDS}<input type="submit" name="submit" value="{catrow.S_SUBMIT_DELETE}" class="mainoption" /></td> </tr> </table> *************** *** 355,359 **** <tr> <td class="row1"><b>{catrow.L_CAT_DESC}</b></td> ! <td class="row2" colspan="2"><textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post">{catrow.E_CAT_DESC}</textarea></td> </tr> <tr> --- 374,378 ---- <tr> <td class="row1"><b>{catrow.L_CAT_DESC}</b></td> ! <td class="row2" colspan="2"><textarea name="cat_desc" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post">{catrow.E_CAT_DESC}</textarea></td> </tr> <tr> *************** *** 372,376 **** </tr> <tr> ! <td class="row1">{L_CAT_LINK_TARGET}</td> <td class="row2">{catrow.S_CAT_LINK_TARGET_LIST}</td> </tr> --- 391,395 ---- </tr> <tr> ! <td class="row1">{catrow.L_CAT_LINK_TARGET}</td> <td class="row2">{catrow.S_CAT_LINK_TARGET_LIST}</td> </tr> *************** *** 397,414 **** <tr> ! <td width="50%" class="row2" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuEdit_');"><img name="adminMenuEdit_image_{catrow.menurow.MENU_ID}" src="{catrow.menurow.IMG_URL_EDIT}" border="0" align="absmiddle"> <img src="{IMG_ICON_BLOCK}" border="0" align="absmiddle"> ! <span class="gen">{catrow.menurow.MENU_TITLE}</span><br /><span class="gensmall">{catrow.menurow.MENU_DESC}</span> ! </td> ! <td width="10%" class="row2" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuEdit_');"> ! <span class="gen">{L_EDIT}</span> ! </td> ! <td width="10%" class="row2" align="center" valign="middle" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuDelete_');" ><img name="adminMenuDelete_image_{catrow.menurow.MENU_ID}" src="{catrow.menurow.IMG_URL_DELETE}" border="0" align="absmiddle"> ! <span class="gen">{L_DELETE}</span> </td> ! <td width="20%" class="row2" align="center" valign="middle"> ! <span class="gen"><a href="{catrow.menurow.U_MENU_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.menurow.U_MENU_MOVE_DOWN}">{L_MOVE_DOWN}</a></span> </td> ! <td width="10%" class="row2" align="center" valign="middle"> ! <span class="gen"><a href="{catrow.menurow.U_MENU_RESYNC}">{L_RESYNC}</a></span> </td> </tr> --- 416,432 ---- <tr> ! <td width="65%" class="{catrow.menurow.ROW_CLASS}" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuEdit_');"><img name="adminMenuEdit_image_{catrow.menurow.MENU_ID}" src="{catrow.menurow.IMG_URL_EDIT}" border="0" align="absmiddle"> <img src="{IMG_ICON_BLOCK}" border="0" align="absmiddle"> ! <span class="gensmall">{catrow.menurow.MENU_TITLE}</span><br /><span class="gensmall">{catrow.menurow.MENU_DESC}</span> </td> ! <td width="15%" class="{catrow.menurow.ROW_CLASS}" align="center" valign="middle" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{catrow.menurow.MENU_ID}','adminMenuDelete_');" > ! <!-- BEGIN is_menu --> ! <img name="adminMenuDelete_image_{catrow.menurow.MENU_ID}" src="{catrow.menurow.IMG_URL_DELETE}" border="0" align="absmiddle"> ! <span class="gensmall">{L_DELETE}</span> ! <!-- END is_menu --> </td> ! <td width="20%" class="{catrow.menurow.ROW_CLASS}" align="center" valign="middle"> ! <!-- BEGIN is_menu --> ! <span class="gensmall"><a href="{catrow.menurow.U_MENU_MOVE_UP}">{L_MOVE_UP}</a> <a href="{catrow.menurow.U_MENU_MOVE_DOWN}">{L_MOVE_DOWN}</a></span> ! <!-- END is_menu --> </td> </tr> *************** *** 416,420 **** <!-- Menu Delete --> <tr> ! <td colspan="5" class="row1"> <div id="adminMenuDelete_{catrow.menurow.MENU_ID}" style="display:{catrow.menurow.VISIBLE_DELETE};" class="genmed"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> --- 434,438 ---- <!-- Menu Delete --> <tr> ! <td colspan="3" class="row1"> <div id="adminMenuDelete_{catrow.menurow.MENU_ID}" style="display:{catrow.menurow.VISIBLE_DELETE};" class="genmed"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> *************** *** 424,428 **** <tr> <td width="50%" align="center" colspan="2"> ! {catrow.menurow.MESSAGE_DELETE}asdasdasd </td> </tr> --- 442,446 ---- <tr> <td width="50%" align="center" colspan="2"> ! {catrow.menurow.MESSAGE_DELETE} </td> </tr> *************** *** 435,439 **** <!-- Menu Edit --> <tr> ! <td class="row1" colspan="5"> <div id="adminMenuEdit_{catrow.menurow.MENU_ID}" style="display:{catrow.menurow.VISIBLE_EDIT};" class="genmed"> <form name="form_adminMenuEdit_{catrow.menurow.MENU_ID}" action="{S_ACTION}" method="post"> --- 453,457 ---- <!-- Menu Edit --> <tr> ! <td class="row1" colspan="3"> <div id="adminMenuEdit_{catrow.menurow.MENU_ID}" style="display:{catrow.menurow.VISIBLE_EDIT};" class="genmed"> <form name="form_adminMenuEdit_{catrow.menurow.MENU_ID}" action="{S_ACTION}" method="post"> *************** *** 528,534 **** </td> </tr> - <tr> - <td class="row2" colspan="2"><input type="text" name="{catrow.S_ADD_MENU_NAME}" /> <input type="submit" class="liteoption" name="{catrow.S_ADD_MENU_SUBMIT}" value="{L_CREATE_MENU}" /></td> - </tr> </table> </div> --- 546,549 ---- *************** *** 541,547 **** <!-- END catrow --> - <tr> - <td class="catBottom">{L_SHOW_CAT}<input type="text" name="categoryname" /> {S_SHOW_CAT} <input type="submit" class="liteoption" name="addcategory" value="{L_CREATE_CATEGORY}" /></td> - </tr> </table> --- 556,559 ---- |
|
From: Jon O. <jon...@us...> - 2005-09-06 18:52:05
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4716/modules/mx_navmenu/admin Modified Files: mx_module_defs.php Log Message: Finalizing core 2.8 ;) Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/admin/mx_module_defs.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_module_defs.php 21 Aug 2005 21:40:51 -0000 1.3 --- mx_module_defs.php 6 Sep 2005 18:51:57 -0000 1.4 *************** *** 32,36 **** // The following flags are class specific options // ! //define('MX_ALL_DATA' , -1); // Flag - write all data class mx_module_defs --- 32,42 ---- // The following flags are class specific options // ! ! // Flow control [...1473 lines suppressed...] ! } ! $i = 10; ! $inc = 10; ! ! while( $row = $db->sql_fetchrow($result) ) ! { ! $sql = "UPDATE $table ! SET $orderfield = $i ! WHERE $idfield = " . $row[$idfield]; ! if( !($db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, "Couldn't update order fields", "", __LINE__, __FILE__, $sql); } ! $i += 10; ! } ! } } ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2005-09-06 18:52:05
|
Update of /cvsroot/mxbb/core/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4716/language/lang_english Modified Files: lang_admin.php lang_main.php Log Message: Finalizing core 2.8 ;) Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/core/language/lang_english/lang_main.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** lang_main.php 13 Apr 2005 21:23:28 -0000 1.17 --- lang_main.php 6 Sep 2005 18:51:57 -0000 1.18 *************** *** 52,56 **** $lang['Block_Config_updated'] = "Block Configuration updated successfully"; ! $lang['Block_Edit'] = "Edit Block Configuration"; // --- 52,58 ---- $lang['Block_Config_updated'] = "Block Configuration updated successfully"; ! $lang['Block_Edit'] = "Edit Block"; ! $lang['Block_Edit_dyn'] = "Edit parent dynamic Block"; ! $lang['Block_Edit_sub'] = "Edit parent split Block"; // *************** *** 77,80 **** --- 79,83 ---- $lang['Show_admin_options'] = "Show/Hide admin options: "; $lang['Hidden_block'] = "Hidden block..."; + $lang['Hidden_block_explain'] = "This block is 'hidden', but visible since you're an admin/moderator."; $lang['General_updated_return_settings'] = "Configuration updated successfully...<br /><br />Click %shere%s to continue."; // %s's for URI params - DO NOT REMOVE Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/language/lang_english/lang_admin.php,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** lang_admin.php 21 Aug 2005 21:40:51 -0000 1.39 --- lang_admin.php 6 Sep 2005 18:51:57 -0000 1.40 *************** *** 70,74 **** $lang['Permissions_adv'] = "Advanced Permissions"; ! $lang['AdminCP_status'] = "<b>Status</b>"; $lang['Invalid_action'] = "Error"; $lang['was_installed'] = "was installed"; --- 70,75 ---- $lang['Permissions_adv'] = "Advanced Permissions"; ! $lang['AdminCP_status'] = "<b>Progress report</b>"; ! $lang['AdminCP_action'] = "<b>DB action</b>"; $lang['Invalid_action'] = "Error"; $lang['was_installed'] = "was installed"; *************** *** 251,254 **** --- 252,256 ---- $lang['Page_admin_private'] = "Advanced Page (PRIVATE) Permissions"; $lang['Page_admin_settings'] = "Page Settings"; + $lang['Page_admin_new_page'] = "New Page Administration"; $lang['Page'] = "Page"; $lang['Page_Id'] = "Page ID"; *************** *** 282,285 **** --- 284,290 ---- $lang['Column_admin_explain'] = "Administer Page Columns"; $lang['Column'] = "Page Column"; + $lang['Columns'] = "Page Columns"; + $lang['Column_block'] = "Page Column Block"; + $lang['Column_blocks'] = "Page Column Blocks"; $lang['Edit_Column'] = "Edit a Column"; $lang['Edit_Column_explain'] = "Use this form to modify a column"; *************** *** 299,303 **** --- 304,310 ---- $lang['Page_templates_admin_explain'] = "Use this page to create, edit or delete Page Templates"; $lang['Page_template'] = "Page Template"; + $lang['Page_templates'] = "Page Templates"; $lang['Page_template_column'] = "Page Template Column"; + $lang['Page_template_columns'] = "Page Template Columns"; $lang['Choose_page_template'] = "Choose Page Template"; $lang['Template_Config_updated'] = "Template Configuration Updated"; |
|
From: Jon O. <jon...@us...> - 2005-09-06 18:52:05
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4716/modules/mx_textblocks/admin Modified Files: mx_module_defs.php Log Message: Finalizing core 2.8 ;) Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/admin/mx_module_defs.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_module_defs.php 20 Aug 2005 18:48:50 -0000 1.2 --- mx_module_defs.php 6 Sep 2005 18:51:57 -0000 1.3 *************** *** 84,91 **** break; case 'CustomizedTextBlock': ! $bbcode_on = $parameter_opt['allow_bbcode'] ? true : false; ! $html_on = $parameter_opt['allow_html'] ? true : false; ! $smilies_on = $parameter_opt['allow_smilies'] ? true : false; ! $board_config['allow_html_tags'] = $parameter_opt['allow_html_tags']; if( $bbcode_on ) --- 84,91 ---- break; case 'CustomizedTextBlock': ! $bbcode_on = $parameter_opt['allow_bbcode'] ? true : true; ! $html_on = $parameter_opt['allow_html'] ? true : true; ! $smilies_on = $parameter_opt['allow_smilies'] ? true : true; ! //$board_config['allow_html_tags'] = $parameter_opt['allow_html_tags']; if( $bbcode_on ) |
|
From: Jon O. <jon...@us...> - 2005-09-06 18:52:04
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4716 Modified Files: common.php index.php Log Message: Finalizing core 2.8 ;) Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** common.php 20 Aug 2005 18:19:11 -0000 1.35 --- common.php 6 Sep 2005 18:51:56 -0000 1.36 *************** *** 232,238 **** $mx_request_vars = new mx_request_vars(); ! // instatiate the mx_cache class ! $mx_cache = new mx_cache(); --- 232,238 ---- $mx_request_vars = new mx_request_vars(); ! // // instatiate the mx_cache class ! // $mx_cache = new mx_cache(); Index: index.php =================================================================== RCS file: /cvsroot/mxbb/core/index.php,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** index.php 20 Aug 2005 18:19:11 -0000 1.38 --- index.php 6 Sep 2005 18:51:56 -0000 1.39 *************** *** 35,39 **** // Page selector // - $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); --- 35,38 ---- *************** *** 41,45 **** // Start session management // - $userdata = session_pagestart($user_ip, - ( 1000 + $page_id )); mx_init_userprefs($userdata); --- 40,43 ---- *************** *** 48,52 **** // End session management // - if ( $mx_request_vars->is_request('mx_copy') ) { --- 46,49 ---- *************** *** 57,64 **** // Load page and block classes // - $mx_page = new mx_page(); $mx_page->init( $page_id ); - $mx_block = new mx_block(); --- 54,59 ---- *************** *** 66,70 **** // ...and define some basic vars // - $page_title .= $mx_page->info['page_name']; $page_icon = $mx_page->info['page_icon']; --- 61,64 ---- *************** *** 74,78 **** // Page auth // - if ( !$mx_page->auth_view && $userdata['session_logged_in'] ) { --- 68,71 ---- *************** *** 88,92 **** // Output header // - include( $mx_root_path . 'includes/page_header.' . $phpEx ); --- 81,84 ---- *************** *** 94,98 **** // Initialize template // - $layouttemplate = new mx_Template( $template->root, $board_config, $db ); --- 86,89 ---- *************** *** 104,108 **** // Generate the fold/unfold menu navigation switches (cookie based) // - if ( !empty($HTTP_COOKIE_VARS['phpbbEdit_Blocks']) ) { --- 95,98 ---- *************** *** 126,130 **** // Page columns - loop through each column // - for( $column = 0; $column < $mx_page->total_column; $column++ ) { --- 116,119 ---- *************** *** 132,136 **** // Pass column data // - $mx_page->output_column( $column ); --- 121,124 ---- *************** *** 138,142 **** // Column blocks - loop through column blocks // - $column_contents = array(); --- 126,129 ---- *************** *** 146,150 **** // Validate this block is visible and exists for the column // - if ( $mx_page->columns[$column]['column_id'] == $mx_page->blocks[$block]['column_id'] ) { --- 133,136 ---- *************** *** 156,160 **** // Toggle mode: default, dynamic, sub // - if ( $mx_block->is_dynamic ) { --- 142,145 ---- *************** *** 182,186 **** // Additional loop for subblocks - split block // - for( $subblock = 0; $subblock < $total_subs; $subblock++ ) { --- 167,170 ---- *************** *** 194,198 **** // View Auth ------------------------------------------------------------------------------- START // - if ( ( $mx_block->auth_view && $mx_block->show_block ) || $mx_block->auth_mod ) { --- 178,181 ---- *************** *** 202,206 **** // Define $module_root_path, to be used within blocks // - $module_root_path = $mx_block->module_root_path; --- 185,188 ---- *************** *** 208,212 **** // Include block file and cache output // - ob_start(); include($module_root_path . $mx_block->block_file); --- 190,193 ---- *************** *** 217,221 **** // Pass block data // - if ( $mx_block->show_block || $mx_block->auth_mod ) { --- 198,201 ---- *************** *** 223,227 **** // Output Block contents // - $mx_block->output( $column_contents[$column] ); --- 203,206 ---- *************** *** 229,233 **** // Switch: Block border graphics? // - if ( $mx_page->block_border_graphics ) { --- 208,211 ---- *************** *** 238,242 **** // Output Block stats // - $mx_block->output_stats(); } --- 216,219 ---- *************** *** 250,260 **** // Edit Auth --------------------------------------------------------------------------------- START // ! ! if ( ( ( $mx_block->auth_edit && $mx_block->show_block ) || $mx_block->auth_mod ) ) { // // Now use the editCP on/off switch // - $mx_page->show_editcp_switch(); --- 227,235 ---- // Edit Auth --------------------------------------------------------------------------------- START // ! if ( ( ( $mx_block->auth_view && $mx_block->auth_edit && $mx_block->show_block ) || $mx_block->auth_mod ) ) { // // Now use the editCP on/off switch // $mx_page->show_editcp_switch(); *************** *** 262,271 **** // Output editcp controls/buttons // ! ! if ( $mx_dynamic_block->dynamic_block_id > 0 ) { $mx_dynamic_block->output_cp_button( $edit_on ); } $mx_block->output_cp_button( $edit_on ); --- 237,250 ---- // Output editcp controls/buttons // ! if ( $mx_dynamic_block->dynamic_block_id > 0 && $subblock == $total_subs - 1) { $mx_dynamic_block->output_cp_button( $edit_on ); } + if ( is_object($mx_parent_block) && $subblock == $total_subs - 1) + { + $mx_parent_block->output_cp_button( $edit_on ); + } + $mx_block->output_cp_button( $edit_on ); *************** *** 273,278 **** // Is the Block hidden ? Output 'hidden' indicator // ! ! if ( !$mx_block->show_block ) { $mx_block->output_hidden_indicator(); --- 252,256 ---- // Is the Block hidden ? Output 'hidden' indicator // ! if ( !$mx_block->show_block || !$mx_block->auth_view) { $mx_block->output_hidden_indicator(); *************** *** 287,292 **** // Block header -------------------------------------------------------------------------------- START // ! ! if ( $mx_block->show_block && ( $mx_page->editcp_switch || $mx_block->show_title ) || $mx_block->auth_mod ) { $layouttemplate->assign_block_vars('layout_column.blocks.block_header', array()); --- 265,269 ---- // Block header -------------------------------------------------------------------------------- START // ! if ( $mx_block->auth_view && $mx_block->show_block && ( $mx_page->editcp_switch || $mx_block->show_title ) || $mx_block->auth_mod ) { $layouttemplate->assign_block_vars('layout_column.blocks.block_header', array()); *************** *** 295,299 **** // Switch: show title ------------------- // - if ( $mx_block->show_title || $mx_block->auth_mod ) { --- 272,275 ---- *************** *** 309,313 **** // Output some subblock wrappers // - if ( $mx_parent_block->is_sub ) { --- 285,288 ---- *************** *** 339,347 **** // Destroy parent block data // - if ( $mx_parent_block->is_sub ) { ! $mx_parent_block->kill_me(); } } --- 314,328 ---- // Destroy parent block data // if ( $mx_parent_block->is_sub ) { ! unset( $mx_parent_block ); } + + if ( is_object($mx_dynamic_block) ) + { + unset( $mx_dynamic_block ); + } + + $mx_block->kill_me(); } *************** *** 353,357 **** // Output page // - $layouttemplate->pparse('mx_main_layout'); --- 334,337 ---- *************** *** 359,364 **** // Output footer // - include($mx_root_path . 'includes/page_tail.' . $phpEx); - ?> \ No newline at end of file --- 339,342 ---- |
|
From: Jon O. <jon...@us...> - 2005-08-21 21:41:30
|
Update of /cvsroot/mxbb/mx_newssuite/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2332/modules/mx_newssuite/templates/subSilver/admin Added Files: mx_module_parameters.tpl Removed Files: mx_module_defs.tpl Log Message: updating --- mx_module_defs.tpl DELETED --- --- NEW FILE: mx_module_parameters.tpl --- <script type="text/javascript" src="{SCRIPT_PATH}/templates/rollout.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" nowrap="nowrap" colspan="2"> {L_NEWS_FORUMS} </th> <th align="center" class="thTop" nowrap="nowrap"> <img src="{I_ANNOUNCE}" border="0" alt="{L_ANNOUNCEMENT}" /> {L_ANNOUNCEMENT}</th> <th align="center" class="thTop" nowrap="nowrap"> <img src="{I_STICKY}" border="0" alt="{L_STICKY}" /> {L_STICKY}</th> <th align="center" class="thTop" nowrap="nowrap"> <img src="{I_NORMAL}" border="0" alt="{L_NORMAL}" /> </th> </tr> <!-- END switch_forums_phpbb --> <!-- BEGIN switch_forums_kb --> <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline"> <tr> <th align="center" class="thTop" nowrap="nowrap" colspan="2"> {L_NEWS_FORUMS} </th> <!-- BEGIN types_name --> <th align="center" class="thTop" nowrap="nowrap"> {switch_forums_kb.types_name.TYPES_NAME} </th> <!-- END types_name --> </tr> <!-- END switch_forums_kb --> <!-- BEGIN catrow --> <tr> <td class="cat" align="center"><a href="#" onClick="toggle('cat_{catrow.CAT_ID}', '../templates/subSilver/images/'); return false;"><img src="../templates/subSilver/images/contract.gif" border="0" id="cat_{catrow.CAT_ID}_img" /></a> <td class="cat" colspan="{catrow.COLSPAN}"><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="forum_news[{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> <td class="row2" align="center" valign="top"><input type="checkbox" name="forum_news_announce[{catrow.forumrow_phpbb.FORUM_ID}]" value="1" {catrow.forumrow_phpbb.ANNOUNCE_CHECKED} /></td> <td class="row2" align="center" valign="top"><input type="checkbox" name="forum_news_sticky[{catrow.forumrow_phpbb.FORUM_ID}]" value="1" {catrow.forumrow_phpbb.STICKY_CHECKED} /></td> <td class="row2" align="center" valign="top"><input type="checkbox" name="forum_news_post[{catrow.forumrow_phpbb.FORUM_ID}]" value="1" {catrow.forumrow_phpbb.NORMAL_CHECKED} /></td> </tr> <!-- END forumrow_phpbb --> <!-- BEGIN forumrow_kb --> <tr> <td class="row1" align="center" valign="top"><input type="checkbox" name="forum_news[{catrow.forumrow_kb.FORUM_ID}]" value="1" {catrow.forumrow_kb.CHECKED} /></td> <td class="row1" align="left" valign="top"><span class="forumlink">{catrow.forumrow_kb.FORUM_NAME}</span><br /><span class="gensmall">{catrow.forumrow_kb.FORUM_DESC}</span></td> <!-- BEGIN types --> <td class="row2" align="center" valign="top"><input type="checkbox" name="{catrow.forumrow_kb.types.TYPE}[{catrow.forumrow_kb.FORUM_ID}]" value="{catrow.forumrow_kb.types.VALUE}" {catrow.forumrow_kb.types.CHECKED} /></td> <!-- END types --> </tr> <!-- END forumrow_kb --> </tbody> <!-- END catrow --> </table> </td> </tr> |
|
From: Jon O. <jon...@us...> - 2005-08-21 21:41:29
|
Update of /cvsroot/mxbb/mx_newssuite/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2332/modules/mx_newssuite/admin Modified Files: mx_module_defs.php Log Message: updating Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/admin/mx_module_defs.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_module_defs.php 20 Aug 2005 18:50:11 -0000 1.2 --- mx_module_defs.php 21 Aug 2005 21:41:22 -0000 1.3 *************** *** 81,85 **** function display_module_parameters( $parameter_data ) { ! global $template, $blockcptemplate, $mx_blockcp, $mx_root_path, $theme, $lang; switch ( $parameter_data['parameter_type'] ) --- 81,85 ---- function display_module_parameters( $parameter_data ) { ! global $template, $mx_blockcp, $mx_root_path, $theme, $lang; switch ( $parameter_data['parameter_type'] ) *************** *** 217,220 **** --- 217,222 ---- )); + $template->pparse('parameter'); + } } |
|
From: Jon O. <jon...@us...> - 2005-08-21 21:41:01
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2254/admin Modified Files: admin_mx_module_cp.php admin_mx_page_cp.php Log Message: updating... Index: admin_mx_module_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_module_cp.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_mx_module_cp.php 20 Aug 2005 18:19:11 -0000 1.1 --- admin_mx_module_cp.php 21 Aug 2005 21:40:51 -0000 1.2 *************** *** 491,495 **** // Function loop // ! $modulelist = get_list('module_id', MODULE_TABLE, 'module_id', 'module_name', $module_id, true); for( $function_count = 0; $function_count < $total_functions + 1; $function_count++ ) { --- 491,495 ---- // Function loop // ! //$modulelist = get_list('module_id', MODULE_TABLE, 'module_id', 'module_name', $module_id, true); for( $function_count = 0; $function_count < $total_functions + 1; $function_count++ ) { *************** *** 567,571 **** 'L_FUNCTION_ADMIN_FILE' => $lang['Function_admin_file'], ! 'E_MODULE_SELECT' => $modulelist, 'E_FUNCTION_TITLE' => $function_title, 'E_FUNCTION_DESC' => $function_desc, --- 567,571 ---- 'L_FUNCTION_ADMIN_FILE' => $lang['Function_admin_file'], ! //'E_MODULE_SELECT' => $modulelist, 'E_FUNCTION_TITLE' => $function_title, 'E_FUNCTION_DESC' => $function_desc, *************** *** 612,617 **** } ! $functionlist = get_list('function_id', FUNCTION_TABLE, 'function_id', 'function_name', $function_id, true); ! // // Parameter loop --- 612,616 ---- } ! //$functionlist = get_list('function_id', FUNCTION_TABLE, 'function_id', 'function_name', $function_id, true); // // Parameter loop *************** *** 692,696 **** 'L_PARAMETER_ID' => $lang['Parameter_id'], ! 'E_FUNCTION_SELECT' => $functionlist, 'E_PARAMETER_TITLE' => $parameter_title, 'E_PARAMETER_TYPE' => $parameter_type, --- 691,695 ---- 'L_PARAMETER_ID' => $lang['Parameter_id'], ! //'E_FUNCTION_SELECT' => $functionlist, 'E_PARAMETER_TITLE' => $parameter_title, 'E_PARAMETER_TYPE' => $parameter_type, *************** *** 858,862 **** 'E_BLOCK_TITLE' => $block_title, 'E_BLOCK_DESC' => $block_desc, ! 'S_FUNCTION_LIST' => $functionlist, 'S_SHOW_BLOCK_YES' => $show_block_yes, --- 857,861 ---- 'E_BLOCK_TITLE' => $block_title, 'E_BLOCK_DESC' => $block_desc, ! //'S_FUNCTION_LIST' => $functionlist, 'S_SHOW_BLOCK_YES' => $show_block_yes, *************** *** 915,919 **** { $row_color = ( !( $i % 2 ) ) ? 'row1' : 'row2'; ! $row_private .= '<tr>'; $row_private .= '<td width="40%" class="'.$row_color.'" align="center"><span class="gen">'.$groupdata[$i]['group_name'].'</span></td>'; $row_private .= '<td width="20%" class="'.$row_color.'" align="center">'; --- 914,918 ---- { $row_color = ( !( $i % 2 ) ) ? 'row1' : 'row2'; ! $row_private .= '<tr>' . "\n"; $row_private .= '<td width="40%" class="'.$row_color.'" align="center"><span class="gen">'.$groupdata[$i]['group_name'].'</span></td>'; $row_private .= '<td width="20%" class="'.$row_color.'" align="center">'; *************** *** 945,951 **** $row_private .= '<td width="20%" class="'.$row_color.'" align="center">'; ! $row_private .= '<input name="moderator[]" type="checkbox" '. (( in_array($groupdata[$i]['group_id'], $moderator_groups) ) ? 'checked="checked"' : '') . '" value="'.$groupdata[$i]['group_id'].'" />'; $row_private .= '</td>'; ! $row_private .= '</tr>'; } --- 944,950 ---- $row_private .= '<td width="20%" class="'.$row_color.'" align="center">'; ! $row_private .= '<input name="moderator[]" type="checkbox" '. (( in_array($groupdata[$i]['group_id'], $moderator_groups) ) ? 'checked="checked"' : '') . ' value="'.$groupdata[$i]['group_id'].'" />'; $row_private .= '</td>'; ! $row_private .= '</tr>'. "\n"; } Index: admin_mx_page_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_page_cp.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_mx_page_cp.php 20 Aug 2005 18:19:11 -0000 1.1 --- admin_mx_page_cp.php 21 Aug 2005 21:40:51 -0000 1.2 *************** *** 343,360 **** $template_title = !$new_template ? $template_rows[$template_count]['template_name'] : ''; // // Templates subpanel - edit // ! $visible_template = in_array('adminTemplate_' . $page_template_id, $cookie_states); ! //$visible_template_edit = in_array('adminTemplateEdit_' . $page_template_id, $cookie_states); $template->assign_block_vars('templates', array( ! 'L_TITLE' => $lang['Page_templates_admin'], ! 'L_EXPLAIN' => $lang['Page_templates_admin_explain'], 'VISIBLE' => $visible_template ? 'block' : 'none', 'IMG_URL' => $visible_template ? $admin_icon['contract'] : $admin_icon['expand'], 'TEMPLATE_ID' => $page_template_id, --- 343,367 ---- $template_title = !$new_template ? $template_rows[$template_count]['template_name'] : ''; + + $message_delete = $lang['Delete_page_template'] + . '<br /><br />' . $lang['Delete_page_template_explain'] + . '<br /><br />' . sprintf($lang['Click_page_template_delete_yes'], '<a href="' . append_sid("admin_mx_page_cp.$phpEx" . $deletemode) . '">', '</a>') + . '<br /><br />'; // // Templates subpanel - edit // ! $visible_template = in_array('adminTemplateEdit_' . $page_template_id, $cookie_states); ! $visible_template_delete = in_array('adminTemplateDelete_' . $page_template_id, $cookie_states); $template->assign_block_vars('templates', array( ! 'L_TITLE' => $lang['Page_templates_admin'], ! 'L_EXPLAIN' => $lang['Page_templates_admin_explain'], 'VISIBLE' => $visible_template ? 'block' : 'none', + 'VISIBLE_DELETE' => $visible_template_delete ? 'block' : 'none', 'IMG_URL' => $visible_template ? $admin_icon['contract'] : $admin_icon['expand'], + 'IMG_URL_DELETE' => $visible_template_delete ? $admin_icon['contract'] : $admin_icon['expand'], 'TEMPLATE_ID' => $page_template_id, *************** *** 363,372 **** 'U_DELETE' => append_sid("admin_mx_page_cp.$phpEx" . $deletemode), ! 'L_TEMPLATE_DELETE' => $lang['Page_template_delete'], ! 'U_TEMPLATE_DELETE' => append_sid("admin_mx_page_cp_template_setting.$phpEx?mode=deletetemplate&page_template_id=$page_template_id"), ! 'L_CREATE_TEMPLATE' => $lang['Add_Template'], ! 'L_TEMPLATE' => $lang['Template'], ! 'L_TEMPLATE_NAME' => $lang['Template_name'], // Page subpanel - edit --- 370,379 ---- 'U_DELETE' => append_sid("admin_mx_page_cp.$phpEx" . $deletemode), ! 'L_TEMPLATE_DELETE' => $lang['Page_template_delete'], ! 'U_TEMPLATE_DELETE' => append_sid("admin_mx_page_cp_template_setting.$phpEx?mode=deletetemplate&page_template_id=$page_template_id"), ! 'L_CREATE_TEMPLATE' => $lang['Add_Template'], ! 'L_TEMPLATE' => $lang['Template'], ! 'L_TEMPLATE_NAME' => $lang['Template_name'], // Page subpanel - edit *************** *** 377,380 **** --- 384,390 ---- 'U_PHPBB_ROOT_PATH' => PHPBB_URL, 'TEMPLATE_ROOT_PATH' => TEMPLATE_ROOT_PATH, + + // Quick Panels + 'MESSAGE_DELETE' => $message_delete, 'S_HIDDEN_FIELDS' => $s_hidden_template_fields, *************** *** 443,450 **** $column_size = $new_column ? '100%' : $column_rows[$column]['column_size']; ! $visible_column_edit = in_array('adminTemplateEdit_' . $page_template_id . '_' . $column_template_id, $cookie_states); $template->assign_block_vars('templates.columnrow', array( 'VISIBLE' => $visible_column_edit ? 'block' : 'none', 'IMG_URL' => $visible_column_edit ? $admin_icon['contract'] : $admin_icon['expand'], 'COLUMN_ID' => $column_template_id, --- 453,469 ---- $column_size = $new_column ? '100%' : $column_rows[$column]['column_size']; ! $message_delete = $lang['Delete_page_template_column'] . ' - ' . $column_title ! . '<br /><br />' . $lang['Delete_page_template_column_explain'] ! . '<br /><br />' . sprintf($lang['Click_page_template_column_delete_yes'], '<a href="' . append_sid("admin_mx_page_cp.$phpEx" . $deletemode) . '">', '</a>') ! . '<br /><br />'; ! ! ! $visible_column_edit = in_array('adminTemplateColumnEdit_' . $page_template_id . '_' . $column_template_id, $cookie_states); ! $visible_column_delete = in_array('adminTemplateColumnDelete_' . $page_template_id . '_' . $column_template_id, $cookie_states); $template->assign_block_vars('templates.columnrow', array( 'VISIBLE' => $visible_column_edit ? 'block' : 'none', + 'VISIBLE_DELETE' => $visible_column_delete ? 'block' : 'none', 'IMG_URL' => $visible_column_edit ? $admin_icon['contract'] : $admin_icon['expand'], + 'IMG_URL_DELETE' => $visible_column_delete ? $admin_icon['contract'] : $admin_icon['expand'], 'COLUMN_ID' => $column_template_id, *************** *** 473,476 **** --- 492,498 ---- 'S_SUBMIT' => $new_column ? $lang['Create_column'] : $lang['Update'], + + // Quick Panels + 'MESSAGE_DELETE' => $message_delete, 'S_HIDDEN_FIELDS' => $s_hidden_column_fields *************** *** 600,607 **** // Page subpanel - edit // ! $visible_page = in_array('adminPage_' . $page_id, $cookie_states) || $is_current_page; $visible_page_edit = in_array('adminPageEdit_' . $page_id, $cookie_states); ! $visible_page_settings = in_array('adminPageSettings_' . $page_id, $cookie_states) || $is_current_page; $visible_page_private = in_array('adminPagePrivate_' . $page_id, $cookie_states); $page_icon = post_icons('page_icons/', $page_icon); --- 622,643 ---- // Page subpanel - edit // ! $visible_page = in_array('adminPage_' . $page_id, $cookie_states); ! $visible_page_delete = in_array('adminPageDelete_' . $page_id, $cookie_states); $visible_page_edit = in_array('adminPageEdit_' . $page_id, $cookie_states); ! $visible_page_settings = in_array('adminPageSettings_' . $page_id, $cookie_states); $visible_page_private = in_array('adminPagePrivate_' . $page_id, $cookie_states); + + $message_delete = $lang['Delete_page'] + . '<br /><br />' . $lang['Delete_page_explain'] + . '<br /><br />' . sprintf($lang['Click_page_delete_yes'], '<a href="' . append_sid("admin_mx_page_cp.$phpEx" . $deletemode) . '">', '</a>') + . '<br /><br />'; + + // + // Make the settings panel default when switching pages + // + if ($is_current_page && !$visible_page && !$visible_page_edit && !$visible_page_settings && !$visible_page_private) + { + $visible_page = $visible_page_settings = true; + } $page_icon = post_icons('page_icons/', $page_icon); *************** *** 624,627 **** --- 660,664 ---- 'VISIBLE' => $visible_page ? 'block' : 'none', + 'VISIBLE_DELETE' => $visible_page_delete && !$new_page ? 'block' : 'none', 'VISIBLE_EDIT' => $visible_page_edit || $new_page ? 'block' : 'none', 'VISIBLE_SETTINGS' => $visible_page_settings && !$new_page ? 'block' : 'none', *************** *** 629,632 **** --- 666,670 ---- 'IMG_URL' => $visible_page ? $admin_icon['contract'] : $admin_icon['expand'], + 'IMG_URL_DELETE' => $visible_page_delete ? $admin_icon['contract'] : $admin_icon['expand'], 'IMG_URL_EDIT' => $visible_page_edit ? $admin_icon['contract'] : $admin_icon['expand'], 'IMG_URL_SETTINGS' => $visible_page_settings ? $admin_icon['contract'] : $admin_icon['expand'], *************** *** 654,657 **** --- 692,698 ---- 'TEMPLATE_ROOT_PATH' => TEMPLATE_ROOT_PATH, 'PAGELIST' => $pagelist, + + // Quick Panels + 'MESSAGE_DELETE' => $message_delete, 'S_HIDDEN_FIELDS' => $s_hidden_page_fields, *************** *** 744,757 **** { $row_color = ( !( $i % 2 ) ) ? 'row1' : 'row2'; ! $template->assign_block_vars('pages.grouprow', array( ! 'GROUP_ID' => $groupdata[$i]['group_id'], 'GROUP_NAME' => $groupdata[$i]['group_name'], 'ROW_COLOR' => $row_color, ! 'VIEW_CHECKED' => ( in_array($groupdata[$i]['group_id'], $view_groups) ) ? 'checked="checked"' : '', 'MODERATOR_CHECKED' => ( in_array($groupdata[$i]['group_id'], $moderator_groups) ) ? 'checked="checked"' : '') ); } ! $mx_page = new mx_page(); $mx_page->init( $page_id ); --- 785,815 ---- { $row_color = ( !( $i % 2 ) ) ? 'row1' : 'row2'; ! ! $group_id = $groupdata[$i]['group_id']; ! ! if ( $page_rows[$page_count]['auth_view'] == AUTH_ACL ) ! { ! $view_checked = in_array($groupdata[$i]['group_id'], $view_groups) ? 'checked="checked"' : ''; ! $input_private = '<input name="view[]" type="checkbox" ' . $view_checked . 'value="'.$group_id.'" />'; ! } ! else ! { ! $input_private = '-'; ! } ! ! ! $template->assign_block_vars('pages.grouprow', array( ! 'GROUP_ID' => $group_id, 'GROUP_NAME' => $groupdata[$i]['group_name'], 'ROW_COLOR' => $row_color, ! 'VIEW_INPUT' => $input_private, 'MODERATOR_CHECKED' => ( in_array($groupdata[$i]['group_id'], $moderator_groups) ) ? 'checked="checked"' : '') ); } ! ! // Get blocklist for alternative add_block ! $blocklist = get_list_formatted('block_list', 0, 'block_id'); ! $mx_page = new mx_page(); $mx_page->init( $page_id ); *************** *** 760,928 **** $radio_column_list = ''; ! // ! // Okay, let's build the index ! // ! for( $column = 0; $column < $mx_page->total_column + 1; $column++ ) ! { ! $new_column = $column == $mx_page->total_column; ! $column_id = $new_column ? $page_id . '_0' : $mx_page->columns[$column]['column_id']; ! $mode = MX_PAGE_COLUMN_TYPE; ! $action = $new_column ? MX_DO_INSERT : MX_DO_UPDATE; ! $deletemode = '?mode=' . $mode . '&action=' . MX_DO_DELETE . '&id=' . $column_id; ! $upmode = '?mode=' . $mode . '&action=' . MX_DO_MOVE . '&id=' . $column_id . '&move=-15'; ! $downmode = '?mode=' . $mode . '&action=' . MX_DO_MOVE . '&id=' . $column_id . '&move=15'; ! ! // ! // Hidden fields ! // ! $s_hidden_column_fields = '<input type="hidden" name="mode" value="' . $mode . '" /> ! <input type="hidden" name="action" value="' . $action . '" /> ! <input type="hidden" name="id" value="' . $column_id . '" /> ! <input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; ! // ! // Subpanel - column edit ! // ! ! $column_title = $new_column ? '' : $mx_page->columns[$column]['column_title']; ! $column_size = $new_column ? '100%' : $mx_page->columns[$column]['column_size']; ! $visible_column_edit = in_array('adminColumnEdit_' . $page_id . '_' . $column_id, $cookie_states); ! $template->assign_block_vars('pages.columnrow', array( ! 'L_TITLE' => $lang['Column_admin'], ! 'L_TITLE_EXPLAIN' => $lang['Column_admin_explain'], ! 'L_COLUMN' => $lang['Column'], ! 'COLUMN_ID' => $column_id, ! 'COLUMN_TITLE' => $new_column ? $lang['Create_column'] : $column_title, ! 'U_COLUMN_DELETE' => append_sid("admin_mx_page_cp.$phpEx" . $deletemode), ! 'U_COLUMN_MOVE_UP' => append_sid("admin_mx_page_cp.$phpEx" . $upmode), ! 'U_COLUMN_MOVE_DOWN' => append_sid("admin_mx_page_cp.$phpEx" . $downmode), ! // ! // Column Edit ! // ! 'L_DELETE' => $new_column ? '' : $lang['Delete'], ! 'L_MOVE_UP' => $new_column ? '' : $lang['Move_up'], ! 'L_MOVE_DOWN' => $new_column ? '' : $lang['Move_down'], ! 'L_COLUMN' => $lang['Column'], ! 'L_COLUMN_SIZE' => $lang['Column_Size'], ! 'VISIBLE' => $visible_column_edit ? 'block' : 'none', ! 'IMG_URL_EDIT' => $visible_column_edit ? $admin_icon['contract'] : $admin_icon['expand'], ! 'E_COLUMN_TITLE' => $column_title, ! 'E_COLUMN_SIZE' => $column_size, ! ! 'S_SUBMIT' => $new_column ? $lang['Create_column'] : $lang['Update'], ! 'S_HIDDEN_FIELDS' => $s_hidden_column_fields ! )); ! // ! // Add up radioboxes for block to column form ! // ! if (!$new_column) ! { ! $radio_column_list .= '<input type="radio" name="column_id" value="'.$column_id.'" '.$radio_column_checked.' /><span class="gensmall">'.$column_title.' </span><br />'; ! } ! // ! // Now continue with page blocks ! // ! for( $block = 0; $block < $mx_page->total_block; $block++ ) { ! if( $mx_page->columns[$column]['column_id'] == $mx_page->blocks[$block]['column_id'] ) ! { ! $block_id = $mx_page->blocks[$block]['block_id']; ! $mx_block->init( $block_id ); ! $block_order = $mx_page->blocks[$block]['block_order']; ! $editor_name_tmp = get_userdata($mx_block->editor_id); ! $editor_name = $editor_name_tmp['username']; ! $edit_time = create_date( $board_config['default_dateformat'], $mx_block->block_time, $board_config['board_timezone'] ); ! $mode = MX_PAGE_BLOCK_TYPE; ! $deletemode = '?mode=' . $mode . '&action=' . MX_DO_DELETE . '&block_id=' . $block_id . '&column_id=' . $column_id . '&block_order=' . $block_order; ! $upmode = '?mode=' . $mode . '&action=' . MX_DO_MOVE . '&block_id=' . $block_id . '&column_id=' . $column_id . '&block_order=' . $block_order . '&move=-15'; ! $downmode = '?mode=' . $mode . '&action=' . MX_DO_MOVE . '&block_id=' . $block_id . '&column_id=' . $column_id . '&block_order=' . $block_order . '&move=15'; ! $syncmode = '?mode=' . $mode . '&action=' . MX_DO_SYNC . '&block_id=' . $block_id . '&column_id=' . $column_id; ! if( !empty($mx_block->block_edit_file) ) { $l_setting = $lang['Block_cp']; ! $u_setting = append_sid(PORTAL_URL . $mx_block->block_edit_file . "?block_id=$block_id"); } ! else ! { ! $u_setting = ''; ! $l_setting = ''; ! ! // ! // Show Block Settings even if no BLOCK_SYSTEM_PARAMETER_TABLE row exists. ! // admin_mx_block.php will populate them if necessary (see B4). ! // ! //$param_rows = get_exists(PARAMETER_TABLE, 'function_id', $mx_block->block_config[$block_id]['function_id']); ! //if( $param_rows['number'] > 0 ) ! if ( count( $mx_block->block_config[$block_id] ) > 17) ! { ! $l_setting = $lang['Block_cp']; ! $u_setting = append_sid("admin_mx_block_cp.$phpEx?block_id=$block_id"); ! } ! } ! $template->assign_block_vars('pages.columnrow.blockrow', array( ! 'L_SETTING' => $l_setting, ! 'L_REMOVE' => $lang['Remove'], ! 'BLOCK_ID' => $block_id, ! 'BLOCK_TITLE' => $mx_block->block_title, ! 'BLOCK_DESC' => ( $mx_block->block_desc != '' ) ? '<br /> ' . $mx_block->block_desc : '', ! 'BLOCK_LAST_EDITED' => ( $editor_name != '' ) ? ' (' . $lang['Block_updated_by'] . $editor_name . ', ' . $edit_time . ')' : '', ! 'ROW_COLOR' => $row_color, ! 'U_BLOCK_EDIT' => $u_setting, ! 'U_BLOCK_SETTING' => $u_setting, ! 'U_BLOCK_DELETE' => append_sid("admin_mx_page_cp.$phpEx" . $deletemode), ! 'U_BLOCK_MOVE_UP' => append_sid("admin_mx_page_cp.$phpEx" . $upmode), ! 'U_BLOCK_MOVE_DOWN' => append_sid("admin_mx_page_cp.$phpEx" . $downmode), ! 'U_BLOCK_RESYNC' => append_sid("admin_mx_page_cp.$phpEx" . $syncmode) ! )); ! } // if ... column_id == column_id ! } // for ... blocks ! ! if (!$new_column) ! { ! $mode = MX_PAGE_BLOCK_TYPE; ! $action = MX_DO_INSERT; ! // ! // Hidden fields ! // ! $s_hidden_page_fields = '<input type="hidden" name="mode" value="' . $mode . '" /> ! <input type="hidden" name="action" value="' . $action . '" /> ! <input type="hidden" name="id" value="' . $column_id . '" /> ! <input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; ! $blocklist = get_list_formatted('block_list', 0, 'block_id'); ! ! $template->assign_block_vars('pages.columnrow.add_block', array( ! 'LIST_BLOCK' => $blocklist, ! 'S_SUBMIT' => $lang['Add_Block'], ! 'S_HIDDEN_FIELDS' => $s_hidden_page_fields ! )); ! $template->assign_block_vars('pages.columnrow.is_columnrow', array()); ! } ! } // for ... column } --- 818,1001 ---- $radio_column_list = ''; ! ! if ( $mx_page->total_column > 0) ! { ! $template->assign_block_vars('pages.has_columns', array()); ! } ! ! // ! // Okay, let's build the index ! // ! for( $column = 0; $column < $mx_page->total_column + 1; $column++ ) ! { ! $new_column = $column == $mx_page->total_column; ! $column_id = $new_column ? $page_id . '_0' : $mx_page->columns[$column]['column_id']; ! $mode = MX_PAGE_COLUMN_TYPE; ! $action = $new_column ? MX_DO_INSERT : MX_DO_UPDATE; ! $deletemode = '?mode=' . $mode . '&action=' . MX_DO_DELETE . '&id=' . $column_id; ! $upmode = '?mode=' . $mode . '&action=' . MX_DO_MOVE . '&id=' . $column_id . '&move=-15'; ! $downmode = '?mode=' . $mode . '&action=' . MX_DO_MOVE . '&id=' . $column_id . '&move=15'; ! // ! // Hidden fields ! // ! $s_hidden_column_fields = '<input type="hidden" name="mode" value="' . $mode . '" /> ! <input type="hidden" name="action" value="' . $action . '" /> ! <input type="hidden" name="id" value="' . $column_id . '" /> ! <input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; ! $message_delete = $lang['Delete_page_column'] ! . '<br /><br />' . $lang['Delete_page_column_explain'] ! . '<br /><br />' . sprintf($lang['Click_page_column_delete_yes'], '<a href="' . append_sid("admin_mx_page_cp.$phpEx" . $deletemode) . '">', '</a>') ! . '<br /><br />'; ! // ! // Subpanel - column edit ! // ! ! $column_title = $new_column ? '' : $mx_page->columns[$column]['column_title']; ! $column_size = $new_column ? '100%' : $mx_page->columns[$column]['column_size']; ! ! $visible_column_edit = in_array('adminColumnEdit_' . $page_id . '_' . $column_id, $cookie_states); ! $visible_column_delete = in_array('adminColumnDelete_' . $page_id . '_' . $column_id, $cookie_states); ! $template->assign_block_vars('pages.columnrow', array( ! 'L_TITLE' => $lang['Column_admin'], ! 'L_TITLE_EXPLAIN' => $lang['Column_admin_explain'], ! 'L_COLUMN' => $lang['Column'], ! 'COLUMN_ID' => $column_id, ! 'COLUMN_TITLE' => $new_column ? $lang['Create_column'] : $column_title, ! ! 'U_COLUMN_DELETE' => append_sid("admin_mx_page_cp.$phpEx" . $deletemode), ! 'U_COLUMN_MOVE_UP' => append_sid("admin_mx_page_cp.$phpEx" . $upmode), ! 'U_COLUMN_MOVE_DOWN' => append_sid("admin_mx_page_cp.$phpEx" . $downmode), ! // ! // Column Edit ! // ! 'L_DELETE' => $new_column ? '' : $lang['Delete'], ! 'L_MOVE_UP' => $new_column ? '' : $lang['Move_up'], ! 'L_MOVE_DOWN' => $new_column ? '' : $lang['Move_down'], ! 'L_COLUMN' => $lang['Column'], ! 'L_COLUMN_SIZE' => $lang['Column_Size'], ! 'VISIBLE' => $visible_column_edit ? 'block' : 'none', ! 'VISIBLE_DELETE' => $visible_column_delete ? 'block' : 'none', ! 'IMG_URL_EDIT' => $visible_column_edit ? $admin_icon['contract'] : $admin_icon['expand'], ! 'IMG_URL_DELETE' => $visible_column_delete ? $admin_icon['contract'] : $admin_icon['expand'], ! 'E_COLUMN_TITLE' => $column_title, ! 'E_COLUMN_SIZE' => $column_size, ! ! // Quick Panels ! 'MESSAGE_DELETE' => $message_delete, ! ! 'S_SUBMIT' => $new_column ? $lang['Create_column'] : $lang['Update'], ! 'S_HIDDEN_FIELDS' => $s_hidden_column_fields ! )); ! // ! // Add up radioboxes for block to column form ! // ! if (!$new_column) ! { ! $radio_column_list .= '<input type="radio" name="column_id" value="'.$column_id.'" '.$radio_column_checked.' /><span class="gensmall">'.$column_title.' </span><br />'; ! } ! // ! // Now continue with page blocks ! // ! for( $block = 0; $block < $mx_page->total_block; $block++ ) ! { ! if( $mx_page->columns[$column]['column_id'] == $mx_page->blocks[$block]['column_id'] ) { ! $block_id = $mx_page->blocks[$block]['block_id']; ! $mx_block->init( $block_id ); ! $block_order = $mx_page->blocks[$block]['block_order']; ! $editor_name_tmp = get_userdata($mx_block->editor_id); ! $editor_name = $editor_name_tmp['username']; ! $edit_time = create_date( $board_config['default_dateformat'], $mx_block->block_time, $board_config['board_timezone'] ); ! $mode = MX_PAGE_BLOCK_TYPE; ! $deletemode = '?mode=' . $mode . '&action=' . MX_DO_DELETE . '&block_id=' . $block_id . '&column_id=' . $column_id . '&block_order=' . $block_order; ! $upmode = '?mode=' . $mode . '&action=' . MX_DO_MOVE . '&block_id=' . $block_id . '&column_id=' . $column_id . '&block_order=' . $block_order . '&move=-15'; ! $downmode = '?mode=' . $mode . '&action=' . MX_DO_MOVE . '&block_id=' . $block_id . '&column_id=' . $column_id . '&block_order=' . $block_order . '&move=15'; ! $syncmode = '?mode=' . $mode . '&action=' . MX_DO_SYNC . '&block_id=' . $block_id . '&column_id=' . $column_id; ! if( !empty($mx_block->block_edit_file) ) ! { ! $l_setting = $lang['Block_cp']; ! $u_setting = append_sid(PORTAL_URL . $mx_block->block_edit_file . "?block_id=$block_id"); ! } ! else ! { ! $u_setting = ''; ! $l_setting = ''; ! ! // ! // Show Block Settings even if no BLOCK_SYSTEM_PARAMETER_TABLE row exists. ! // admin_mx_block.php will populate them if necessary (see B4). ! // ! //$param_rows = get_exists(PARAMETER_TABLE, 'function_id', $mx_block->block_config[$block_id]['function_id']); ! //if( $param_rows['number'] > 0 ) ! if ( count( $mx_block->block_config[$block_id] ) > 17) { $l_setting = $lang['Block_cp']; ! $u_setting = append_sid("admin_mx_block_cp.$phpEx?block_id=$block_id"); } ! } ! $template->assign_block_vars('pages.columnrow.blockrow', array( ! 'L_SETTING' => $l_setting, ! 'L_REMOVE' => $lang['Remove'], ! 'BLOCK_ID' => $block_id, ! 'BLOCK_TITLE' => $mx_block->block_title, ! 'BLOCK_DESC' => ( $mx_block->block_desc != '' ) ? '<br /> ' . $mx_block->block_desc : '', ! 'BLOCK_LAST_EDITED' => ( $editor_name != '' ) ? ' (' . $lang['Block_updated_by'] . $editor_name . ', ' . $edit_time . ')' : '', ! 'ROW_COLOR' => $row_color, ! 'U_BLOCK_EDIT' => $u_setting, ! 'U_BLOCK_SETTING' => $u_setting, ! 'U_BLOCK_DELETE' => append_sid("admin_mx_page_cp.$phpEx" . $deletemode), ! 'U_BLOCK_MOVE_UP' => append_sid("admin_mx_page_cp.$phpEx" . $upmode), ! 'U_BLOCK_MOVE_DOWN' => append_sid("admin_mx_page_cp.$phpEx" . $downmode), ! 'U_BLOCK_RESYNC' => append_sid("admin_mx_page_cp.$phpEx" . $syncmode) ! )); ! } // if ... column_id == column_id ! } // for ... blocks ! ! if (!$new_column) ! { ! $mode = MX_PAGE_BLOCK_TYPE; ! $action = MX_DO_INSERT; ! // ! // Hidden fields ! // ! $s_hidden_page_fields = '<input type="hidden" name="mode" value="' . $mode . '" /> ! <input type="hidden" name="action" value="' . $action . '" /> ! <input type="hidden" name="id" value="' . $column_id . '" /> ! <input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; ! $template->assign_block_vars('pages.columnrow.add_block', array( ! 'LIST_BLOCK' => $blocklist, ! 'S_SUBMIT' => $lang['Add_Block'], ! 'S_HIDDEN_FIELDS' => $s_hidden_page_fields ! )); ! $template->assign_block_vars('pages.columnrow.is_columnrow', array()); ! } ! } // for ... column } *************** *** 942,1271 **** $template->pparse('body'); include_once('./page_footer_admin.' . $phpEx); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // ****************************************************************** - // - // ****************************************************************** - function page_edit($mode, $page_id) - { - global $template, $lang, $db, $board_config, $theme, $mx_request_vars, $phpEx; - - $auth_fields = array('auth_view'); - $auth_ary = array('auth_view' => AUTH_ALL); - - $auth_levels = array('ALL', 'REG', 'PRIVATE', 'MOD', 'ADMIN', 'ANONYMOUS'); - $auth_const = array(AUTH_ALL, AUTH_REG, AUTH_ACL, AUTH_MOD, AUTH_ADMIN, AUTH_ANONYMOUS); - - $field_names = array('auth_view' => $lang['View']); - - // - // Show form to create/modify a page - // - if( $mode == 'edit' ) - { - // $newmode determines if we are going to INSERT or UPDATE after posting? - $newmode = 'modify'; - $buttonvalue = $lang['Update']; - - $row = get_info(PAGE_TABLE, 'page_id', $page_id); - - $page_name = $row['page_name']; - $page_desc = $row['page_desc']; - // $page_icon = $row['page_icon']; - $page_icon = post_icons('page_icons/', $row['page_icon']); - $page_header = empty($row['page_header']) ? 'overall_header.tpl' : $row['page_header']; - $page_graph_border = $row['page_graph_border']; - // $page_group_auth_id = $row['auth_view_group']; - $l_choose_page_template = ''; - $template_list = ''; - } - else - { - $newmode = 'create'; - $buttonvalue = $lang['Submit']; - $page_name = $mx_request_vars->post('page_name', MX_TYPE_ANY, ''); - $page_desc = $mx_request_vars->post('page_desc', MX_TYPE_ANY, ''); - // $page_icon = empty($row['page_icon']) ? 'icon_home.gif' : $row['page_icon']; - $page_icon = post_icons('page_icons/'); - $page_header = 'overall_header.tpl'; - $page_graph_border = ''; - - $sql = "SELECT MAX(page_id) AS page_id FROM " . PAGE_TABLE; - if ( !( $result = $db->sql_query($sql) ) ) - { - mx_message_die(GENERAL_ERROR, "Couldn't get page information", '', __LINE__, __FILE__, $sql); - } - - $row = $db->sql_fetchrow($result); - $page_id = $row['page_id'] + 1; - - // - // Page templates dropdown - // - $template_list = get_list('use_template', PAGE_TEMPLATES, 'page_template_id', 'template_name', 1, true); - $l_choose_page_template = empty($lang['Choose_page_template']) ? "Choose page template" : $lang['Choose_page_template']; - } - - $template->set_filenames(array( - 'edit_page' => 'admin/mx_page_edit_body.tpl') - ); - - $s_hidden_fields = '<input type="hidden" name="mode" value="' . $newmode . '" /><input type="hidden" name="page_id" value="' . $page_id . '" />'; - - - // Output values of individual - // fields - - for( $j = 0; $j < count($auth_fields); $j++ ) - { - $custom_auth[$j] = ' <select name="' . $auth_fields[$j] . '">'; - - for( $k = 0; $k < count($auth_levels); $k++ ) - { - $selected = ( $row[$auth_fields[$j]] == $auth_const[$k] ) ? ' selected="selected"' : ''; - $custom_auth[$j] .= '<option value="' . $auth_const[$k] . '"' . $selected . '>' . $lang['AUTH_' . $auth_levels[$k]] . '</option>'; - } - $custom_auth[$j] .= '</select> '; - - // $custom_group_auth = mx_get_groups($page_group_auth_id); - - $cell_title = $field_names[$auth_fields[$j]]; - - $template->assign_block_vars('page_auth_titles', array( - 'CELL_TITLE' => $cell_title - )); - $template->assign_block_vars('page_auth_data', array( - 'S_AUTH_LEVELS_SELECT' => $custom_auth[$j] - )); - - $s_column_span++; - } - - $template->assign_vars(array( - 'L_TITLE' => $lang['Page_admin'], - 'L_EXPLAIN' => $lang['Page_admin_explain'], - 'L_PAGE_NAME' => $lang['Page'], - 'L_PAGE_DESC' => $lang['Page_desc'], - 'L_PAGE_ID' => empty($lang['Page_Id']) ? "Page Id" : $lang['Page_Id'] , - 'L_PAGE_ICON' => empty($lang['Page_icon']) ? "Page Icon" : $lang['Page_icon'] , - 'L_PAGE_HEADER' => empty($lang['Page_header']) ? "Page header file" : $lang['Page_header'] , - 'L_PAGE_GRAPH_BORDER' => empty($lang['Page_graph_border']) ? "Page border graphics" : $lang['Page_graph_border'] , - 'L_PAGE_GRAPH_BORDER_EXPLAIN'=> $lang['Page_graph_border_explain'], - 'L_AUTH_TITLE' => empty($lang['Auth_Page']) ? "Permission" : $lang['Auth_Page'], - 'L_CHOOSE_PAGE_TEMPLATE' => $l_choose_page_template, - - 'PAGE_ID' => $page_id, - 'PAGE_NAME' => $page_name, - 'PAGE_DESC' => $page_desc, - - 'S_PAGE_ICON' => $page_icon, - 'PAGE_HEADER' => $page_header, - 'PAGE_GRAPH_BORDER' => $page_graph_border, - - 'S_ACTION' => append_sid("admin_mx_page_cp.$phpEx"), - 'S_HIDDEN_FIELDS' => $s_hidden_fields, - 'S_SUBMIT_VALUE' => $buttonvalue, - 'S_FUNCTION_LIST' => $functionlist, - 'S_TEMPLATE_LIST' => $template_list - )); - - define('IN_ADMIN', 1); - include("./page_header_admin.$phpEx"); - $template->pparse('edit_page'); - include("./page_footer_admin.$phpEx"); - } - - // ****************************************************************** - // Modify a page in the DB - // ****************************************************************** - function page_modify($mode, $page_id) - { - global $template, $lang, $db, $board_config, $theme, $mx_request_vars, $phpEx; - - $page_id_new = $mx_request_vars->post('page_id_new', MX_TYPE_INT, 0); - $page_name = $mx_request_vars->post('page_name', MX_TYPE_ANY, ''); - $page_desc = $mx_request_vars->post('page_desc', MX_TYPE_ANY, ''); - $page_icon = $mx_request_vars->post('menuicon', MX_TYPE_NO_TAGS, ''); - $page_header = $mx_request_vars->post('page_header', MX_TYPE_NO_TAGS, ''); - $page_graph_border = $mx_request_vars->post('page_graph_border', MX_TYPE_NO_TAGS, ''); - $auth_view = $mx_request_vars->post('auth_view', MX_TYPE_INT, 0); - - if( $mode == 'modify' ) - { - if( $page_id != $page_id_new ) - { - $sql = "UPDATE " . COLUMN_TABLE . " - SET page_id = " . $page_id_new . " - WHERE page_id = " . $page_id; - if( !($result = $db->sql_query($sql)) ) - { - mx_message_die(GENERAL_ERROR, "Couldn't update page information", '', __LINE__, __FILE__, $sql); - } - } - $sql = "UPDATE " . PAGE_TABLE . " - SET page_id = '$page_id_new', - page_name = '$page_name', - page_desc = '$page_desc', - page_icon = '$page_icon', - page_header = '$page_header', - page_graph_border = '$page_graph_border', - auth_view = '$auth_view' - WHERE page_id = $page_id"; - if( !($result = $db->sql_query($sql)) ) - { - mx_message_die( GENERAL_ERROR, "Couldn't update page information", '', __LINE__, __FILE__, $sql); - } - } - else if( $mode == 'create' ) - { - $sql = "INSERT INTO " . PAGE_TABLE . " ( page_id, page_name, page_desc, page_icon, page_graph_border, auth_view, page_header ) - VALUES ( '$page_id_new' , '$page_name', '$page_desc', '$page_icon', '$page_graph_border', '$auth_view', '$page_header' )"; - if( !($result = $db->sql_query($sql)) ) - { - mx_message_die(GENERAL_ERROR, "Couldn't insert page information", '', __LINE__, __FILE__, $sql); - } - - // - // Page templates - // - $use_template = $mx_request_vars->post('use_template', MX_TYPE_INT, 0); - - if( $use_template > 1 ) - { - $sql = " SELECT * FROM " . COLUMN_TEMPLATES . " WHERE page_template_id = " . $use_template; - if( !($result = $db->sql_query($sql)) ) - { - mx_message_die(GENERAL_ERROR, "Couldn't get list of Columns for this template", '', __LINE__, __FILE__, $sql); - } - - $row = $db->sql_fetchrowset($result); - - for( $row_count = 0; $row_count < count($row); $row_count++ ) - { - $sql1 = "INSERT INTO " . COLUMN_TABLE . " (column_title, column_order, column_size, page_id) - VALUES ( '" . $row[$row_count]['column_title'] . "', '" . $row[$row_count]['column_order'] . "', '" . $row[$row_count]['column_size'] . "', '$page_id_new' )"; - if( !($result = $db->sql_query($sql1)) ) - { - mx_message_die(GENERAL_ERROR, "Couldn't insert page information", '', __LINE__, __FILE__, $sql); - } - } - } - // - // End of Page templates - // - } - - // Update cache - update_session_cache($block_id); - - $message = $lang['Portal_Config_updated'] . '<br /><br />' . sprintf($lang['Click_return_portal_config'], '<a href="' . append_sid("admin_mx_page_cp.$phpEx") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid("index.$phpEx?pane=right") . '">', '</a>'); - - mx_message_die(GENERAL_MESSAGE, $message); - } - - // ****************************************************************** - // Delete a page - // ****************************************************************** - function page_delete($mode, $page_id) - { - global $template, $lang, $db, $board_config, $theme, $phpEx; - - if( $mode == 'delete' ) - { - $template->set_filenames(array( - 'admin_page' => 'admin/mx_page_delete_body.tpl') - ); - - $buttonvalue = $lang['Delete']; - $newmode = 'delpage'; - - $s_hidden_fields = '<input type="hidden" name="mode" value="' . $newmode . '" />'; - - $page_name = get_list('page_id', PAGE_TABLE, 'page_id', 'page_name', $page_id, true); - - $template->assign_vars(array( - 'L_PAGE_DELETE' => $lang['Page_admin'], - 'L_PAGE_DELETE_EXPLAIN' => $lang['Page_admin_explain'], - 'L_PAGE_NAME' => $lang['Page'], - 'NAME' => $page_name, - 'S_HIDDEN_FIELDS' => $s_hidden_fields, - 'S_PAGE_ACTION' => append_sid("admin_mx_page_cp.$phpEx"), - 'S_SUBMIT_VALUE' => $buttonvalue - )); - - define('IN_ADMIN', 1); - include_once("./page_header_admin.$phpEx"); - $template->pparse('admin_page'); - include_once("./page_footer_admin.$phpEx"); - } - - if( $mode == 'delpage' ) - { - $sql = "SELECT column_id FROM " . COLUMN_TABLE . " WHERE page_id = " . $page_id; - if( !($result = $db->sql_query($sql)) ) - { - mx_message_die(GENERAL_ERROR, "Couldn't get list of Column", '', __LINE__, __FILE__, $sql); - } - - while( $row = $db->sql_fetchrow($result) ) - { - $sql = "DELETE FROM " . COLUMN_BLOCK_TABLE . " - WHERE column_id = " . $row['column_id']; - if( !($result = $db->sql_query($sql)) ) - { - mx_message_die(GENERAL_ERROR, "Couldn't delete column/block information", '', __LINE__, __FILE__, $sql); - } - } - - $sql = "DELETE FROM " . COLUMN_TABLE . " WHERE page_id = " . $page_id; - if( !($result = $db->sql_query($sql)) ) - { - mx_message_die(GENERAL_ERROR, "Couldn't delete page information", '', __LINE__, __FILE__, $sql); - } - - $sql = "DELETE FROM " . PAGE_TABLE . " WHERE page_id = " . $page_id; - if( !($result = $db->sql_query($sql)) ) - { - mx_message_die(GENERAL_ERROR, "Couldn't delete page information", '', __LINE__, __FILE__, $sql); - } - - $message = $lang['Portal_Config_updated'] . '<br /><br />' . sprintf($lang['Click_return_portal_config'], '<a href="' . append_sid("admin_mx_page_cp.$phpEx") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid("index.$phpEx?pane=right") . '">', '</a>'); - - // Update cache - update_session_cache($block_id); - - mx_message_die(GENERAL_MESSAGE, $message); - } - } - ?> \ No newline at end of file --- 1015,1017 ---- |
|
From: Jon O. <jon...@us...> - 2005-08-21 21:41:01
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2254/modules/mx_navmenu/templates/subSilver/admin Modified Files: mx_module_parameters.tpl Log Message: updating... Index: mx_module_parameters.tpl =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/templates/subSilver/admin/mx_module_parameters.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_module_parameters.tpl 20 Aug 2005 18:19:12 -0000 1.1 --- mx_module_parameters.tpl 21 Aug 2005 21:40:51 -0000 1.2 *************** *** 45,58 **** var menuCats = new Array(); - <!-- BEGIN catrow --> - menuCats['adminCat_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCat_', '{catrow.VISIBLE}', '', '', ''); - menuCats['adminCatEdit_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCatEdit_', '{catrow.VISIBLE_EDIT}', '{catrow.PAGE_NAV}', '', ''); - menuCats['adminCatDelete_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCatDelete_', '{catrow.VISIBLE_DELETE}', '', '', ''); - <!-- BEGIN menurow --> - menuCats['adminMenuEdit_{catrow.menurow.MENU_ID}'] = new menuCat('{catrow.menurow.MENU_ID}', 'adminMenuEdit_', '{catrow.menurow.VISIBLE_EDIT}', '{catrow.menurow.PAGE_NAV}', '{catrow.menurow.BLOCK_NAV}', '{catrow.menurow.FUNCTION_NAV}'); - menuCats['adminMenuDelete_{catrow.menurow.MENU_ID}'] = new menuCat('{catrow.menurow.MENU_ID}', 'adminMenuDelete_', '{catrow.menurow.VISIBLE_DELETE}', '', '', ''); - <!-- END menurow --> - <!-- END catrow --> - function getObj(obj) { --- 45,48 ---- *************** *** 148,152 **** if( currentStatus == 'none' ) { ! if (menuCats[parentCat]) { if (menuCats[parentCat].status == 'none') --- 138,142 ---- if( currentStatus == 'none' ) { ! if (menuCats[parentCat] && menuCats[currentCat].menu_mode != parentMenuEditMode && menuCats[currentCat].menu_mode != parentMenuDeleteMode) { if (menuCats[parentCat].status == 'none') *************** *** 181,185 **** } ! // Update Form Selects if (parentCatEditMode == type) { --- 171,176 ---- } ! ! // Update Form Selects - on the fly if (parentCatEditMode == type) { *************** *** 233,236 **** --- 224,228 ---- if (value == selectedValue) { + defaultSelected = true; selected = true; } *************** *** 264,271 **** { toObject.options.length = null; - toObject.options.length = null; ! for (var i=0, l=fromObject.options.length;i<l;i++) { addOption(toObject,fromObject.options[i].text,fromObject.options[i].value, selectedValue); } } --- 256,268 ---- { toObject.options.length = null; ! for (var i=0; i<fromObject.options.length;i++) { addOption(toObject,fromObject.options[i].text,fromObject.options[i].value, selectedValue); + + // For some reason i have to reselect, to make it work in IE (Haplo is confused here...) + if (fromObject.options[i].value == selectedValue) + { + toObject.selectedIndex = i; + } } } *************** *** 345,350 **** <tr> <td class="row1" colspan="5"> ! <div id="adminCatEdit_{catrow.CAT_ID}" style="display:{catrow.VISIBLE_EDIT};" class="genmed"> ! <form name="form_adminCatEdit_{catrow.CAT_ID}" action="{S_ACTION}" method="post"> <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> --- 342,347 ---- <tr> <td class="row1" colspan="5"> ! <div id="adminCatEdit_{catrow.CAT_ID}" style="display:{catrow.VISIBLE_EDIT};" class="genmed" > ! <form name="form_adminCatEdit_{catrow.CAT_ID}" action="{S_ACTION}" method="post" > <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> *************** *** 372,376 **** <tr> <td class="row1">{catrow.L_CAT_MENU_PAGE}</td> ! <td class="row2"><select name="cat_url_sel" ></select></td> </tr> <tr> --- 369,373 ---- <tr> <td class="row1">{catrow.L_CAT_MENU_PAGE}</td> ! <td class="row2"><select name="cat_url_sel" ><option value="0">0</option></select></td> </tr> <tr> *************** *** 467,471 **** <tr> <td class="row1">{catrow.menurow.L_MENU_PAGE}</td> ! <td class="row2"><select name="page_nav" ></select></td> </tr> <tr> --- 464,468 ---- <tr> <td class="row1">{catrow.menurow.L_MENU_PAGE}</td> ! <td class="row2"><select name="page_nav" ><option value="0">0</option></select></td> </tr> <tr> *************** *** 475,479 **** <tr> <td class="row1">{catrow.menurow.L_MENU_BLOCK}</td> ! <td class="row2"><select name="block_nav" ></select></td> </tr> <tr> --- 472,476 ---- <tr> <td class="row1">{catrow.menurow.L_MENU_BLOCK}</td> ! <td class="row2"><select name="block_nav" ><option value="0">0</option></select></td> </tr> <tr> *************** *** 482,486 **** <tr> <td class="row1">{catrow.menurow.L_MENU_FUNCTION}</td> ! <td class="row2"><select name="function_id" ></select></td> </tr> <tr> --- 479,483 ---- <tr> <td class="row1">{catrow.menurow.L_MENU_FUNCTION}</td> ! <td class="row2"><select name="function_id" ><option value="0">0</option></select></td> </tr> <tr> *************** *** 549,554 **** </table> ! \ No newline at end of file --- 546,575 ---- </table> ! <script type="text/javascript"> ! <!-- BEGIN catrow --> ! menuCats['adminCat_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCat_', '{catrow.VISIBLE}', '', '', ''); ! menuCats['adminCatEdit_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCatEdit_', '{catrow.VISIBLE_EDIT}', '{catrow.PAGE_NAV}', '', ''); ! menuCats['adminCatDelete_{catrow.CAT_ID}'] = new menuCat('{catrow.CAT_ID}', 'adminCatDelete_', '{catrow.VISIBLE_DELETE}', '', '', ''); ! ! if ('{catrow.VISIBLE_EDIT}' == 'block') ! { ! duplicateForm(document.fromForm.pages, document.forms['form_adminCatEdit_' + '{catrow.CAT_ID}'].cat_url_sel, '{catrow.PAGE_NAV}'); ! } ! ! <!-- BEGIN menurow --> ! menuCats['adminMenuEdit_{catrow.menurow.MENU_ID}'] = new menuCat('{catrow.menurow.MENU_ID}', 'adminMenuEdit_', '{catrow.menurow.VISIBLE_EDIT}', '{catrow.menurow.PAGE_NAV}', '{catrow.menurow.BLOCK_NAV}', '{catrow.menurow.FUNCTION_NAV}'); ! menuCats['adminMenuDelete_{catrow.menurow.MENU_ID}'] = new menuCat('{catrow.menurow.MENU_ID}', 'adminMenuDelete_', '{catrow.menurow.VISIBLE_DELETE}', '', '', ''); ! ! if ('{catrow.menurow.VISIBLE_EDIT}' == 'block') ! { ! duplicateForm(document.fromForm.blocks, document.forms['form_adminMenuEdit_' + '{catrow.menurow.MENU_ID}'].block_nav, '{catrow.menurow.BLOCK_NAV}'); ! duplicateForm(document.fromForm.pages, document.forms['form_adminMenuEdit_' + '{catrow.menurow.MENU_ID}'].page_nav, '{catrow.menurow.PAGE_NAV}'); ! duplicateForm(document.fromForm.functions, document.forms['form_adminMenuEdit_' + '{catrow.menurow.MENU_ID}'].function_nav, '{catrow.menurow.FUNCTION_NAV}'); ! } + <!-- END menurow --> + <!-- END catrow --> + // --> + </script> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2005-08-21 21:41:01
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2254/modules/mx_navmenu/admin Modified Files: mx_module_defs.php Log Message: updating... Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/admin/mx_module_defs.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_module_defs.php 20 Aug 2005 18:48:49 -0000 1.2 --- mx_module_defs.php 21 Aug 2005 21:40:51 -0000 1.3 *************** *** 521,525 **** { $new_menu = $menu_count == $total_menus; ! $menu_id = $new_menu ? $cat_id : $menu_rows[$menu_count]['menu_id']; $mode = MX_PAGE_MENU_TYPE; --- 521,525 ---- { $new_menu = $menu_count == $total_menus; ! $menu_id = $new_menu ? $cat_id . '_0' : $menu_rows[$menu_count]['menu_id']; $mode = MX_PAGE_MENU_TYPE; |
|
From: Jon O. <jon...@us...> - 2005-08-21 21:41:01
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2254/includes Modified Files: mx_functions_admincp.php Log Message: updating... Index: mx_functions_admincp.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_admincp.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_functions_admincp.php 20 Aug 2005 18:19:11 -0000 1.1 --- mx_functions_admincp.php 21 Aug 2005 21:40:51 -0000 1.2 *************** *** 303,308 **** define('MX_PAGE_COLUMN_TYPE' , 8); define('MX_PAGE_BLOCK_TYPE' , 9); ! define('MX_PAGE_TEMPLATE_TYPE' , 10); ! define('MX_PAGE_TEMPLATE_COLUMN_TYPE' , 11); // Action --- 303,309 ---- define('MX_PAGE_COLUMN_TYPE' , 8); define('MX_PAGE_BLOCK_TYPE' , 9); ! define('MX_PAGE_PRIVATE_TYPE' , 10); ! define('MX_PAGE_TEMPLATE_TYPE' , 11); ! define('MX_PAGE_TEMPLATE_COLUMN_TYPE' , 12); // Action *************** *** 316,321 **** // Flow control ! define('MX_ADMIN_DEBUG' , false); ! define('MX_ADMIN_SILENT' , true); // --- 317,321 ---- // Flow control ! define('MX_ADMIN_DEBUG' , true); // *************** *** 547,551 **** --- 547,598 ---- mx_message_die( GENERAL_ERROR, $lang['error_no_field'] ); } + + // $page_id = intval($id); + + $page_id_new = $mx_request_vars->post('page_id_new', MX_TYPE_INT, 0); + $page_name = $mx_request_vars->post('page_name', MX_TYPE_ANY, ''); + $page_desc = $mx_request_vars->post('page_desc', MX_TYPE_ANY, ''); + $page_icon = $mx_request_vars->post('menuicon', MX_TYPE_NO_TAGS, ''); + $page_header = $mx_request_vars->post('page_header', MX_TYPE_NO_TAGS, ''); + $page_graph_border = $mx_request_vars->post('page_graph_border', MX_TYPE_NO_TAGS, ''); + $auth_view = $mx_request_vars->post('auth_view', MX_TYPE_INT, 0); + $sql = "INSERT INTO " . PAGE_TABLE . " ( page_id, page_name, page_desc, page_icon, page_graph_border, auth_view, page_header ) + VALUES ( '$page_id_new' , '$page_name', '$page_desc', '$page_icon', '$page_graph_border', '$auth_view', '$page_header' )"; + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't insert page information", '', __LINE__, __FILE__, $sql); + } + + // + // Page templates + // + $use_template = $mx_request_vars->post('use_template', MX_TYPE_INT, 0); + + if( $use_template > 1 ) + { + $sql = " SELECT * FROM " . COLUMN_TEMPLATES . " WHERE page_template_id = " . $use_template; + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't get list of Columns for this template", '', __LINE__, __FILE__, $sql); + } + + $row = $db->sql_fetchrowset($result); + + for( $row_count = 0; $row_count < count($row); $row_count++ ) + { + $sql1 = "INSERT INTO " . COLUMN_TABLE . " (column_title, column_order, column_size, page_id) + VALUES ( '" . $row[$row_count]['column_title'] . "', '" . $row[$row_count]['column_order'] . "', '" . $row[$row_count]['column_size'] . "', '$page_id_new' )"; + if( !($result = $db->sql_query($sql1)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't insert page information", '', __LINE__, __FILE__, $sql); + } + } + } + + // + // Update cache + // + //update_session_cache($next_id); } $message = $lang['AdminCP_status'] . ": " . $lang['Page'] . ' (' . htmlspecialchars(trim($HTTP_POST_VARS['page_name'])) . ') ' . $lang['was_inserted']; *************** *** 561,564 **** --- 608,631 ---- mx_message_die( GENERAL_ERROR, $lang['error_no_field'] ); } + + $sql = "SELECT MAX(column_order) AS max_order FROM " . COLUMN_TABLE; + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't get order number from column table", "", __LINE__, __FILE__, $sql); + } + $row = $db->sql_fetchrow($result); + + $max_order = $row['max_order']; + $next_order = $max_order + 10; + + // + // There is no problem having duplicate page names so we won't check for it. + // + $sql = "INSERT INTO " . COLUMN_TABLE . " (column_title, column_order, column_size, page_id) + VALUES ('" . $HTTP_POST_VARS['column_title'] . "', $next_order, '" . $HTTP_POST_VARS['column_size'] . "', $page_id)"; + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't insert row in column table", "", __LINE__, __FILE__, $sql); + } } *************** *** 575,578 **** --- 642,659 ---- mx_message_die( GENERAL_ERROR, $lang['error_no_field'] ); } + + list($column_id) = each($HTTP_POST_VARS['addblock']); + + $block_id = $HTTP_POST_VARS['block_id'][$column_id]; + + $sql = "INSERT INTO " . COLUMN_BLOCK_TABLE . " (column_id, block_id, block_order) + VALUES ( $column_id, $block_id, 9999 )"; + + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't add new block", "", __LINE__, __FILE__, $sql); + } + + $this->move('block', $column_id, $page_id); } *************** *** 588,591 **** --- 669,681 ---- { mx_message_die( GENERAL_ERROR, $lang['error_no_field'] ); + } + + $template_name = $HTTP_POST_VARS['templatename']; + + $sql = "INSERT INTO " . PAGE_TEMPLATES . " ( template_name ) VALUES ( '$template_name' )"; + + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't add new template", "", __LINE__, __FILE__, $sql); } *************** *** 603,606 **** --- 693,717 ---- mx_message_die( GENERAL_ERROR, $lang['error_no_field'] ); } + + $sql = "SELECT MAX(column_order) AS max_order FROM " . COLUMN_TEMPLATES; + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't get order number from column template table", "", __LINE__, __FILE__, $sql); + } + $row = $db->sql_fetchrow($result); + + $max_order = $row['max_order']; + $next_order = $max_order + 10; + + // + // There is no problem having duplicate page names so we won't check for it. + // + $sql = "INSERT INTO " . COLUMN_TEMPLATES . " (column_title, column_order, column_size, page_template_id) + VALUES ('" . $HTTP_POST_VARS['column_title'] . "', $next_order, '" . $HTTP_POST_VARS['column_size'] . "', $page_template_id)"; + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't insert row in column table", "", __LINE__, __FILE__, $sql); + } + } *************** *** 914,927 **** break; - case MX_BLOCK_SETTINGS_TYPE: - - if ( !MX_ADMIN_DEBUG ) - { - - } - $message = $lang['AdminCP_status'] . ": " . $lang['Page'] . ' (' . htmlspecialchars(trim($HTTP_POST_VARS['page_name'])) . ') ' . $lang['was_updated']; - - break; - case MX_PAGE_TYPE: --- 1025,1028 ---- *************** *** 933,936 **** --- 1034,1077 ---- } + // $page_id = intval($id); + + $page_id_new = $mx_request_vars->post('page_id_new', MX_TYPE_INT, 0); + $page_name = $mx_request_vars->post('page_name', MX_TYPE_ANY, ''); + $page_desc = $mx_request_vars->post('page_desc', MX_TYPE_ANY, ''); + $page_icon = $mx_request_vars->post('menuicon', MX_TYPE_NO_TAGS, ''); + $page_header = $mx_request_vars->post('page_header', MX_TYPE_NO_TAGS, ''); + $page_graph_border = $mx_request_vars->post('page_graph_border', MX_TYPE_NO_TAGS, ''); + $auth_view = $mx_request_vars->post('auth_view', MX_TYPE_INT, 0); + + if( $page_id != $page_id_new ) + { + $sql = "UPDATE " . COLUMN_TABLE . " + SET page_id = " . $page_id_new . " + WHERE page_id = " . $page_id; + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't update page information", '', __LINE__, __FILE__, $sql); + } + } + + $sql = "UPDATE " . PAGE_TABLE . " + SET page_id = '$page_id_new', + page_name = '$page_name', + page_desc = '$page_desc', + page_icon = '$page_icon', + page_header = '$page_header', + page_graph_border = '$page_graph_border', + auth_view = '$auth_view' + WHERE page_id = $page_id"; + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die( GENERAL_ERROR, "Couldn't update page information", '', __LINE__, __FILE__, $sql); + } + + // + // Update cache + // + //update_session_cache($block_id); + } $message = $lang['AdminCP_status'] . ": " . $lang['Page'] . ' (' . htmlspecialchars(trim($HTTP_POST_VARS['page_name'])) . ') ' . $lang['was_updated']; *************** *** 946,949 **** --- 1087,1100 ---- mx_message_die( GENERAL_ERROR, $lang['error_no_field'] ); } + + $sql = "UPDATE " . COLUMN_TABLE . " + SET column_title = '" . str_replace("\'", "''", $HTTP_POST_VARS['column_title']) . "', + column_size = '" . str_replace("\'", "''", $HTTP_POST_VARS['column_size']) . "' + WHERE column_id = " . intval($HTTP_POST_VARS['column_id']); + + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't update block information", "", __LINE__, __FILE__, $sql); + } } *************** *** 952,956 **** break; ! case MX_PAGE_BLOCK_TYPE: if ( !MX_ADMIN_DEBUG ) --- 1103,1107 ---- break; ! case MX_PAGE_PRIVATE_TYPE: if ( !MX_ADMIN_DEBUG ) *************** *** 959,963 **** { mx_message_die( GENERAL_ERROR, $lang['error_no_field'] ); ! } } --- 1110,1127 ---- { mx_message_die( GENERAL_ERROR, $lang['error_no_field'] ); ! } ! ! $cat_id = intval( $HTTP_GET_VARS['cat_id'] ); ! $view_groups = @implode(',', $HTTP_POST_VARS['view']); ! $moderator_groups = @implode(',', $HTTP_POST_VARS['moderator']); ! ! $sql = "UPDATE " . PAGE_TABLE . " ! SET auth_view_group = '$view_groups', auth_moderator_group = '$moderator_groups' ! WHERE page_id = '$cat_id'"; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, 'Could not update Page config table', '', __LINE__, __FILE__, $sql); ! } ! } *************** *** 965,969 **** break; ! case MX_PAGE_TEMPLATE_TYPE: --- 1129,1133 ---- break; ! case MX_PAGE_TEMPLATE_TYPE: *************** *** 987,991 **** { mx_message_die( GENERAL_ERROR, $lang['error_no_field'] ); ! } } --- 1151,1166 ---- { mx_message_die( GENERAL_ERROR, $lang['error_no_field'] ); ! } ! ! $sql = "UPDATE " . COLUMN_TEMPLATES . " ! SET column_title = '" . str_replace("\'", "''", $HTTP_POST_VARS['column_title']) . "', ! column_size = '" . str_replace("\'", "''", $HTTP_POST_VARS['column_size']) . "' ! WHERE column_template_id = " . intval($HTTP_POST_VARS['column_template_id']); ! ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't update block information", "", __LINE__, __FILE__, $sql); ! } ! } *************** *** 1230,1234 **** if( $parent ) { ! //$sql = "DELETE FROM " . PARAMETER_TABLE . " WHERE function_id = " . $id; } else --- 1405,1440 ---- if( $parent ) { ! ! ! $sql = "SELECT column_id FROM " . COLUMN_TABLE . " WHERE page_id = " . $page_id; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't get list of Column", '', __LINE__, __FILE__, $sql); ! } ! ! while( $row = $db->sql_fetchrow($result) ) ! { ! $sql = "DELETE FROM " . COLUMN_BLOCK_TABLE . " ! WHERE column_id = " . $row['column_id']; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't delete column/block information", '', __LINE__, __FILE__, $sql); ! } ! } ! ! $sql = "DELETE FROM " . COLUMN_TABLE . " WHERE page_id = " . $page_id; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't delete page information", '', __LINE__, __FILE__, $sql); ! } ! ! $sql = "DELETE FROM " . PAGE_TABLE . " WHERE page_id = " . $page_id; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't delete page information", '', __LINE__, __FILE__, $sql); ! } ! ! ! } else *************** *** 1262,1266 **** if( $parent ) { ! //$sql = "DELETE FROM " . PARAMETER_TABLE . " WHERE function_id = " . $id; } else --- 1468,1484 ---- if( $parent ) { ! ! $sql = "DELETE FROM " . COLUMN_BLOCK_TABLE . " WHERE column_id = " . intval($HTTP_GET_VARS['column_id']); ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't delete column/block information", "", __LINE__, __FILE__, $sql); ! } ! ! $sql = "DELETE FROM " . COLUMN_TABLE . " WHERE column_id = " . intval($HTTP_GET_VARS['column_id']); ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't delete column information", "", __LINE__, __FILE__, $sql); ! } ! } else *************** *** 1294,1298 **** if( $parent ) { ! //$sql = "DELETE FROM " . PARAMETER_TABLE . " WHERE function_id = " . $id; } else --- 1512,1527 ---- if( $parent ) { ! ! $block_id = ( isset($HTTP_POST_VARS['block_id']) ) ? $HTTP_POST_VARS['block_id'] : $HTTP_GET_VARS['block_id']; ! $column_id = ( isset($HTTP_POST_VARS['column_id']) ) ? $HTTP_POST_VARS['column_id'] : $HTTP_GET_VARS['column_id']; ! $block_order = ( isset($HTTP_POST_VARS['block_order']) ) ? $HTTP_POST_VARS['block_order'] : $HTTP_GET_VARS['block_order']; ! ! $sql = "DELETE FROM " . COLUMN_BLOCK_TABLE . " WHERE block_id = $block_id AND column_id = $column_id AND block_order = $block_order"; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't delete the block information", "", __LINE__, __FILE__, $sql); ! } ! ! } else *************** *** 1326,1330 **** if( $parent ) { ! //$sql = "DELETE FROM " . PARAMETER_TABLE . " WHERE function_id = " . $id; } else --- 1555,1572 ---- if( $parent ) { ! ! $sql = "DELETE FROM " . PAGE_TEMPLATES . " WHERE page_template_id = " . intval($HTTP_GET_VARS['page_template_id']); ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't delete page template information", "", __LINE__, __FILE__, $sql); ! } ! ! $sql = "DELETE FROM " . COLUMN_TEMPLATES . " WHERE page_template_id = " . intval($HTTP_GET_VARS['page_template_id']); ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't delete column information", "", __LINE__, __FILE__, $sql); ! } ! ! } else *************** *** 1358,1362 **** if( $parent ) { ! //$sql = "DELETE FROM " . PARAMETER_TABLE . " WHERE function_id = " . $id; } else --- 1600,1610 ---- if( $parent ) { ! ! $sql = "DELETE FROM " . COLUMN_TEMPLATES . " WHERE column_template_id = " . intval($HTTP_GET_VARS['column_template_id']); ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't delete column information", "", __LINE__, __FILE__, $sql); ! } ! } else *************** *** 1406,1410 **** { ! } $message = $lang['AdminCP_status'] . ": " . $lang['Column'] . ' ' . $lang['was_moved']; --- 1654,1671 ---- { ! $column_id = intval($HTTP_GET_VARS['column_id']); ! $move = intval($HTTP_GET_VARS['move']); ! ! $sql = "UPDATE " . COLUMN_TABLE . " ! SET column_order = column_order + $move ! WHERE column_id = $column_id"; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't change column order", "", __LINE__, __FILE__, $sql); ! } ! ! $this->move('column', 0, $page_id); ! $show_index = true; ! } $message = $lang['AdminCP_status'] . ": " . $lang['Column'] . ' ' . $lang['was_moved']; *************** *** 1416,1420 **** if ( !MX_ADMIN_DEBUG ) { ! } --- 1677,1725 ---- if ( !MX_ADMIN_DEBUG ) { ! ! $move = intval($HTTP_GET_VARS['move']); ! $column_id = intval($HTTP_GET_VARS['column_id']); ! $block_id = intval($HTTP_GET_VARS['block_id']); ! $block_order = intval($HTTP_GET_VARS['block_order']); ! ! $sql = "UPDATE " . COLUMN_BLOCK_TABLE . " ! SET block_order = block_order + $move ! WHERE column_id = $column_id ! AND block_id = $block_id ! AND block_order = $block_order"; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't change column order", "", __LINE__, __FILE__, $sql); ! } ! ! $this->move('block', $column_id, $page_id); ! $show_index = true; ! ! ! } ! $message = $lang['AdminCP_status'] . ": " . $lang['Block'] . ' ' . $lang['was_moved']; ! ! break; ! ! case MX_PAGE_TEMPLATE_COLUMN_TYPE: ! ! if ( !MX_ADMIN_DEBUG ) ! { ! ! // ??????????? ! $column_id = intval($HTTP_GET_VARS[column_id]); ! $move = intval($HTTP_GET_VARS['move']); ! ! $sql = "UPDATE " . COLUMN_TEMPLATES . " ! SET column_order = column_order + $move ! WHERE column_id = $column_id"; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't change column order", "", __LINE__, __FILE__, $sql); ! } ! ! $this->move('column', 0, $template_id); ! $show_index = true; ! } *************** *** 1441,1445 **** if ( !MX_ADMIN_DEBUG ) { ! } --- 1746,1754 ---- if ( !MX_ADMIN_DEBUG ) { ! ! // ???? ! $column_id = intval($HTTP_GET_VARS[column_id]); ! sync('block', intval($HTTP_GET_VARS[block_id])); ! $show_index = true; } *************** *** 1639,1642 **** --- 1948,2012 ---- return $output_message; } + + function move($mode, $column = 0, $page_id) + { + global $db; + + switch( $mode ) + { + case 'column': + $table = COLUMN_TABLE; + $idfield = 'column_id'; + $orderfield = 'column_order'; + $columnfield = 'page_id'; + $column = 0; + break; + + case 'block': + $table = COLUMN_BLOCK_TABLE; + $idfield = 'block_id'; + $orderfield = 'block_order'; + $columnfield = 'column_id'; + break; + + default: + mx_message_die(GENERAL_ERROR, "Wrong mode for generating select list", "", __LINE__, __FILE__); + break; + } + + $sql = "SELECT * FROM $table"; + + if( $column != 0 ) + { + $sql .= " WHERE $columnfield = $column"; + } + else + { + $sql .= " WHERE page_id = $page_id "; + } + $sql .= " ORDER BY $orderfield ASC"; + + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't get list of Column", "", __LINE__, __FILE__, $sql); + } + + $i = 10; + $inc = 10; + + while( $row = $db->sql_fetchrow($result) ) + { + $sql = "UPDATE $table + SET $orderfield = $i + WHERE $idfield = " . $row[$idfield] . " + AND $columnfield = $column"; + if( !($db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, "Couldn't update order fields", "", __LINE__, __FILE__, $sql); + } + $i += 10; + } + } + function _getMaxId($table_name, $table_key) |
|
From: Jon O. <jon...@us...> - 2005-08-21 21:41:01
|
Update of /cvsroot/mxbb/core/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2254/language/lang_english Modified Files: lang_admin.php Log Message: updating... Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/language/lang_english/lang_admin.php,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** lang_admin.php 20 Aug 2005 18:19:11 -0000 1.38 --- lang_admin.php 21 Aug 2005 21:40:51 -0000 1.39 *************** *** 275,278 **** --- 275,281 ---- $lang['Remove_block_explain'] = "This will remove the block from this page. Beware, this operation cannot be undone!"; $lang['Click_block_remove_yes'] = "Click %sHere%s to remove the Block"; + $lang['Delete_page'] = "Delete Page"; + $lang['Delete_page_explain'] = "This will delete the Page. Beware, this operation cannot be undone!"; + $lang['Click_page_delete_yes'] = "Click %sHere%s to delete the Page"; $lang['Column_admin'] = "Page Column Administration"; *************** *** 286,292 **** $lang['Page_updated'] = "Page and Column information updated successfully"; $lang['Create_column'] = "Add new Column"; ! $lang['Delete_column'] = "Delete Page Column"; ! $lang['Delete_column_explain'] = "This will delete the Page Column. Beware, this operation cannot be undone!"; ! $lang['Click_column_delete_yes'] = "Click %sHere%s to delete the Page Column"; // --- 289,295 ---- $lang['Page_updated'] = "Page and Column information updated successfully"; $lang['Create_column'] = "Add new Column"; ! $lang['Delete_page_column'] = "Delete Page Column"; ! $lang['Delete_page_column_explain'] = "This will delete the Page Column. Beware, this operation cannot be undone!"; ! $lang['Click_page_column_delete_yes'] = "Click %sHere%s to delete the Page Column"; // *************** *** 303,309 **** $lang['Template_name'] = "Template Name"; $lang['Page_template_delete'] = "Delete Template"; ! $lang['Delete_template'] = "Delete Page Template"; ! $lang['Delete_template_explain'] = "This will delete the Page Template. Beware, this operation cannot be undone!"; ! $lang['Click_template_delete_yes'] = "Click %sHere%s to delete the Page Template"; // --- 306,315 ---- $lang['Template_name'] = "Template Name"; $lang['Page_template_delete'] = "Delete Template"; ! $lang['Delete_page_template'] = "Delete Page Template"; ! $lang['Delete_page_template_explain'] = "This will delete the Page Template. Beware, this operation cannot be undone!"; ! $lang['Click_page_template_delete_yes'] = "Click %sHere%s to delete the Page Template"; ! $lang['Delete_page_template_column'] = "Delete Page Template"; ! $lang['Delete_page_template_column_explain'] = "This will delete the Page Template. Beware, this operation cannot be undone!"; ! $lang['Click_page_template_column_delete_yes'] = "Click %sHere%s to delete the Page Template"; // |
|
From: Jon O. <jon...@us...> - 2005-08-20 18:50:44
|
Update of /cvsroot/mxbb/mx_newssuite/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27850/modules/mx_newssuite/admin Modified Files: mx_module_defs.php Log Message: minor updates Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/admin/mx_module_defs.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_module_defs.php 20 Aug 2005 18:23:54 -0000 1.1 --- mx_module_defs.php 20 Aug 2005 18:50:11 -0000 1.2 *************** *** 34,38 **** //define('MX_ALL_DATA' , -1); // Flag - write all data ! class mx_blockcp_parameter { // ------------------------------ --- 34,38 ---- //define('MX_ALL_DATA' , -1); // Flag - write all data ! class mx_module_defs { // ------------------------------ *************** *** 57,65 **** return $type_row; } // =================================================== // display parameter field and data in the add/edit page // =================================================== ! function display_edit( $parameter_data ) { global $template, $blockcptemplate, $mx_blockcp, $mx_root_path, $theme, $lang; --- 57,83 ---- return $type_row; } + + // =================================================== + // Submit custom parameter field and data + // =================================================== + function submit_module_parameters( $parameter_data, $block_id ) + { + global $HTTP_POST_VARS, $db, $board_config, $html_entities_match, $html_entities_replace; + + $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; + $parameter_opt = ''; + + switch ( $parameter_data['parameter_type'] ) + { + + } + + return array('parameter_value' => $parameter_value, 'parameter_opt' => $parameter_opt); + } // =================================================== // display parameter field and data in the add/edit page // =================================================== ! function display_module_parameters( $parameter_data ) { global $template, $blockcptemplate, $mx_blockcp, $mx_root_path, $theme, $lang; *************** *** 85,89 **** $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_blockcp_parameter.tpl') ); --- 103,107 ---- $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); |
|
From: Jon O. <jon...@us...> - 2005-08-20 18:49:52
|
Update of /cvsroot/mxbb/mx_kb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27710/modules/mx_kb/admin Modified Files: mx_module_defs.php Log Message: minor updates Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/mx_module_defs.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_module_defs.php 20 Aug 2005 18:23:15 -0000 1.1 --- mx_module_defs.php 20 Aug 2005 18:49:44 -0000 1.2 *************** *** 34,38 **** //define('MX_ALL_DATA' , -1); // Flag - write all data ! class mx_blockcp_parameter { // ------------------------------ --- 34,38 ---- //define('MX_ALL_DATA' , -1); // Flag - write all data ! class mx_module_defs { // ------------------------------ *************** *** 57,65 **** return $type_row; } // =================================================== // display parameter field and data in the add/edit page // =================================================== ! function display_edit( $parameter_data ) { global $template, $blockcptemplate, $mx_blockcp, $mx_root_path, $theme, $lang; --- 57,83 ---- return $type_row; } + + // =================================================== + // Submit custom parameter field and data + // =================================================== + function submit_module_parameters( $parameter_data, $block_id ) + { + global $HTTP_POST_VARS, $db, $board_config, $html_entities_match, $html_entities_replace; + + $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; + $parameter_opt = ''; + + switch ( $parameter_data['parameter_type'] ) + { + + } + + return array('parameter_value' => $parameter_value, 'parameter_opt' => $parameter_opt); + } // =================================================== // display parameter field and data in the add/edit page // =================================================== ! function display_module_parameters( $parameter_data ) { global $template, $blockcptemplate, $mx_blockcp, $mx_root_path, $theme, $lang; *************** *** 83,87 **** $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_blockcp_parameter.tpl') ); --- 101,105 ---- $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); |
|
From: Jon O. <jon...@us...> - 2005-08-20 18:49:36
|
Update of /cvsroot/mxbb/mx_forum/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27606/modules/mx_forum/admin Modified Files: mx_module_defs.php Log Message: minor updates Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_forum/admin/mx_module_defs.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_module_defs.php 20 Aug 2005 18:22:39 -0000 1.1 --- mx_module_defs.php 20 Aug 2005 18:49:25 -0000 1.2 *************** *** 34,38 **** //define('MX_ALL_DATA' , -1); // Flag - write all data ! class mx_blockcp_parameter { // ------------------------------ --- 34,38 ---- //define('MX_ALL_DATA' , -1); // Flag - write all data ! class mx_module_defs { // ------------------------------ *************** *** 57,65 **** return $type_row; } // =================================================== // display parameter field and data in the add/edit page // =================================================== ! function display_edit( $parameter_data ) { global $template, $blockcptemplate, $mx_blockcp, $mx_root_path, $theme, $lang; --- 57,83 ---- return $type_row; } + + // =================================================== + // Submit custom parameter field and data + // =================================================== + function submit_module_parameters( $parameter_data, $block_id ) + { + global $HTTP_POST_VARS, $db, $board_config, $html_entities_match, $html_entities_replace; + + $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; + $parameter_opt = ''; + + switch ( $parameter_data['parameter_type'] ) + { + + } + + return array('parameter_value' => $parameter_value, 'parameter_opt' => $parameter_opt); + } // =================================================== // display parameter field and data in the add/edit page // =================================================== ! function display_module_parameters( $parameter_data ) { global $template, $blockcptemplate, $mx_blockcp, $mx_root_path, $theme, $lang; *************** *** 82,86 **** $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_blockcp_parameter.tpl') ); --- 100,104 ---- $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); |
|
From: Jon O. <jon...@us...> - 2005-08-20 18:48:57
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27477/modules/mx_textblocks/admin Modified Files: mx_module_defs.php Log Message: minor fixes Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/admin/mx_module_defs.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_module_defs.php 20 Aug 2005 18:19:13 -0000 1.1 --- mx_module_defs.php 20 Aug 2005 18:48:50 -0000 1.2 *************** *** 34,38 **** //define('MX_ALL_DATA' , -1); // Flag - write all data ! class mx_blockcp_parameter { // ------------------------------ --- 34,38 ---- //define('MX_ALL_DATA' , -1); // Flag - write all data ! class mx_module_defs { // ------------------------------ *************** *** 63,67 **** // Submit custom parameter field and data // =================================================== ! function submit_custom_pars( $parameter_data, $block_id ) { global $HTTP_POST_VARS, $db, $board_config, $html_entities_match, $html_entities_replace; --- 63,67 ---- // Submit custom parameter field and data // =================================================== ! function submit_module_parameters( $parameter_data, $block_id ) { global $HTTP_POST_VARS, $db, $board_config, $html_entities_match, $html_entities_replace; *************** *** 115,119 **** // Display cuztom parameter field and data in the Block Control Panel // =================================================== ! function display_custom_edit( $parameter_data, $block_id ) { global $template, $mx_blockcp, $mx_root_path, $theme, $lang; --- 115,119 ---- // Display cuztom parameter field and data in the Block Control Panel // =================================================== ! function display_module_parameters( $parameter_data, $block_id ) { global $template, $mx_blockcp, $mx_root_path, $theme, $lang; *************** *** 162,166 **** $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_blockcp_parameter.tpl') ); --- 162,166 ---- $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); *************** *** 270,274 **** $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_blockcp_parameter.tpl') ); --- 270,274 ---- $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); *************** *** 360,364 **** $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_blockcp_parameter.tpl') ); --- 360,364 ---- $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); |
|
From: Jon O. <jon...@us...> - 2005-08-20 18:48:57
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27477/includes Modified Files: mx_functions_blockcp.php mx_functions_core.php Log Message: minor fixes Index: mx_functions_blockcp.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_blockcp.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_functions_blockcp.php 20 Aug 2005 18:19:11 -0000 1.1 --- mx_functions_blockcp.php 20 Aug 2005 18:48:49 -0000 1.2 *************** *** 429,433 **** // Load and display additional blockcp panels (if any) // ! $this->get_blockcp_panels($block_id); // --- 429,433 ---- // Load and display additional blockcp panels (if any) // ! $this->load_block_panels($block_id); // *************** *** 436,440 **** if (!empty($this->block_parameters)) { ! $this->get_blockcp_parameters($block_id); } --- 436,440 ---- if (!empty($this->block_parameters)) { ! $this->load_block_parameters($block_id); } Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_functions_core.php 20 Aug 2005 18:19:11 -0000 1.1 --- mx_functions_core.php 20 Aug 2005 18:48:49 -0000 1.2 *************** *** 967,981 **** global $mx_root_path; ! if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_blockcp_parameter.php' ) ) { ! include_once( $mx_root_path . $this->module_root_path . 'admin/mx_blockcp_parameter.php' ); ! if (class_exists('mx_blockcp_parameter')) { ! $mx_blockcp_parameter = new mx_blockcp_parameter(); ! if ( method_exists( $mx_blockcp_parameter, 'display_custom_edit' ) ) { ! $mx_blockcp_parameter->display_custom_edit($parameter_data, $block_id); } } --- 967,981 ---- global $mx_root_path; ! if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.php' ) ) { ! include_once( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.php' ); ! if (class_exists('mx_module_defs')) { ! $mx_module_defs = new mx_module_defs(); ! if ( method_exists( $mx_module_defs, 'display_module_parameters' ) ) { ! $mx_module_defs->display_module_parameters($parameter_data, $block_id); } } *************** *** 990,1004 **** global $mx_root_path; ! if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_blockcp_parameter.php' ) ) { ! include_once( $mx_root_path . $this->module_root_path . 'admin/mx_blockcp_parameter.php' ); ! if (class_exists('mx_blockcp_parameter')) { ! $mx_blockcp_parameter = new mx_blockcp_parameter(); ! if ( method_exists( $mx_blockcp_parameter, 'display_custom_panel' ) ) { ! $mx_blockcp_parameter->display_custom_panel($parameter_data, $block_id); } } --- 990,1004 ---- global $mx_root_path; ! if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.php' ) ) { ! include_once( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.php' ); ! if (class_exists('mx_module_defs')) { ! $mx_module_defs = new mx_module_defs(); ! if ( method_exists( $mx_module_defs, 'display_module_panels' ) ) { ! $mx_module_defs->display_module_panels($parameter_data, $block_id); } } *************** *** 1013,1027 **** global $mx_root_path; ! if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_blockcp_parameter.php' ) ) { ! include_once( $mx_root_path . $this->module_root_path . 'admin/mx_blockcp_parameter.php' ); ! if (class_exists('mx_blockcp_parameter')) { ! $mx_blockcp_parameter = new mx_blockcp_parameter(); ! if ( method_exists( $mx_blockcp_parameter, 'submit_custom_pars' ) ) { ! $parameter_custom = $mx_blockcp_parameter->submit_custom_pars($parameter_data, $block_id); } } --- 1013,1027 ---- global $mx_root_path; ! if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.php' ) ) { ! include_once( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.php' ); ! if (class_exists('mx_module_defs')) { ! $mx_module_defs = new mx_module_defs(); ! if ( method_exists( $mx_module_defs, 'submit_module_parameters' ) ) { ! $parameter_custom = $mx_module_defs->submit_module_parameters($parameter_data, $block_id); } } *************** *** 1144,1148 **** // display additional panels in the add/edit page // =================================================== ! function get_blockcp_panels( $block_id = false ) { global $template, $blockcptemplate, $board_config; --- 1144,1148 ---- // display additional panels in the add/edit page // =================================================== ! function load_block_panels( $block_id = false ) { global $template, $blockcptemplate, $board_config; *************** *** 1169,1173 **** // display parameter field and data in the add/edit page // =================================================== ! function get_blockcp_parameters( $block_id = false ) { global $template, $blockcptemplate, $board_config; --- 1169,1173 ---- // display parameter field and data in the add/edit page // =================================================== ! function load_block_parameters( $block_id = false ) { global $template, $blockcptemplate, $board_config; *************** *** 1245,1249 **** $template->set_filenames(array( ! 'parameter' => 'admin/mx_blockcp_parameter.tpl') ); --- 1245,1249 ---- $template->set_filenames(array( ! 'parameter' => 'admin/mx_core_parameters.tpl') ); *************** *** 1266,1270 **** $template->set_filenames(array( ! 'parameter' => 'admin/mx_blockcp_parameter.tpl') ); --- 1266,1270 ---- $template->set_filenames(array( ! 'parameter' => 'admin/mx_core_parameters.tpl') ); *************** *** 1291,1295 **** $template->set_filenames(array( ! 'parameter' => 'admin/mx_blockcp_parameter.tpl') ); --- 1291,1295 ---- $template->set_filenames(array( ! 'parameter' => 'admin/mx_core_parameters.tpl') ); *************** *** 1312,1316 **** $template->set_filenames(array( ! 'parameter' => 'admin/mx_blockcp_parameter.tpl') ); --- 1312,1316 ---- $template->set_filenames(array( ! 'parameter' => 'admin/mx_core_parameters.tpl') ); *************** *** 1333,1337 **** $template->set_filenames(array( ! 'parameter' => 'admin/mx_blockcp_parameter.tpl') ); --- 1333,1337 ---- $template->set_filenames(array( ! 'parameter' => 'admin/mx_core_parameters.tpl') ); *************** *** 1364,1368 **** $template->set_filenames(array( ! 'parameter' => 'admin/mx_blockcp_parameter.tpl') ); --- 1364,1368 ---- $template->set_filenames(array( ! 'parameter' => 'admin/mx_core_parameters.tpl') ); *************** *** 1387,1391 **** $template->set_filenames(array( ! 'parameter' => 'admin/mx_blockcp_parameter.tpl') ); --- 1387,1391 ---- $template->set_filenames(array( ! 'parameter' => 'admin/mx_core_parameters.tpl') ); *************** *** 1410,1414 **** $template->set_filenames(array( ! 'parameter' => 'admin/mx_blockcp_parameter.tpl') ); --- 1410,1414 ---- $template->set_filenames(array( ! 'parameter' => 'admin/mx_core_parameters.tpl') ); *************** *** 1440,1444 **** $template->set_filenames(array( ! 'parameter' => 'admin/mx_blockcp_parameter.tpl') ); --- 1440,1444 ---- $template->set_filenames(array( ! 'parameter' => 'admin/mx_core_parameters.tpl') ); *************** *** 1470,1474 **** $template->set_filenames(array( ! 'parameter' => 'admin/mx_blockcp_parameter.tpl') ); --- 1470,1474 ---- $template->set_filenames(array( ! 'parameter' => 'admin/mx_core_parameters.tpl') ); *************** *** 1509,1513 **** $template->set_filenames(array( ! 'parameter' => 'admin/mx_blockcp_parameter.tpl') ); --- 1509,1513 ---- $template->set_filenames(array( ! 'parameter' => 'admin/mx_core_parameters.tpl') ); |
|
From: Jon O. <jon...@us...> - 2005-08-20 18:48:57
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27477/modules/mx_navmenu/admin Modified Files: mx_module_defs.php Log Message: minor fixes Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/admin/mx_module_defs.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_module_defs.php 20 Aug 2005 18:19:12 -0000 1.1 --- mx_module_defs.php 20 Aug 2005 18:48:49 -0000 1.2 *************** *** 34,38 **** //define('MX_ALL_DATA' , -1); // Flag - write all data ! class mx_blockcp_parameter { var $is_panel = false; --- 34,38 ---- //define('MX_ALL_DATA' , -1); // Flag - write all data ! class mx_module_defs { var $is_panel = false; *************** *** 94,98 **** // =================================================== /* ! function display_custom_edit( $parameter_data, $block_id ) { global $template, $mx_blockcp, $mx_root_path, $theme, $lang; --- 94,98 ---- // =================================================== /* ! function display_module_parameters( $parameter_data, $block_id ) { global $template, $mx_blockcp, $mx_root_path, $theme, $lang; *************** *** 107,111 **** // Display cuztom Panel // =================================================== ! function display_custom_panel( $parameter_data, $block_id ) { global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $HTTP_POST_VARS, $HTTP_COOKIE_VARS; --- 107,111 ---- // Display cuztom Panel // =================================================== ! function display_module_panels( $parameter_data, $block_id ) { global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $HTTP_POST_VARS, $HTTP_COOKIE_VARS; *************** *** 209,213 **** // $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_blockcp_parameter.tpl') ); --- 209,213 ---- // $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); |
|
From: Jon O. <jon...@us...> - 2005-08-20 18:28:19
|
Update of /cvsroot/mxbb/mx_smartor/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23882/modules/mx_smartor/language/lang_english Modified Files: lang_admin.php lang_main.php Log Message: compatibility with new core 2.8 - adding new core generic parameters Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/language/lang_english/lang_main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lang_main.php 12 Apr 2005 19:51:48 -0000 1.1 --- lang_main.php 20 Aug 2005 18:28:09 -0000 1.2 *************** *** 1,175 **** ! <?php ! /*************************************************************************** ! * lang_main.php [English] ! * ------------------- ! * begin : Sunday, February 02, 2003 ! * copyright : (C) 2003 Smartor ! * email : sma...@ho... ! * ! * $Id$ ! * ! ****************************************************************************/ ! ! /*************************************************************************** ! * ! * 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. ! * ! ***************************************************************************/ ! ! // ! // Album Index ! // ! $lang['Photo_Album'] = 'Photo Album'; ! $lang['Pics'] = 'Pics'; ! $lang['Last_Pic'] = 'Last Pic'; ! $lang['Public_Categories'] = 'Public Categories'; ! $lang['No_Pics'] = 'No Pics'; ! $lang['Users_Personal_Galleries'] = 'Users Personal Galleries'; ! $lang['Your_Personal_Gallery'] = 'Your Personal Gallery'; ! $lang['Recent_Public_Pics'] = 'Recent Public Pics'; ! $lang['Toprated_Public_Pics'] = 'Highest Rated Pictures'; ! $lang['Random_Public_Pics'] = 'Random Pictures'; ! $lang['Most_Public_Pics'] = 'Most Viewed Pictures'; ! ! $lang['View'] = 'View'; ! ! // ! // Category View ! // ! $lang['Category_not_exist'] = 'This category does not exist'; ! $lang['Upload_Pic'] = 'Upload Pic'; ! $lang['Pic_Title'] = 'Pic Title'; ! ! $lang['Album_upload_can'] = 'You <b>can</b> upload new pics in this category'; ! $lang['Album_upload_cannot'] = 'You <b>cannot</b> upload new pics in this category'; ! $lang['Album_rate_can'] = 'You <b>can</b> rate pics in this category'; ! $lang['Album_rate_cannot'] = 'You <b>cannot</b> rate pics in this category'; ! $lang['Album_comment_can'] = 'You <b>can</b> post comments to pics in this category'; ! $lang['Album_comment_cannot'] = 'You <b>cannot</b> post comments to pics in this category'; ! $lang['Album_edit_can'] = 'You <b>can</b> edit your pics and comments in this category'; ! $lang['Album_edit_cannot'] = 'You <b>cannot</b> edit your pics and comments in this category'; ! $lang['Album_delete_can'] = 'You <b>can</b> delete your pics and comments in this category'; ! $lang['Album_delete_cannot'] = 'You <b>cannot</b> delete your pics and comments in this category'; ! $lang['Album_moderate_can'] = 'You <b>can</b> %smoderate%s this category'; ! ! $lang['Edit_pic'] = 'Edit'; ! $lang['Delete_pic'] = 'Delete'; ! $lang['Rating'] = 'Rating'; ! $lang['Comments'] = 'Comments'; ! $lang['New_Comment'] = 'New Comment'; ! ! $lang['Not_rated'] = '<i>not rated</i>'; ! $lang['Select_initial'] = 'Select:'; ! // ! // Upload ! // ! $lang['Pic_Desc'] = 'Pic Description'; ! $lang['Plain_text_only'] = 'Plain text only'; ! $lang['Max_length'] = 'Max length (bytes)'; ! $lang['Upload_pic_from_machine'] = 'Upload a pic from your machine'; ! $lang['Upload_to_Category'] = 'Upload to Category'; ! $lang['Upload_thumbnail_from_machine'] = 'Upload its thumbnail from your machine (must be the same type with your pic)'; ! $lang['Upload_thumbnail'] = 'Upload a thumbnail image'; ! $lang['Upload_thumbnail_explain'] = 'It must be of the same file type as your picture'; ! $lang['Thumbnail_size'] = 'Thumbnail size (pixel)'; ! $lang['Filetype_and_thumbtype_do_not_match'] = 'Your pic and your thumbnail must be the same type'; ! ! $lang['Upload_no_title'] = 'You must enter a title for your pic'; ! $lang['Upload_no_file'] = 'You must enter your path and your filename'; ! $lang['Desc_too_long'] = 'Your description is too long'; ! ! $lang['Max_file_size'] = 'Maximum file size (bytes)'; ! $lang['Max_width'] = 'Maximum image width (pixel)'; ! $lang['Max_height'] = 'Maximum image height (pixel)'; ! ! $lang['JPG_allowed'] = 'Allowed to upload JPG files'; ! $lang['PNG_allowed'] = 'Allowed to upload PNG files'; ! $lang['GIF_allowed'] = 'Allowed to upload GIF files'; ! ! $lang['Album_reached_quota'] = 'This category has reached the quota of pics. Now you cannot upload any more. Please contact the administrators for more information'; ! $lang['User_reached_pics_quota'] = 'You have reached your quota of pics. Now you cannot upload any more. Please contact the administrators for more information'; ! ! $lang['Bad_upload_file_size'] = 'Your uploaded file is too large or corrupted'; ! $lang['Not_allowed_file_type'] = 'Your file type is not allowed'; ! $lang['Upload_image_size_too_big'] = 'Your image dimension size is too large'; ! $lang['Upload_thumbnail_size_too_big'] = 'Your thumbnail dimension size is too large'; ! ! $lang['Missed_pic_title'] = 'You must enter your pic title'; ! ! $lang['Album_upload_successful'] = 'Your pic has been uploaded successfully'; ! $lang['Album_upload_need_approval'] = 'Your pic has been uploaded successfully.<br /><br />But the feature Pic Approval has been enabled so your pic must be approved by a administrator or a moderator before posting'; ! $lang['Click_return_category'] = 'Click %shere%s to return to the category'; ! $lang['Click_return_album_index'] = 'Click %shere%s to return to the Album Index'; ! ! // View Pic ! $lang['Pic_not_exist'] = 'This pic does not exist'; ! ! // Edit Pic ! $lang['Edit_Pic_Info'] = 'Edit Pic Information'; ! $lang['Pics_updated_successfully'] = 'Your pic information has been updated successfully'; ! ! // Delete Pic ! $lang['Album_delete_confirm'] = 'Are you sure to delete these pic(s)?'; ! $lang['Pics_deleted_successfully'] = 'These pic(s) have been deleted successfully'; ! ! // ! // ModCP ! // ! $lang['Approval'] = 'Approval'; ! $lang['Approve'] = 'Approve'; ! $lang['Unapprove'] = 'Unapprove'; ! $lang['Status'] = 'Status'; ! $lang['Locked'] = 'Locked'; ! $lang['Not_approved'] = 'Not approved'; ! $lang['Approved'] = 'Approved'; ! $lang['Move_to_Category'] = 'Move to Category'; ! $lang['Pics_moved_successfully'] = 'Your pic(s) have been moved successfully'; ! $lang['Pics_locked_successfully'] = 'Your pic(s) have been locked successfully'; ! $lang['Pics_unlocked_successfully'] = 'Your pic(s) have been unlocked successfully'; ! $lang['Pics_approved_successfully'] = 'Your pic(s) have been approved successfully'; ! $lang['Pics_unapproved_successfully'] = 'Your pic(s) have been unapproved successfully'; ! ! // ! // Rate ! // ! $lang['Current_Rating'] = 'Current Rating'; ! $lang['Please_Rate_It'] = 'Please Rate It'; ! $lang['Already_rated'] = 'You have already rated this pic'; ! $lang['Album_rate_successfully'] = 'Your pic has been rated successfully'; ! ! // ! // Comment ! // ! $lang['Comment_no_text'] = 'Please enter your comment'; ! $lang['Comment_too_long'] = 'Your comment is too long'; ! $lang['Comment_delete_confirm'] = 'Are you sure to delete this comment?'; ! $lang['Pic_Locked'] = 'Sorry, this pic was locked. So you cannot post comment for this pic anymore'; ! ! // ! // Personal Gallery ! // ! $lang['Personal_Gallery_Explain'] = 'You can view the personal galleries of other members by clicking on the link in their profiles'; ! $lang['Personal_gallery_not_created'] = 'The personal gallery of %s is empty or has not been created'; ! $lang['Not_allowed_to_create_personal_gallery'] = 'Sorry, the administrators of this board donot allowed you to create your personal gallery'; ! $lang['Click_return_personal_gallery'] = 'Click %shere%s to return to the personal gallery'; ! ! // added ! $lang['Album'] = 'Photo Album'; ! $lang['Personal_Gallery_Of_User'] = 'Personal Gallery of %s'; ! $lang['Post_your_comment'] = 'Post your comment'; ! $lang['Not_Authorised'] = 'You are not authorized for this page, or you are not logged in as required.'; ! ! $lang['Pic_Posted'] = 'Upload Date'; ! ! // Toplists ! $lang['display_most_posts'] = "Most visited/view/dl<br />"; ! $lang['display_random_posts'] = "Random<br />"; ! $lang['display_top_ranked'] = "Toprated<br />"; ! $lang['display_latest_posts'] = "Latest<br />"; ! $lang['num_of_cols'] = "Number of cols<br />"; ! $lang['num_of_rows'] = "Number of rows<br />"; ! $lang['target_block'] = "Associated (target) Smartor Block"; ?> \ No newline at end of file --- 1,167 ---- ! <?php ! /*************************************************************************** ! * lang_main.php [English] ! * ------------------- ! * begin : Sunday, February 02, 2003 ! * copyright : (C) 2003 Smartor ! * email : sma...@ho... ! * ! * $Id$ ! * ! ****************************************************************************/ ! ! /*************************************************************************** ! * ! * 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. ! * ! ***************************************************************************/ ! ! // ! // Album Index ! // ! $lang['Photo_Album'] = 'Photo Album'; ! $lang['Pics'] = 'Pics'; ! $lang['Last_Pic'] = 'Last Pic'; ! $lang['Public_Categories'] = 'Public Categories'; ! $lang['No_Pics'] = 'No Pics'; ! $lang['Users_Personal_Galleries'] = 'Users Personal Galleries'; ! $lang['Your_Personal_Gallery'] = 'Your Personal Gallery'; ! $lang['Recent_Public_Pics'] = 'Recent Public Pics'; ! $lang['Toprated_Public_Pics'] = 'Highest Rated Pictures'; ! $lang['Random_Public_Pics'] = 'Random Pictures'; ! $lang['Most_Public_Pics'] = 'Most Viewed Pictures'; ! ! $lang['View'] = 'View'; ! ! // ! // Category View ! // ! $lang['Category_not_exist'] = 'This category does not exist'; ! $lang['Upload_Pic'] = 'Upload Pic'; ! $lang['Pic_Title'] = 'Pic Title'; ! ! $lang['Album_upload_can'] = 'You <b>can</b> upload new pics in this category'; ! $lang['Album_upload_cannot'] = 'You <b>cannot</b> upload new pics in this category'; ! $lang['Album_rate_can'] = 'You <b>can</b> rate pics in this category'; ! $lang['Album_rate_cannot'] = 'You <b>cannot</b> rate pics in this category'; ! $lang['Album_comment_can'] = 'You <b>can</b> post comments to pics in this category'; ! $lang['Album_comment_cannot'] = 'You <b>cannot</b> post comments to pics in this category'; ! $lang['Album_edit_can'] = 'You <b>can</b> edit your pics and comments in this category'; ! $lang['Album_edit_cannot'] = 'You <b>cannot</b> edit your pics and comments in this category'; ! $lang['Album_delete_can'] = 'You <b>can</b> delete your pics and comments in this category'; ! $lang['Album_delete_cannot'] = 'You <b>cannot</b> delete your pics and comments in this category'; ! $lang['Album_moderate_can'] = 'You <b>can</b> %smoderate%s this category'; ! ! $lang['Edit_pic'] = 'Edit'; ! $lang['Delete_pic'] = 'Delete'; ! $lang['Rating'] = 'Rating'; ! $lang['Comments'] = 'Comments'; ! $lang['New_Comment'] = 'New Comment'; ! ! $lang['Not_rated'] = '<i>not rated</i>'; ! $lang['Select_initial'] = 'Select:'; ! // ! // Upload ! // ! $lang['Pic_Desc'] = 'Pic Description'; ! $lang['Plain_text_only'] = 'Plain text only'; ! $lang['Max_length'] = 'Max length (bytes)'; ! $lang['Upload_pic_from_machine'] = 'Upload a pic from your machine'; ! $lang['Upload_to_Category'] = 'Upload to Category'; ! $lang['Upload_thumbnail_from_machine'] = 'Upload its thumbnail from your machine (must be the same type with your pic)'; ! $lang['Upload_thumbnail'] = 'Upload a thumbnail image'; ! $lang['Upload_thumbnail_explain'] = 'It must be of the same file type as your picture'; ! $lang['Thumbnail_size'] = 'Thumbnail size (pixel)'; ! $lang['Filetype_and_thumbtype_do_not_match'] = 'Your pic and your thumbnail must be the same type'; ! ! $lang['Upload_no_title'] = 'You must enter a title for your pic'; ! $lang['Upload_no_file'] = 'You must enter your path and your filename'; ! $lang['Desc_too_long'] = 'Your description is too long'; ! ! $lang['Max_file_size'] = 'Maximum file size (bytes)'; ! $lang['Max_width'] = 'Maximum image width (pixel)'; ! $lang['Max_height'] = 'Maximum image height (pixel)'; ! ! $lang['JPG_allowed'] = 'Allowed to upload JPG files'; ! $lang['PNG_allowed'] = 'Allowed to upload PNG files'; ! $lang['GIF_allowed'] = 'Allowed to upload GIF files'; ! ! $lang['Album_reached_quota'] = 'This category has reached the quota of pics. Now you cannot upload any more. Please contact the administrators for more information'; ! $lang['User_reached_pics_quota'] = 'You have reached your quota of pics. Now you cannot upload any more. Please contact the administrators for more information'; ! ! $lang['Bad_upload_file_size'] = 'Your uploaded file is too large or corrupted'; ! $lang['Not_allowed_file_type'] = 'Your file type is not allowed'; ! $lang['Upload_image_size_too_big'] = 'Your image dimension size is too large'; ! $lang['Upload_thumbnail_size_too_big'] = 'Your thumbnail dimension size is too large'; ! ! $lang['Missed_pic_title'] = 'You must enter your pic title'; ! ! $lang['Album_upload_successful'] = 'Your pic has been uploaded successfully'; ! $lang['Album_upload_need_approval'] = 'Your pic has been uploaded successfully.<br /><br />But the feature Pic Approval has been enabled so your pic must be approved by a administrator or a moderator before posting'; ! $lang['Click_return_category'] = 'Click %shere%s to return to the category'; ! $lang['Click_return_album_index'] = 'Click %shere%s to return to the Album Index'; ! ! // View Pic ! $lang['Pic_not_exist'] = 'This pic does not exist'; ! ! // Edit Pic ! $lang['Edit_Pic_Info'] = 'Edit Pic Information'; ! $lang['Pics_updated_successfully'] = 'Your pic information has been updated successfully'; ! ! // Delete Pic ! $lang['Album_delete_confirm'] = 'Are you sure to delete these pic(s)?'; ! $lang['Pics_deleted_successfully'] = 'These pic(s) have been deleted successfully'; ! ! // ! // ModCP ! // ! $lang['Approval'] = 'Approval'; ! $lang['Approve'] = 'Approve'; ! $lang['Unapprove'] = 'Unapprove'; ! $lang['Status'] = 'Status'; ! $lang['Locked'] = 'Locked'; ! $lang['Not_approved'] = 'Not approved'; ! $lang['Approved'] = 'Approved'; ! $lang['Move_to_Category'] = 'Move to Category'; ! $lang['Pics_moved_successfully'] = 'Your pic(s) have been moved successfully'; ! $lang['Pics_locked_successfully'] = 'Your pic(s) have been locked successfully'; ! $lang['Pics_unlocked_successfully'] = 'Your pic(s) have been unlocked successfully'; ! $lang['Pics_approved_successfully'] = 'Your pic(s) have been approved successfully'; ! $lang['Pics_unapproved_successfully'] = 'Your pic(s) have been unapproved successfully'; ! ! // ! // Rate ! // ! $lang['Current_Rating'] = 'Current Rating'; ! $lang['Please_Rate_It'] = 'Please Rate It'; ! $lang['Already_rated'] = 'You have already rated this pic'; ! $lang['Album_rate_successfully'] = 'Your pic has been rated successfully'; ! ! // ! // Comment ! // ! $lang['Comment_no_text'] = 'Please enter your comment'; ! $lang['Comment_too_long'] = 'Your comment is too long'; ! $lang['Comment_delete_confirm'] = 'Are you sure to delete this comment?'; ! $lang['Pic_Locked'] = 'Sorry, this pic was locked. So you cannot post comment for this pic anymore'; ! ! // ! // Personal Gallery ! // ! $lang['Personal_Gallery_Explain'] = 'You can view the personal galleries of other members by clicking on the link in their profiles'; ! $lang['Personal_gallery_not_created'] = 'The personal gallery of %s is empty or has not been created'; ! $lang['Not_allowed_to_create_personal_gallery'] = 'Sorry, the administrators of this board donot allowed you to create your personal gallery'; ! $lang['Click_return_personal_gallery'] = 'Click %shere%s to return to the personal gallery'; ! ! // added ! $lang['Album'] = 'Photo Album'; ! $lang['Personal_Gallery_Of_User'] = 'Personal Gallery of %s'; ! $lang['Post_your_comment'] = 'Post your comment'; ! $lang['Not_Authorised'] = 'You are not authorized for this page, or you are not logged in as required.'; ! ! $lang['Pic_Posted'] = 'Upload Date'; ! ?> \ No newline at end of file Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/language/lang_english/lang_admin.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lang_admin.php 12 Apr 2005 19:51:48 -0000 1.1 --- lang_admin.php 20 Aug 2005 18:28:09 -0000 1.2 *************** *** 1,145 **** ! <?php ! /*************************************************************************** ! * lang_admin.php [English] ! * ------------------- ! * begin : Sunday, February 02, 2003 ! * copyright : (C) 2003 Smartor ! * email : sma...@ho... ! * ! * $Id$ ! * ! ****************************************************************************/ ! ! /*************************************************************************** ! * ! * 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. ! * ! ***************************************************************************/ ! ! // ! // Configuration ! // ! $lang['Album_config'] = 'Album Configuration'; ! $lang['Album_config_explain'] = 'You can change the general settings of your Photo Album here'; ! $lang['Album_config_updated'] = 'Album Configuration has been updated successfully'; ! $lang['Click_return_album_config'] = 'Click %sHere%s to return to the Album Configuration'; ! $lang['Max_pics'] = 'Maximum pics for each Category (-1 = unlimited)'; ! $lang['User_pics_limit'] = 'Pics limit per category for each user (-1 = unlimited)'; ! $lang['Moderator_pics_limit'] = 'Pics limit per category for each moderator (-1 = unlimited)'; ! $lang['Pics_Approval'] = 'Pics Approval'; ! $lang['Rows_per_page'] = 'Number of rows on thumbnail page'; ! $lang['Cols_per_page'] = 'Number of columns on thumbnail page'; ! $lang['Thumbnail_quality'] = 'Thumbnail quality (1-100)'; ! $lang['Thumbnail_cache'] = 'Thumbnail cache'; ! $lang['Manual_thumbnail'] = 'Manual thumbnail'; ! $lang['GD_version'] = 'Optimize for the version of GD'; ! $lang['Pic_Desc_Max_Length'] = 'Pic Description/Comment Max Length (bytes)'; ! $lang['Hotlink_prevent'] = 'Hotlink Prevention'; ! $lang['Hotlink_allowed'] = 'Allowed domains for hotlink (separated by a comma)'; ! $lang['Personal_gallery'] = 'Allowed to create personal gallery for users'; ! $lang['Personal_gallery_limit'] = 'Pics limit for each personal gallery (-1 = unlimited)'; ! $lang['Personal_gallery_view'] = 'Who can view personal galleries by default'; ! $lang['Rate_system'] = 'Enable rate system'; ! $lang['Rate_Scale'] =' Rating Scale'; ! $lang['Comment_system'] = 'Enable comment system'; ! $lang['Thumbnail_Settings'] = 'Thumbnail Settings'; ! $lang['Extra_Settings'] = 'Extra Settings'; ! $lang['Default_Sort_Method'] = 'Default Sort Method'; ! $lang['Default_Sort_Order'] = 'Default Sort Order'; ! $lang['Fullpic_Popup'] = 'View full pic as a popup'; ! ! // Personal Gallery Page ! $lang['Personal_Galleries'] = 'Personal Galleries'; ! $lang['Album_personal_gallery_title'] = 'Personal Gallery'; ! $lang['Album_personal_gallery_explain'] = 'On this page, you can choose which usergroups have right to create and view personal galleries. These settings only affect when you set "PRIVATE" for "Allowed to create personal gallery for users" or "Who can view personal galleries" in Album Configuration screen'; ! $lang['Album_personal_successfully'] = 'The setting has been updated successfully'; ! $lang['Click_return_album_personal'] = 'Click %sHere%s to return to the Personal Gallery Settings'; ! ! // ! // Categories ! // ! $lang['Album_Categories_Title'] = 'Album Categories Control'; ! $lang['Album_Categories_Explain'] = 'On this screen you can manage your categories: create, alter, delete, sort, etc.'; ! $lang['Category_Permissions'] = 'Category Permissions'; ! $lang['Category_Title'] = 'Category Title'; ! $lang['Category_Desc'] = 'Category Description'; ! $lang['View_level'] = 'View Level'; ! $lang['Upload_level'] = 'Upload Level'; ! $lang['Rate_level'] = 'Rate Level'; ! $lang['Comment_level'] = 'Comment Level'; ! $lang['Edit_level'] = ' Edit Level'; ! $lang['Delete_level'] = 'Delete Level'; ! $lang['New_category_created'] = 'New category has been created successfully'; ! $lang['Click_return_album_category'] = 'Click %sHere%s to return to the Album Categories Manager'; ! $lang['Category_updated'] = 'This category has been updated successfully'; ! $lang['Delete_Category'] = 'Delete Category'; ! $lang['Delete_Category_Explain'] = 'The form below will allow you to delete a category and decide where you want to put pics it contained'; ! $lang['Delete_all_pics'] = 'Delete all pics'; ! $lang['Category_deleted'] = 'This category has been deleted successfully'; ! $lang['Category_changed_order'] = 'This category has been changed order successfully'; ! ! // ! // Permissions ! // ! $lang['Album_Auth_Title'] = 'Album Permissions'; ! $lang['Album_Auth_Explain'] = 'Here you can choose which usergroup(s) can be the moderators for each album category or just has the private access'; ! $lang['Select_a_Category'] = 'Select a Category'; ! $lang['Look_up_Category'] = 'Look up Category'; ! $lang['Album_Auth_successfully'] = 'Auth has been updated successfully'; ! $lang['Click_return_album_auth'] = 'Click %sHere%s to return to the Album Permissions'; ! ! $lang['Upload'] = 'Upload'; ! $lang['Rate'] = 'Rate'; ! $lang['Comment'] = 'Comment'; ! ! // ! // Clear Cache ! // ! $lang['Clear_Cache'] = 'Clear Cache'; ! $lang['Album_clear_cache_confirm'] = 'If you use the Thumbnail Cache feature you must clear your thumbnail cache after changing your thumbnail settings in Album Configuration to make them re-generated.<br /><br /> Do you want to clear them now?'; ! $lang['Thumbnail_cache_cleared_successfully'] = '<br />Your thumbnail cache has been cleared successfully<br /> '; ! ! // ! // Clown config ! // ! ! $lang['Clown_album_config'] = 'ADV SP Configuration'; ! $lang['Clown_album_config_explain'] = 'Here you can configure some options for the Album Service Pack'; ! ! $lang['Clown_general_config'] = 'General Config'; ! $lang['Clown_watermark_config'] = 'WaterMark Config'; ! $lang['Clown_hot_or_not_config'] = 'Hot or Not Config'; ! ! $lang['Clown_rate_type'] = 'Select how do you want picture rating to be displayed'; ! $lang['Clown_rate_type0'] = 'Images only'; ! $lang['Clown_rate_type1'] = 'Numbers only'; ! $lang['Clown_rate_type2'] = 'Numbers and Images'; ! ! $lang['Clown_display_latest'] = 'Display latest submited pictures block'; ! $lang['Clown_display_toprated'] = 'Display highest rated pictures block'; ! $lang['Clown_display_random'] = 'Display random pictures block'; ! ! $lang['Clown_pic_row'] = 'Number of rows on thumbnail blocks'; ! $lang['Clown_pic_col'] = 'Number of columns on thumbnail blocks'; ! ! $lang['Clown_mid_thumbs'] = 'Use mid-thumbnail'; ! $lang['Clown_mid_thumbs_cache'] = 'Enable catching of mid-thumbnail'; ! $lang['Clown_mid_thumbs_heigth'] = 'Height of mid-thumbnail (pixel)'; ! $lang['Clown_mid_thumbs_width'] = 'Width of mid-thumbnail (pixel)'; ! ! $lang['Clown_watermark'] = 'Use watermark'; ! $lang['Clown_watermark_users'] = 'Show watermark for all users, if \'No\' only display to unregistered users'; ! $lang['Clown_watermark_placement'] = 'Display watermark at position on the picture'; ! ! $lang['Clown_hot_or_not'] = 'Unlimited rating on Hot or Not page'; ! $lang['Clown_hot_or_not_table'] = 'Store Hot or Not rating in a separate table'; ! $lang['Clown_hot_or_not_where'] = 'Display watermark at position on the picture (leave blank to use pictures from all the categories, if more then one category, separate by commas)'; ! ! $lang['Clown_can_rate'] = 'Can unregistered users rate'; ! ! $lang['Clown_jaime_lettering'] = 'Show alphabetic navigation index within a category (Jaime Lettering)'; ! ?> \ No newline at end of file --- 1,153 ---- ! <?php ! /*************************************************************************** ! * lang_admin.php [English] ! * ------------------- ! * begin : Sunday, February 02, 2003 ! * copyright : (C) 2003 Smartor ! * email : sma...@ho... ! * ! * $Id$ ! * ! ****************************************************************************/ ! ! /*************************************************************************** ! * ! * 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. ! * ! ***************************************************************************/ ! ! // ! // Configuration ! // ! $lang['Album_config'] = 'Album Configuration'; ! $lang['Album_config_explain'] = 'You can change the general settings of your Photo Album here'; ! $lang['Album_config_updated'] = 'Album Configuration has been updated successfully'; ! $lang['Click_return_album_config'] = 'Click %sHere%s to return to the Album Configuration'; ! $lang['Max_pics'] = 'Maximum pics for each Category (-1 = unlimited)'; ! $lang['User_pics_limit'] = 'Pics limit per category for each user (-1 = unlimited)'; ! $lang['Moderator_pics_limit'] = 'Pics limit per category for each moderator (-1 = unlimited)'; ! $lang['Pics_Approval'] = 'Pics Approval'; ! $lang['Rows_per_page'] = 'Number of rows on thumbnail page'; ! $lang['Cols_per_page'] = 'Number of columns on thumbnail page'; ! $lang['Thumbnail_quality'] = 'Thumbnail quality (1-100)'; ! $lang['Thumbnail_cache'] = 'Thumbnail cache'; ! $lang['Manual_thumbnail'] = 'Manual thumbnail'; ! $lang['GD_version'] = 'Optimize for the version of GD'; ! $lang['Pic_Desc_Max_Length'] = 'Pic Description/Comment Max Length (bytes)'; ! $lang['Hotlink_prevent'] = 'Hotlink Prevention'; ! $lang['Hotlink_allowed'] = 'Allowed domains for hotlink (separated by a comma)'; ! $lang['Personal_gallery'] = 'Allowed to create personal gallery for users'; ! $lang['Personal_gallery_limit'] = 'Pics limit for each personal gallery (-1 = unlimited)'; ! $lang['Personal_gallery_view'] = 'Who can view personal galleries by default'; ! $lang['Rate_system'] = 'Enable rate system'; ! $lang['Rate_Scale'] =' Rating Scale'; ! $lang['Comment_system'] = 'Enable comment system'; ! $lang['Thumbnail_Settings'] = 'Thumbnail Settings'; ! $lang['Extra_Settings'] = 'Extra Settings'; ! $lang['Default_Sort_Method'] = 'Default Sort Method'; ! $lang['Default_Sort_Order'] = 'Default Sort Order'; ! $lang['Fullpic_Popup'] = 'View full pic as a popup'; ! ! // Personal Gallery Page ! $lang['Personal_Galleries'] = 'Personal Galleries'; ! $lang['Album_personal_gallery_title'] = 'Personal Gallery'; ! $lang['Album_personal_gallery_explain'] = 'On this page, you can choose which usergroups have right to create and view personal galleries. These settings only affect when you set "PRIVATE" for "Allowed to create personal gallery for users" or "Who can view personal galleries" in Album Configuration screen'; ! $lang['Album_personal_successfully'] = 'The setting has been updated successfully'; ! $lang['Click_return_album_personal'] = 'Click %sHere%s to return to the Personal Gallery Settings'; ! ! // ! // Categories ! // ! $lang['Album_Categories_Title'] = 'Album Categories Control'; ! $lang['Album_Categories_Explain'] = 'On this screen you can manage your categories: create, alter, delete, sort, etc.'; ! $lang['Category_Permissions'] = 'Category Permissions'; ! $lang['Category_Title'] = 'Category Title'; ! $lang['Category_Desc'] = 'Category Description'; ! $lang['View_level'] = 'View Level'; ! $lang['Upload_level'] = 'Upload Level'; ! $lang['Rate_level'] = 'Rate Level'; ! $lang['Comment_level'] = 'Comment Level'; ! $lang['Edit_level'] = ' Edit Level'; ! $lang['Delete_level'] = 'Delete Level'; ! $lang['New_category_created'] = 'New category has been created successfully'; ! $lang['Click_return_album_category'] = 'Click %sHere%s to return to the Album Categories Manager'; ! $lang['Category_updated'] = 'This category has been updated successfully'; ! $lang['Delete_Category'] = 'Delete Category'; ! $lang['Delete_Category_Explain'] = 'The form below will allow you to delete a category and decide where you want to put pics it contained'; ! $lang['Delete_all_pics'] = 'Delete all pics'; ! $lang['Category_deleted'] = 'This category has been deleted successfully'; ! $lang['Category_changed_order'] = 'This category has been changed order successfully'; ! ! // ! // Permissions ! // ! $lang['Album_Auth_Title'] = 'Album Permissions'; ! $lang['Album_Auth_Explain'] = 'Here you can choose which usergroup(s) can be the moderators for each album category or just has the private access'; ! $lang['Select_a_Category'] = 'Select a Category'; ! $lang['Look_up_Category'] = 'Look up Category'; ! $lang['Album_Auth_successfully'] = 'Auth has been updated successfully'; ! $lang['Click_return_album_auth'] = 'Click %sHere%s to return to the Album Permissions'; ! ! $lang['Upload'] = 'Upload'; ! $lang['Rate'] = 'Rate'; ! $lang['Comment'] = 'Comment'; ! ! // ! // Clear Cache ! // ! $lang['Clear_Cache'] = 'Clear Cache'; ! $lang['Album_clear_cache_confirm'] = 'If you use the Thumbnail Cache feature you must clear your thumbnail cache after changing your thumbnail settings in Album Configuration to make them re-generated.<br /><br /> Do you want to clear them now?'; ! $lang['Thumbnail_cache_cleared_successfully'] = '<br />Your thumbnail cache has been cleared successfully<br /> '; ! ! // ! // Clown config ! // ! ! $lang['Clown_album_config'] = 'ADV SP Configuration'; ! $lang['Clown_album_config_explain'] = 'Here you can configure some options for the Album Service Pack'; ! ! $lang['Clown_general_config'] = 'General Config'; ! $lang['Clown_watermark_config'] = 'WaterMark Config'; ! $lang['Clown_hot_or_not_config'] = 'Hot or Not Config'; ! ! $lang['Clown_rate_type'] = 'Select how do you want picture rating to be displayed'; ! $lang['Clown_rate_type0'] = 'Images only'; ! $lang['Clown_rate_type1'] = 'Numbers only'; ! $lang['Clown_rate_type2'] = 'Numbers and Images'; ! ! $lang['Clown_display_latest'] = 'Display latest submited pictures block'; ! $lang['Clown_display_toprated'] = 'Display highest rated pictures block'; ! $lang['Clown_display_random'] = 'Display random pictures block'; ! ! $lang['Clown_pic_row'] = 'Number of rows on thumbnail blocks'; ! $lang['Clown_pic_col'] = 'Number of columns on thumbnail blocks'; ! ! $lang['Clown_mid_thumbs'] = 'Use mid-thumbnail'; ! $lang['Clown_mid_thumbs_cache'] = 'Enable catching of mid-thumbnail'; ! $lang['Clown_mid_thumbs_heigth'] = 'Height of mid-thumbnail (pixel)'; ! $lang['Clown_mid_thumbs_width'] = 'Width of mid-thumbnail (pixel)'; ! ! $lang['Clown_watermark'] = 'Use watermark'; ! $lang['Clown_watermark_users'] = 'Show watermark for all users, if \'No\' only display to unregistered users'; ! $lang['Clown_watermark_placement'] = 'Display watermark at position on the picture'; ! ! $lang['Clown_hot_or_not'] = 'Unlimited rating on Hot or Not page'; ! $lang['Clown_hot_or_not_table'] = 'Store Hot or Not rating in a separate table'; ! $lang['Clown_hot_or_not_where'] = 'Display watermark at position on the picture (leave blank to use pictures from all the categories, if more then one category, separate by commas)'; ! ! $lang['Clown_can_rate'] = 'Can unregistered users rate'; ! ! $lang['Clown_jaime_lettering'] = 'Show alphabetic navigation index within a category (Jaime Lettering)'; ! ! // Toplists ! $lang['display_most_posts'] = "Most visited/view/dl<br />"; ! $lang['display_random_posts'] = "Random<br />"; ! $lang['display_top_ranked'] = "Toprated<br />"; ! $lang['display_latest_posts'] = "Latest<br />"; ! $lang['num_of_cols'] = "Number of cols<br />"; ! $lang['num_of_rows'] = "Number of rows<br />"; ! $lang['target_block'] = "Associated (target) Smartor Block"; ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2005-08-20 18:27:42
|
Update of /cvsroot/mxbb/core/modules/mx_rebuild_search_tables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23765/modules/mx_rebuild_search_tables Added Files: Reguild Search Tables.pak rebuild_search.mod Log Message: adding search tables update utility --- NEW FILE: Reguild Search Tables.pak --- module=+:351=+:Reguild Search Tables=+:modules/mx_rebuild_search_tables/=+:=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- NEW FILE: rebuild_search.mod --- ############################################################## ## Mod Title: Rebuild Search Mod ## Mod Version: 1.0.0 ## Mod Author: GUI < sp...@ni... > (Nick Muerdter) http://www.nickm.org/ ## Mod Description: This will index every post in your ## phpBB, rebuilding the search tables. ## ## Installation Level: Easy ## Installation Time: ~1 Minute ## Files To Edit: n/a ## Includes Files: admin/admin_rebuild_search.php ## language/lang_english/lang_admin_rebuild_search.php ## templates/subSilver/admin/rebuild_search.tpl ## templates/subSilver/admin/rebuild_search_progress.tpl ############################################################## ## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ 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/downloads/ ############################################################## ## Author Notes: ## ############################################################## ## Changelog: ## ## 1.0.0 (03-10-03) ## - Initial Release. ## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # #-----[ COPY ]------------------------------------------------ # copy admin/admin_rebuild_search.php to admin/admin_rebuild_search.php copy language/lang_english/lang_admin_rebuild_search.php to language/lang_english/lang_admin_rebuild_search.php copy templates/subSilver/admin/rebuild_search.tpl to templates/subSilver/admin/rebuild_search.tpl copy templates/subSilver/admin/rebuild_search_progress.tpl to templates/subSilver/admin/rebuild_search_progress.tpl # #-----[ SAVE/CLOSE ALL FILES ]-------------------------------- # # EoM |
|
From: Jon O. <jon...@us...> - 2005-08-20 18:27:41
|
Update of /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23765/modules/mx_rebuild_search_tables/admin Added Files: admin_rebuild_search.php Log Message: adding search tables update utility --- NEW FILE: admin_rebuild_search.php --- <?php /*************************************************************************** * admin_rebuild_search.php * ------------------- * begin : Thursday, Jul 12, 2001 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: admin_rebuild_search.php,v 1.1 2005/08/20 18:27:33 jonohlsson Exp $ * * ***************************************************************************/ $start_time = time (); $time_limit = $HTTP_GET_VARS['time_limit']; define ('IN_PORTAL', 1); if(!empty ($setmodules)) { $filename = basename(__FILE__); $module['Rebuild Search']['Optimize tables'] = 'modules/mx_rebuild_search_tables/admin/' . $filename; return; } // // Let's set the root dir for phpBB // /* $no_page_header = true; $phpbb_root_path = "./../"; require ($phpbb_root_path . 'extension.inc'); require ('./pagestart.' . $phpEx); require ($phpbb_root_path . 'includes/functions_search.'.$phpEx); */ $no_page_header = true; $module_root_path = '../'; $mx_root_path = '../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); // ********************************************************************** // Read language definition // ********************************************************************** if ( !file_exists( $module_root_path.'language/lang_english/lang_admin_rebuild_search.'.$phpEx ) ) { include ($module_root_path.'language/lang_english/lang_admin_rebuild_search.'.$phpEx); } else { include ($module_root_path.'language/lang_' . $board_config['default_lang'] . '/lang_admin_rebuild_search.'.$phpEx); } $page_title = $lang['Page_title']; if (isset ($HTTP_GET_VARS['start'])) { function onTime () { global $start_time, $time_limit; static $max_execution_time; $current_time = time (); if (empty ($max_execution_time)) { if (ini_get ('safe_mode') == false) { set_time_limit (0); $max_execution_time = $time_limit; } else { $max_execution_time = ini_get ('max_execution_time'); } } return (($current_time - $start_time) < $max_execution_time) ? true : false; } $start = $HTTP_GET_VARS['start']; if ($start == 0) { $sql = "DELETE FROM ". SEARCH_TABLE; $result = $db->sql_query ($sql); $sql = "DELETE FROM ". SEARCH_WORD_TABLE; $result = $db->sql_query ($sql); $sql = "DELETE FROM ". SEARCH_MATCH_TABLE; $result = $db->sql_query ($sql); $sql = "SELECT post_id FROM ". POSTS_TEXT_TABLE; $result = $db->sql_query ($sql); $total_num_rows = $db->sql_numrows ($result); } $total_num_rows = (isset ($HTTP_GET_VARS['total_num_rows'])) ? $HTTP_GET_VARS['total_num_rows'] : $total_num_rows; $sql = "SELECT post_id, post_subject, post_text FROM ". POSTS_TEXT_TABLE ." LIMIT $start, ". $HTTP_GET_VARS['post_limit']; $result = $db->sql_query ($sql); $num_rows = 0; while (($row = $db->sql_fetchrow ($result)) ) { add_search_words('single', $row['post_id'], stripslashes($row['post_text']), stripslashes($row['post_subject'])); $num_rows++; } $template->set_filenames(array( "body" => "admin/admin_message_body.tpl") ); if (($start + $num_rows) != $total_num_rows) { $form_action = append_sid ("admin_rebuild_search.$phpEx?start=". ($start + $num_rows) ."&total_num_rows=$total_num_rows&post_limit=". $HTTP_GET_VARS['post_limit'] ."&time_limit=$time_limit&refresh_rate=". $HTTP_GET_VARS['refresh_rate']); $next = $lang['Next']; $template->assign_vars(array( "META" => '<meta http-equiv="refresh" content="'. $HTTP_GET_VARS['refresh_rate'] .';url='. $form_action .'">') ); } else { $next = $lang['Finished']; $form_action = append_sid ("admin_rebuild_search.$phpEx"); } // include ('./page_header_admin.'.$phpEx); include( $mx_root_path . 'admin/page_header_admin.' . $phpEx ); $template->assign_vars (array ( 'PERCENT' => round ((($start + $num_rows) / $total_num_rows) * 100), 'L_NEXT' => $next, 'START' => $start + $num_rows, 'TOTAL_NUM_ROWS' => $total_num_rows, 'S_REBUILD_SEARCH_ACTION' => $form_action) ); $template->set_filenames (array ( "body" => "admin/rebuild_search_progress.tpl") ); } else { // include('./page_header_admin.'.$phpEx); include( $mx_root_path . 'admin/page_header_admin.' . $phpEx ); $template->assign_vars (array ( 'L_REBUILD_SEARCH' => $lang['Rebuild_search'], 'L_REBUILD_SEARCH_DESC' => $lang['Rebuild_search_desc'], 'L_POST_LIMIT' => $lang['Post_limit'], 'L_TIME_LIMIT' => $lang['Time_limit'], 'L_REFRESH_RATE' => $lang['Refresh_rate'], 'SESSION_ID' => $userdata['session_id'], 'S_REBUILD_SEARCH_ACTION' => append_sid ("admin_rebuild_search.$phpEx")) ); $template->set_filenames (array ( "body" => "admin/rebuild_search.tpl") ); } $template->pparse ('body'); // // Page Footer // // include('./page_footer_admin.'.$phpEx); include( $mx_root_path . 'admin/page_footer_admin.' . $phpEx ); ?> |
|
From: Jon O. <jon...@us...> - 2005-08-20 18:27:41
|
Update of /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23765/modules/mx_rebuild_search_tables/templates/subSilver/admin Added Files: rebuild_search.tpl rebuild_search_progress.tpl Log Message: adding search tables update utility --- NEW FILE: rebuild_search.tpl --- <h1>{L_REBUILD_SEARCH}</h1> <p>{L_REBUILD_SEARCH_DESC}</p> <form method="get" action="{S_REBUILD_SEARCH_ACTION}"> <table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline"> <tr> <th colspan="2" class="thHead">{L_REBUILD_SEARCH}</th> </tr> <tr> <td class="row1">{L_POST_LIMIT}</td> <td class="row1"><input class="post" type="text" name="post_limit" value="1000" /></td> </tr> <tr> <td class="row2">{L_TIME_LIMIT}</td> <td class="row2"><input class="post" type="text" name="time_limit" value="120" /></td> </tr> <tr> <td class="row1">{L_REFRESH_RATE}</td> <td class="row1"><input class="post" type="text" name="refresh_rate" value="3" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center"><input type="hidden" name="sid" value="{SESSION_ID}" /><input type="hidden" name="start" value="0" /><input class="mainoption" type="submit" name="submit" value="{L_REBUILD_SEARCH}" /></td> </tr> </table> </form> --- NEW FILE: rebuild_search_progress.tpl --- <h1 style="text-align: center;">{PERCENT} %</h1> <form method="post" action="{S_REBUILD_SEARCH_ACTION}"> <input type="hidden" name="start" value="{START}"> <input type="hidden" name="total_num_rows" value="{TOTAL_NUM_ROWS}"> <div style="text-align: center;"><input class="mainoption" type="submit" name="submit" value="{L_NEXT}" /></div> </form> |