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-10-22 10:56:26
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15490/modules/mx_pafiledb/pafiledb/modules Modified Files: pa_toplist.php Log Message: updated - "latest updated" entries instead of "date added". affects many files - updated quickdl block Index: pa_toplist.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_toplist.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** pa_toplist.php 1 Oct 2005 14:15:20 -0000 1.11 --- pa_toplist.php 22 Oct 2005 10:56:15 -0000 1.12 *************** *** 206,209 **** --- 206,210 ---- 'L_DOWNLOADS' => $lang['Dls'], 'L_DATE' => $lang['Date'], + 'L_UPDATE_TIME' => $lang['Update_time'], 'L_NAME' => $lang['Name'], 'L_FILE' => $lang['File'], *************** *** 295,298 **** --- 296,300 ---- // =================================================== $date = create_date( $board_config['default_dateformat'], $file_rowset[$i]['file_time'], $board_config['board_timezone'] ); + $date_updated = create_date( $board_config['default_dateformat'], $file_rowset[$i]['file_update_time'], $board_config['board_timezone'] ); // =================================================== // Get rating for the file and format it *************** *** 355,358 **** --- 357,361 ---- 'FILE_SUBMITER' => $poster, 'DATE' => $date, + 'UPDATED' => $date_updated, 'RATING' => ( $file_rowset[$i]['cat_allow_ratings'] ? $rating : $lang['kb_no_ratings'] ), 'DOWNLOADS' => $file_rowset[$i]['file_dls'], *************** *** 421,424 **** --- 424,428 ---- 'L_DOWNLOADS' => $lang['Dls'], 'L_DATE' => $lang['Date'], + 'L_UPDATE_TIME' => $lang['Update_time'], 'L_NAME' => $lang['Name'], 'L_FILE' => $lang['File'], *************** *** 517,520 **** --- 521,525 ---- // =================================================== $date = create_date( $board_config['default_dateformat'], $searchset[$i]['file_time'], $board_config['board_timezone'] ); + $date_updated = create_date( $board_config['default_dateformat'], $searchset[$i]['file_update_time'], $board_config['board_timezone'] ); // =================================================== // Get rating for the file and format it *************** *** 573,576 **** --- 578,582 ---- 'FILE_SUBMITER' => $poster, 'DATE' => $date, + 'UPDATED' => $date_updated, 'RATING' => ( $searchset[$i]['cat_allow_ratings'] ? $rating : $lang['kb_no_ratings'] ), 'SHOW_RATINGS' => ( $pa_use_ratings ? true : false ), |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:56:26
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15490/modules/mx_pafiledb/templates/subSilver/admin Removed Files: config_body.tpl Log Message: updated - "latest updated" entries instead of "date added". affects many files - updated quickdl block --- config_body.tpl DELETED --- |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:56:26
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15490/modules/mx_pafiledb Modified Files: dload_lists.php Log Message: updated - "latest updated" entries instead of "date added". affects many files - updated quickdl block Index: dload_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_lists.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** dload_lists.php 1 Oct 2005 14:15:19 -0000 1.10 --- dload_lists.php 22 Oct 2005 10:56:15 -0000 1.11 *************** *** 172,176 **** if ( $allowed_cat != '' ) { ! $sql = "SELECT p.file_ssurl, p.file_id, p.file_name, p.file_desc, p.user_id, p.poster_ip, p.file_creator, p.file_time, p.file_catid, p.file_dls, u.user_id, u.username, r.votes_file, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comments_id) AS comments FROM " . PA_FILES_TABLE . " AS p LEFT JOIN " . USERS_TABLE . " AS u ON p.user_id = u.user_id --- 172,176 ---- if ( $allowed_cat != '' ) { ! $sql = "SELECT p.file_ssurl, p.file_id, p.file_name, p.file_desc, p.user_id, p.poster_ip, p.file_creator, p.file_time, p.file_update_time, p.file_catid, p.file_dls, u.user_id, u.username, r.votes_file, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comments_id) AS comments FROM " . PA_FILES_TABLE . " AS p LEFT JOIN " . USERS_TABLE . " AS u ON p.user_id = u.user_id *************** *** 232,235 **** --- 232,236 ---- 'POSTER' => $recent_poster, 'TIME' => create_date( $board_config['default_dateformat'], $recentrow[$j]['file_time'], $board_config['board_timezone'] ), + 'UPDATED' => create_date( $board_config['default_dateformat'], $recentrow[$j]['file_update_time'], $board_config['board_timezone'] ), 'VIEW' => $recentrow[$j]['file_dls'], *************** *** 269,273 **** if ( $allowed_cat != '' ) { ! $sql = "SELECT p.file_ssurl, p.file_id, p.file_name, p.file_desc, p.user_id, p.poster_ip, p.file_creator, p.file_time, p.file_catid, p.file_dls, u.user_id, u.username, r.votes_file, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comments_id) AS comments FROM " . PA_FILES_TABLE . " AS p LEFT JOIN " . USERS_TABLE . " AS u ON p.user_id = u.user_id --- 270,274 ---- if ( $allowed_cat != '' ) { ! $sql = "SELECT p.file_ssurl, p.file_id, p.file_name, p.file_desc, p.user_id, p.poster_ip, p.file_creator, p.file_time, p.file_update_time, p.file_catid, p.file_dls, u.user_id, u.username, r.votes_file, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comments_id) AS comments FROM " . PA_FILES_TABLE . " AS p LEFT JOIN " . USERS_TABLE . " AS u ON p.user_id = u.user_id *************** *** 329,332 **** --- 330,334 ---- 'POSTER' => $most_poster, 'TIME' => create_date( $board_config['default_dateformat'], $mostrow[$j]['file_time'], $board_config['board_timezone'] ), + 'UPDATED' => create_date( $board_config['default_dateformat'], $mostrow[$j]['file_update_time'], $board_config['board_timezone'] ), 'VIEW' => $mostrow[$j]['file_dls'], *************** *** 367,371 **** if ( $allowed_cat != '' ) { ! $sql = "SELECT p.file_ssurl, p.file_id, p.file_name, p.file_desc, p.user_id, p.poster_ip, p.file_creator, p.file_time, p.file_catid, p.file_dls, u.user_id, u.username, r.votes_file, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comments_id) AS comments FROM " . PA_FILES_TABLE . " AS p LEFT JOIN " . USERS_TABLE . " AS u ON p.user_id = u.user_id --- 369,373 ---- if ( $allowed_cat != '' ) { ! $sql = "SELECT p.file_ssurl, p.file_id, p.file_name, p.file_desc, p.user_id, p.poster_ip, p.file_creator, p.file_time, p.file_update_time, p.file_catid, p.file_dls, u.user_id, u.username, r.votes_file, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comments_id) AS comments FROM " . PA_FILES_TABLE . " AS p LEFT JOIN " . USERS_TABLE . " AS u ON p.user_id = u.user_id *************** *** 427,430 **** --- 429,433 ---- 'H_POSTER' => $highest_poster, 'H_TIME' => create_date( $board_config['default_dateformat'], $highestrow[$j]['file_time'], $board_config['board_timezone'] ), + 'UPDATED' => create_date( $board_config['default_dateformat'], $highestrow[$j]['file_update_time'], $board_config['board_timezone'] ), 'H_VIEW' => $highestrow[$j]['file_dls'], *************** *** 465,469 **** if ( $allowed_cat != '' ) { ! $sql = "SELECT p.file_id, p.file_name, p.file_desc, p.user_id, p.poster_ip, p.file_creator, p.file_time, p.file_catid, p.file_dls, p.file_ssurl, u.user_id, u.username, r.votes_file, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comments_id) AS comments FROM " . PA_FILES_TABLE . " AS p LEFT JOIN " . USERS_TABLE . " AS u ON p.user_id = u.user_id --- 468,472 ---- if ( $allowed_cat != '' ) { ! $sql = "SELECT p.file_id, p.file_name, p.file_desc, p.user_id, p.poster_ip, p.file_creator, p.file_time, p.file_update_time, p.file_catid, p.file_dls, p.file_ssurl, u.user_id, u.username, r.votes_file, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comments_id) AS comments FROM " . PA_FILES_TABLE . " AS p LEFT JOIN " . USERS_TABLE . " AS u ON p.user_id = u.user_id *************** *** 525,528 **** --- 528,532 ---- 'POSTER' => $rand_poster, 'TIME' => create_date( $board_config['default_dateformat'], $randrow[$j]['file_time'], $board_config['board_timezone'] ), + 'UPDATED' => create_date( $board_config['default_dateformat'], $randrow[$j]['file_update_time'], $board_config['board_timezone'] ), 'VIEW' => $randrow[$j]['file_dls'], *************** *** 592,595 **** --- 596,600 ---- 'L_POSTER' => $lang['Poster'], 'L_POSTED' => $lang['Posted'], + 'L_UPDATE_TIME' => $lang['Update_time'], 'L_PUBLIC_CATS' => $lang['Public_Categories'] ) ); |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:56:26
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15490/modules/mx_pafiledb/templates/subSilver Modified Files: pa_category_body.tpl pa_lists.tpl pa_quickdl_cat_body.tpl pa_toplist_body.tpl Log Message: updated - "latest updated" entries instead of "date added". affects many files - updated quickdl block Index: pa_category_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/pa_category_body.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pa_category_body.tpl 11 Apr 2005 17:55:43 -0000 1.4 --- pa_category_body.tpl 22 Oct 2005 10:56:15 -0000 1.5 *************** *** 44,48 **** <th class="thCornerL" width="5%"> </th> <th class="thTop" width="57%"> {L_FILE} </th> ! <th class="thTop" width="15%"> {L_DATE} </th> <th class="thTop" width="10%"> {L_DOWNLOADS} </th> <!-- IF SHOW_RATINGS --> --- 44,48 ---- <th class="thCornerL" width="5%"> </th> <th class="thTop" width="57%"> {L_FILE} </th> ! <th class="thTop" width="15%"> {L_UPDATE_TIME} </th> <th class="thTop" width="10%"> {L_DOWNLOADS} </th> <!-- IF SHOW_RATINGS --> *************** *** 56,60 **** <td class="row1" align="center" valign="middle"><a href="{file_rows.U_FILE}" class="topictitle"><img src="{file_rows.PIN_IMAGE}" border="0"></a></td> <td class="row1" valign="middle"><a href="{file_rows.U_FILE}" class="topictitle">{file_rows.FILE_NAME}</a> <!-- IF file_rows.IS_NEW_FILE --><img src="{file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"><!-- ENDIF --><br><span class="genmed">{file_rows.FILE_DESC}</span></td> ! <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{file_rows.DATE}</td> <td class="row2" align="center" valign="middle"><span class="postdetails">{file_rows.FILE_DLS}</td> <!-- IF file_rows.SHOW_RATINGS --> --- 56,60 ---- <td class="row1" align="center" valign="middle"><a href="{file_rows.U_FILE}" class="topictitle"><img src="{file_rows.PIN_IMAGE}" border="0"></a></td> <td class="row1" valign="middle"><a href="{file_rows.U_FILE}" class="topictitle">{file_rows.FILE_NAME}</a> <!-- IF file_rows.IS_NEW_FILE --><img src="{file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"><!-- ENDIF --><br><span class="genmed">{file_rows.FILE_DESC}</span></td> ! <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{file_rows.UPDATED}</td> <td class="row2" align="center" valign="middle"><span class="postdetails">{file_rows.FILE_DLS}</td> <!-- IF file_rows.SHOW_RATINGS --> Index: pa_toplist_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/pa_toplist_body.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pa_toplist_body.tpl 11 Apr 2005 17:55:43 -0000 1.4 --- pa_toplist_body.tpl 22 Oct 2005 10:56:15 -0000 1.5 *************** *** 58,62 **** <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_FILE} </span></td> <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_SUBMITER} </span></td> ! <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_DATE} </span></td> <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_DOWNLOADS} </span></td> <!-- IF SHOW_RATINGS --> --- 58,62 ---- <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_FILE} </span></td> <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_SUBMITER} </span></td> ! <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_UPDATE_TIME} </span></td> <td class="cat" align="center" nowrap="nowrap"><span class="cattitle"> {L_DOWNLOADS} </span></td> <!-- IF SHOW_RATINGS --> *************** *** 70,74 **** <td class="row1" valign="middle"><a href="{files_row.U_FILE}" class="topictitle">{files_row.FILE_NAME}</a> <!-- IF files_row.IS_NEW_FILE --><img src="{files_row.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"><!-- ENDIF --><br /><span class="genmed">{files_row.FILE_DESC}</span></td> <td class="row1" align="center" valign="middle"><span class="name">{files_row.FILE_SUBMITER}</span></td> ! <td class="row2" align="center" valign="middle"><span class="postdetails">{files_row.DATE}</span></td> <td class="row1" align="center" valign="middle"><span class="postdetails">{files_row.DOWNLOADS}</span></td> <!-- IF files_row.SHOW_RATINGS --> --- 70,74 ---- <td class="row1" valign="middle"><a href="{files_row.U_FILE}" class="topictitle">{files_row.FILE_NAME}</a> <!-- IF files_row.IS_NEW_FILE --><img src="{files_row.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"><!-- ENDIF --><br /><span class="genmed">{files_row.FILE_DESC}</span></td> <td class="row1" align="center" valign="middle"><span class="name">{files_row.FILE_SUBMITER}</span></td> ! <td class="row2" align="center" valign="middle"><span class="postdetails">{files_row.UPDATED}</span></td> <td class="row1" align="center" valign="middle"><span class="postdetails">{files_row.DOWNLOADS}</span></td> <!-- IF files_row.SHOW_RATINGS --> Index: pa_quickdl_cat_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/pa_quickdl_cat_body.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pa_quickdl_cat_body.tpl 12 Oct 2005 15:40:20 -0000 1.2 --- pa_quickdl_cat_body.tpl 22 Oct 2005 10:56:15 -0000 1.3 *************** *** 31,35 **** <tr> <td class="row1" align="center" valign="middle"><a href="{file_rows.U_FILE}" class="topictitle"><img src="{file_rows.PIN_IMAGE}" border="0"></a></td> ! <td class="row1" valign="middle"><a href="{file_rows.U_FILE}" class="topictitle">{file_rows.FILE_NAME}</a><br><span class="gensmall">{file_rows.FILE_DESC} ({file_rows.DATE})</span></td> </tr> <!-- END file_rows --> --- 31,35 ---- <tr> <td class="row1" align="center" valign="middle"><a href="{file_rows.U_FILE}" class="topictitle"><img src="{file_rows.PIN_IMAGE}" border="0"></a></td> ! <td class="row1" valign="middle"><a href="{file_rows.U_FILE}" class="topictitle">{file_rows.FILE_NAME}</a><br><span class="gensmall">{file_rows.FILE_DESC} ({file_rows.UPDATED})</span></td> </tr> <!-- END file_rows --> Index: pa_lists.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/pa_lists.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pa_lists.tpl 1 May 2005 16:41:30 -0000 1.4 --- pa_lists.tpl 22 Oct 2005 10:56:15 -0000 1.5 *************** *** 18,22 **** <!-- BEGIN recent_detail --> <td class="row1"><span class="gensmall">{recent_pics_block.recent_pics.recent_detail.TITLE}{L_FILE_DESC}: {recent_pics_block.recent_pics.recent_detail.DESC}<br /> ! {L_POSTER}: {recent_pics_block.recent_pics.recent_detail.POSTER}, {L_VIEW}: {recent_pics_block.recent_pics.recent_detail.VIEW}<br />{L_POSTED}: {recent_pics_block.recent_pics.recent_detail.TIME}<br /> {recent_pics_block.recent_pics.recent_detail.RATING}{recent_pics_block.recent_pics.recent_detail.COMMENTS}</span> </td> --- 18,22 ---- <!-- BEGIN recent_detail --> <td class="row1"><span class="gensmall">{recent_pics_block.recent_pics.recent_detail.TITLE}{L_FILE_DESC}: {recent_pics_block.recent_pics.recent_detail.DESC}<br /> ! {L_POSTER}: {recent_pics_block.recent_pics.recent_detail.POSTER}, {L_VIEW}: {recent_pics_block.recent_pics.recent_detail.VIEW}<br />{L_UPDATE_TIME}: {recent_pics_block.recent_pics.recent_detail.UPDATED}<br /> {recent_pics_block.recent_pics.recent_detail.RATING}{recent_pics_block.recent_pics.recent_detail.COMMENTS}</span> </td> *************** *** 47,51 **** <!-- BEGIN most_detail --> <td class="row1"><span class="gensmall">{most_pics_block.most_pics.most_detail.TITLE}{L_FILE_DESC}: {most_pics_block.most_pics.most_detail.DESC}<br /> ! {L_POSTER}: {most_pics_block.most_pics.most_detail.POSTER}, {L_VIEW}: {most_pics_block.most_pics.most_detail.VIEW}<br />{L_POSTED}: {most_pics_block.most_pics.most_detail.TIME}<br /> {most_pics_block.most_pics.most_detail.RATING}{most_pics_block.most_pics.most_detail.COMMENTS}</span> </td> --- 47,51 ---- <!-- BEGIN most_detail --> <td class="row1"><span class="gensmall">{most_pics_block.most_pics.most_detail.TITLE}{L_FILE_DESC}: {most_pics_block.most_pics.most_detail.DESC}<br /> ! {L_POSTER}: {most_pics_block.most_pics.most_detail.POSTER}, {L_VIEW}: {most_pics_block.most_pics.most_detail.VIEW}<br />{L_UPDATE_TIME}: {most_pics_block.most_pics.most_detail.UPDATED}<br /> {most_pics_block.most_pics.most_detail.RATING}{most_pics_block.most_pics.most_detail.COMMENTS}</span> </td> *************** *** 76,80 **** <!-- BEGIN highest_detail --> <td class="row1"><span class="gensmall">{highest_pics_block.highest_pics.highest_detail.H_TITLE}{L_FILE_DESC}: {highest_pics_block.highest_pics.highest_detail.H_DESC}<br /> ! {L_POSTER}: {highest_pics_block.highest_pics.highest_detail.H_POSTER}, {L_VIEW}: {highest_pics_block.highest_pics.highest_detail.H_VIEW}<br />{L_POSTED}: {highest_pics_block.highest_pics.highest_detail.H_TIME}<br /> {highest_pics_block.highest_pics.highest_detail.H_RATING}{highest_pics_block.highest_pics.highest_detail.H_COMMENTS}</span> </td> --- 76,80 ---- <!-- BEGIN highest_detail --> <td class="row1"><span class="gensmall">{highest_pics_block.highest_pics.highest_detail.H_TITLE}{L_FILE_DESC}: {highest_pics_block.highest_pics.highest_detail.H_DESC}<br /> ! {L_POSTER}: {highest_pics_block.highest_pics.highest_detail.H_POSTER}, {L_VIEW}: {highest_pics_block.highest_pics.highest_detail.H_VIEW}<br />{L_UPDATE_TIME}: {highest_pics_block.highest_pics.highest_detail.UPDATED}<br /> {highest_pics_block.highest_pics.highest_detail.H_RATING}{highest_pics_block.highest_pics.highest_detail.H_COMMENTS}</span> </td> *************** *** 105,109 **** <!-- BEGIN rand_detail --> <td class="row1"><span class="gensmall">{random_pics_block.rand_pics.rand_detail.TITLE}{L_FILE_DESC}: {random_pics_block.rand_pics.rand_detail.DESC}<br /> ! {L_POSTER}: {random_pics_block.rand_pics.rand_detail.POSTER}, {L_VIEW}: {random_pics_block.rand_pics.rand_detail.VIEW}<br />{L_POSTED}: {random_pics_block.rand_pics.rand_detail.TIME}<br /> {random_pics_block.rand_pics.rand_detail.RATING}{random_pics_block.rand_pics.rand_detail.COMMENTS}</span> </td> --- 105,109 ---- <!-- BEGIN rand_detail --> <td class="row1"><span class="gensmall">{random_pics_block.rand_pics.rand_detail.TITLE}{L_FILE_DESC}: {random_pics_block.rand_pics.rand_detail.DESC}<br /> ! {L_POSTER}: {random_pics_block.rand_pics.rand_detail.POSTER}, {L_VIEW}: {random_pics_block.rand_pics.rand_detail.VIEW}<br />{L_UPDATE_TIME}: {random_pics_block.rand_pics.rand_detail.UPDATED}<br /> {random_pics_block.rand_pics.rand_detail.RATING}{random_pics_block.rand_pics.rand_detail.COMMENTS}</span> </td> |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:55:21
|
Update of /cvsroot/mxbb/mx_newssuite/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15207/modules/mx_newssuite/templates/subSilver/admin Modified Files: mx_module_parameters.tpl Removed Files: news_body.tpl Log Message: updated --- news_body.tpl DELETED --- Index: mx_module_parameters.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/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 21 Aug 2005 21:41:22 -0000 1.1 --- mx_module_parameters.tpl 22 Oct 2005 10:55:12 -0000 1.2 *************** *** 24,28 **** <!-- 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> --- 24,28 ---- <!-- BEGIN catrow --> <tr> ! <td class="cat" align="center"><a href="#" onClick="toggle('cat_{catrow.CAT_ID}', '{MX_IMAGES_ROOT}'); return false;"><img src="{MX_IMAGES_ROOT}contract.gif" border="0" id="cat_{catrow.CAT_ID}_img" /></a> <td class="cat" colspan="{catrow.COLSPAN}"><span class="cattitle">{catrow.CAT_NAME}</span></td> </tr> |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:55:21
|
Update of /cvsroot/mxbb/mx_newssuite/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15207/modules/mx_newssuite/admin Modified Files: mx_module_defs.php Removed Files: admin_edit.php news_config.php Log Message: updated --- admin_edit.php DELETED --- Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/admin/mx_module_defs.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mx_module_defs.php 1 Oct 2005 14:14:44 -0000 1.5 --- mx_module_defs.php 22 Oct 2005 10:55:12 -0000 1.6 *************** *** 20,28 **** /********************************************************************************\ ! | Class: mx_blockcp_parameter ! | The mx_blockcp_parameter object provides extra module block parameters, added to the standard core parameters. ! | ! | Usage examples: ! | \********************************************************************************/ --- 20,25 ---- /********************************************************************************\ ! | Class: mx_module_defs ! | The mx_module_defs object provides additional module block parameters... \********************************************************************************/ *************** *** 61,66 **** function submit_module_parameters( $parameter_data, $block_id ) { ! global $HTTP_POST_VARS, $db, $board_config, $html_entities_match, $html_entities_replace, $mx_blockcp, $mx_root_path, $phpEx; ! $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; --- 58,63 ---- function submit_module_parameters( $parameter_data, $block_id ) { ! global $HTTP_POST_VARS, $db, $board_config, $mx_blockcp, $mx_root_path, $phpEx; ! global $html_entities_match, $html_entities_replace; $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; *************** *** 90,94 **** // display parameter field and data in the add/edit page // =================================================== ! function display_module_parameters( $parameter_data ) { global $template, $mx_blockcp, $mx_root_path, $theme, $lang; --- 87,91 ---- // display parameter field and data in the add/edit page // =================================================== ! function display_module_parameters( $parameter_data, $block_id ) { global $template, $mx_blockcp, $mx_root_path, $theme, $lang; *************** *** 113,127 **** include( $module_root_path . "includes/newssuite_defs.$phpEx" ); - if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) - { - $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; - } - else - { - $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; - } - $template->set_filenames(array( ! 'parameter' => $module_template_file) ); --- 110,115 ---- include( $module_root_path . "includes/newssuite_defs.$phpEx" ); $template->set_filenames(array( ! 'parameter' => 'admin/mx_module_parameters.tpl') ); *************** *** 142,152 **** $categories = get_main_cats( $newssuite_config ); - /* - $news_type_select_data = array(); - $news_type_select_temp = $mx_blockcp->block_parameters['news_type_select']['parameter_value']; - $news_type_select_temp = stripslashes( $news_type_select_temp ); - $news_type_select_data = eval( "return " . $news_type_select_temp . ";" ); - */ - $news_type_select_data = ( !empty( $parameter_data['parameter_value'] ) ) ? unserialize($parameter_data['parameter_value']) : array(); --- 130,133 ---- *************** *** 231,234 **** --- 212,216 ---- 'PARAMETER_TYPE_EXPLAIN' => ( !empty($lang["ParType_".$parameter_data['parameter_type'] . "_info"]) ) ? '<br />' . $lang["ParType_".$parameter_data['parameter_type'] . "_info"] : '', + 'MX_IMAGES_ROOT' => $mx_root_path . 'templates/subSilver/images/', 'SCRIPT_PATH' => $module_root_path, 'I_ANNOUNCE' => PHPBB_URL . $images['folder_announce'], --- news_config.php DELETED --- |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:55:19
|
Update of /cvsroot/mxbb/mx_newssuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15207/modules/mx_newssuite Modified Files: NewsSuite.pak Log Message: updated Index: NewsSuite.pak =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/NewsSuite.pak,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** NewsSuite.pak 22 Sep 2005 10:10:18 -0000 1.17 --- NewsSuite.pak 22 Oct 2005 10:55:12 -0000 1.18 *************** *** 19,26 **** parameter=+:47=+:100=+:news_mode_switch=+:Menu_single_select=+:Default_Block_Mode=+:a:3:{i:0;s:18:"Default_Block_Mode";i:1;s:14:"Newspaper_Mode";i:2;s:17:"Category_Nav_Mode";} parameter=+:47=+:312=+:news_mode_tagging=+:Boolean=+:0=+: ! parameter=+:47=+:384=+:news_sep_formatting=+:Separator=+:=+: ! parameter=+:47=+:381=+:news_sep_layout=+:Separator=+:=+: ! parameter=+:47=+:382=+:news_sep_sort=+:Separator=+:=+: ! parameter=+:47=+:383=+:news_sep_style=+:Separator=+:=+: parameter=+:47=+:95=+:news_show_title=+:Boolean=+:1=+: parameter=+:47=+:96=+:news_sort_method=+:Menu_single_select=+:Latest=+:a:5:{i:0;s:6:"Latest";i:1;s:8:"Creation";i:2;s:2:"Id";i:3;s:8:"Userrank";i:4;s:10:"Alphabetic";} --- 19,26 ---- parameter=+:47=+:100=+:news_mode_switch=+:Menu_single_select=+:Default_Block_Mode=+:a:3:{i:0;s:18:"Default_Block_Mode";i:1;s:14:"Newspaper_Mode";i:2;s:17:"Category_Nav_Mode";} parameter=+:47=+:312=+:news_mode_tagging=+:Boolean=+:0=+: ! parameter=+:47=+:331=+:news_sep_formatting=+:Separator=+:=+: ! parameter=+:47=+:332=+:news_sep_layout=+:Separator=+:=+: ! parameter=+:47=+:333=+:news_sep_sort=+:Separator=+:=+: ! parameter=+:47=+:334=+:news_sep_style=+:Separator=+:=+: parameter=+:47=+:95=+:news_show_title=+:Boolean=+:1=+: parameter=+:47=+:96=+:news_sort_method=+:Menu_single_select=+:Latest=+:a:5:{i:0;s:6:"Latest";i:1;s:8:"Creation";i:2;s:2:"Id";i:3;s:8:"Userrank";i:4;s:10:"Alphabetic";} |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:54:15
|
Update of /cvsroot/mxbb/mx_kb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14913/modules/mx_kb/admin Modified Files: mx_module_defs.php Removed Files: kb_config.php Log Message: updated Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/mx_module_defs.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mx_module_defs.php 1 Oct 2005 14:13:46 -0000 1.4 --- mx_module_defs.php 22 Oct 2005 10:54:06 -0000 1.5 *************** *** 20,28 **** /********************************************************************************\ ! | Class: mx_blockcp_parameter ! | The mx_blockcp_parameter object provides extra module block parameters, added to the standard core parameters. ! | ! | Usage examples: ! | \********************************************************************************/ --- 20,25 ---- /********************************************************************************\ ! | Class: mx_module_defs ! | The mx_module_defs object provides additional module block parameters... \********************************************************************************/ *************** *** 61,65 **** 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']]; --- 58,63 ---- function submit_module_parameters( $parameter_data, $block_id ) { ! global $HTTP_POST_VARS, $db, $board_config, $mx_blockcp, $mx_root_path, $phpEx; ! global $html_entities_match, $html_entities_replace; $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; *************** *** 79,83 **** // display parameter field and data in the add/edit page // =================================================== ! function display_module_parameters( $parameter_data ) { global $template, $mx_blockcp, $mx_root_path, $theme, $lang; --- 77,81 ---- // display parameter field and data in the add/edit page // =================================================== ! function display_module_parameters( $parameter_data, $block_id ) { global $template, $mx_blockcp, $mx_root_path, $theme, $lang; *************** *** 100,114 **** include_once( $module_root_path . "includes/kb_defs.$phpEx" ); - if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) - { - $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; - } - else - { - $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; - } - $template->set_filenames(array( ! 'parameter' => $module_template_file) ); --- 98,103 ---- include_once( $module_root_path . "includes/kb_defs.$phpEx" ); $template->set_filenames(array( ! 'parameter' => 'admin/mx_module_parameters.tpl') ); --- kb_config.php DELETED --- |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:51:42
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14247/modules/mx_coreblocks/templates/subSilver Modified Files: mx_login.tpl Log Message: massive update, for mxBB 2.8.1 rc1 - most "easy to solve" bugs reported are fixed - optimized adminCP - mod_rewrite - Page IP filter - optimized blockCP - removed old files Index: mx_login.tpl =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/templates/subSilver/mx_login.tpl,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_login.tpl 8 Sep 2005 21:16:19 -0000 1.8 --- mx_login.tpl 22 Oct 2005 10:51:02 -0000 1.9 *************** *** 5,9 **** {L_USERNAME}:<br /><input class="post" type="text" name="username" size="10" /><br /> {L_PASSWORD}:<br /><input class="post" type="password" name="password" size="10" /><br /> ! <input type="checkbox" class="post" name="autologin" value="ON" /> {L_AUTO_LOGIN}<br /> <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /></span> </form> --- 5,10 ---- {L_USERNAME}:<br /><input class="post" type="text" name="username" size="10" /><br /> {L_PASSWORD}:<br /><input class="post" type="password" name="password" size="10" /><br /> ! <input class="text" type="checkbox" name="autologin" /> {L_AUTO_LOGIN}<br /> ! <!--<input type="checkbox" class="post" name="autologin" value="ON" /> {L_AUTO_LOGIN}<br />--> <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /></span> </form> |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:51:42
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14247/includes Modified Files: mx_constants.php mx_functions.php mx_functions_admincp.php mx_functions_blockcp.php mx_functions_core.php Log Message: massive update, for mxBB 2.8.1 rc1 - most "easy to solve" bugs reported are fixed - optimized adminCP - mod_rewrite - Page IP filter - optimized blockCP - removed old files Index: mx_functions_blockcp.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_blockcp.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mx_functions_blockcp.php 12 Oct 2005 15:37:32 -0000 1.6 --- mx_functions_blockcp.php 22 Oct 2005 10:51:02 -0000 1.7 *************** *** 61,65 **** function _controlpanel( $id, $new_block ) { ! global $blockcptemplate, $lang, $db, $board_config, $theme, $HTTP_GET_VARS, $HTTP_POST_VARS, $phpEx, $mx_root_path, $s_hidden_fields, $userdata, $portalpage, $cookie_states, $module_nav_icon_url, $portalpage, $mx_request_vars; $dynamic_block_id = $mx_request_vars->request('dynamic_block', MX_TYPE_INT, ''); --- 61,65 ---- function _controlpanel( $id, $new_block ) { ! global $blockcptemplate, $lang, $db, $board_config, $theme, $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $phpEx, $mx_root_path, $s_hidden_fields, $userdata, $portalpage, $cookie_states, $module_nav_icon_url, $portalpage, $mx_request_vars; $dynamic_block_id = $mx_request_vars->request('dynamic_block', MX_TYPE_INT, ''); *************** *** 76,135 **** // ! // Instantiate the Block Class ! // ! //$mx_block = new mx_block(); ! ! // ! // Toggle add/edit action // ! if( !$new_block ) ! { ! if ( MX_BLOCKCP_DEBUG ) { echo('DIALOG - BLOCK - EDIT <br>'); } ! ! $mode_general = MX_BLOCK_TYPE; ! $mode_permissions = MX_BLOCK_PRIVATE_TYPE; ! $mode_settings = MX_BLOCK_SETTINGS_TYPE; ! $action = MX_DO_UPDATE; ! ! $block_id = $id; ! //$this->init($block_id); ! $function_id = $this->function_id; ! ! $l_title = $lang['Edit_block']; ! $newmode = 'modify_block'; ! $buttonvalue = $lang['Update']; ! ! $block_title = ( isset($HTTP_POST_VARS[$block_keys['block_title']]) ) ? stripslashes(htmlspecialchars($HTTP_POST_VARS[$block_keys['block_title']])) : $this->$block_keys['block_title']; ! $block_desc = ( isset($HTTP_POST_VARS[$block_keys['block_desc']]) ) ? stripslashes(htmlspecialchars($HTTP_POST_VARS[$block_keys['block_desc']])) : $this->$block_keys['block_desc']; ! $show_block = ( isset($HTTP_POST_VARS[$block_keys['show_block']]) ) ? intval($HTTP_POST_VARS[$block_keys['show_block']]) : intval($this->$block_keys['show_block']); ! $show_title = ( isset($HTTP_POST_VARS[$block_keys['show_title']]) ) ? intval($HTTP_POST_VARS[$block_keys['show_title']]) : intval($this->$block_keys['show_title']); ! $show_stats = ( isset($HTTP_POST_VARS[$block_keys['show_stats']]) ) ? intval($HTTP_POST_VARS[$block_keys['show_stats']]) : intval($this->$block_keys['show_stats']); ! } ! else ! { ! if ( MX_BLOCKCP_DEBUG ) { echo('DIALOG - BLOCK - ADD <br>'); } ! ! $mode_general = MX_BLOCK_TYPE; ! $mode_permissions = MX_BLOCK_PRIVATE_TYPE; ! $mode_settings = MX_BLOCK_SETTINGS_TYPE; ! $action = MX_DO_INSERT; ! ! $function_id = $id; ! ! $l_title = $lang['Create_block']; ! $newmode = 'create_block'; ! $buttonvalue = $lang['Create_block']; ! ! $block_title = ''; ! $block_desc = ''; ! $show_block = '1'; ! $show_title = '1'; ! $show_stats = '0'; ! $this->$block_keys['auth_view'] = AUTH_ALL; ! $this->$block_keys['auth_edit'] = AUTH_ADMIN; ! } ! ! $functionlist = get_list_formatted('function_list', $function_id); // --- 76,88 ---- // ! // General // ! $mode_general = MX_BLOCK_TYPE; ! $mode_permissions = MX_BLOCK_PRIVATE_TYPE; ! $mode_settings = MX_BLOCK_SETTINGS_TYPE; ! $block_id = $id; ! $module_id = $mx_request_vars->request('module_id', MX_TYPE_INT, '');; ! $function_id = $mx_request_vars->request('function_id', MX_TYPE_INT, '');; // *************** *** 140,144 **** $block_auth_ary = array( 'auth_view' => AUTH_ALL, ! 'auth_edit' => AUTH_MOD, ); --- 93,97 ---- $block_auth_ary = array( 'auth_view' => AUTH_ALL, ! 'auth_edit' => AUTH_ADMIN, ); *************** *** 149,152 **** --- 102,137 ---- 'auth_edit' => $lang['Edit'], ); + + // + // Update block + // + $action = MX_DO_UPDATE; + $buttonvalue = $lang['Update']; + + $block_title = ( isset($HTTP_POST_VARS[$block_keys['block_title']]) ) ? stripslashes(htmlspecialchars($HTTP_POST_VARS[$block_keys['block_title']])) : $this->$block_keys['block_title']; + $block_desc = ( isset($HTTP_POST_VARS[$block_keys['block_desc']]) ) ? stripslashes(htmlspecialchars($HTTP_POST_VARS[$block_keys['block_desc']])) : $this->$block_keys['block_desc']; + $show_block = ( isset($HTTP_POST_VARS[$block_keys['show_block']]) ) ? intval($HTTP_POST_VARS[$block_keys['show_block']]) : intval($this->$block_keys['show_block']); + $show_title = ( isset($HTTP_POST_VARS[$block_keys['show_title']]) ) ? intval($HTTP_POST_VARS[$block_keys['show_title']]) : intval($this->$block_keys['show_title']); + $show_stats = ( isset($HTTP_POST_VARS[$block_keys['show_stats']]) ) ? intval($HTTP_POST_VARS[$block_keys['show_stats']]) : intval($this->$block_keys['show_stats']); + + // + // Add block + // + $action_add = MX_DO_INSERT; + $buttonvalue_add = $lang['Create_block']; + + $show_title_yes_add = 'checked="checked"'; + $show_title_no_add = ''; + + $show_block_yes_add = 'checked="checked"'; + $show_block_no_add = ''; + + $show_stats_yes_add = ''; + $show_stats_no_add = 'checked="checked"'; + + // + // Now get started + // + $functionlist = get_list_formatted('function_list', $function_id); /* *************** *** 195,201 **** // ! // Variables // $blockcptemplate->assign_vars(array( 'L_TITLE' => $lang['Block_admin'], 'L_EXPLAIN' => $lang['Block_admin_explain'], --- 180,210 ---- // ! // JS // + + $cookie_tmp = $board_config['cookie_name'].'_adminBlockCP_mode'; + $cookie_blockCP = !empty($HTTP_COOKIE_VARS[$cookie_tmp]) ? $HTTP_COOKIE_VARS[$cookie_tmp] : 'settings'; + + // + // Send General Vars to template + // + $visible_general_add = $cookie_blockCP == 'general_add'; + $visible_general = $cookie_blockCP == 'general'; + $visible_settings = $cookie_blockCP == 'settings'; + $visible_private = $cookie_blockCP == 'private'; + $visible_delete = $cookie_blockCP == 'delete'; + $blockcptemplate->assign_vars(array( + 'VISIBLE_GENERAL_ADD' => $visible_general_add ? 'block' : 'none', + 'VISIBLE_GENERAL' => $visible_general ? 'block' : 'none', + 'VISIBLE_SETTINGS' => $visible_settings ? 'block' : 'none', + 'VISIBLE_PRIVATE' => $visible_private ? 'block' : 'none', + 'VISIBLE_DELETE' => $visible_delete ? 'block' : 'none', + 'IMG_URL_GENERAL_ADD' => $visible_general_add ? $admin_icon['contract'] : $admin_icon['expand'], + 'IMG_URL_GENERAL' => $visible_general ? $admin_icon['contract'] : $admin_icon['expand'], + 'IMG_URL_SETTINGS' => $visible_settings ? $admin_icon['contract'] : $admin_icon['expand'], + 'IMG_URL_PRIVATE' => $visible_private ? $admin_icon['contract'] : $admin_icon['expand'], + 'IMG_URL_DELETE' => $visible_delete ? $admin_icon['contract'] : $admin_icon['expand'], + 'L_TITLE' => $lang['Block_admin'], 'L_EXPLAIN' => $lang['Block_admin_explain'], *************** *** 208,211 **** --- 217,221 ---- "L_ACTION" => $lang['Action'], "L_DELETE" => $lang['Delete'], + "L_UPDATE" => $lang['Update'], 'L_SETTING' => $lang['Settings'], 'L_VIEW' => $lang['View'], *************** *** 245,248 **** --- 255,261 ---- 'S_FUNCTION_LIST' => $functionlist, + // + // Update + // 'S_SHOW_BLOCK_YES' => $show_block_yes, 'S_SHOW_BLOCK_NO' => $show_block_no, *************** *** 254,257 **** --- 267,282 ---- 'S_SHOW_STATS_NO' => $show_stats_no, + // + // Add + // + 'S_SHOW_BLOCK_YES_ADD' => $show_block_yes_add, + 'S_SHOW_BLOCK_NO_ADD' => $show_block_no_add, + + 'S_SHOW_TITLE_YES_ADD' => $show_title_yes_add, + 'S_SHOW_TITLE_NO_ADD' => $show_title_no_add, + + 'S_SHOW_STATS_YES_ADD' => $show_stats_yes_add, + 'S_SHOW_STATS_NO_ADD' => $show_stats_no_add, + 'S_HIDDEN_FIELDS' => $s_hidden_fields, 'S_SUBMIT_UPDATE' => $buttonvalue, *************** *** 267,275 **** 'IMG_URL_EXPAND' => $admin_icon['expand'], ! 'IMG_ICON_MODULE' => $admin_icon['module'], 'IMG_ICON_FUNCTION' => $admin_icon['function'], 'IMG_ICON_PARAMETER' => $admin_icon['parameter'], 'IMG_ICON_BLOCK' => $admin_icon['block'], ! 'IMG_ICON_EDIT_BLOCK' => $admin_icon['edit_block'], )); --- 292,308 ---- 'IMG_URL_EXPAND' => $admin_icon['expand'], ! 'IMG_ICON_PAGE' => $admin_icon['page'], ! 'IMG_ICON_PAGE_COLUMN' => $admin_icon['page_column'], 'IMG_ICON_FUNCTION' => $admin_icon['function'], 'IMG_ICON_PARAMETER' => $admin_icon['parameter'], 'IMG_ICON_BLOCK' => $admin_icon['block'], ! 'IMG_ICON_EDIT_BLOCK' => $admin_icon['edit_block'], ! // ! // Cookies ! // ! 'COOKIE_NAME' => $board_config['cookie_name'], ! 'COOKIE_PATH' => $board_config['cookie_path'], ! 'COOKIE_DOMAIN' => $board_config['cookie_domain'], ! 'COOKIE_SECURE' => $board_config['cookie_secure'], )); *************** *** 281,288 **** --- 314,332 ---- <input type="hidden" name="action" value="' . $action . '" /> <input type="hidden" name="id" value="' . $block_id . '" /> + <input type="hidden" name="function_id" value="' . $function_id . '" /> + <input type="hidden" name="module_id" value="' . $module_id . '" /> <input type="hidden" name="dynamic_block" value="' . $dynamic_block_id . '" /> <input type="hidden" name="portalpage" value="' . $portalpage . '" /> <input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; + $s_hidden_general_add_fields = '<input type="hidden" name="mode" value="' . $mode_general . '" /> + <input type="hidden" name="action" value="' . MX_DO_INSERT . '" /> + <input type="hidden" name="id" value="' . $function_id . '" /> + <input type="hidden" name="function_id" value="' . $function_id . '" /> + <input type="hidden" name="module_id" value="' . $module_id . '" /> + <input type="hidden" name="dynamic_block" value="' . $dynamic_block_id . '" /> + <input type="hidden" name="portalpage" value="' . $portalpage . '" /> + <input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; + $s_hidden_permissions_fields = '<input type="hidden" name="mode" value="' . $mode_permissions . '" /> <input type="hidden" name="action" value="' . $action . '" /> *************** *** 297,311 **** <input type="hidden" name="dynamic_block" value="' . $dynamic_block_id . '" /> <input type="hidden" name="portalpage" value="' . $portalpage . '" /> ! <input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; ! // // Activate BlockCP SubPanels, based on auth // $blockcptemplate->assign_block_vars('blockcp_general', array( ! 'L_TITLE' => $lang['Block_quick_edit'], 'S_HIDDEN_FIELDS' => $s_hidden_general_fields, 'S_SUBMIT' => $buttonvalue )); if (!empty($this->block_parameters)) { --- 341,377 ---- <input type="hidden" name="dynamic_block" value="' . $dynamic_block_id . '" /> <input type="hidden" name="portalpage" value="' . $portalpage . '" /> ! <input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; ! ! // ! // Get blockcp mode -> to set action file ! // ! $s_action_file = $this->blockcp_mode == 'mx_blockcp' ? $mx_root_path . 'modules/mx_coreblocks/mx_blockcp.' . $phpEx : $mx_root_path . 'admin/admin_mx_block_cp.' . $phpEx; ! ! $deletemode = '?mode=' . $mode_general . '&action=' . MX_DO_DELETE . '&id=' . $block_id . '&module_id=' . $module_id . '&function_id=' . $function_id . '&portalpage=' . $portalpage. '&sid=' . $userdata['session_id']; ! ! $message_delete = $lang['Delete_block'] . ' - ' . $block_title ! . '<br /><br />' . $lang['Delete_block_explain'] ! . '<br /><br />' . sprintf($lang['Click_block_delete_yes'], '<a href="' . append_sid($s_action_file . $deletemode) . '">', '</a>') ! . '<br /><br />'; ! ! // // Activate BlockCP SubPanels, based on auth // $blockcptemplate->assign_block_vars('blockcp_general', array( ! 'L_TITLE' => $lang['Edit'], 'S_HIDDEN_FIELDS' => $s_hidden_general_fields, 'S_SUBMIT' => $buttonvalue )); + if ($this->auth_mod) + { + $blockcptemplate->assign_block_vars('blockcp_general_add', array( + 'L_TITLE' => $lang['Create_block'], + 'S_HIDDEN_FIELDS' => $s_hidden_general_add_fields, + 'S_SUBMIT' => $buttonvalue_add + )); + } + if (!empty($this->block_parameters)) { *************** *** 335,339 **** // ! // Output values of individual auth fields // for( $j = 0; $j < count($block_auth_fields); $j++ ) --- 401,431 ---- // ! // Output values of individual auth fields - add ! // ! for( $j = 0; $j < count($block_auth_fields); $j++ ) ! { ! $custom_auth[$j] = ' <select name="' . $block_auth_fields[$j] . '">'; ! ! for( $k = 0; $k < count($block_auth_levels); $k++ ) ! { ! $selected = ( $block_auth_ary[$block_auth_fields[$j]] == $block_auth_const[$k] ) ? ' selected="selected"' : ''; ! $custom_auth[$j] .= '<option value="' . $block_auth_const[$k] . '"' . $selected . '>' . $lang['AUTH_' . $block_auth_levels[$k]] . "</option>\n"; ! } ! ! $custom_auth[$j] .= '</select> '; ! ! $cell_title = $field_names[$block_auth_fields[$j]]; ! ! $blockcptemplate->assign_block_vars('blockcp_general_add.block_auth_titles', array( ! 'CELL_TITLE' => $cell_title ! )); ! ! $blockcptemplate->assign_block_vars('blockcp_general_add.block_auth_data', array( ! 'S_AUTH_LEVELS_SELECT' => $custom_auth[$j] ! )); ! } ! ! // ! // Output values of individual auth fields - edit // for( $j = 0; $j < count($block_auth_fields); $j++ ) *************** *** 358,362 **** 'S_AUTH_LEVELS_SELECT' => $custom_auth[$j] )); ! } --- 450,454 ---- 'S_AUTH_LEVELS_SELECT' => $custom_auth[$j] )); ! } *************** *** 430,440 **** )); } // - // Load and display additional blockcp panels (if any) - // - //$this->load_block_panels($block_id); - - // // Load and display additional blockcp parameters or panels (if any) // --- 522,535 ---- )); } + + if ($this->auth_mod) + { + $blockcptemplate->assign_block_vars('blockcp_delete', array( + 'L_TITLE' => $lang['Delete'], + 'MESSAGE_DELETE' => $message_delete + )); + } // // Load and display additional blockcp parameters or panels (if any) // Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** mx_functions_core.php 12 Oct 2005 15:37:32 -0000 1.12 --- mx_functions_core.php 22 Oct 2005 10:51:02 -0000 1.13 *************** *** 1165,1168 **** --- 1165,1169 ---- // display additional panels in the add/edit page // =================================================== + /* function load_block_panels( $block_id = false ) { *************** *** 1187,1191 **** return $return; } ! // =================================================== // display parameter field and data in the add/edit page --- 1188,1192 ---- return $return; } ! */ // =================================================== // display parameter field and data in the add/edit page *************** *** 1204,1209 **** ob_start(); $this->is_panel = false; ! //$template = new mx_Template($template->root, $board_config); ! $template = new mx_Template($mx_root_path . 'templates/'. $theme['template_name'] , $board_config); switch ( $parameter_data['parameter_type'] ) --- 1205,1209 ---- ob_start(); $this->is_panel = false; ! $template = new mx_Template($mx_root_path . $this->module_root_path . 'templates/subSilver', $board_config); switch ( $parameter_data['parameter_type'] ) Index: mx_constants.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_constants.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** mx_constants.php 1 Oct 2005 14:10:45 -0000 1.16 --- mx_constants.php 22 Oct 2005 10:51:02 -0000 1.17 *************** *** 29,33 **** define('MX_PORTAL_PAGES_OFFSET', -1000); - // // mxBB Core table names --- 29,32 ---- Index: mx_functions_admincp.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_admincp.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** mx_functions_admincp.php 12 Oct 2005 15:37:32 -0000 1.10 --- mx_functions_admincp.php 22 Oct 2005 10:51:02 -0000 1.11 *************** *** 337,342 **** } ! $message = $lang['AdminCP_action'] . ": " . $lang['Block'] . ' (' . $mx_request_vars->post('block_title', MX_TYPE_NO_TAGS, 'error - no name given') . ') ' . $lang['was_inserted']; ! break; --- 337,342 ---- } ! $message['text'] = $lang['AdminCP_action'] . ": " . $lang['Block'] . ' (' . $mx_request_vars->post('block_title', MX_TYPE_NO_TAGS, 'error - no name given') . ') ' . $lang['was_inserted']; ! $message['new_id'] = $next_id; break; *************** *** 1259,1263 **** // ! // First delete block(s) parameter data for every module function // $sql_ids = "SELECT * FROM " . BLOCK_TABLE . " WHERE function_id = $function_id"; --- 1259,1263 ---- // ! // First delete block(s) parameter data and page occurances for every module function // $sql_ids = "SELECT * FROM " . BLOCK_TABLE . " WHERE function_id = $function_id"; *************** *** 1269,1272 **** --- 1269,1273 ---- { $message_child .= $this->do_it( MX_BLOCK_PARAMETER_TYPE, MX_DO_DELETE, $delete_ids[$i]['block_id'], false, false); + $message_child .= $this->do_it( MX_PAGE_BLOCK_TYPE, MX_DO_DELETE, $delete_ids[$i]['block_id'], false, false); } } *************** *** 1284,1290 **** // ! // First delete block parameter data for this module function // $message_child .= $this->do_it( MX_BLOCK_PARAMETER_TYPE, MX_DO_DELETE, $block_id, false, false); // --- 1285,1292 ---- // ! // First delete block parameter data and page occurances for this block // $message_child .= $this->do_it( MX_BLOCK_PARAMETER_TYPE, MX_DO_DELETE, $block_id, false, false); + $message_child .= $this->do_it( MX_PAGE_BLOCK_TYPE, MX_DO_DELETE, $block_id, false, false); // *************** *** 1501,1508 **** $block_id = intval($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"; } --- 1503,1514 ---- $block_id = intval($id); ! $column_id = ( isset($HTTP_POST_VARS['column_id']) ) ? intval($HTTP_POST_VARS['column_id']) : intval($HTTP_GET_VARS['column_id']); ! $block_order = ( isset($HTTP_POST_VARS['block_order']) ) ? intval($HTTP_POST_VARS['block_order']) : intval($HTTP_GET_VARS['block_order']); ! $sql_xtra_options = ''; ! $sql_xtra_options .= $column_id > 0 ? ' AND column_id = ' . $column_id : ''; ! $sql_xtra_options .= $block_order > 0 ? ' AND block_order = ' . $block_order : ''; ! ! $sql = "DELETE FROM " . COLUMN_BLOCK_TABLE . " WHERE block_id = $block_id" . $sql_xtra_options; } Index: mx_functions.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions.php,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** mx_functions.php 15 Oct 2005 22:12:17 -0000 1.50 --- mx_functions.php 22 Oct 2005 10:51:02 -0000 1.51 *************** *** 1193,1197 **** function _generate_tpl($block_id) { ! global $template, $blockcptemplate, $lang, $phpEx, $mx_request_vars, $mx_root_path, $userdata; $module_select_list = ''; --- 1193,1197 ---- function _generate_tpl($block_id) { ! global $template, $blockcptemplate, $lang, $phpEx, $mx_request_vars, $mx_root_path, $userdata, $portalpage, $dynamic_block_id; $module_select_list = ''; *************** *** 1235,1239 **** // Hidden fields // ! $s_hidden_dyn_fields = '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; $tpl = array( --- 1235,1241 ---- // Hidden fields // ! $s_hidden_dyn_fields = '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" /> ! <input type="hidden" name="dynamic_block" value="' . $dynamic_block_id . '" /> ! <input type="hidden" name="portalpage" value="' . $portalpage . '" />'; $tpl = array( |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:51:42
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14247/modules/mx_textblocks Modified Files: TextBlocks.pak Log Message: massive update, for mxBB 2.8.1 rc1 - most "easy to solve" bugs reported are fixed - optimized adminCP - mod_rewrite - Page IP filter - optimized blockCP - removed old files Index: TextBlocks.pak =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/TextBlocks.pak,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** TextBlocks.pak 20 Sep 2005 15:30:59 -0000 1.8 --- TextBlocks.pak 22 Oct 2005 10:51:03 -0000 1.9 *************** *** 1,3 **** ! module=+:20=+:Text Blocks=+:modules/mx_textblocks/=+:Textblocks module=+: New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:20=+:20=+:TextBlock (phpBB)=+:BBcodes, html and smilies usage defined by phpBB config=+:mx_textblock_bbcode.php=+: --- 1,3 ---- ! module=+:20=+:Text Blocks=+:modules/mx_textblocks/=+:Textblocks module=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:20=+:20=+:TextBlock (phpBB)=+:BBcodes, html and smilies usage defined by phpBB config=+:mx_textblock_bbcode.php=+: *************** *** 17,25 **** New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:20=+:22=+:TextBlock (Customized)=+:Textblock, featuring block defined settings=+:mx_textblock_multi.php=+: ! parameter=+:22=+:326=+:allow_bbcode=+:Boolean=+:TRUE=+: ! parameter=+:22=+:327=+:allow_html=+:Boolean=+:TRUE=+: ! parameter=+:22=+:328=+:allow_smilies=+:Boolean=+:TRUE=+: parameter=+:22=+:52=+:block_style=+:Boolean=+:TRUE=+: ! parameter=+:22=+:329=+:html_tags=+:Text=+:b,i,u,img=+: parameter=+:22=+:50=+:Text=+:CustomizedTextBlock=+:Enter your block text here=+: parameter=+:22=+:51=+:text_style=+:Text=+:none=+: --- 17,25 ---- New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:20=+:22=+:TextBlock (Customized)=+:Textblock, featuring block defined settings=+:mx_textblock_multi.php=+: ! parameter=+:22=+:325=+:allow_bbcode=+:Boolean=+:TRUE=+: ! parameter=+:22=+:326=+:allow_html=+:Boolean=+:TRUE=+: ! parameter=+:22=+:327=+:allow_smilies=+:Boolean=+:TRUE=+: parameter=+:22=+:52=+:block_style=+:Boolean=+:TRUE=+: ! parameter=+:22=+:328=+:html_tags=+:Text=+:b,i,u,img=+: parameter=+:22=+:50=+:Text=+:CustomizedTextBlock=+:Enter your block text here=+: parameter=+:22=+:51=+:text_style=+:Text=+:none=+: |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:51:42
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14247/modules/mx_navmenu/admin Modified Files: mx_module_defs.php Log Message: massive update, for mxBB 2.8.1 rc1 - most "easy to solve" bugs reported are fixed - optimized adminCP - mod_rewrite - Page IP filter - optimized blockCP - removed old files Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/admin/mx_module_defs.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mx_module_defs.php 12 Oct 2005 15:37:32 -0000 1.9 --- mx_module_defs.php 22 Oct 2005 10:51:03 -0000 1.10 *************** *** 20,28 **** /********************************************************************************\ ! | Class: mx_blockcp_parameter ! | The mx_blockcp_parameter object provides extra module block parameters, added to the standard core parameters. ! | ! | Usage examples: ! | \********************************************************************************/ --- 20,25 ---- /********************************************************************************\ ! | Class: mx_module_defs ! | The mx_module_defs object provides additional module block parameters... \********************************************************************************/ *************** *** 82,92 **** function display_module_parameters( $parameter_data, $block_id ) { ! global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $userdata, $mx_request_vars; $parameter_id = $parameter_data['parameter_id']; - //$parameter_value = isset($HTTP_POST_VARS['preview']) ? htmlspecialchars(trim(stripslashes($HTTP_POST_VARS[$parameter_data['parameter_name']]))) : $parameter_data['parameter_value']; - //$portalpage = isset($HTTP_GET_VARS['portalpage']) ? intval($HTTP_GET_VARS['portalpage']) : intval($HTTP_POST_VARS['portalpage']); - // // Load states --- 79,86 ---- function display_module_parameters( $parameter_data, $block_id ) { ! global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $userdata, $mx_request_vars, $dynamic_block_id, $portalpage; $parameter_id = $parameter_data['parameter_id']; // // Load states *************** *** 196,213 **** // DO IT DO IT - // - // Start page proper - // - if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) - { - $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; - } - else - { - $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; - } - $template->set_filenames(array( ! 'parameter' => $module_template_file) ); --- 190,195 ---- // DO IT DO IT $template->set_filenames(array( ! 'parameter' => 'admin/mx_module_parameters.tpl') ); *************** *** 371,378 **** $mode = MX_MENU_CAT_TYPE; $action = $new_cat ? MX_DO_INSERT : MX_DO_UPDATE; ! $deletemode = '?panel_mode=' . $mode . '&panel_action=' . MX_DO_DELETE . '&id=' . $cat_id . '&block_id=' . $block_id; ! $upmode = '?panel_mode=' . $mode . '&panel_action=' . MX_DO_MOVE . '&id=' . $cat_id . '&block_id=' . $block_id . '&block_order=' . $block_order . '&move=-15'; ! $downmode = '?panel_mode=' . $mode . '&panel_action=' . MX_DO_MOVE . '&id=' . $cat_id . '&block_id=' . $block_id . '&block_order=' . $block_order . '&move=15'; // --- 353,360 ---- $mode = MX_MENU_CAT_TYPE; $action = $new_cat ? MX_DO_INSERT : MX_DO_UPDATE; ! $deletemode = '?panel_mode=' . $mode . '&panel_action=' . MX_DO_DELETE . '&id=' . $cat_id . '&block_id=' . $block_id . '&portalpage=' . $portalpage. '&dynamic_block=' . $dynamic_block_id; ! $upmode = '?panel_mode=' . $mode . '&panel_action=' . MX_DO_MOVE . '&id=' . $cat_id . '&block_id=' . $block_id . '&block_order=' . $block_order . '&move=-15' . '&portalpage=' . $portalpage. '&dynamic_block=' . $dynamic_block_id; ! $downmode = '?panel_mode=' . $mode . '&panel_action=' . MX_DO_MOVE . '&id=' . $cat_id . '&block_id=' . $block_id . '&block_order=' . $block_order . '&move=15' . '&portalpage=' . $portalpage. '&dynamic_block=' . $dynamic_block_id; // *************** *** 383,386 **** --- 365,370 ---- <input type="hidden" name="id" value="' . $cat_id . '" /> <input type="hidden" name="block_id" value="' . $block_id . '" /> + <input type="hidden" name="dynamic_block" value="' . $dynamic_block_id . '" /> + <input type="hidden" name="portalpage" value="' . $portalpage . '" /> <input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; *************** *** 390,393 **** --- 374,379 ---- <input type="hidden" name="block_id" value="' . $block_id . '" /> <input type="hidden" name="from_id" value="' . $cat_id . '" /> + <input type="hidden" name="dynamic_block" value="' . $dynamic_block_id . '" /> + <input type="hidden" name="portalpage" value="' . $portalpage . '" /> <input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:51:36
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14247/modules/mx_navmenu Modified Files: NavigationMenu.pak Log Message: massive update, for mxBB 2.8.1 rc1 - most "easy to solve" bugs reported are fixed - optimized adminCP - mod_rewrite - Page IP filter - optimized blockCP - removed old files Index: NavigationMenu.pak =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/NavigationMenu.pak,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NavigationMenu.pak 22 Sep 2005 11:12:52 -0000 1.1 --- NavigationMenu.pak 22 Oct 2005 10:51:02 -0000 1.2 *************** *** 1,8 **** ! module=+:57=+:Navigation Menu=+:modules/mx_navmenu/=+:core navigation=+: New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:57=+:11=+:Navigation Menu=+:Menu Navigation=+:mx_menu_nav.php=+: parameter=+:11=+:63=+:menu_display_mode=+:Radio_single_select=+:Vertical=+:a:2:{i:0;s:8:"Vertical";i:1;s:10:"Horizontal";} parameter=+:11=+:64=+:menu_page_sync=+:Boolean=+:0=+: ! parameter=+:11=+:376=+:Nav menu=+:nav_menu=+:=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Navigation Menu=+:Demo block=+:11=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 1,8 ---- ! module=+:56=+:Navigation Menu=+:modules/mx_navmenu/=+:core navigation=+: New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:56=+:11=+:Navigation Menu=+:Menu Navigation=+:mx_menu_nav.php=+: parameter=+:11=+:63=+:menu_display_mode=+:Radio_single_select=+:Vertical=+:a:2:{i:0;s:8:"Vertical";i:1;s:10:"Horizontal";} parameter=+:11=+:64=+:menu_page_sync=+:Boolean=+:0=+: ! parameter=+:11=+:330=+:Nav menu=+:nav_menu=+:=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Navigation Menu=+:Demo block=+:11=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:51:36
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14247/modules/mx_textblocks/admin Modified Files: mx_module_defs.php Removed Files: admin_edit.php mx_textblock_edit.php Log Message: massive update, for mxBB 2.8.1 rc1 - most "easy to solve" bugs reported are fixed - optimized adminCP - mod_rewrite - Page IP filter - optimized blockCP - removed old files --- admin_edit.php DELETED --- Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/admin/mx_module_defs.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mx_module_defs.php 1 Oct 2005 14:10:46 -0000 1.7 --- mx_module_defs.php 22 Oct 2005 10:51:03 -0000 1.8 *************** *** 21,28 **** /********************************************************************************\ | Class: mx_module_defs ! | The mx_module_defs object define extra module block parameters, added to the standard core parameters. ! | ! | Usage examples: ! | \********************************************************************************/ --- 21,25 ---- /********************************************************************************\ | Class: mx_module_defs ! | The mx_module_defs object provides additional module block parameters... \********************************************************************************/ *************** *** 58,62 **** function submit_module_parameters( $parameter_data, $block_id ) { ! global $HTTP_POST_VARS, $db, $board_config, $html_entities_match, $html_entities_replace, $mx_cache; $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; --- 55,60 ---- function submit_module_parameters( $parameter_data, $block_id ) { ! global $HTTP_POST_VARS, $db, $board_config, $mx_cache, $mx_blockcp, $mx_root_path, $phpEx; ! global $html_entities_match, $html_entities_replace; $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; *************** *** 138,142 **** function display_edit_phpBBTextBlock( $block_id, $parameter_id, $parameter_data ) { ! global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $HTTP_POST_VARS; $parameter_value = isset($HTTP_POST_VARS['preview']) ? htmlspecialchars(trim(stripslashes($HTTP_POST_VARS[$parameter_data['parameter_name']]))) : $parameter_data['parameter_value']; --- 136,141 ---- function display_edit_phpBBTextBlock( $block_id, $parameter_id, $parameter_data ) { ! global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpEx, $mx_table_prefix, $table_prefix; ! global $HTTP_POST_VARS; $parameter_value = isset($HTTP_POST_VARS['preview']) ? htmlspecialchars(trim(stripslashes($HTTP_POST_VARS[$parameter_data['parameter_name']]))) : $parameter_data['parameter_value']; *************** *** 164,178 **** $smilies_status = ( $smilies_on ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; - if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) - { - $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; - } - else - { - $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; - } - $template->set_filenames(array( ! 'parameter' => $module_template_file) ); --- 163,168 ---- $smilies_status = ( $smilies_on ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; $template->set_filenames(array( ! 'parameter' => 'admin/mx_module_parameters.tpl') ); *************** *** 253,257 **** function display_edit_CustomizedTextBlock( $block_id, $parameter_id, $parameter_data ) { ! global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $HTTP_POST_VARS; $parameter_value = isset($HTTP_POST_VARS['preview']) ? htmlspecialchars(trim(stripslashes($HTTP_POST_VARS[$parameter_data['parameter_name']]))) : $parameter_data['parameter_value']; --- 243,248 ---- function display_edit_CustomizedTextBlock( $block_id, $parameter_id, $parameter_data ) { ! global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpEx, $mx_table_prefix, $table_prefix; ! global $HTTP_POST_VARS; $parameter_value = isset($HTTP_POST_VARS['preview']) ? htmlspecialchars(trim(stripslashes($HTTP_POST_VARS[$parameter_data['parameter_name']]))) : $parameter_data['parameter_value']; *************** *** 281,295 **** $smilies_status = ( $smilies_on ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; - if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) - { - $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; - } - else - { - $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; - } - $template->set_filenames(array( ! 'parameter' => $module_template_file) ); --- 272,277 ---- $smilies_status = ( $smilies_on ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; $template->set_filenames(array( ! 'parameter' => 'admin/mx_module_parameters.tpl') ); *************** *** 369,373 **** function display_edit_WysiwygTextBlock( $block_id, $parameter_id, $parameter_data ) { ! global $template, $board_config, $db, $theme, $mx_root_path, $lang, $mx_blockcp, $mx_root_path, $HTTP_POST_VARS; $parameter_value = $parameter_data['parameter_value']; --- 351,356 ---- function display_edit_WysiwygTextBlock( $block_id, $parameter_id, $parameter_data ) { ! global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpEx, $mx_table_prefix, $table_prefix; ! global $HTTP_POST_VARS; $parameter_value = $parameter_data['parameter_value']; *************** *** 380,394 **** $smilies_status = ( false ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; - if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) - { - $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; - } - else - { - $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; - } - $template->set_filenames(array( ! 'parameter' => $module_template_file) ); --- 363,368 ---- $smilies_status = ( false ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; $template->set_filenames(array( ! 'parameter' => 'admin/mx_module_parameters.tpl') ); --- mx_textblock_edit.php DELETED --- |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:51:33
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14247/modules/mx_coreblocks Modified Files: mx_blockcp.php Log Message: massive update, for mxBB 2.8.1 rc1 - most "easy to solve" bugs reported are fixed - optimized adminCP - mod_rewrite - Page IP filter - optimized blockCP - removed old files Index: mx_blockcp.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_blockcp.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mx_blockcp.php 2 Oct 2005 21:24:30 -0000 1.5 --- mx_blockcp.php 22 Oct 2005 10:51:02 -0000 1.6 *************** *** 143,160 **** // SUBMIT? // ! if( ($submit || $submit_pars) && !empty($mode) && !empty($action) ) { // // Get vars // ! $block_id = $mx_request_vars->request('id', MX_TYPE_INT, ''); $dynamic_block_id = $mx_request_vars->request('dynamic_block', MX_TYPE_INT, ''); ! if( $submit ) { // // Send to adminCP // ! $result_message = $mx_admin->do_it($mode, $action, $block_id); } --- 143,177 ---- // SUBMIT? // ! if( !empty($mode) && !empty($action) ) { // // Get vars // ! $id = $mx_request_vars->request('id', MX_TYPE_INT, ''); $dynamic_block_id = $mx_request_vars->request('dynamic_block', MX_TYPE_INT, ''); ! if( !$submit_pars ) { + $module_id = $mx_request_vars->request('module_id', MX_TYPE_INT, ''); + $function_id = $mx_request_vars->request('function_id', MX_TYPE_INT, ''); + // // Send to adminCP // ! $result_message = $mx_admin->do_it($mode, $action, $id); ! ! // ! // If new block, load new block settings panel ! // ! if (is_array($result_message)) ! { ! $block_id = $result_message['new_id']; ! $result_message = $result_message['text']; ! } ! ! if ($action == MX_DO_DELETE) ! { ! $block_id = ''; ! } } *************** *** 164,172 **** // Send to BlockCP // ! $result_message = $mx_blockcp->submit_parameters($block_id); } $has_dyn_block_id = $dynamic_block_id > 0 ? '&dynamic_block='.$dynamic_block_id : ''; ! $message = $lang['BlockCP_Config_updated'] . '<br /><br />' . sprintf($lang['Click_return_blockCP_admin'], '<a href="' . append_sid($mx_root_path ."modules/mx_coreblocks/mx_blockcp.$phpEx?block_id=$block_id&portalpage=$portalpage$has_dyn_block_id&sid=$sid") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_portalpage_admin'], '<a href="' . append_sid(PORTAL_URL . "index.$phpEx?page=$portalpage$has_dyn_block_id") . '">', '</a>'); mx_message_die(GENERAL_MESSAGE, $message); --- 181,189 ---- // Send to BlockCP // ! $result_message = $mx_blockcp->submit_parameters($id); } $has_dyn_block_id = $dynamic_block_id > 0 ? '&dynamic_block='.$dynamic_block_id : ''; ! $message = $lang['BlockCP_Config_updated'] . '<br /><br />' . sprintf($lang['Click_return_blockCP_admin'], '<a href="' . append_sid($mx_root_path ."modules/mx_coreblocks/mx_blockcp.$phpEx?block_id=$block_id&module_id=$module_id&function_id=$function_id&portalpage=$portalpage$has_dyn_block_id&sid=$sid") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_portalpage_admin'], '<a href="' . append_sid(PORTAL_URL . "index.$phpEx?page=$portalpage$has_dyn_block_id") . '">', '</a>'); mx_message_die(GENERAL_MESSAGE, $message); *************** *** 238,241 **** --- 255,259 ---- )); + $mx_blockcp->blockcp_mode = 'mx_blockcp'; $mx_blockcp->generate_cp($block_id, $new_block); |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:51:31
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14247/install Modified Files: mx_install.php Log Message: massive update, for mxBB 2.8.1 rc1 - most "easy to solve" bugs reported are fixed - optimized adminCP - mod_rewrite - Page IP filter - optimized blockCP - removed old files Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** mx_install.php 12 Oct 2005 16:07:21 -0000 1.50 --- mx_install.php 22 Oct 2005 10:51:02 -0000 1.51 *************** *** 48,52 **** // $mx_portal_name = 'mxBB-Portal'; ! $mx_portal_version = '2.8 - RC7'; // --- 48,52 ---- // $mx_portal_name = 'mxBB-Portal'; ! $mx_portal_version = '2.8.1 rc1'; // |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:51:30
|
Update of /cvsroot/mxbb/core/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14247/language/lang_english Modified Files: lang_admin.php Log Message: massive update, for mxBB 2.8.1 rc1 - most "easy to solve" bugs reported are fixed - optimized adminCP - mod_rewrite - Page IP filter - optimized blockCP - removed old files Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/language/lang_english/lang_admin.php,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** lang_admin.php 16 Oct 2005 12:49:33 -0000 1.46 --- lang_admin.php 22 Oct 2005 10:51:02 -0000 1.47 *************** *** 63,69 **** $lang['No_pages'] = "No pages created"; $lang['No_settings'] = "No further settings for this block"; ! $lang['Quick_nav_modules'] = "Quick Module Navigation"; ! $lang['Quick_nav_pages'] = "Quick Pages Navigation"; $lang['Include_all_modules'] = "List all modules"; $lang['Include_all_pages'] = "List all pages"; $lang['View'] = "View"; --- 63,70 ---- $lang['No_pages'] = "No pages created"; $lang['No_settings'] = "No further settings for this block"; ! $lang['Quick_nav'] = "Quick Navigation"; $lang['Include_all_modules'] = "List all modules"; + $lang['Include_block_quickedit'] = "Include Block Quickedit panel"; + $lang['Include_block_private'] = "Include Block Private Auth Panel"; $lang['Include_all_pages'] = "List all pages"; $lang['View'] = "View"; *************** *** 268,272 **** $lang['Page_Id'] = "Page ID"; $lang['Page_icon'] = "Page Icon <br /> - to be used in the adminCP only, eg. icon_home.gif (default)"; ! $lang['Page_header'] = "Page header file <br /> - i.e. overall_header.php (default), overall_noheader.php (no header) or user custom header file."; $lang['Auth_Page'] = "Permissions"; $lang['Select_sort_method'] = "Select Sort Method"; --- 269,273 ---- $lang['Page_Id'] = "Page ID"; $lang['Page_icon'] = "Page Icon <br /> - to be used in the adminCP only, eg. icon_home.gif (default)"; ! $lang['Page_header'] = "Page header file <br /> - i.e. overall_header.tpl (default), overall_noheader.tpl (no header) or user custom header file."; $lang['Auth_Page'] = "Permissions"; $lang['Select_sort_method'] = "Select Sort Method"; |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:51:30
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14247/admin Modified Files: admin_mx_block_cp.php admin_mx_module.php admin_mx_module_cp.php admin_mx_page_cp.php Log Message: massive update, for mxBB 2.8.1 rc1 - most "easy to solve" bugs reported are fixed - optimized adminCP - mod_rewrite - Page IP filter - optimized blockCP - removed old files Index: admin_mx_module_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_module_cp.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** admin_mx_module_cp.php 1 Oct 2005 14:10:44 -0000 1.6 --- admin_mx_module_cp.php 22 Oct 2005 10:51:02 -0000 1.7 *************** *** 43,48 **** // Instatiate the $mx_dynamic_select class (dynamic block select javascript) // ! $mx_dynamic_select = new mx_dynamic_select(); ! $mx_dynamic_select->generate(); // --- 43,48 ---- // Instatiate the $mx_dynamic_select class (dynamic block select javascript) // ! //$mx_dynamic_select = new mx_dynamic_select(); ! //$mx_dynamic_select->generate(); // *************** *** 76,84 **** --- 76,95 ---- // $result_message = $mx_admin->do_it($mode, $action, $id); + + // + // If new page, load new page settings panel + // + if (is_array($result_message)) + { + $new_id = $result_message['new_id']; + $result_message = $result_message['text']; + } $result_message = $lang['AdminCP_status'] . '<hr>' . $result_message; } // if .. !empty($mode) + // // Load states + // $cookie_tmp = $board_config['cookie_name'].'_admincp_blockstates'; $cookie_states = !empty($HTTP_COOKIE_VARS[$cookie_tmp]) ? explode(",", $HTTP_COOKIE_VARS[$cookie_tmp]) : array(); *************** *** 86,89 **** --- 97,139 ---- $sort_cookie = !empty($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_pagesort']) ? explode(",", $HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_pagesort']) : array(); + if ( isset( $HTTP_POST_VARS['include_block_quickedit'] ) ) + { + switch ( $HTTP_POST_VARS['include_block_quickedit'] ) + { + case '0': + $mx_modulecp_include_block_quickedit = false; + break; + case '1': + $mx_modulecp_include_block_quickedit = true; + break; + default: + $mx_modulecp_include_block_quickedit = !empty($sort_cookie[3]) ? $sort_cookie[3] == '1' : false; + } + } + else + { + $mx_modulecp_include_block_quickedit = !empty($sort_cookie[3]) ? $sort_cookie[3] == '1' : false; + } + + if ( isset( $HTTP_POST_VARS['include_block_private'] ) ) + { + switch ( $HTTP_POST_VARS['include_block_private'] ) + { + case '0': + $mx_modulecp_include_block_private = false; + break; + case '1': + $mx_modulecp_include_block_private = true; + break; + default: + $mx_modulecp_include_block_private = !empty($sort_cookie[4]) ? $sort_cookie[4] == '1' : false; + } + } + else + { + $mx_modulecp_include_block_private = !empty($sort_cookie[4]) ? $sort_cookie[4] == '1' : false; + } + + /* if ( isset( $HTTP_POST_VARS['include_all'] ) ) { *************** *** 97,113 **** break; default: ! $include_all = isset($sort_cookie[3]) ? $sort_cookie[3] : '0'; } } else { ! $include_all = isset($sort_cookie[3]) ? $sort_cookie[3] : '0'; } ! $sort_cookie = array(isset($sort_cookie[0]) ? $sort_cookie[0] : '', isset($sort_cookie[1]) ? $sort_cookie[1] : '', isset($sort_cookie[2]) ? $sort_cookie[2] : $include_all, $include_all); setcookie($board_config['cookie_name'] . '_pagesort', implode(',', $sort_cookie), time() + 10000000, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']); - // -------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------- --- 147,165 ---- break; default: ! $include_all = isset($sort_cookie[5]) ? $sort_cookie[5] : '0'; } } else { ! $include_all = isset($sort_cookie[5]) ? $sort_cookie[5] : '0'; ! } + */ + $include_all = 0; ! $sort_cookie = array(isset($sort_cookie[0]) ? $sort_cookie[0] : '', isset($sort_cookie[1]) ? $sort_cookie[1] : '', isset($sort_cookie[2]) ? $sort_cookie[2] : intval($include_all), intval($mx_modulecp_include_block_quickedit), intval($mx_modulecp_include_block_private), intval($include_all)); setcookie($board_config['cookie_name'] . '_pagesort', implode(',', $sort_cookie), time() + 10000000, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']); // -------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------- *************** *** 151,158 **** // - // Hidden vars - // - - // // Send to template // --- 203,206 ---- *************** *** 185,190 **** 'L_RESYNC' => $lang['Resync'], ! 'L_QUICK_NAV' => $lang['Quick_nav_modules'], 'L_INCLUDE_ALL' => $lang['Include_all_modules'], --- 233,240 ---- 'L_RESYNC' => $lang['Resync'], ! 'L_QUICK_NAV' => $lang['Quick_nav'], 'L_INCLUDE_ALL' => $lang['Include_all_modules'], + 'L_INCLUDE_BLOCK_QUICKEDIT' => $lang['Include_block_quickedit'], + 'L_INCLUDE_BLOCK_PRIVATE' => $lang['Include_block_private'], *************** *** 265,269 **** 'S_INCLUDE_ALL_YES' => ( $include_all == '1' ) ? 'checked="checked"' : '', ! 'S_INCLUDE_ALL_NO' => ( $include_all == '0' ) ? 'checked="checked"' : '' )); --- 315,325 ---- 'S_INCLUDE_ALL_YES' => ( $include_all == '1' ) ? 'checked="checked"' : '', ! 'S_INCLUDE_ALL_NO' => ( $include_all == '0' ) ? 'checked="checked"' : '', ! ! 'S_INCLUDE_BLOCK_QUICKEDIT_YES' => ( $mx_modulecp_include_block_quickedit == '1' ) ? 'checked="checked"' : '', ! 'S_INCLUDE_BLOCK_QUICKEDIT_NO' => ( $mx_modulecp_include_block_quickedit == '0' ) ? 'checked="checked"' : '', ! ! 'S_INCLUDE_BLOCK_PRIVATE_YES' => ( $mx_modulecp_include_block_private == '1' ) ? 'checked="checked"' : '', ! 'S_INCLUDE_BLOCK_PRIVATE_NO' => ( $mx_modulecp_include_block_private == '0' ) ? 'checked="checked"' : '' )); *************** *** 273,290 **** // ! ! // Get the list of phpBB usergroups ! $sql = "SELECT group_id, group_name ! FROM " . GROUPS_TABLE . " ! WHERE group_single_user <> " . TRUE . " ! ORDER BY group_name ASC"; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, 'Could not get group list', '', __LINE__, __FILE__, $sql); ! } ! ! while( $row = $db->sql_fetchrow($result) ) { ! $groupdata[] = $row; } --- 329,350 ---- // ! if ($mx_modulecp_include_block_private) { ! // ! // Get the list of phpBB usergroups ! // ! $sql = "SELECT group_id, group_name ! FROM " . GROUPS_TABLE . " ! WHERE group_single_user <> " . TRUE . " ! ORDER BY group_name ASC"; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, 'Could not get group list', '', __LINE__, __FILE__, $sql); ! } ! ! while( $row = $db->sql_fetchrow($result) ) ! { ! $groupdata[] = $row; ! } } *************** *** 419,424 **** $type_row['Separator'] = !empty($lang['ParType_Separator']) ? $lang['ParType_Separator'] : "-Separator-"; - //$type_row['Values'] = !empty($lang['ParType_Values']) ? $lang['ParType_Values'] : "Values"; - // // Module subpanel - edit --- 479,482 ---- *************** *** 622,626 **** } - //$functionlist = get_list('function_id', FUNCTION_TABLE, 'function_id', 'function_name', $function_id, true); // // Parameter loop --- 680,683 ---- *************** *** 754,758 **** )); } ! // // Block loop --- 811,815 ---- )); } ! // // Block loop *************** *** 872,876 **** 'E_BLOCK_TITLE' => $block_title, 'E_BLOCK_DESC' => $block_desc, - //'S_FUNCTION_LIST' => $functionlist, 'S_SHOW_BLOCK_YES' => $show_block_yes, --- 929,932 ---- *************** *** 892,975 **** )); ! // ! // Auth ! // ! for( $l = 0; $l < count($block_auth_fields); $l++ ) { ! $custom_auth[$l] = ' <select name="' . $block_auth_fields[$l] . '">'; ! ! for( $k = 0; $k < count($block_auth_levels); $k++ ) { ! $selected = ( $block_rows[$block_count][$block_auth_fields[$l]] == $block_auth_const[$k] ) ? ' selected="selected"' : ''; ! $custom_auth[$l] .= '<option value="' . $block_auth_const[$k] . '"' . $selected . '>' . $lang['AUTH_' . $block_auth_levels[$k]] . "</option>\n"; } - $custom_auth[$l] .= '</select> '; - - $cell_title = $field_names[$block_auth_fields[$l]]; - - $template->assign_block_vars('module.function.block.block_auth_titles', array( - 'CELL_TITLE' => $cell_title - )); - $template->assign_block_vars('module.function.block.block_auth_data', array( - 'S_AUTH_LEVELS_SELECT' => $custom_auth[$l] - )); - - $s_column_span++; } ! // ! // PRIVATE auth ! // ! $view_groups = @explode(',', $block_rows[$block_count]['auth_view_group']); ! $edit_groups = @explode(',', $block_rows[$block_count]['auth_edit_group']); ! $moderator_groups = @explode(',', $block_rows[$block_count]['auth_moderator_group']); ! ! $row_private = ''; ! for( $i = 0; $i < count($groupdata); $i++ ) { ! $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">'; ! ! if ( $block_rows[$block_count]['auth_view'] == AUTH_ACL ) ! { ! $view_checked = in_array($groupdata[$i]['group_id'], $view_groups) ? 'checked="checked"' : ''; ! $row_private .= '<input name="view[]" type="checkbox" ' . $view_checked . 'value="'.$groupdata[$i]['group_id'].'" />'; ! } ! else { ! $row_private .= '-'; ! } ! $row_private .= '</td>'; ! $row_private .= '<td width="20%" class="'.$row_color.'" align="center">'; ! ! if ( $block_rows[$block_count]['auth_edit'] == AUTH_ACL ) ! { ! $edit_checked = in_array($groupdata[$i]['group_id'], $edit_groups) ? 'checked="checked"' : ''; ! $row_private .= '<input name="edit[]" type="checkbox" ' . $edit_checked . 'value="'.$groupdata[$i]['group_id'].'" />'; ! } ! else ! { ! $row_private .= '-'; } ! ! $row_private .= '</td>'; ! ! $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"; } - $template->assign_block_vars('module.function.block.grouprows', array( - 'GROUP_ROWS' => $row_private - )); - if (!$new_block) { $template->assign_block_vars('module.function.block.is_block', array()); ! } --- 948,1047 ---- )); ! if ($mx_modulecp_include_block_quickedit) { ! // ! // Auth ! // ! for( $l = 0; $l < count($block_auth_fields); $l++ ) { ! $custom_auth[$l] = ' <select name="' . $block_auth_fields[$l] . '">'; ! ! for( $k = 0; $k < count($block_auth_levels); $k++ ) ! { ! $selected = ( $block_rows[$block_count][$block_auth_fields[$l]] == $block_auth_const[$k] ) ? ' selected="selected"' : ''; ! $custom_auth[$l] .= '<option value="' . $block_auth_const[$k] . '"' . $selected . '>' . $lang['AUTH_' . $block_auth_levels[$k]] . "</option>\n"; ! } ! $custom_auth[$l] .= '</select> '; ! ! $cell_title = $field_names[$block_auth_fields[$l]]; ! ! $template->assign_block_vars('module.function.block.block_auth_titles', array( ! 'CELL_TITLE' => $cell_title ! )); ! $template->assign_block_vars('module.function.block.block_auth_data', array( ! 'S_AUTH_LEVELS_SELECT' => $custom_auth[$l] ! )); ! ! $s_column_span++; } } ! if ($mx_modulecp_include_block_private) { ! // ! // PRIVATE auth ! // ! $view_groups = @explode(',', $block_rows[$block_count]['auth_view_group']); ! $edit_groups = @explode(',', $block_rows[$block_count]['auth_edit_group']); ! $moderator_groups = @explode(',', $block_rows[$block_count]['auth_moderator_group']); ! ! $row_private = ''; ! for( $i = 0; $i < count($groupdata); $i++ ) { ! $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">'; ! ! if ( $block_rows[$block_count]['auth_view'] == AUTH_ACL ) ! { ! $view_checked = in_array($groupdata[$i]['group_id'], $view_groups) ? 'checked="checked"' : ''; ! $row_private .= '<input name="view[]" type="checkbox" ' . $view_checked . 'value="'.$groupdata[$i]['group_id'].'" />'; ! } ! else ! { ! $row_private .= '-'; ! } ! ! $row_private .= '</td>'; ! $row_private .= '<td width="20%" class="'.$row_color.'" align="center">'; ! ! if ( $block_rows[$block_count]['auth_edit'] == AUTH_ACL ) ! { ! $edit_checked = in_array($groupdata[$i]['group_id'], $edit_groups) ? 'checked="checked"' : ''; ! $row_private .= '<input name="edit[]" type="checkbox" ' . $edit_checked . 'value="'.$groupdata[$i]['group_id'].'" />'; ! } ! else ! { ! $row_private .= '-'; ! } ! ! $row_private .= '</td>'; ! $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"; } ! ! $template->assign_block_vars('module.function.block.grouprows', array( ! 'GROUP_ROWS' => $row_private ! )); } if (!$new_block) { $template->assign_block_vars('module.function.block.is_block', array()); ! } ! ! if ( $mx_modulecp_include_block_private ) ! { ! $template->assign_block_vars('module.function.block.is_block.include_block_private', array()); ! } ! ! if ( $mx_modulecp_include_block_quickedit ) ! { ! $template->assign_block_vars('module.function.block.is_block.include_block_edit', array()); ! } *************** *** 981,985 **** // Create quick nav box // - $module_select_box = get_list_static('module_id', $module_rows_select, $nav_module_id, false); --- 1053,1056 ---- Index: admin_mx_page_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_page_cp.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** admin_mx_page_cp.php 12 Oct 2005 15:37:32 -0000 1.7 --- admin_mx_page_cp.php 22 Oct 2005 10:51:02 -0000 1.8 *************** *** 61,64 **** --- 61,66 ---- } + setcookie($board_config['cookie_name'] . '_adminPage_page_id', $nav_page_id, time() + 10000000, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']); + if( !empty($mode) && !empty($action) ) { *************** *** 139,142 **** --- 141,145 ---- } + /* if ( isset( $HTTP_POST_VARS['include_all'] ) ) { *************** *** 157,162 **** $include_all = isset($sort_cookie[2]) ? $sort_cookie[2] : '0'; } ! $sort_cookie = array($sort_method, $sort_order, $include_all, isset($sort_cookie[3]) ? $sort_cookie[3] : $include_all); setcookie($board_config['cookie_name'] . '_pagesort', implode(',', $sort_cookie), time() + 10000000, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']); --- 160,167 ---- $include_all = isset($sort_cookie[2]) ? $sort_cookie[2] : '0'; } + */ + $include_all = 0; ! $sort_cookie = array($sort_method, $sort_order, $include_all, isset($sort_cookie[3]) ? $sort_cookie[3] : intval($include_all), isset($sort_cookie[4]) ? $sort_cookie[4] : '', isset($sort_cookie[5]) ? $sort_cookie[5] : $include_all); setcookie($board_config['cookie_name'] . '_pagesort', implode(',', $sort_cookie), time() + 10000000, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']); *************** *** 233,237 **** 'L_CREATE_PAGE' => $lang['Add_Page'], ! 'L_QUICK_NAV' => $lang['Quick_nav_pages'], 'L_INCLUDE_ALL' => $lang['Include_all_pages'], --- 238,242 ---- 'L_CREATE_PAGE' => $lang['Add_Page'], ! 'L_QUICK_NAV' => $lang['Quick_nav'], 'L_INCLUDE_ALL' => $lang['Include_all_pages'], Index: admin_mx_block_cp.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_block_cp.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_mx_block_cp.php 2 Oct 2005 21:24:29 -0000 1.5 --- admin_mx_block_cp.php 22 Oct 2005 10:51:01 -0000 1.6 *************** *** 95,99 **** // SUBMIT? // ! if( ($submit || $submit_pars) && !empty($mode) && !empty($action) ) { // --- 95,99 ---- // SUBMIT? // ! if( !empty($mode) && !empty($action) ) { // *************** *** 101,112 **** // //$portalpage = $mx_request_vars->request('portalpage', MX_TYPE_INT, 1); ! $block_id = $mx_request_vars->request('id', MX_TYPE_INT, ''); ! if( $submit ) { // // Send to adminCP // ! $result_message = $mx_admin->do_it($mode, $action, $block_id); } --- 101,131 ---- // //$portalpage = $mx_request_vars->request('portalpage', MX_TYPE_INT, 1); ! $id = $mx_request_vars->request('id', MX_TYPE_INT, ''); ! if( !$submit_pars ) { + $module_id = $mx_request_vars->request('module_id', MX_TYPE_INT, ''); + $function_id = $mx_request_vars->request('function_id', MX_TYPE_INT, ''); + // // Send to adminCP // ! $result_message = $mx_admin->do_it($mode, $action, $id); ! ! // ! // If new block, load new block settings panel ! // ! if (is_array($result_message)) ! { ! $block_id = $result_message['new_id']; ! $result_message = $result_message['text']; ! } ! ! if ($action == MX_DO_DELETE) ! { ! $block_id = ''; ! $message = $lang['BlockCP_Config_updated'] . '<br /><br />' . sprintf($lang['Click_return_blockCP_admin'], '<a href="' . append_sid(PORTAL_URL ."admin/admin_mx_block_cp.$phpEx?block_id=$block_id&module_id=$module_id&function_id=$function_id&portalpage=$portalpage$has_dyn_block_id&sid=".$userdata['session_id']) . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_portalpage_admin'], '<a href="' . append_sid(PORTAL_URL . "index.$phpEx?page=$portalpage$has_dyn_block_id") . '">', '</a>'); ! mx_message_die(GENERAL_MESSAGE, $message); ! } } *************** *** 116,120 **** // Send to BlockCP // ! $result_message = $mx_blockcp->submit_parameters($block_id); } --- 135,139 ---- // Send to BlockCP // ! $result_message = $mx_blockcp->submit_parameters($id); } *************** *** 199,202 **** --- 218,222 ---- )); + $mx_blockcp->blockcp_mode = 'admin_mx_block_cp'; $mx_blockcp->generate_cp($block_id, $new_block); Index: admin_mx_module.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_module.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** admin_mx_module.php 19 Oct 2005 16:02:13 -0000 1.37 --- admin_mx_module.php 22 Oct 2005 10:51:01 -0000 1.38 *************** *** 167,172 **** 'L_UPGRADE_PACK' => $lang['upgrade_module_pack'], 'L_EXPORT_PACK' => $lang['export_module_pack'], ! ! 'L_QUICK_NAV' => $lang['Quick_nav_modules'], 'IMG_URL_CONTRACT' => $admin_icon['contract'], --- 167,171 ---- 'L_UPGRADE_PACK' => $lang['upgrade_module_pack'], 'L_EXPORT_PACK' => $lang['export_module_pack'], ! 'L_QUICK_NAV' => $lang['Quick_nav'], 'IMG_URL_CONTRACT' => $admin_icon['contract'], |
|
From: Jon O. <jon...@us...> - 2005-10-22 10:51:28
|
Update of /cvsroot/mxbb/core/templates/subSilver/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14247/templates/subSilver/admin Modified Files: mx_blockcp_admin_body.tpl mx_module_admin_body.tpl mx_modulecp_admin_body.tpl mx_pagecp_admin_body.tpl Log Message: massive update, for mxBB 2.8.1 rc1 - most "easy to solve" bugs reported are fixed - optimized adminCP - mod_rewrite - Page IP filter - optimized blockCP - removed old files Index: mx_modulecp_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/mx_modulecp_admin_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_modulecp_admin_body.tpl 9 Sep 2005 09:15:13 -0000 1.1 --- mx_modulecp_admin_body.tpl 22 Oct 2005 10:51:03 -0000 1.2 *************** *** 258,268 **** <tr> <td align="left"> ! <span class="gensmall">{L_INCLUDE_ALL}: <input type="radio" name="include_all" value="1" {S_INCLUDE_ALL_YES} /> {L_YES} <input type="radio" name="include_all" value="0" {S_INCLUDE_ALL_NO} /> {L_NO} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> </span> </td> <td nowrap="nowrap" align="right"> ! <span class="gensmall">{L_QUICK_NAV} {MODULE_SELECT_BOX} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> --- 258,282 ---- <tr> <td align="left"> ! <!-- ! <span class="gensmall"><b>{L_INCLUDE_ALL}:</b> <input type="radio" name="include_all" value="1" {S_INCLUDE_ALL_YES} /> {L_YES} <input type="radio" name="include_all" value="0" {S_INCLUDE_ALL_NO} /> {L_NO} + + <input type="submit" value="{S_SUBMIT}" class="liteoption" /> + + <br /> + --> + <span class="gensmall"><b>{L_INCLUDE_BLOCK_QUICKEDIT}:</b> + <input type="radio" name="include_block_quickedit" value="1" {S_INCLUDE_BLOCK_QUICKEDIT_YES} /> {L_YES} <input type="radio" name="include_block_quickedit" value="0" {S_INCLUDE_BLOCK_QUICKEDIT_NO} /> {L_NO} + + + + <span class="gensmall"><b>{L_INCLUDE_BLOCK_PRIVATE}:</b> + <input type="radio" name="include_block_private" value="1" {S_INCLUDE_BLOCK_PRIVATE_YES} /> {L_YES} <input type="radio" name="include_block_private" value="0" {S_INCLUDE_BLOCK_PRIVATE_NO} /> {L_NO} + <input type="submit" value="{S_SUBMIT}" class="liteoption" /> </span> </td> <td nowrap="nowrap" align="right"> ! <span class="gensmall"><b>{L_QUICK_NAV}</b> {MODULE_SELECT_BOX} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> *************** *** 556,567 **** <img src="{IMG_ICON_BLOCK}" border="0" align="absmiddle"> <span class="gen">{module.function.block.BLOCK_TITLE}</span> <span class="gensmall"><i>{module.function.block.BLOCK_LAST_EDITED}</i></span> <span class="gensmall">{module.function.block.BLOCK_DESC}</span> </td> ! <td width="15%" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminEdit_');" class="row1"> <!-- BEGIN is_block --> ! <img name="adminEdit_image_{module.function.block.BLOCK_ID}" src="{module.function.block.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="genmed">{module.function.block.L_EDIT}</span> <!-- END is_block --> </td> <td width="15%" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminPrivate_');" class="row1"> <!-- BEGIN is_block --> ! <img name="adminPrivate_image_{module.function.block.BLOCK_ID}" src="{module.function.block.IMG_URL_PRIVATE}" border="0" align="absmiddle"> <span class="genmed">{module.function.block.L_PERMISSIONS_ADV}</span> <!-- END is_block --> </td> --- 570,587 ---- <img src="{IMG_ICON_BLOCK}" border="0" align="absmiddle"> <span class="gen">{module.function.block.BLOCK_TITLE}</span> <span class="gensmall"><i>{module.function.block.BLOCK_LAST_EDITED}</i></span> <span class="gensmall">{module.function.block.BLOCK_DESC}</span> </td> ! <td width="15%" align="right" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminEdit_');" class="row1"> <!-- BEGIN is_block --> ! ! <!-- BEGIN include_block_edit --> ! <img name="adminEdit_image_{module.function.block.BLOCK_ID}" src="{module.function.block.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="genmed">{module.function.block.L_EDIT}</span> ! <!-- END include_block_edit --> <!-- END is_block --> </td> <td width="15%" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{module.function.block.BLOCK_ID}','adminPrivate_');" class="row1"> <!-- BEGIN is_block --> ! ! <!-- BEGIN include_block_private --> ! <img name="adminPrivate_image_{module.function.block.BLOCK_ID}" src="{module.function.block.IMG_URL_PRIVATE}" border="0" align="absmiddle"> <span class="genmed">{module.function.block.L_PERMISSIONS_ADV}</span> ! <!-- END include_block_private --> <!-- END is_block --> </td> *************** *** 682,686 **** <td class="row1" align="center" colspan="4"> <div style="overflow:auto; overflow-y:scroll; height:150px;"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <!-- BEGIN grouprows --> {module.function.block.grouprows.GROUP_ROWS} --- 702,706 ---- <td class="row1" align="center" colspan="4"> <div style="overflow:auto; overflow-y:scroll; height:150px;"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <!-- BEGIN grouprows --> {module.function.block.grouprows.GROUP_ROWS} *************** *** 698,702 **** </div> </td> ! </tr> <!-- Block PRIVATE Auth --> --- 718,722 ---- </div> </td> ! </tr> <!-- Block PRIVATE Auth --> Index: mx_pagecp_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/mx_pagecp_admin_body.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_pagecp_admin_body.tpl 12 Oct 2005 15:37:33 -0000 1.3 --- mx_pagecp_admin_body.tpl 22 Oct 2005 10:51:03 -0000 1.4 *************** *** 108,111 **** --- 108,112 ---- parentEditMode = 'adminPageEdit_'; parentPrivateMode = 'adminPagePrivate_'; + parentDeleteMode = 'adminPageDelete_'; parentSettingsMode = 'adminPageSettings_'; parentTemplateMode = 'adminTemplateEdit_'; *************** *** 114,117 **** --- 115,119 ---- parentEditCat = parentEditMode + cat_id; parentPrivateCat = parentPrivateMode + cat_id; + parentDeleteCat = parentDeleteMode + cat_id; parentSettingsCat = parentSettingsMode + cat_id; parentTemplateCat = parentTemplateMode + cat_id; *************** *** 135,138 **** --- 137,141 ---- (currentCat == parentPrivateCat && menuCats[forCat].menu_mode != parentPageMode && menuCats[forCat].status == 'block') || (currentCat == parentSettingsCat && menuCats[forCat].menu_mode != parentPageMode && menuCats[forCat].status == 'block') || + (currentCat == parentDeleteCat && menuCats[forCat].menu_mode != parentPageMode && menuCats[forCat].status == 'block') || (currentCat == parentTemplateCat && menuCats[forCat].menu_mode != parentPageMode && menuCats[forCat].status == 'block') || *************** *** 152,157 **** if( currentStatus == 'none' ) { ! if (menuCats[parentPageCat]) { if (menuCats[parentPageCat].status == 'none') { --- 155,161 ---- if( currentStatus == 'none' ) { ! if (menuCats[parentPageCat] && menuCats[forCat].menu_mode == parentPageMode) { + alert(parentPageCat); if (menuCats[parentPageCat].status == 'none') { *************** *** 174,181 **** var expdate = new Date(); // 72 Hours from now expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); ! setCookie('{COOKIE_NAME}_'+type+'page_id', cat_id, expdate, ! ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ! ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ! ('{COOKIE_SECURE}' == '0') ? false : true); } --- 178,185 ---- var expdate = new Date(); // 72 Hours from now expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); ! //setCookie('{COOKIE_NAME}_'+type+'page_id', cat_id, expdate, ! // ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ! // ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', ! // ('{COOKIE_SECURE}' == '0') ? false : true); } *************** *** 187,193 **** else { ! delCookie('{COOKIE_NAME}_'+type+'page_id', ! ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ! ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); } --- 191,197 ---- else { ! //delCookie('{COOKIE_NAME}_'+type+'page_id', ! // ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', ! // ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); } *************** *** 281,287 **** <form method="post" name="jumpbox" action="{S_ACTION}"> <table width="100%" cellspacing="0" cellpadding="0" border="0" > <tr> <td colspan="2"> ! <span class="gensmall">{L_INCLUDE_ALL}: <input type="radio" name="include_all" value="1" {S_INCLUDE_ALL_YES} /> {L_YES} <input type="radio" name="include_all" value="0" {S_INCLUDE_ALL_NO} /> {L_NO} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> --- 285,292 ---- <form method="post" name="jumpbox" action="{S_ACTION}"> <table width="100%" cellspacing="0" cellpadding="0" border="0" > + <!-- <tr> <td colspan="2"> ! <span class="gensmall"><b>{L_INCLUDE_ALL}:</b> <input type="radio" name="include_all" value="1" {S_INCLUDE_ALL_YES} /> {L_YES} <input type="radio" name="include_all" value="0" {S_INCLUDE_ALL_NO} /> {L_NO} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> *************** *** 289,296 **** </td> </tr> <tr> <td align="left"> <span class="genmed"> ! {L_SELECT_SORT_METHOD}: <select name="sort_method"> <option {S_PAGE_TITLE} value='page_name'>{L_SORT_TITLE}</option> --- 294,302 ---- </td> </tr> + --> <tr> <td align="left"> <span class="genmed"> ! <b>{L_SELECT_SORT_METHOD}:</b> <select name="sort_method"> <option {S_PAGE_TITLE} value='page_name'>{L_SORT_TITLE}</option> *************** *** 298,302 **** <option {S_PAGE_ID} value='page_id'>{L_SORT_ID}</option> </select> ! {L_ORDER}: <select name="sort_order"> <option {SORT_ASC} value="ASC">{L_ASC}</option> --- 304,308 ---- <option {S_PAGE_ID} value='page_id'>{L_SORT_ID}</option> </select> ! <b>{L_ORDER}:</b> <select name="sort_order"> <option {SORT_ASC} value="ASC">{L_ASC}</option> *************** *** 307,311 **** </td> <td nowrap="nowrap" align="right"> ! <span class="gensmall">{L_QUICK_NAV} {PAGE_SELECT_BOX} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> --- 313,317 ---- </td> <td nowrap="nowrap" align="right"> ! <span class="gensmall"><b>{L_QUICK_NAV}</b> {PAGE_SELECT_BOX} <input type="submit" value="{S_SUBMIT}" class="liteoption" /> *************** *** 321,513 **** <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" align="center"> <tr> ! <td align="center">{RESULT_MESSAGE}</td> </tr> <tr> ! <th class="thHead">{L_TITLE_TEMPLATES}</th> ! </tr> ! <tr> ! <td class="catLeft" align="left" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('Template','adminPage_');"> <img name="adminPage_image_Template" src="{IMG_URL}" border="0" align="absmiddle"> <span class="topictitle">{L_TITLE_TEMPLATE}</span></td> ! </tr> ! <tr> ! <td class="row2"> ! <div id="adminPage_Template" style="display:{VISIBLE};" class="genmed"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td bgcolor="#006699" width="10"></td> ! <td> ! ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> ! <!-- BEGIN notemplates --> ! <tr> ! <td class="row1"><span class="gensmall">{nopages.NONE}</span></td> ! </tr> ! <!-- END notemplates --> ! ! <!-- BEGIN templates --> ! <tr> ! <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <!-- BEGIN new_template --> ! <td width="80%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}','adminTemplateEdit_');"> <img name="adminTemplateEdit_image_{templates.TEMPLATE_ID}" src="{templates.IMG_URL}" border="0" align="absmiddle"> {templates.TEMPLATE_ICON} <span class="cattitle">{templates.TEMPLATE_TITLE}</span></td> ! <!-- END new_template --> ! <!-- BEGIN current_template --> ! <td width="80%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}','adminTemplateEdit_');"> <img name="adminTemplateEdit_image_{templates.TEMPLATE_ID}" src="{templates.IMG_URL}" border="0" align="absmiddle"> {templates.TEMPLATE_ICON} <span class="cattitle">{templates.TEMPLATE_TITLE}</span></td> ! <!-- END current_template --> ! <td width="20%" class="catRight" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}','adminTemplateDelete_');"> ! <!-- BEGIN delete --> ! <img name="adminTemplateDelete_image_{templates.TEMPLATE_ID}" src="{templates.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gen">{L_DELETE}</span> ! <!-- END delete --> ! </td> ! </tr> ! ! <!-- Function Delete --> ! <tr> ! <td colspan="2" class="row1"> ! <div id="adminTemplateDelete_{templates.TEMPLATE_ID}" style="display:{templates.VISIBLE_DELETE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center" class="forumline"> <tr> ! <td width="50%" align="center" colspan="2">{templates.MESSAGE_DELETE}</td> </tr> ! </table> ! </div> ! </td> ! </tr> ! <!-- Function Delete --> ! <tr> ! <td colspan="2" class="row1"> ! <div id="adminTemplateEdit_{templates.TEMPLATE_ID}" style="display:{templates.VISIBLE};" class="genmed"> ! ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> ! ! ! ! <!-- Template Edit --> <tr> ! <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td bgcolor="#006699" width="10"></td> ! <td> ! ! <form action="{S_ACTION}" method="post"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> ! <tr> ! <td width="50%" align="right" >{templates.L_TEMPLATE_NAME}</td> ! <td><input type="text" size="45" name="template_name" value="{templates.E_TEMPLATE_TITLE}" class="post" /></td> ! </tr> <tr> ! <td class="row2" colspan="2" align="center">{templates.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{templates.S_SUBMIT}" class="mainoption" /></td> </tr> ! </table> ! </form> ! </td> </tr> ! </table> ! </td> ! </tr> ! <!-- Template Edit --> ! ! <!-- Template Main Panel --> ! <tr> ! <td class="row1"> ! ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td bgcolor="#006699" width="10"></td> ! <td> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td class="row3"> ! <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center"> ! ! <!-- BEGIN columnrow --> <tr> ! <td class="row3" width="100%" colspan="5"> ! <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center" class="forumline"> ! <tr> ! <td width="70%" class="row3" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}','adminTemplateColumnEdit_');"> <img name="adminTemplateColumnEdit_image_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" src="{templates.columnrow.IMG_URL}" border="0" align="absmiddle"> <img src="{IMG_ICON_PAGE_COLUMN}" border="0" align="absmiddle"> <span class="topictitle"><b>{templates.columnrow.L_COLUMN}: <span class="cattitle">{templates.columnrow.COLUMN_TITLE}</span></b></span></td> ! <td width="15%" class="row3" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}','adminTemplateColumnDelete_');"> <img name="adminTemplateColumnDelete_image_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" src="{templates.columnrow.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gen">{templates.columnrow.L_DELETE}</span></td> ! <td width="15%" class="row3" align="center" valign="middle" nowrap="nowrap"><span class="genmed"><a href="{templates.columnrow.U_COLUMN_MOVE_UP}">{templates.columnrow.L_MOVE_UP}</a> <a href="{templates.columnrow.U_COLUMN_MOVE_DOWN}">{templates.columnrow.L_MOVE_DOWN}</a></span></td> ! </tr> ! ! <!-- Function Delete --> ! <tr> ! <td colspan="3" class="row1"> ! <div id="adminTemplateColumnDelete_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" style="display:{templates.columnrow.VISIBLE_DELETE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center" class="forumline"> ! <tr> ! <td width="50%" align="center" colspan="2">{templates.columnrow.MESSAGE_DELETE}</td> ! </tr> ! </table> ! </div> ! </td> ! </tr> ! <!-- Function Delete --> ! ! <!-- COLUMN EDIT --> <tr> ! <td colspan="3" class="row1"> ! <div id="adminTemplateColumnEdit_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" style="display:{templates.columnrow.VISIBLE};" class="genmed"> ! <form action="{S_ACTION}" method="post"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> ! <tr> ! <td width="50%" align="right">{templates.columnrow.L_COLUMN_NAME}</td> ! <td ><input type="text" size="25" name="column_title" value="{templates.columnrow.E_COLUMN_TITLE}" /></td> </tr> <tr> ! <td width="50%" align="right">{templates.columnrow.L_COLUMN_SIZE}</td> ! <td ><input type="text" maxlength="5" size="5" name="column_size" value="{templates.columnrow.E_COLUMN_SIZE}" /></td> </tr> ! <tr> ! <td class="row2" colspan="2" align="center">{templates.columnrow.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{templates.columnrow.S_SUBMIT}" class="mainoption" /></td> </tr> </table> - </form> - </div> </td> </tr> ! <!-- COLUMN EDIT --> ! </table> </td> </tr> - - <tr> - <td colspan="5" height="1" class="spaceRow"><img src="{U_PHPBB_ROOT_PATH}{TEMPLATE_ROOT_PATH}spacer.gif" alt="" width="1" height="1" /></td> - </tr> - <!-- END columnrow --> </table> </td> </tr> ! </table> ! </td> </tr> ! </table> </td> </tr> - <!-- Template Main Panel --> - - </table> ! </div> </td> </tr> ! </table> ! ! ! </td> ! </tr> ! <!-- END templates --> </table> ! ! </td> ! </tr> ! </table> ! </div> </td> </tr> --- 327,536 ---- <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" align="center"> <tr> ! <td align="center" colspan="3">{RESULT_MESSAGE}</td> </tr> <tr> ! <!-- BEGIN pages --> ! <!-- BEGIN is_new --> ! <th width="33%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> ! <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {L_TITLE_NEW_PAGE} ! </th> ! <!-- END is_new --> ! <!-- BEGIN is_current --> ! <th width="33%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> ! <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {L_PAGE_TITLE} - {pages.PAGE_TITLE} ! </th> ! <!-- END is_current --> ! <!-- END pages --> ! ! <th width="33%" class="thHead" align="left" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('Template','adminPage_');"> <img name="adminPage_image_Template" src="{IMG_URL}" border="0" align="absmiddle"> {L_TITLE_TEMPLATE}</th> ! </tr> ! </table> ! ! <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" align="center"> ! <tr> ! <td class="row1"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td class="row1"> ! <div id="adminPage_Template" style="display:{VISIBLE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="0" border="0" align="center"> ! <tr> ! <td> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> + <!-- BEGIN notemplates --> <tr> ! <td class="row1"><span class="gensmall">{nopages.NONE}</span></td> ! </tr> ! <!-- END notemplates --> ! ! <!-- BEGIN templates --> ! <tr> ! <td class="row1"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <!-- BEGIN new_template --> ! <td width="80%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}','adminTemplateEdit_');"> <img name="adminTemplateEdit_image_{templates.TEMPLATE_ID}" src="{templates.IMG_URL}" border="0" align="absmiddle"> {templates.TEMPLATE_ICON} <span class="cattitle">{templates.TEMPLATE_TITLE}</span></td> ! <!-- END new_template --> ! <!-- BEGIN current_template --> ! <td width="80%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}','adminTemplateEdit_');"> <img name="adminTemplateEdit_image_{templates.TEMPLATE_ID}" src="{templates.IMG_URL}" border="0" align="absmiddle"> {templates.TEMPLATE_ICON} <span class="cattitle">{templates.TEMPLATE_TITLE}</span></td> ! <!-- END current_template --> ! <td width="20%" class="catRight" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}','adminTemplateDelete_');"> ! <!-- BEGIN delete --> ! <img name="adminTemplateDelete_image_{templates.TEMPLATE_ID}" src="{templates.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gen">{L_DELETE}</span> ! <!-- END delete --> ! </td> </tr> ! ! <!-- Function Delete --> <tr> ! <td colspan="2" class="row1"> ! <div id="adminTemplateDelete_{templates.TEMPLATE_ID}" style="display:{templates.VISIBLE_DELETE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center" class="forumline"> ! <tr> ! <td width="50%" align="center" colspan="2">{templates.MESSAGE_DELETE}</td> ! </tr> ! </table> ! </div> ! </td> ! </tr> ! <!-- Function Delete --> ! <tr> ! <td colspan="2" class="row1"> ! <div id="adminTemplateEdit_{templates.TEMPLATE_ID}" style="display:{templates.VISIBLE};" class="genmed"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> + + + + <!-- Template Edit --> <tr> ! <td class="row1"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td bgcolor="#006699" width="10"></td> ! <td> ! ! <form action="{S_ACTION}" method="post"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> ! <tr> ! <td width="50%" align="right" >{templates.L_TEMPLATE_NAME}</td> ! <td><input type="text" size="45" name="template_name" value="{templates.E_TEMPLATE_TITLE}" class="post" /></td> ! </tr> ! <tr> ! <td class="row2" colspan="2" align="center">{templates.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{templates.S_SUBMIT}" class="mainoption" /></td> ! </tr> ! </table> ! </form> ! ! </td> </tr> ! </table> </td> </tr> ! <!-- Template Edit --> ! ! <!-- Template Main Panel --> <tr> ! <td class="row1"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td bgcolor="#006699" width="10"></td> ! <td> ! ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> ! <td class="row3"> ! <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center"> ! ! <!-- BEGIN columnrow --> <tr> ! <td class="row3" width="100%" colspan="5"> ! <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center" class="forumline"> ! <tr> ! <td width="70%" class="row3" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}','adminTemplateColumnEdit_');"> <img name="adminTemplateColumnEdit_image_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" src="{templates.columnrow.IMG_URL}" border="0" align="absmiddle"> <img src="{IMG_ICON_PAGE_COLUMN}" border="0" align="absmiddle"> <span class="topictitle"><b>{templates.columnrow.L_COLUMN}: <span class="cattitle">{templates.columnrow.COLUMN_TITLE}</span></b></span></td> ! <td width="15%" class="row3" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}','adminTemplateColumnDelete_');"> <img name="adminTemplateColumnDelete_image_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" src="{templates.columnrow.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="gen">{templates.columnrow.L_DELETE}</span></td> ! <td width="15%" class="row3" align="center" valign="middle" nowrap="nowrap"><span class="genmed"><a href="{templates.columnrow.U_COLUMN_MOVE_UP}">{templates.columnrow.L_MOVE_UP}</a> <a href="{templates.columnrow.U_COLUMN_MOVE_DOWN}">{templates.columnrow.L_MOVE_DOWN}</a></span></td> </tr> + + <!-- Function Delete --> <tr> ! <td colspan="3" class="row1"> ! <div id="adminTemplateColumnDelete_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" style="display:{templates.columnrow.VISIBLE_DELETE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center" class="forumline"> ! <tr> ! <td width="50%" align="center" colspan="2">{templates.columnrow.MESSAGE_DELETE}</td> ! </tr> ! </table> ! </div> ! </td> </tr> ! <!-- Function Delete --> ! ! <!-- COLUMN EDIT --> ! <tr> ! <td colspan="3" class="row1"> ! <div id="adminTemplateColumnEdit_{templates.TEMPLATE_ID}_{templates.columnrow.COLUMN_ID}" style="display:{templates.columnrow.VISIBLE};" class="genmed"> ! <form action="{S_ACTION}" method="post"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> ! <tr> ! <td width="50%" align="right">{templates.columnrow.L_COLUMN_NAME}</td> ! <td ><input type="text" size="25" name="column_title" value="{templates.columnrow.E_COLUMN_TITLE}" /></td> ! </tr> ! <tr> ! <td width="50%" align="right">{templates.columnrow.L_COLUMN_SIZE}</td> ! <td ><input type="text" maxlength="5" size="5" name="column_size" value="{templates.columnrow.E_COLUMN_SIZE}" /></td> ! </tr> ! <tr> ! <td class="row2" colspan="2" align="center">{templates.columnrow.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{templates.columnrow.S_SUBMIT}" class="mainoption" /></td> ! </tr> ! </table> ! </form> ! </div> ! </td> </tr> + <!-- COLUMN EDIT --> + </table> </td> </tr> ! ! <tr> ! <td colspan="5" height="1" class="spaceRow"><img src="{U_PHPBB_ROOT_PATH}{TEMPLATE_ROOT_PATH}spacer.gif" alt="" width="1" height="1" /></td> ! </tr> ! <!-- END columnrow --> </table> </td> </tr> </table> + </td> </tr> ! </table> </td> </tr> ! <!-- Template Main Panel --> ! ! ! </table> ! </div> </td> </tr> </table> ! ! </td> </tr> ! <!-- END templates --> ! </table> ! ! </td> ! </tr> </table> ! </div> ! </td> ! </tr> ! </table> </td> </tr> *************** *** 520,600 **** <!-- BEGIN pages --> - - <!-- BEGIN is_current --> - <tr> - <th class="thHead">{L_TITLE_PAGES}</th> - </tr> - <!-- END is_current --> - <!-- BEGIN reload --> - <tr> - <th class="thHead">{L_TITLE_PAGES}</th> - </tr> - <!-- END reload --> - <!-- BEGIN is_new --> - <tr> - <th class="thHead">{L_TITLE_NEW_PAGE}</th> - </tr> - <!-- END is_new --> <tr> <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> - <tr> - <!-- BEGIN is_current --> - <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <span class="cattitle">{pages.PAGE_TITLE}</span> <span class="gensmall">{pages.PAGE_DESC}</span></td> - <!-- END is_current --> - <!-- BEGIN is_new --> - <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <span class="topictitle">{pages.PAGE_TITLE}</span> <span class="gensmall">{pages.PAGE_DESC}</span></td> - <!-- END is_new --> - <!-- BEGIN reload --> - <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <a href="{pages.reload.U_PAGE_EDIT}"><span class="cattitle">{pages.PAGE_TITLE}</span></a> <span class="gensmall">{pages.PAGE_DESC}</span></td> - <!-- END reload --> - <td width="10%" class="cat" align="center"> - <!-- BEGIN is_page --> - <span class="genmed"><a href="{pages.U_PREVIEW}" target="_blank">{L_PREVIEW}</a></span> - <!-- END is_page --> - </td> - <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageEdit_');"> - <!-- BEGIN is_page --> - <span class="genmed">{L_EDIT}</span> - <!-- END is_page --> - </td> - <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPagePrivate_');"> - <!-- BEGIN is_page --> - <span class="genmed">{L_PERMISSIONS}</span> - <!-- END is_page --> - </td> - <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageSettings_');"> - <!-- BEGIN is_page --> - <span class="genmed">{L_SETTING}</span> - <!-- END is_page --> - </td> - <td width="10%" class="catRight" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageDelete_');"> - <!-- BEGIN is_page --> - <img name="adminPageDelete_image_{pages.PAGE_ID}" src="{pages.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="genmed">{L_DELETE}</span> - <!-- END is_page --> - </td> - </tr> - - <!-- Function Delete --> <tr> <td colspan="6" class="row1"> ! <div id="adminPageDelete_{pages.PAGE_ID}" style="display:{pages.VISIBLE_DELETE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> <tr> ! <td width="50%" align="center" colspan="2">{pages.MESSAGE_DELETE}</td> </tr> ! </table> ! </div> ! </td> ! </tr> ! <!-- Function Delete --> ! ! ! <tr> ! <td colspan="6" class="row1"> ! <div id="adminPage_{pages.PAGE_ID}" style="display:{pages.VISIBLE};" class="genmed"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> - <td bgcolor="#006699" width="10"></td> <td> --- 543,611 ---- <!-- BEGIN pages --> <tr> <td class="row1"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td colspan="6" class="row1"> ! <div id="adminPage_{pages.PAGE_ID}" style="display:{pages.VISIBLE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="0" border="0" align="center"> <tr> ! <td> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> ! <tr> ! <!-- BEGIN is_current --> ! <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> {pages.PAGE_ICON} <span class="cattitle">{pages.PAGE_TITLE}</span> <span class="gensmall">{pages.PAGE_DESC}</span></td> ! <!-- END is_current --> ! <!-- BEGIN is_new --> ! <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPage_');"> <img src="{IMG_URL_CONTRACT}" border="0" align="absmiddle"> {pages.PAGE_ICON} <span class="topictitle">{pages.PAGE_TITLE}</span> <span class="gensmall">{pages.PAGE_DESC}</span></td> ! <!-- END is_new --> ! <!-- BEGIN reload --> ! <td width="50%" class="catLeft" style="cursor:pointer;cursor:hand;"> <img name="adminPage_image_{pages.PAGE_ID}" src="{IMG_URL_EXPAND}" border="0" align="absmiddle"> {pages.PAGE_ICON} <a href="{pages.reload.U_PAGE_EDIT}"><span class="cattitle">{pages.PAGE_TITLE}</span></a> <span class="gensmall">{pages.PAGE_DESC}</span></td> ! <!-- END reload --> ! <td width="10%" class="cat" align="center"> ! <!-- BEGIN is_page --> ! <span class="genmed"><a href="{pages.U_PREVIEW}" target="_blank">{L_PREVIEW}</a></span> ! <!-- END is_page --> ! </td> ! <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageEdit_');"> ! <!-- BEGIN is_page --> ! <img name="adminPageEdit_image_{pages.PAGE_ID}" src="{pages.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="genmed">{L_EDIT}</span> ! <!-- END is_page --> ! </td> ! <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageSettings_');"> ! <!-- BEGIN is_page --> ! <img name="adminPageSettings_image_{pages.PAGE_ID}" src="{pages.IMG_URL_SETTINGS}" border="0" align="absmiddle"> <span class="genmed">{L_SETTING}</span> ! <!-- END is_page --> ! </td> ! <td width="10%" class="cat" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPagePrivate_');"> ! <!-- BEGIN is_page --> ! <img name="adminPagePrivate_image_{pages.PAGE_ID}" src="{pages.IMG_URL_PRIVATE}" border="0" align="absmiddle"> <span class="genmed">{L_PERMISSIONS}</span> ! <!-- END is_page --> ! </td> ! <td width="10%" class="catRight" align="center" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageDelete_');"> ! <!-- BEGIN is_page --> ! <img name="adminPageDelete_image_{pages.PAGE_ID}" src="{pages.IMG_URL_DELETE}" border="0" align="absmiddle"> <span class="genmed">{L_DELETE}</span> ! <!-- END is_page --> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! ! <!-- Function Delete --> ! <tr> ! <td class="row1"> ! <div id="adminPageDelete_{pages.PAGE_ID}" style="display:{pages.VISIBLE_DELETE};" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="2" border="0" align="center"> ! <tr> ! <td width="50%" align="center" colspan="2">{pages.MESSAGE_DELETE}</td> ! </tr> ! </table> ! </div> ! </td> </tr> ! <!-- Function Delete --> ! <tr> <td> *************** *** 602,608 **** --- 613,621 ---- <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <!-- BEGIN is_page --> + <!-- <tr> <td class="cat" colspan="2" align="left" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageEdit_');"> <img name="adminPageEdit_image_{pages.PAGE_ID}" src="{pages.IMG_URL_EDIT}" border="0" align="absmiddle"> <span class="topictitle">{pages.L_TITLE_EDIT}</span></td> </tr> + --> <!-- END is_page --> *************** *** 686,692 **** --- 699,707 ---- <!-- Page Private Auth --> <!-- BEGIN is_page --> + <!-- <tr> <td class="cat" colspan="2" align="left" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPagePrivate_');"> <img name="adminPagePrivate_image_{pages.PAGE_ID}" src="{pages.IMG_URL_PRIVATE}" border="0" align="absmiddle"> <span class="topictitle">{pages.L_TITLE_PRIVATE}</span></td> </tr> + --> <!-- END is_page --> <tr> *************** *** 751,757 **** --- 766,774 ---- <!-- Page Main Panel - Settings --> <!-- BEGIN is_page --> + <!-- <tr> <td class="cat" colspan="2" align="left" style="cursor:pointer;cursor:hand;" onclick="onMenuCatClick('{pages.PAGE_ID}','adminPageSettings_');"> <img name="adminPageSettings_image_{pages.PAGE_ID}" src="{pages.IMG_URL_SETTINGS}" border="0" align="absmiddle"> <span class="topictitle">{pages.L_TITLE_SETTINGS}</span></td> </tr> + --> <!-- END is_page --> Index: mx_blockcp_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/mx_blockcp_admin_body.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_blockcp_admin_body.tpl 12 Oct 2005 15:37:33 -0000 1.2 --- mx_blockcp_admin_body.tpl 22 Oct 2005 10:51:03 -0000 1.3 *************** *** 7,10 **** --- 7,176 ---- {DYNAMIC_BLOCK_SETUP} {DYNAMIC_DEFAULT_SETUP} + + function blockcp_getCookie(name) + { + var cookies = document.cookie; + var start = cookies.indexOf(name + '='); + if( start < 0 ) return null; + var len = start + name.length + 1; + var end = cookies.indexOf(';', len); + if( end < 0 ) end = cookies.length; + return unescape(cookies.substring(len, end)); + } + function blockcp_setCookie(name, value, expires, path, domain, secure) + { + document.cookie = name + '=' + escape (value) + + ((expires) ? '; expires=' + ( (expires == 'never') ? 'Thu, 31-Dec-2099 23:59:59 GMT' : expires.toGMTString() ) : '') + + ((path) ? '; path=' + path : '') + + ((domain) ? '; domain=' + domain : '') + + ((secure) ? '; secure' : ''); + } + function blockcp_delCookie(name, path, domain) + { + if( blockcp_getCookie(name) ) + { + document.cookie = name + '=;expires=Thu, 01-Jan-1970 00:00:01 GMT' + + ((path) ? '; path=' + path : '') + + ((domain) ? '; domain=' + domain : ''); + } + } + + function blockcp_menuCat(id, mode, visible) + { + this.cat_id = id; + this.menu_mode = mode; + this.status = visible != '' ? visible : 'none'; + } + var blockcp_menuCats = new Array(); + + blockcp_menuCats['adminBlockCP_general_add'] = new blockcp_menuCat('general_add', 'adminBlockCP_', '{VISIBLE_GENERAL_ADD}'); + blockcp_menuCats['adminBlockCP_general'] = new blockcp_menuCat('general', 'adminBlockCP_', '{VISIBLE_GENERAL}'); + blockcp_menuCats['adminBlockCP_settings'] = new blockcp_menuCat('settings', 'adminBlockCP_', '{VISIBLE_SETTINGS}'); + blockcp_menuCats['adminBlockCP_private'] = new blockcp_menuCat('private', 'adminBlockCP_', '{VISIBLE_PRIVATE}'); + blockcp_menuCats['adminBlockCP_delete'] = new blockcp_menuCat('delete', 'adminBlockCP_', '{VISIBLE_DELETE}'); + + + function blockcp_getObj(obj) + { + return ( document.getElementById ? document.getElementById(obj) : ( document.all ? document.all[obj] : null ) ); + } + function displayObj(obj, status) + { + var x = blockcp_getObj(obj); + if( x && x.style ) x.style.display = status; + } + + var blockcp_queueInterval = 0; // milliseconds between queued steps. + var blockcp_execInterval = 0; + var blockcp_queuedSteps; + var blockcp_currentStep; + + function blockcp_queueStep(o, s) + { + this.obj = o; + this.status = s; + } + function blockcp_execQueue() + { + if( blockcp_currentStep < blockcp_queuedSteps.length ) + { + var obj = blockcp_queuedSteps[blockcp_currentStep].obj; + var status = blockcp_queuedSteps[blockcp_currentStep].status; + displayObj(obj, status); + if( blockcp_menuCats[obj] ) blockcp_menuCats[obj].status = status; + blockcp_currentStep++; + setTimeout("blockcp_execQueue();", blockcp_execInterval); + } + else + { + blockcp_execInterval = blockcp_queueInterval; + } + } + function blockcp_onMenuCatClick(cat_id, type, init) + { + var currentCat, currentStatus; + var imageSCR = type+'image_'+cat_id; + + parentMode = 'adminBlockCP_'; + + parentCat = parentMode + cat_id; + + currentCat = type + cat_id; + + currentStatus = blockcp_menuCats[currentCat].status; + + blockcp_queuedSteps = new Array(); + cookieArray = new Array(); + + blockcp_currentStep = 0; + + for( var forCat in blockcp_menuCats ) + { + if( (init == 'true' && (blockcp_menuCats[forCat].status == 'block') && blockcp_menuCats[forCat].menu_mode == parentMode) || + (init != 'true' && + ( (currentCat == parentCat && blockcp_menuCats[forCat].status == 'block' ) ))) + { + blockcp_queuedSteps[blockcp_currentStep++] = new blockcp_queueStep(forCat, 'none'); + blockcp_menuCats[forCat].status = 'none'; + + forCatimage = blockcp_menuCats[forCat].menu_mode+'image_'+blockcp_menuCats[forCat].cat_id; + if( document.images && document.images[forCatimage] ) + { + document.images[forCatimage].src = '{IMG_URL_EXPAND}'; + } + } + } + + if( currentStatus == 'none' ) + { + if (blockcp_menuCats[parentCat]) + { + if (blockcp_menuCats[parentCat].status == 'none') + { + blockcp_queuedSteps[blockcp_currentStep++] = new blockcp_queueStep(parentCat, 'block'); + blockcp_menuCats[parentCat].status = 'block'; + + forCatimage = blockcp_menuCats[parentCat].menu_mode+'image_'+blockcp_menuCats[parentCat].cat_id; + if( document.images && document.images[forCatimage] ) + { + document.images[forCatimage].src = '{IMG_URL_CONTRACT}'; + } + } + } + + blockcp_queuedSteps[blockcp_currentStep++] = new blockcp_queueStep(currentCat, 'block'); + blockcp_menuCats[currentCat].status = 'block'; + + if (currentCat == parentCat) + { + var expdate = new Date(); // 72 Hours from now + expdate.setTime(expdate.getTime() + (72 * 60 * 60 * 1000)); + blockcp_setCookie('{COOKIE_NAME}_'+type+'mode', cat_id, expdate, + ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', + ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}', + ('{COOKIE_SECURE}' == '0') ? false : true); + } + + if( document.images && document.images[imageSCR] ) + { + document.images[imageSCR].src = '{IMG_URL_CONTRACT}'; + } + } + else + { + blockcp_delCookie('{COOKIE_NAME}_'+type+'mode', + ('{COOKIE_PATH}' == '') ? null : '{COOKIE_PATH}', + ('{COOKIE_DOMAIN}' == '') ? null : '{COOKIE_DOMAIN}'); + } + + blockcp_currentStep = 0; + setTimeout("blockcp_execQueue();", blockcp_execInterval); + } + + function require_refresh() + { + displayObj('adminBlockCP_require_refresh', 'none'); + displayObj('adminBlockCP_require_refresh_info', 'block'); + } </script> <!-- dynamic_select --> *************** *** 26,30 **** <tr> <td valign="top"> ! <select name="module_id" MULTIPLE size=5> {DYNAMIC_MODULE_SELECT} </select> --- 192,196 ---- <tr> <td valign="top"> ! <select name="module_id" MULTIPLE size=5" onClick="require_refresh();"> {DYNAMIC_MODULE_SELECT} </select> *************** *** 32,36 **** <td>»</td> <td valign="top"> ! <select name="function_id" MULTIPLE size=5> <script LANGUAGE="JavaScript">makeModule.printOptions("function_id")</script> </select> --- 198,202 ---- <td>»</td> <td valign="top"> ! <select name="function_id" MULTIPLE size=5" onClick="require_refresh();"> <script LANGUAGE="JavaScript">makeModule.printOptions("function_id")</script> </select> *************** *** 38,42 **** <td>»</td> <td valign="top"> ! <select name="block_id" size=5> <script LANGUAGE="JavaScript">makeModule.printOptions("block_id")</script> </select> --- 204,208 ---- <td>»</td> <td valign="top"> ! <select name="block_id" size=5 onClick="require_refresh();"> <script LANGUAGE="JavaScript">makeModule.printOptions("block_id")</script> </select> *************** *** 57,76 **** {ERROR_BOX} ! ! <table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumline"> <tr> ! <td align="center" colspan="2">{RESULT_MESSAGE}</td> </tr> <tr> ! <th class="thHead" colspan="2">{L_TITLE}</th> </tr> ! <!-- BEGIN blockcp_general --> ! <tr> ! <td class="cat" colspan="2" align="center"><span class="topictitle">{blockcp_general.L_TITLE}</span></td> ! </tr> <tr> <td class="row1" colspan="2"> - <form action="{S_ACTION}" method="post" onsubmit="return checkForm(this)"> <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center"> --- 223,335 ---- {ERROR_BOX} ! <div id="adminBlockCP_require_refresh" style="display:block;" class="genmed"> ! <table width="100%" cellpadding="1" cellspacing="0" border="0" class="forumline" align="center"> <tr> ! <td align="center" colspan="5">{RESULT_MESSAGE}</td> </tr> <tr> ! <!-- BEGIN blockcp_general_add --> ! <th width="20%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="blockcp_onMenuCatClick('general_add','adminBlockCP_');"> ! <img name="adminBlockCP_image_general_add" src="{IMG_URL_GENERAL_ADD}" border="0" align="absmiddle"> {blockcp_general_add.L_TITLE} ! </th> ! <!-- END blockcp_general_add --> ! <!-- BEGIN blockcp_general --> ! <th width="20%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="blockcp_onMenuCatClick('general','adminBlockCP_');"> ! <img name="adminBlockCP_image_general" src="{IMG_URL_GENERAL}" border="0" align="absmiddle"> {blockcp_general.L_TITLE} ! </th> ! <!-- END blockcp_general --> ! <!-- BEGIN blockcp_settings --> ! <th width="20%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="blockcp_onMenuCatClick('settings','adminBlockCP_');"> ! <img name="adminBlockCP_image_settings" src="{IMG_URL_SETTINGS}" border="0" align="absmiddle"> {blockcp_settings.L_TITLE} ! </th> ! <!-- END blockcp_settings --> ! <!-- BEGIN blockcp_permissions --> ! <th width="20%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="blockcp_onMenuCatClick('private','adminBlockCP_');"> ! <img name="adminBlockCP_image_private" src="{IMG_URL_PRIVATE}" border="0" align="absmiddle"> {blockcp_permissions.L_TITLE} ! </th> ! <!-- END blockcp_permissions --> ! <!-- BEGIN blockcp_delete --> ! <th width="20%" class="thHead" style="cursor:pointer;cursor:hand;" onclick="blockcp_onMenuCatClick('delete','adminBlockCP_');"> ! <img name="adminBlockCP_image_delete" src="{IMG_URL_DELETE}" border="0" align="absmiddle"> {blockcp_delete.L_TITLE} ! </th> ! <!-- END blockcp_delete --> ! </tr> ! </table> ! ! <div id="adminBlockCP_general_add" style="display:{VISIBLE_GENERAL_ADD};" class="genmed"> ! <!-- BEGIN blockcp_general_add --> ! <table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumline"> ! <tr> ! <td class="row1" colspan="2"> ! <form action="{S_ACTION}" method="post" onsubmit="return checkForm(this)"> ! <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center"> ! <tr> ! <td class="row1" width="50%" align="right"><b>{L_BLOCK_TITLE}</b></td> ! <td class="row1"><input type="text" size="65" name="block_title" value="" class="post" /></td> ! </tr> ! ! <tr> ! <td class="row1" width="50%" align="right"><b>{L_BLOCK_DESC}</b></td> ! <td class="row1"><input type="text" size="65" name="block_desc" value="" class="post" /></td> ! </tr> ! <tr> ! <td class="row1" width="50%" align="right"><b>{L_SHOW_TITLE}</b><br /><span class="gensmall">{L_SHOW_TITLE_EXPLAIN}</span></td> ! <td class="row1"><input type="radio" name="show_title" value="1" {S_SHOW_TITLE_YES_ADD} /> <span class="gensmall">{L_YES}</span> <input type="radio" name="show_title" value="0" {S_SHOW_TITLE_NO_ADD} /> <span class="gensmall">{L_NO}</span></td> ! </tr> ! ! <tr> ! <td class="row1" width="50%" align="right"><b>{L_SHOW_STATS}</b><br /><span class="gensmall">{L_SHOW_STATS_EXPLAIN}</span></td> ! <td class="row1"><input type="radio" name="show_stats" value="1" {S_SHOW_STATS_YES_ADD} /> <span class="gensmall">{L_YES} </span><input type="radio" name="show_stats" value="0" {S_SHOW_STATS_NO_ADD} /> <span class="gensmall">{L_NO}</span></td> ! </tr> ! ! <tr> ! <td class="row1" width="50%" align="right"><b>{L_SHOW_BLOCK}</b><br /><span class="gensmall">{L_SHOW_BLOCK_EXPLAIN}</span></td> ! <td class="row1"><input type="radio" name="show_block" value="1" {S_SHOW_BLOCK_YES_ADD} /> <span class="gensmall">{L_YES} </span><input type="radio" name="show_block" value="0" {S_SHOW_BLOCK_NO_ADD} /> <span class="gensmall">{L_NO}</span></td> ! </tr> ! ! <tr> ! <td class="row1" width="50%" align="right"> ! <b>{L_AUTH_TITLE}</b><br /><span class="gensmall">{L_AUTH_TITLE_EXPLAIN}</span> ! </td> ! <td class="row1"> ! ! <table cellspacing="1" cellpadding="4" border="0"> ! <tr> ! <!-- BEGIN block_auth_titles --> ! <td class="row3" align="center"><span class="topictitle">{blockcp_general_add.block_auth_titles.CELL_TITLE}</span></td> ! <!-- END block_auth_titles --> ! </tr> ! <tr> ! <!-- BEGIN block_auth_data --> ! <td> ! <table> ! <tr> ! <td class="row1" align="center">{blockcp_general_add.block_auth_data.S_AUTH_LEVELS_SELECT}</td> ! </tr> ! </table> ! </td> ! <!-- END block_auth_data --> ! </tr> ! </table> ! </td> ! </tr> ! ! <tr> ! <td class="row1" height="25" align="center" colspan="2">{blockcp_general_add.S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{blockcp_general_add.S_SUBMIT}" class="mainoption" />{CANCEL}</td> ! </tr> ! </table> ! </form> ! ! </td> </tr> + </table> + <!-- END blockcp_general_add --> + </div> ! <div id="adminBlockCP_general" style="display:{VISIBLE_GENERAL};" class="genmed"> ! <!-- BEGIN blockcp_general --> ! <table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumline"> <tr> <td class="row1" colspan="2"> <form action="{S_ACTION}" method="post" onsubmit="return checkForm(this)"> <table width="100%" cellpadding="2" cellspacing="0" border="0" align="center"> *************** *** 144,150 **** </td> </tr> ! <!-- END blockcp_general --> ! <!-- BEGIN blockcp_panel --> <tr> <td class="row1" colspan="2"> --- 403,413 ---- </td> </tr> ! </table> ! <!-- END blockcp_general --> ! </div> ! <div id="adminBlockCP_settings" style="display:{VISIBLE_SETTINGS};" class="genmed"> ! <table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumline"> ! <!-- BEGIN blockcp_panel --> <tr> <td class="row1" colspan="2"> *************** *** 153,162 **** </td> </tr> ! <!-- END blockcp_panel --> ! <!-- BEGIN blockcp_settings --> ! <tr> ! <td class="cat" colspan="2" align="center"><span class="topictitle">{blockcp_settings.L_TITLE}</span></td> ! </tr> <tr> <td class="row1" colspan="2"> --- 416,422 ---- </td> </tr> ... [truncated message content] |
|
From: Horace <jus...@us...> - 2005-10-20 09:01:13
|
Update of /cvsroot/mxbb/mx_who_am_i/templates/subSilver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3317/mx_who_am_i/templates/subSilver Modified Files: mx_who_am_i.tpl Log Message: Updated language variables. Index: mx_who_am_i.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_who_am_i/templates/subSilver/mx_who_am_i.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_who_am_i.tpl 14 Oct 2005 20:37:32 -0000 1.1 --- mx_who_am_i.tpl 20 Oct 2005 09:00:36 -0000 1.2 *************** *** 1,5 **** <table width="100%" cellpadding="0" cellspacing="0" border="0" class="mx_blockline"> <tr> ! <th class="mxthHead" align="left"> {LANG_PROFILE_NAME} {USERNAME} </th> </tr> </table> --- 1,5 ---- <table width="100%" cellpadding="0" cellspacing="0" border="0" class="mx_blockline"> <tr> ! <th class="mxthHead" align="left"> {L_PROFILE_NAME} {USERNAME} </th> </tr> </table> *************** *** 11,24 **** <tr> <td class="row1" align="left"><span class="gen"> ! <center><b>{LANG_DATE_JOINED}</b><br /> {JOINED}<br /> <br /> ! <b>{LANG_POST_TOTAL}</b><br /> {POSTS}<br /> <br /> ! <b>{LANG_POST_STATS}</b><br /> ! {POST_PERCENTAGE}% {LANG_OF_TOTAL_POSTS}<br /> ! {POST_PER_DAY} {LANG_POSTS_PER_DAY}</center><br /> ! <center><a href="{U_PROFILE}" class="mainmenu">{LANG_CHANGE_PROFILE}</a></center></span> </td> </tr> --- 11,24 ---- <tr> <td class="row1" align="left"><span class="gen"> ! <center><b>{L_DATE_JOINED}</b><br /> {JOINED}<br /> <br /> ! <b>{L_POST_TOTAL}</b><br /> {POSTS}<br /> <br /> ! <b>{L_POST_STATS}</b><br /> ! {POST_PERCENTAGE}% {L_OF_TOTAL_POSTS}<br /> ! {POST_PER_DAY} {L_POSTS_PER_DAY}</center><br /> ! <center><a href="{U_PROFILE}" class="mainmenu">{L_CHANGE_PROFILE}</a></center></span> </td> </tr> |
|
From: Horace <jus...@us...> - 2005-10-20 09:00:47
|
Update of /cvsroot/mxbb/mx_who_am_i/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3317/mx_who_am_i/includes Modified Files: mx_common.php Log Message: Updated language variables. Index: mx_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_who_am_i/includes/mx_common.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_common.php 17 Oct 2005 13:15:48 -0000 1.3 --- mx_common.php 20 Oct 2005 09:00:34 -0000 1.4 *************** *** 163,173 **** $template->assign_vars(array( ! 'LANG_PROFILE_NAME' => $lang['Profile_Name'], ! 'LANG_DATE_JOINED' => $lang['Date_Joined'], ! 'LANG_POST_TOTAL' => $lang['Post_Total'], ! 'LANG_POST_STATS' => $lang['Post_Stats'], ! 'LANG_CHANGE_PROFILE' => $lang['Change_Profile'], ! 'LANG_OF_TOTAL_POSTS' => $lang['Of_Total_Posts'], ! 'LANG_POSTS_PER_DAY' => $lang['Posts_Per_Day'], 'USERNAME' => $userdata['username'], --- 163,173 ---- $template->assign_vars(array( ! 'L_PROFILE_NAME' => $lang['Profile_Name'], ! 'L_DATE_JOINED' => $lang['Date_Joined'], ! 'L_POST_TOTAL' => $lang['Post_Total'], ! 'L_POST_STATS' => $lang['Post_Stats'], ! 'L_CHANGE_PROFILE' => $lang['Change_Profile'], ! 'L_OF_TOTAL_POSTS' => $lang['Of_Total_Posts'], ! 'L_POSTS_PER_DAY' => $lang['Posts_Per_Day'], 'USERNAME' => $userdata['username'], |
|
From: Horace <jus...@us...> - 2005-10-19 16:02:33
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18087/core/admin Modified Files: admin_mx_module.php Log Message: Fixed incorrect module language resource. Index: admin_mx_module.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_module.php,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** admin_mx_module.php 1 Oct 2005 14:10:44 -0000 1.36 --- admin_mx_module.php 19 Oct 2005 16:02:13 -0000 1.37 *************** *** 168,172 **** 'L_EXPORT_PACK' => $lang['export_module_pack'], ! 'L_QUICK_NAV' => $lang['Quick_nav'], 'IMG_URL_CONTRACT' => $admin_icon['contract'], --- 168,172 ---- 'L_EXPORT_PACK' => $lang['export_module_pack'], ! 'L_QUICK_NAV' => $lang['Quick_nav_modules'], 'IMG_URL_CONTRACT' => $admin_icon['contract'], |
|
From: Horace <jus...@us...> - 2005-10-19 10:01:48
|
Update of /cvsroot/mxbb/mx_who_am_i In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27568/mx_who_am_i Modified Files: mx_who_am_i.pak Log Message: Pre-mxBB 2.8 RC7 Changes. Index: mx_who_am_i.pak =================================================================== RCS file: /cvsroot/mxbb/mx_who_am_i/mx_who_am_i.pak,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_who_am_i.pak 14 Oct 2005 20:37:32 -0000 1.1 --- mx_who_am_i.pak 19 Oct 2005 10:01:36 -0000 1.2 *************** *** 1,3 **** ! module=+:1100=+:Who Am I=+:modules/mx_who_am_i/=+:mx_who_am_i version 1.0=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:1100=+:1110=+:Who Am I=+:Who Am I=+:mx_who_am_i.php=+: --- 1,3 ---- ! module=+:1100=+:Who Am I=+:modules/mx_who_am_i/=+:mx_who_am_i version 1.0=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:1100=+:1110=+:Who Am I=+:Who Am I=+:mx_who_am_i.php=+: |
|
From: Horace <jus...@us...> - 2005-10-17 13:15:58
|
Update of /cvsroot/mxbb/mx_who_am_i In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3307/mx_who_am_i Modified Files: changelog.txt mx_who_am_i.php readme.txt Log Message: Pre-mxBB 2.8 RC7 Changes. Index: changelog.txt =================================================================== RCS file: /cvsroot/mxbb/mx_who_am_i/changelog.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** changelog.txt 16 Oct 2005 14:09:03 -0000 1.2 --- changelog.txt 17 Oct 2005 13:15:48 -0000 1.3 *************** *** 1,23 **** /********************************************************************************\ | ! | subject : mx-portal, CMS & portal, module ! | name : mx_who_am_i | begin : october, 2005 ! | copyright : (C) 2002-2005 MX-System | mxBB project site : www.mx-system.com | ! | author : horace (see additional credit below) ! | author site : www.empire-wars.com | author email : ho...@em... | | additional credit : This module is based on the mx_loggedin function ! | created by RETORQ. ! | re...@di... ! | www.digitalhijinx.com | ! | description : The "Who Am I" block is a block is a block that ! | will be visable only to registered users who are ! | logged in. It can be used to quickly display ! | statistics and current user image. |********************************************************************************| | --- 1,23 ---- /********************************************************************************\ | ! | subject : mx-portal, CMS & portal, module ! | name : mx_who_am_i | begin : october, 2005 ! | copyright : (C) 2002-2005 MX-System | mxBB project site : www.mx-system.com | ! | author : horace (see additional credit below) ! | author site : www.empire-wars.com | author email : ho...@em... | | additional credit : This module is based on the mx_loggedin function ! | created by RETORQ. ! | re...@di... ! | www.digitalhijinx.com | ! | description : The "Who Am I" block is a block is a block that ! | will be visable only to registered users who are ! | logged in. It can be used to quickly display ! | statistics and current user image. |********************************************************************************| | Index: mx_who_am_i.php =================================================================== RCS file: /cvsroot/mxbb/mx_who_am_i/mx_who_am_i.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_who_am_i.php 16 Oct 2005 14:09:03 -0000 1.2 --- mx_who_am_i.php 17 Oct 2005 13:15:48 -0000 1.3 *************** *** 2,24 **** /********************************************************************************\ | ! | subject : mx-portal, CMS & portal, module ! | name : mx_who_am_i | begin : october, 2005 ! | copyright : (C) 2002-2005 MX-System | mxBB project site : www.mx-system.com | ! | author : horace (see additional credit below) ! | author site : www.empire-wars.com | author email : ho...@em... | | additional credit : This module is based on the mx_loggedin function ! | created by RETORQ. ! | re...@di... ! | www.digitalhijinx.com | ! | description : The "Who Am I" block is a block is a block that ! | will be visable only to registered users who are ! | logged in. It can be used to quickly display ! | statistics and current user image. |********************************************************************************| | --- 2,24 ---- /********************************************************************************\ | ! | subject : mx-portal, CMS & portal, module ! | name : mx_who_am_i | begin : october, 2005 ! | copyright : (C) 2002-2005 MX-System | mxBB project site : www.mx-system.com | ! | author : horace (see additional credit below) ! | author site : www.empire-wars.com | author email : ho...@em... | | additional credit : This module is based on the mx_loggedin function ! | created by RETORQ. ! | re...@di... ! | www.digitalhijinx.com | ! | description : The "Who Am I" block is a block is a block that ! | will be visable only to registered users who are ! | logged in. It can be used to quickly display ! | statistics and current user image. |********************************************************************************| | Index: readme.txt =================================================================== RCS file: /cvsroot/mxbb/mx_who_am_i/readme.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** readme.txt 16 Oct 2005 14:09:03 -0000 1.2 --- readme.txt 17 Oct 2005 13:15:48 -0000 1.3 *************** *** 1,23 **** /********************************************************************************\ | ! | subject : mx-portal, CMS & portal, module ! | name : mx_who_am_i | begin : october, 2005 ! | copyright : (C) 2002-2005 MX-System | mxBB project site : www.mx-system.com | ! | author : horace (see additional credit below) ! | author site : www.empire-wars.com | author email : ho...@em... | | additional credit : This module is based on the mx_loggedin function ! | created by RETORQ. ! | re...@di... ! | www.digitalhijinx.com | ! | description : The "Who Am I" block is a block is a block that ! | will be visable only to registered users who are ! | logged in. It can be used to quickly display ! | statistics and current user image. |********************************************************************************| | --- 1,23 ---- /********************************************************************************\ | ! | subject : mx-portal, CMS & portal, module ! | name : mx_who_am_i | begin : october, 2005 ! | copyright : (C) 2002-2005 MX-System | mxBB project site : www.mx-system.com | ! | author : horace (see additional credit below) ! | author site : www.empire-wars.com | author email : ho...@em... | | additional credit : This module is based on the mx_loggedin function ! | created by RETORQ. ! | re...@di... ! | www.digitalhijinx.com | ! | description : The "Who Am I" block is a block is a block that ! | will be visable only to registered users who are ! | logged in. It can be used to quickly display ! | statistics and current user image. |********************************************************************************| | |
|
From: Horace <jus...@us...> - 2005-10-17 13:15:58
|
Update of /cvsroot/mxbb/mx_who_am_i/language/lang_english In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3307/mx_who_am_i/language/lang_english Modified Files: lang_main.php Log Message: Pre-mxBB 2.8 RC7 Changes. Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_who_am_i/language/lang_english/lang_main.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lang_main.php 16 Oct 2005 14:09:03 -0000 1.2 --- lang_main.php 17 Oct 2005 13:15:48 -0000 1.3 *************** *** 2,24 **** /********************************************************************************\ | ! | subject : mx-portal, CMS & portal, module ! | name : mx_who_am_i | begin : october, 2005 ! | copyright : (C) 2002-2005 MX-System | mxBB project site : www.mx-system.com | ! | author : horace (see additional credit below) ! | author site : www.empire-wars.com | author email : ho...@em... | | additional credit : This module is based on the mx_loggedin function ! | created by RETORQ. ! | re...@di... ! | www.digitalhijinx.com | ! | description : The "Who Am I" block is a block is a block that ! | will be visable only to registered users who are ! | logged in. It can be used to quickly display ! | statistics and current user image. |********************************************************************************| | --- 2,24 ---- /********************************************************************************\ | ! | subject : mx-portal, CMS & portal, module ! | name : mx_who_am_i | begin : october, 2005 ! | copyright : (C) 2002-2005 MX-System | mxBB project site : www.mx-system.com | ! | author : horace (see additional credit below) ! | author site : www.empire-wars.com | author email : ho...@em... | | additional credit : This module is based on the mx_loggedin function ! | created by RETORQ. ! | re...@di... ! | www.digitalhijinx.com | ! | description : The "Who Am I" block is a block is a block that ! | will be visable only to registered users who are ! | logged in. It can be used to quickly display ! | statistics and current user image. |********************************************************************************| | |