You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2007-04-28 21:23:34
|
Update of /cvsroot/mxbb/core
In directory sc8-pr-cvs16:/tmp/cvs-serv32061
Modified Files:
index.php
Log Message:
Fix for redirecting when not allowed page access
Index: index.php
===================================================================
RCS file: /cvsroot/mxbb/core/index.php,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** index.php 16 Dec 2006 16:37:23 -0000 1.64
--- index.php 28 Apr 2007 21:23:28 -0000 1.65
***************
*** 64,68 ****
elseif ( !$mx_page->auth_view && !$userdata['session_logged_in'] )
{
! mx_redirect( append_sid( $mx_root_path . "login.$phpEx?redirect=" . mx_this_url(), true ) );
}
elseif ( !$mx_page->auth_ip )
--- 64,68 ----
elseif ( !$mx_page->auth_view && !$userdata['session_logged_in'] )
{
! mx_redirect( append_sid( "login.$phpEx?redirect=" . 'index.php?page=' . $page_id, true ) );
}
elseif ( !$mx_page->auth_ip )
|
|
From: Jon O. <jon...@us...> - 2007-04-28 21:10:54
|
Update of /cvsroot/mxbb/mx_bugsbt/docs In directory sc8-pr-cvs16:/tmp/cvs-serv26000 Modified Files: help-about.html Log Message: mxbb-portal.com -> mxbb.net Index: help-about.html =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/docs/help-about.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** help-about.html 15 Feb 2007 12:43:53 -0000 1.1 --- help-about.html 28 Apr 2007 21:10:48 -0000 1.2 *************** *** 21,25 **** <p> BugTracker BugsBT management system. <br /> ! Created by <a href="http://www.mxbb-portal.com" target="_blank">Jon Ohlsson</a>. <br /> Based on original code by <a href="http://gosu.pl/php/simpledoc.html" target="_blank">Cezary Tomczak</a>. <br /> <br /> </p> --- 21,25 ---- <p> BugTracker BugsBT management system. <br /> ! Created by <a href="http://www.mxbb.net" target="_blank">Jon Ohlsson</a>. <br /> Based on original code by <a href="http://gosu.pl/php/simpledoc.html" target="_blank">Cezary Tomczak</a>. <br /> <br /> </p> |
|
From: Jon O. <jon...@us...> - 2007-04-28 21:10:42
|
Update of /cvsroot/mxbb/core/docs In directory sc8-pr-cvs16:/tmp/cvs-serv25962 Modified Files: doc_navigate.html index.html Log Message: mxbb-portal.com -> mxbb.net Index: index.html =================================================================== RCS file: /cvsroot/mxbb/core/docs/index.html,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** index.html 16 Jan 2006 15:54:50 -0000 1.7 --- index.html 28 Apr 2007 21:10:24 -0000 1.8 *************** *** 6,10 **** * @copyright (c) 2002-2005 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License ! * @project_site http://www.mxbb-portal.com * * --- 6,10 ---- * @copyright (c) 2002-2005 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License ! * @project_site http://www.mxbb.net * * *************** *** 27,31 **** <frame name="nav" src="doc_navigate.html" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto" /> <frame name="main" src="main_doc_index.html" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto" /> ! <!-- What if the user's browser doesn't support frames? --> <noframes> --- 27,31 ---- <frame name="nav" src="doc_navigate.html" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto" /> <frame name="main" src="main_doc_index.html" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto" /> ! <!-- What if the user's browser doesn't support frames? --> <noframes> *************** *** 34,38 **** </body> </noframes> ! </frameset> --- 34,38 ---- </body> </noframes> ! </frameset> Index: doc_navigate.html =================================================================== RCS file: /cvsroot/mxbb/core/docs/doc_navigate.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** doc_navigate.html 16 Jan 2006 15:54:50 -0000 1.5 --- doc_navigate.html 28 Apr 2007 21:10:24 -0000 1.6 *************** *** 6,10 **** * @copyright (c) 2002-2005 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License ! * @project_site http://www.mxbb-portal.com * * --- 6,10 ---- * @copyright (c) 2002-2005 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License ! * @project_site http://www.mxbb.net * * *************** *** 39,43 **** <td> <ul class="list"> ! <li class="cat"><a class="genmed" name="main">Main</a> <ul class="list"> --- 39,43 ---- <td> <ul class="list"> ! <li class="cat"><a class="genmed" name="main">Main</a> <ul class="list"> *************** *** 49,53 **** </ul> </li> ! <img style="display:block;" src="images/spacer.gif" alt="" width="1" height="8" border="0" /> <li class="cat"><a class="genmed" name="overview">Overview</a> --- 49,53 ---- </ul> </li> ! <img style="display:block;" src="images/spacer.gif" alt="" width="1" height="8" border="0" /> <li class="cat"><a class="genmed" name="overview">Overview</a> *************** *** 58,62 **** </ul> </li> ! <img style="display:block;" src="images/spacer.gif" alt="" width="1" height="8" border="0" /> <li class="cat"><a class="genmed" href="main_doc_index.html#toc" target="main">Table of Contents</a> --- 58,62 ---- </ul> </li> ! <img style="display:block;" src="images/spacer.gif" alt="" width="1" height="8" border="0" /> <li class="cat"><a class="genmed" href="main_doc_index.html#toc" target="main">Table of Contents</a> *************** *** 67,71 **** <li class="item"><a class="genmed" href="chapters/introduction/introduction.html#intended-use" target="main">What is mxBB used for?</a></li> </ul> ! <li class="folder"><a class="genmed" href="chapters/install-upgrade/install-upgrade.html" target="main">Installation/Upgrade</a> <ul class="list"> --- 67,71 ---- <li class="item"><a class="genmed" href="chapters/introduction/introduction.html#intended-use" target="main">What is mxBB used for?</a></li> </ul> ! <li class="folder"><a class="genmed" href="chapters/install-upgrade/install-upgrade.html" target="main">Installation/Upgrade</a> <ul class="list"> *************** *** 77,86 **** <li class="item"><a class="genmed" href="chapters/install-upgrade/installing.html#install-wizard" target="main">The Installation Wizard</a></li> </ul> ! <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html" target="main">Upgrading</a></li> <ul class="list"> <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#requirements" target="main">Requirements</a></li> <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#download-packages" target="main">Download Packages</a></li> ! <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#upgrade-methods" target="main">Methods of upgrading:</a></li> <ul class="folder"> --- 77,86 ---- <li class="item"><a class="genmed" href="chapters/install-upgrade/installing.html#install-wizard" target="main">The Installation Wizard</a></li> </ul> ! <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html" target="main">Upgrading</a></li> <ul class="list"> <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#requirements" target="main">Requirements</a></li> <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#download-packages" target="main">Download Packages</a></li> ! <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#upgrade-methods" target="main">Methods of upgrading:</a></li> <ul class="folder"> *************** *** 90,101 **** <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#f-p-m2" target="main">Method #2</a></li> </ul> ! <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#changed-files">Changed Files Package</a></li> <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#code-changes">Code Changes Package</a></li> </ul> ! <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#confirmation" target="main">Confirmation</a></li> </ul> ! </ul> </ul> --- 90,101 ---- <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#f-p-m2" target="main">Method #2</a></li> </ul> ! <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#changed-files">Changed Files Package</a></li> <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#code-changes">Code Changes Package</a></li> </ul> ! <li class="item"><a class="genmed" href="chapters/install-upgrade/upgrading.html#confirmation" target="main">Confirmation</a></li> </ul> ! </ul> </ul> |
|
From: Jon O. <jon...@us...> - 2007-04-28 20:51:11
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb2blocks In directory sc8-pr-cvs16:/tmp/cvs-serv17752 Modified Files: mx_forum.php Log Message: mark all read fix Index: mx_forum.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/mx_forum.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_forum.php 2 May 2006 23:22:17 -0000 1.1 --- mx_forum.php 28 Apr 2007 20:51:07 -0000 1.2 *************** *** 292,296 **** 'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'], ! 'U_MARK_READ' => append_sid(PORTAL_URL . "modules/mx_coreblocks/mx_forum.$phpEx?mark=forums")) ); --- 292,297 ---- 'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'], ! //'U_MARK_READ' => append_sid(PORTAL_URL . "modules/mx_coreblocks/mx_forum.$phpEx?mark=forums")) ! 'U_MARK_READ' => append_sid(PORTAL_URL . 'index.' . $phpEx . '?page=' . $page_id . '&mark=forums')) ); |
|
From: Jon O. <jon...@us...> - 2007-04-28 20:49:07
|
Update of /cvsroot/mxbb/core/install
In directory sc8-pr-cvs16:/tmp/cvs-serv16453
Modified Files:
mx_install.php
Log Message:
lang issue for non-english during install
Index: mx_install.php
===================================================================
RCS file: /cvsroot/mxbb/core/install/mx_install.php,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -d -r1.73 -r1.74
*** mx_install.php 17 Sep 2006 11:08:17 -0000 1.73
--- mx_install.php 28 Apr 2007 20:49:01 -0000 1.74
***************
*** 359,364 ****
}
! include($mx_root_path . "language/lang_$language/lang_main.$phpEx");
! include($mx_root_path . "language/lang_$language/lang_admin.$phpEx");
//
--- 359,373 ----
}
! if( !@file_exists($mx_root_path . "language/lang_$language/lang_main.$phpEx") ||
! !@file_exists($mx_root_path . "language/lang_$language/lang_admin.$phpEx") )
! {
! include($mx_root_path . "language/lang_english/lang_main.$phpEx");
! include($mx_root_path . "language/lang_engslih/lang_admin.$phpEx");
! }
! else
! {
! include($mx_root_path . "language/lang_$language/lang_main.$phpEx");
! include($mx_root_path . "language/lang_$language/lang_admin.$phpEx");
! }
//
|
|
From: Jon O. <jon...@us...> - 2007-04-28 20:04:40
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/includes
In directory sc8-pr-cvs16:/tmp/cvs-serv28146/includes
Modified Files:
functions_bugsbt.php
Log Message:
fixes
Index: functions_bugsbt.php
===================================================================
RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/includes/functions_bugsbt.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** functions_bugsbt.php 15 Feb 2007 12:43:47 -0000 1.1
--- functions_bugsbt.php 28 Apr 2007 20:04:35 -0000 1.2
***************
*** 569,573 ****
*
*/
! function list_items( $cat_id = false, $pre = '', $current_bug_id = '', $sql_xtra = '' )
{
global $db, $bugs_config, $template, $board_config;
--- 569,573 ----
*
*/
! function list_items( $cat_id = false, $pre = '', $current_bug_id = '', $sql_xtra = '', $limit = false )
{
global $db, $bugs_config, $template, $board_config;
***************
*** 594,597 ****
--- 594,602 ----
}
+ if ($limit)
+ {
+ $sql_limit = " LIMIT $limit";
+ }
+
switch ( SQL_LAYER )
{
***************
*** 606,610 ****
$sql_xtra
GROUP BY t.bug_id
! ORDER BY " . $this->sort_method_extra . $this->sort_method . " " . $this->sort_order;
break;
--- 611,615 ----
$sql_xtra
GROUP BY t.bug_id
! ORDER BY " . $this->sort_method_extra . $this->sort_method . " " . $this->sort_order . $sql_limit;
break;
***************
*** 619,623 ****
$sql_xtra
GROUP BY t.bug_id
! ORDER BY " . $this->sort_method_extra . $this->sort_method . " " . $this->sort_order;
break;
}
--- 624,628 ----
$sql_xtra
GROUP BY t.bug_id
! ORDER BY " . $this->sort_method_extra . $this->sort_method . " " . $this->sort_order . $sql_limit;
break;
}
***************
*** 652,656 ****
// Format the date for the given file
// ===================================================
! $article_date = create_date( $board_config['default_dateformat'], $file_rowset[$i]['bug_date'], $board_config['board_timezone'] );
//
--- 657,662 ----
// Format the date for the given file
// ===================================================
! $bug_date = create_date( $board_config['default_dateformat'], $file_rowset[$i]['bug_date'], $board_config['board_timezone'] );
! $bug_update_date = create_date( $board_config['default_dateformat'], $file_rowset[$i]['bug_update_date'], $board_config['board_timezone'] );
//
***************
*** 705,709 ****
'PRODUCT' => $edition_name . ' [' . $build_name . ']',
'STATUS' => $bug_type,
! 'REPORTED' => $article_date,
));
--- 711,716 ----
'PRODUCT' => $edition_name . ' [' . $build_name . ']',
'STATUS' => $bug_type,
! 'REPORTED' => $bug_date,
! 'UPDATED' => $bug_update_date,
));
***************
*** 717,731 ****
if ( $filelist )
{
- //
}
else
{
! if ($this->cat_rowset[$cat_id]['cat_allow_file'])
! {
! //$template->assign_block_vars( 'no_articles', array(
! // 'L_NO_ARTICLES' => $lang['No_articles'],
! // 'L_NO_ARTICLES_CAT' => $lang['No_Articles']
! //) );
! }
}
--- 724,734 ----
if ( $filelist )
{
}
else
{
! $template->assign_block_vars( 'no_bugs', array(
! 'L_NO_ARTICLES' => $lang['No_bugs'],
! 'L_NO_ARTICLES_CAT' => $lang['No_Bugs']
! ));
}
|
|
From: Jon O. <jon...@us...> - 2007-04-28 20:04:39
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/admin In directory sc8-pr-cvs16:/tmp/cvs-serv28146/admin Modified Files: admin_auth_manage.php admin_cat_manage.php Log Message: fixes Index: admin_cat_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/admin/admin_cat_manage.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_cat_manage.php 15 Feb 2007 12:43:44 -0000 1.1 --- admin_cat_manage.php 28 Apr 2007 20:04:35 -0000 1.2 *************** *** 124,130 **** // $cat_rowset['auth_view'] = 0; ! $cat_rowset['auth_post'] = 1; ! $cat_rowset['auth_edit'] = 1; ! $cat_rowset['auth_delete'] = 2; $cat_rowset['auth_approval'] = 0; $cat_rowset['auth_approval_edit'] = 0; --- 124,130 ---- // $cat_rowset['auth_view'] = 0; ! $cat_rowset['auth_post'] = 3; ! $cat_rowset['auth_edit'] = 3; ! $cat_rowset['auth_delete'] = 3; $cat_rowset['auth_approval'] = 0; $cat_rowset['auth_approval_edit'] = 0; Index: admin_auth_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/admin/admin_auth_manage.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_auth_manage.php 15 Feb 2007 12:43:44 -0000 1.1 --- admin_auth_manage.php 28 Apr 2007 20:04:35 -0000 1.2 *************** *** 72,76 **** 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! 'S_ALBUM_ACTION' => append_sid( "admin_bugsbt.$phpEx?action=auth_manage&cat_id=$cat_id" ), )); --- 72,76 ---- 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! 'S_ACTION' => append_sid( "admin_bugsbt.$phpEx?action=auth_manage&cat_id=$cat_id" ), )); |
|
From: Jon O. <jon...@us...> - 2007-04-28 20:04:39
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt In directory sc8-pr-cvs16:/tmp/cvs-serv28146 Modified Files: bugsbt_common.php Log Message: fixes Index: bugsbt_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/bugsbt_common.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** bugsbt_common.php 15 Feb 2007 12:43:45 -0000 1.1 --- bugsbt_common.php 28 Apr 2007 20:04:35 -0000 1.2 *************** *** 130,133 **** --- 130,136 ---- // 'L_VIEW_BUGS' => $lang['sd_View_bugs'], + 'L_VIEW_ALL_BUGS' => $lang['sd_View_all_bugs'], + 'L_VIEW_LATEST_BUGS' => $lang['sd_View_latest_bugs'], + 'L_VIEW_LAST_UPDATED_BUGS' => $lang['sd_View_last_updated_bugs'], 'L_VIEW_BUG' => $lang['sd_View_bug'], 'L_REPORT_BUG' => $lang['sd_Report_bug'], |
|
From: Jon O. <jon...@us...> - 2007-04-28 20:04:39
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/modules
In directory sc8-pr-cvs16:/tmp/cvs-serv28146/modules
Modified Files:
bugsbt_index.php bugsbt_post.php bugsbt_product.php
bugsbt_view.php
Log Message:
fixes
Index: bugsbt_index.php
===================================================================
RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_index.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** bugsbt_index.php 15 Feb 2007 12:43:50 -0000 1.1
--- bugsbt_index.php 28 Apr 2007 20:04:35 -0000 1.2
***************
*** 94,97 ****
--- 94,99 ----
'L_FOLDER' => $lang['sd_Folder'],
+ 'L_QUICK_LINKS' => $lang['bugsbt_quick_links'],
+
'VIEW_DOC' => ' - <a href="'.$this->this_mxurl('mode=view').'" >[' . $lang['sd_Doc_view'] . ']</a>',
));
Index: bugsbt_product.php
===================================================================
RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_product.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** bugsbt_product.php 15 Feb 2007 12:43:50 -0000 1.1
--- bugsbt_product.php 28 Apr 2007 20:04:35 -0000 1.2
***************
*** 35,42 ****
$start = $mx_request_vars->get('start', MX_TYPE_INT, 0);
$category_id = $mx_request_vars->request('cat', MX_TYPE_INT, '');
if ( empty( $category_id ) )
{
! mx_message_die( GENERAL_MESSAGE, $lang['Product_not_exsist'] );
}
--- 35,43 ----
$start = $mx_request_vars->get('start', MX_TYPE_INT, 0);
$category_id = $mx_request_vars->request('cat', MX_TYPE_INT, '');
+ $limit = $mx_request_vars->request('limit', MX_TYPE_INT, '');
if ( empty( $category_id ) )
{
! //mx_message_die( GENERAL_MESSAGE, $lang['Product_not_exsist'] );
}
***************
*** 49,90 ****
{
case 'Id':
! $this->sort_method = 't.article_id';
! $this->sort_method_extra = 't.article_type' . " DESC, " ;
break;
case 'Latest':
! $this->sort_method = 't.article_date';
! $this->sort_method_extra = 't.article_type' . " DESC, " ;
break;
! case 'Toprated':
! $this->sort_method = 'rating';
! $this->sort_method_extra = 't.article_type' . " DESC, " ;
break;
case 'Most_popular':
$this->sort_method = 't.views';
! $this->sort_method_extra = 't.article_type' . " DESC, " ;
! break;
! case 'Userrank':
! $this->sort_method = 'u.user_rank';
! $this->sort_method_extra = 't.article_type' . " DESC, " ;
break;
case 'Alphabetic':
! $this->sort_method = 't.article_title';
! $this->sort_method_extra = 't.article_type' . " DESC, " ;
break;
}
}
! if ( isset( $_REQUEST['sort_order'] ) )
! {
! switch ( $_REQUEST['sort_order'] )
! {
! case 'ASC':
! $this->sort_order = 'ASC';
! break;
! case 'DESC':
! $this->sort_order = 'DESC';
! break;
! }
! }
// =======================================================
--- 50,76 ----
{
case 'Id':
! $this->sort_method = 't.bug_id';
! $this->sort_method_extra = '';
break;
case 'Latest':
! $this->sort_method = 't.bug_date';
! $this->sort_method_extra = '';
break;
! case 'Last_updated':
! $this->sort_method = 't.bug_update_date';
! $this->sort_method_extra = '';
break;
case 'Most_popular':
$this->sort_method = 't.views';
! $this->sort_method_extra = '';
break;
case 'Alphabetic':
! $this->sort_method = 't.bug_title';
! $this->sort_method_extra = '';
break;
}
}
! $this->sort_order = 'DESC';
// =======================================================
***************
*** 105,109 ****
}
! if ( ( !$this->auth_user[$category_id]['auth_view'] ) && ( !$show_category ) )
{
if ( !$userdata['session_logged_in'] )
--- 91,95 ----
}
! if ( ( $category_id && !$this->auth_user[$category_id]['auth_view'] ) && ( !$show_category ) )
{
if ( !$userdata['session_logged_in'] )
***************
*** 119,123 ****
{
$message = $lang['Category_not_exsist'] . '<br /><br />' . sprintf( $lang['Click_return_bugsbt'], '<a href="' . append_sid( $this->this_mxurl() ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_index'], '<a href="' . append_sid( $mx_root_path . "index.$phpEx" ) . '">', '</a>' );
! mx_message_die( GENERAL_MESSAGE, $message );
}
--- 105,109 ----
{
$message = $lang['Category_not_exsist'] . '<br /><br />' . sprintf( $lang['Click_return_bugsbt'], '<a href="' . append_sid( $this->this_mxurl() ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_index'], '<a href="' . append_sid( $mx_root_path . "index.$phpEx" ) . '">', '</a>' );
! //mx_message_die( GENERAL_MESSAGE, $message );
}
***************
*** 131,135 ****
//
$message = $lang['No_cat_comments_forum_id'];
! mx_message_die(GENERAL_MESSAGE, $message);
}
--- 117,121 ----
//
$message = $lang['No_cat_comments_forum_id'];
! //mx_message_die(GENERAL_MESSAGE, $message);
}
***************
*** 150,153 ****
--- 136,140 ----
'L_STATUS' => $lang['bugsbt_Bug_status'],
'L_REPORTED' => $lang['bugsbt_Bug_reported'],
+ 'L_UPDATED' => $lang['Date_updated'],
'U_CAT' => append_sid( $this->this_mxurl( 'mode=cat&cat=' . $category_id ) ) )
***************
*** 157,166 ****
// assign var for top navigation
// ===================================================
! $this->generate_navigation( $category_id );
//
// User authorisation levels output
//
! $this->auth_can($category_id);
//
--- 144,153 ----
// assign var for top navigation
// ===================================================
! //$this->generate_navigation( $category_id );
//
// User authorisation levels output
//
! //$this->auth_can($category_id);
//
***************
*** 175,179 ****
// Get articles
//
! $this->list_items( $category_id );
//
--- 162,166 ----
// Get articles
//
! $this->list_items( $category_id, '', '' ,'', $limit );
//
***************
*** 181,185 ****
//
//$this->generate_jumpbox( 'auth_view', $category_id, $category_id, true );
! $this->generate_jumpbox( 0, 0, array( $category_id => 1 ));
}
}
--- 168,172 ----
//
//$this->generate_jumpbox( 'auth_view', $category_id, $category_id, true );
! //$this->generate_jumpbox( 0, 0, array( $category_id => 1 ));
}
}
Index: bugsbt_view.php
===================================================================
RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_view.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** bugsbt_view.php 15 Feb 2007 12:43:51 -0000 1.1
--- bugsbt_view.php 28 Apr 2007 20:04:35 -0000 1.2
***************
*** 105,108 ****
--- 105,109 ----
$approved = $bugsbt_row['approved'];
$date = create_date( $board_config['default_dateformat'], $bugsbt_row['bug_date'], $board_config['board_timezone'] );
+ $date_updated = create_date( $board_config['default_dateformat'], $bugsbt_row['bug_update_date'], $board_config['board_timezone'] );
$bug_type = isset($lang['bugsbt_type_' . $bugsbt_row['type']]) ? $lang['bugsbt_type_' . $bugsbt_row['type']] : $bugsbt_row['type'];
***************
*** 253,256 ****
--- 254,258 ----
'L_BUG_DESCRIPTION' => $lang['Bug_description'],
'L_BUG_DATE' => $lang['Date'],
+ 'L_BUG_UPDATED_DATE' => $lang['Date_updated'],
'L_BUG_TYPE' => $lang['Bug_type'],
'L_BUG_PRODUCT' => $lang['Product'],
***************
*** 271,274 ****
--- 273,277 ----
'BUG_DESCRIPTION' => $bug_description,
'BUG_DATE' => $date,
+ 'BUG_UPDATED_DATE' => $date_updated,
'BUG_TYPE' => $bug_type,
Index: bugsbt_post.php
===================================================================
RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_post.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** bugsbt_post.php 15 Feb 2007 12:43:50 -0000 1.1
--- bugsbt_post.php 28 Apr 2007 20:04:35 -0000 1.2
***************
*** 258,263 ****
$approve = $this->auth_user[$cat_id]['auth_approval'] || $this->auth_user[$cat_id]['auth_mod'] ? 1 : 0; // approved
! $sql = "INSERT INTO " . BUGSBT_BUGS_TABLE . " ( bug_category_id, bug_title, bug_description, bug_date, bug_author_id, username, bbcode_uid, bug_body, bug_type, bug_closed, approved, views )
! VALUES ( '$cat_id', '" . str_replace( "\'", "''", $article_title ) . "', '" . str_replace( "\'", "''", $article_description ) . "', '$date', '$author_id', '" . str_replace( "\'", "''", $username ) . "', '$bbcode_uid', '" . str_replace( "\'", "''", $article_text ) . "', '$type_id', '$closed' , '$approve', '0')";
if ( !( $results = $db->sql_query( $sql ) ) )
--- 258,263 ----
$approve = $this->auth_user[$cat_id]['auth_approval'] || $this->auth_user[$cat_id]['auth_mod'] ? 1 : 0; // approved
! $sql = "INSERT INTO " . BUGSBT_BUGS_TABLE . " ( bug_category_id, bug_title, bug_description, bug_date, bug_update_date, bug_author_id, username, bbcode_uid, bug_body, bug_type, bug_closed, approved, views )
! VALUES ( '$cat_id', '" . str_replace( "\'", "''", $article_title ) . "', '" . str_replace( "\'", "''", $article_description ) . "', '$date', '$date', '$author_id', '" . str_replace( "\'", "''", $username ) . "', '$bbcode_uid', '" . str_replace( "\'", "''", $article_text ) . "', '$type_id', '$closed' , '$approve', '0')";
if ( !( $results = $db->sql_query( $sql ) ) )
***************
*** 304,307 ****
--- 304,308 ----
bug_description = '" . str_replace( "\'", "''", $article_description ) . "',
bug_body = '" . str_replace( "\'", "''", $article_text ) . "',
+ bug_update_date = '" . $date . "',
bug_type = '" . $type_id . "',
bug_closed = '" . $closed . "',
|
|
From: Jon O. <jon...@us...> - 2007-04-28 20:04:15
|
Update of /cvsroot/mxbb/mx_bugsbt In directory sc8-pr-cvs16:/tmp/cvs-serv28107 Added Files: db_install.php Log Message: lost file --- NEW FILE: db_install.php --- <?php /** * * @package mxBB Portal Module - mx_bugsbt * @version $Id: db_install.php,v 1.1 2007/04/28 20:04:09 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Cezary Tomczak] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { $mx_root_path = './../../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); if ( !$userdata['session_logged_in'] ) { die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { die( "Hacking attempt(2)" ); } // End session management } $mx_module_version = '1.0.0'; $mx_module_copy = 'Designed for mxBB by <a href="http://www.mxbb.net" target="_blank">Jon</a>'; // If fresh install if ( !$result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "bugsbt_config" ) ) { $message = "<b>This is a new module installation!</b><br/><br/>"; $sql = array( "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_bugs ", "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_products ", "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_config ", "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_types ", "CREATE TABLE " . $mx_table_prefix . "bugsbt_products ( category_id int(10) NOT NULL auto_increment, category_name text, category_details text, parent int(50) default NULL, parents_data text NOT NULL default '', cat_order int(50) default NULL, cat_allow_file tinyint(2) NOT NULL default '1', cat_allow_comments tinyint(2) NOT NULL default '-1', internal_comments tinyint(2) NOT NULL default '-1', autogenerate_comments tinyint(2) NOT NULL default '-1', comments_forum_id mediumint(8) NOT NULL default '-1', show_pretext tinyint(2) NOT NULL default '-1', notify tinyint(2) NOT NULL default '-1', notify_group mediumint(8) NOT NULL default '-1', number_bugs mediumint(8) NOT NULL default '-1', cat_last_bug_id mediumint(8) unsigned NOT NULL default '0', cat_last_bug_name varchar(255) NOT NULL default '', cat_last_bug_time INT(50) UNSIGNED DEFAULT '0' NOT NULL, auth_view tinyint(3) NOT NULL DEFAULT '0', auth_post tinyint(3) NOT NULL DEFAULT '0', auth_view_comment tinyint(3) NOT NULL DEFAULT '0', auth_post_comment tinyint(3) NOT NULL DEFAULT '0', auth_edit_comment tinyint(3) NOT NULL DEFAULT '0', auth_delete_comment tinyint(3) NOT NULL DEFAULT '2', auth_edit tinyint(3) NOT NULL DEFAULT '0', auth_delete tinyint(3) NOT NULL DEFAULT '2', auth_approval tinyint(3) NOT NULL DEFAULT '0', auth_approval_edit tinyint(3) NOT NULL DEFAULT '0', auth_view_groups varchar(255) NOT NULL default '0', auth_post_groups varchar(255) NOT NULL default '0', auth_view_comment_groups varchar(255) NOT NULL default '0', auth_post_comment_groups varchar(255) NOT NULL default '0', auth_edit_comment_groups varchar(255) NOT NULL default '0', auth_delete_comment_groups varchar(255) NOT NULL default '0', auth_edit_groups varchar(255) NOT NULL default '0', auth_delete_groups varchar(255) NOT NULL default '0', auth_approval_groups varchar(255) NOT NULL default '0', /* not really used */ auth_approval_edit_groups varchar(255) NOT NULL default '0', /* not really used */ auth_moderator_groups varchar(255) NOT NULL default '0', PRIMARY KEY (category_id), KEY cat_order (cat_order) )", "INSERT INTO " . $mx_table_prefix . "bugsbt_products VALUES (1, 'Test Product', 'Just a test product', '0', '10', '-1', '-1','-1','-1','-1','-1','-1', '-1', '0', '', '0', '0', '0', '0', '0', '0', '2', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0' )", "CREATE TABLE " . $mx_table_prefix . "bugsbt_bugs ( bug_id mediumint(8) unsigned NOT NULL auto_increment, bug_title varchar(255) binary NOT NULL default '', bug_description varchar(255) binary NOT NULL default '', bug_category_id mediumint(8) unsigned NOT NULL default '0', approved tinyint(1) unsigned NOT NULL default '0', bug_body text NOT NULL, bbcode_uid varchar(10) binary NOT NULL default '', bug_type mediumint(8) unsigned NOT NULL default '0', bug_status mediumint(8) unsigned NOT NULL default '0', bug_closed tinyint(1) unsigned NOT NULL default '0', bug_date int(50) NOT NULL default NULL, bug_update_date int(50) NOT NULL default NULL, bug_author_id mediumint(8) NOT NULL, username VARCHAR(255), topic_id mediumint(8) unsigned NOT NULL default '0', attached_topic_id mediumint(8) unsigned NOT NULL default '0', views BIGINT(8) NOT NULL DEFAULT '0', PRIMARY KEY (bug_id) )", "CREATE TABLE " . $mx_table_prefix . "bugsbt_config ( config_name VARCHAR(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) )", // -------------------------------------------------------- "CREATE TABLE " . $mx_table_prefix . "bugsbt_comments ( comments_id int(10) NOT NULL auto_increment, bug_id int(10) NOT NULL default '0', comments_text text NOT NULL, comments_title text NOT NULL, comments_time int(50) NOT NULL default '0', comment_bbcode_uid varchar(10) default NULL, poster_id mediumint(8) NOT NULL default '0', PRIMARY KEY (comments_id), KEY comments_id (comments_id), FULLTEXT KEY comment_bbcode_uid (comment_bbcode_uid) )", "CREATE TABLE " . $mx_table_prefix . "bugsbt_types ( id mediumint(8) unsigned NOT NULL auto_increment, type varchar(255) binary DEFAULT '' NOT NULL, KEY id (id) )", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (1, 'Confirmed')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (2, 'Unconfirmed')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (3, 'Partially Fixed')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (4, 'Feature')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (5, 'Not a Bug')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (6, 'Fixed')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (7, 'Internal To-Do')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (8, 'Postponed')", // -------------------------------------------------------- "CREATE TABLE " . $mx_table_prefix . "bugsbt_custom ( custom_id int(50) NOT NULL auto_increment, custom_name text NOT NULL, custom_description text NOT NULL, data text NOT NULL, field_order int(20) NOT NULL default '0', field_type tinyint(2) NOT NULL default '0', regex varchar(255) NOT NULL default '', PRIMARY KEY (custom_id) )", // -------------------------------------------------------- "CREATE TABLE " . $mx_table_prefix . "bugsbt_customdata ( customdata_file int(50) NOT NULL default '0', customdata_custom int(50) NOT NULL default '0', data text NOT NULL )", // // Insert Configs // // General "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('enable_module', '1')", // allow_new "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('module_name', 'BugsBT')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('wysiwyg_path', 'modules/mx_shared/')", // Articles "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('formatting_wordwrap', '1')", // formatting_fixup "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('formatting_image_resize', '300')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('formatting_truncate_links', '1')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_wysiwyg', '0')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_html', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_bbcode', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_smilies', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allowed_html_tags', 'b,i,u,a')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_links', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_images', '0')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('no_image_message', '[No image please]')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('no_link_message', '[No links please]')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('max_subject_chars', '100')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('max_desc_chars', '500')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('max_chars', '0')", // NEW // Appearance "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('sort_method', 'Alphabetic')", // news_sort "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('sort_order', 'ASC')", // news_sort_par "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('pagination', '10')", // art_pagination "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('stats_list', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('header_banner', '0')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('use_simple_navigation', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('cat_col', '2')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('settings_newdays', '5')", // Comments "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('use_comments', '0')", // comments_show "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('internal_comments', '1')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('formatting_comment_wordwrap', '1')", // formatting_comment_fixup "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('formatting_comment_image_resize', '300')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('formatting_comment_truncate_links', '1')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('max_comment_subject_chars', '50')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('max_comment_chars', '5000')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_comment_wysiwyg', '0')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_comment_html', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_comment_bbcode', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_comment_smilies', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_comment_links', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_comment_images', '0')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('no_comment_image_message', '[No image please]')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('no_comment_link_message', '[No links please]')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allowed_comment_html_tags', 'b,i,u,a')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('del_topic', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('autogenerate_comments', '1')", // bump_post "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('comments_pagination', '5')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('comments_forum_id', '0')", // New // Instructions "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('show_pretext',0)", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('pt_header','Article Submission Instructions')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config values ('pt_body','Please check your references and include as much information as you can.')", // Notifications "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('notify', 'pm')", // updated "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('notify_group', '0')", // admin_id ); $sql[] = "UPDATE " . $mx_table_prefix . "module" . " SET module_version = '" . $mx_module_version . "', module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; $message .= mx_do_install_upgrade( $sql ); } else { // If already installed $message = "<b>Module is already installed...consider upgrading ;)</b><br/><br/>"; } echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstallation Information - module specific DB tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; ?> |
|
From: Jon O. <jon...@us...> - 2007-04-28 19:59:42
|
Update of /cvsroot/mxbb/mx_kb/kb/includes
In directory sc8-pr-cvs16:/tmp/cvs-serv25305/kb/includes
Modified Files:
functions.php functions_kb.php
Log Message:
fixes
Index: functions.php
===================================================================
RCS file: /cvsroot/mxbb/mx_kb/kb/includes/functions.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** functions.php 14 Aug 2006 10:46:05 -0000 1.15
--- functions.php 28 Apr 2007 19:59:04 -0000 1.16
***************
*** 764,767 ****
--- 764,768 ----
default:
+ /* Bug 50
$sql = "SELECT a.*, AVG(r.rate_point) AS rating, COUNT(r.votes_article) AS total_votes, u.user_id, u.username, c.category_id, c.category_name
FROM " . KB_ARTICLES_TABLE . " AS a, " . KB_CATEGORIES_TABLE . " AS c
***************
*** 771,774 ****
--- 772,783 ----
AND a.article_id = '" . $item_id . "'
GROUP BY a.article_id";
+ */
+ $sql = "SELECT a.*, AVG(r.rate_point) AS rating, COUNT(r.votes_article) AS total_votes, u.user_id, u.username, c.category_id, c.category_name
+ FROM " . KB_ARTICLES_TABLE . " AS a
+ LEFT JOIN " . KB_CATEGORIES_TABLE . " AS c ON c.category_id = a.article_category_id
+ LEFT JOIN " . KB_VOTES_TABLE . " AS r ON a.article_id = r.votes_article
+ LEFT JOIN " . USERS_TABLE . " AS u ON a.article_author_id = u.user_id
+ WHERE a.article_id = '" . $item_id . "'
+ GROUP BY a.article_id ";
break;
}
Index: functions_kb.php
===================================================================
RCS file: /cvsroot/mxbb/mx_kb/kb/includes/functions_kb.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** functions_kb.php 15 Aug 2006 19:42:50 -0000 1.19
--- functions_kb.php 28 Apr 2007 19:59:05 -0000 1.20
***************
*** 156,160 ****
$this->comments[$cat_rowset[$i]['category_id']]['comments_forum_id'] = $cat_rowset[$i]['comments_forum_id'] < 1 ? ( intval($kb_config['comments_forum_id']) ) : ( intval($cat_rowset[$i]['comments_forum_id']) ); // phpBB target forum (only used for phpBB comments)
! if (!$this->comments[$cat_rowset[$i]['category_id']]['internal_comments'] && intval($this->comments[$cat_rowset[$i]['category_id']]['comments_forum_id']) < 1)
{
mx_message_die(GENERAL_ERROR, 'Init Failure, phpBB comments with no target forum_id :(<br> Category: ' . $cat_rowset[$i]['category_name'] . ' Forum_id: ' . $this->comments[$cat_rowset[$i]['category_id']]['comments_forum_id']);
--- 156,160 ----
$this->comments[$cat_rowset[$i]['category_id']]['comments_forum_id'] = $cat_rowset[$i]['comments_forum_id'] < 1 ? ( intval($kb_config['comments_forum_id']) ) : ( intval($cat_rowset[$i]['comments_forum_id']) ); // phpBB target forum (only used for phpBB comments)
! if ($this->comments[$cat_rowset[$i]['category_id']]['activated'] && !$this->comments[$cat_rowset[$i]['category_id']]['internal_comments'] && intval($this->comments[$cat_rowset[$i]['category_id']]['comments_forum_id']) < 1)
{
mx_message_die(GENERAL_ERROR, 'Init Failure, phpBB comments with no target forum_id :(<br> Category: ' . $cat_rowset[$i]['category_name'] . ' Forum_id: ' . $this->comments[$cat_rowset[$i]['category_id']]['comments_forum_id']);
***************
*** 210,213 ****
--- 210,214 ----
$this->reader_mode = $kb_config['reader_mode'];
+ $this->app_mode = $kb_config['app_mode'];
}
***************
*** 485,488 ****
--- 486,728 ----
/**
+ * Jump menu function.
+ *
+ * @param unknown_type $cat_id to handle parent cat_id
+ * @param unknown_type $depth related to function to generate tree
+ * @param unknown_type $default the cat you wanted to be selected
+ * @param unknown_type $for_file TRUE high category ids will be -1
+ * @param unknown_type $check_upload if true permission for upload will be checked
+ * @return unknown
+ */
+ function generate_app_tree( $current_article_id = '', $cat_id = 0, $pre = '', $default = '', $for_file = false, $check_upload = true, $auth = 'auth_view' )
+ {
+ global $article_path, $page_id;
+ //static $cat_rowset = false;
+
+ if ( !is_array( $cat_rowset ) )
+ {
+ if ( $check_upload )
+ {
+ if ( !empty( $this->cat_rowset ) )
+ {
+ foreach( $this->cat_rowset as $row )
+ {
+ if ( $this->auth_user[$row['category_id']][$auth] )
+ {
+ $cat_rowset[$row['category_id']] = $row;
+ }
+ }
+ }
+ }
+ else
+ {
+ $cat_rowset = $this->cat_rowset;
+ }
+ }
+
+ $cat_list .= '';
+
+ $temp_cat_rowset = $cat_rowset;
+
+ if ( !empty( $temp_cat_rowset ) )
+ {
+ foreach ( $temp_cat_rowset as $temp_cat_id => $cat )
+ {
+ if ( $cat['parent'] == $cat_id )
+ {
+ if ( is_array( $default ) )
+ {
+ if ( isset( $default[$cat['category_id']] ) )
+ {
+ $sel = ' selected="selected"';
+ }
+ else
+ {
+ $sel = '';
+ }
+ }
+
+ $sub_cat_id = ( $for_file ) ? ( ( !$cat['cat_allow_file'] ) ? -1 : $cat['category_id'] ) : $cat['category_id'];
+ $cat_list .= sprintf('<div onselectstart="return false" class="folder" id="tree-%s">%s', $pre . $sub_cat_id, $cat['category_name']);
+ $cat_list .= $this->generate_app_tree( $current_article_id, $cat['category_id'], $pre . $cat['category_id'] . '/', $default, $for_file, $check_upload );
+
+ //
+ // Load items
+ //
+ $cat_list .= $this->list_items($sub_cat_id, $pre, $current_article_id);
+
+ $cat_list .= '</div>';
+ }
+ }
+ //$this->jumpbox = $cat_list;
+ return $cat_list;
+ }
+ else
+ {
+ return;
+ }
+ }
+
+ /**
+ * display items.
+ *
+ * @param unknown_type $start
+ * @param unknown_type $cat_id
+ * @param unknown_type $block_name
+ * @param unknown_type $approve
+ */
+ function list_items( $cat_id = false, $pre = '', $current_article_id = '', $sql_xtra = '' )
+ {
+ global $db, $kb_config, $template, $board_config;
+ global $images, $lang, $theme, $phpEx, $mx_kb_functions;
+ global $phpbb_root_path, $mx_root_path, $module_root_path, $is_block, $phpEx;
+ global $article_path;
+
+ $filelist = false;
+
+ $file_rowset = array();
+ $total_file = 0;
+
+ //
+ // Category SQL
+ //
+ if (!$cat_id)
+ {
+ $cat_where = "AND t.article_category_id IN (" . $this->gen_cat_ids( '0' ) . ")";
+ }
+ else
+ {
+ $cat_where = "AND t.article_category_id = $cat_id";
+ }
+
+ switch ( SQL_LAYER )
+ {
+ case 'oracle':
+ $sql = "SELECT t.*, t.article_id, r.votes_article, AVG(r.rate_point) AS rating, COUNT(r.votes_article) AS total_votes, u.user_id, u.username, typ.type
+ FROM " . KB_ARTICLES_TABLE . " AS t, " . KB_VOTES_TABLE . " AS r, " . USERS_TABLE . " AS u, " . KB_CATEGORIES_TABLE . " AS cat, " . KB_TYPES_TABLE . " AS typ
+ WHERE t.article_id = r.votes_article(+)
+ AND t.article_type = typ.id(+)
+ AND t.article_author_id = u.user_id(+)
+ AND t.approved = '1'
+ AND t.article_category_id = cat.category_id
+ $cat_where
+ $sql_xtra
+ GROUP BY t.article_id
+ ORDER BY " . $this->sort_method_extra . $this->sort_method . " " . $this->sort_order;
+ break;
+
+ default:
+ $sql = "SELECT t.*, t.article_id, r.votes_article, IF(COUNT(r.rate_point)>0,AVG(r.rate_point),0) AS rating, COUNT(r.votes_article) AS total_votes, u.user_id, u.username, typ.type
+ FROM " . KB_ARTICLES_TABLE . " AS t
+ LEFT JOIN " . KB_VOTES_TABLE . " AS r ON t.article_id = r.votes_article
+ LEFT JOIN " . KB_TYPES_TABLE . " AS typ ON t.article_type = typ.id
+ LEFT JOIN " . USERS_TABLE . " AS u ON t.article_author_id = u.user_id
+ LEFT JOIN " . KB_CATEGORIES_TABLE . " AS cat ON t.article_category_id = cat.category_id
+ WHERE t.approved = '1'
+ $cat_where
+ $sql_xtra
+ GROUP BY t.article_id
+ ORDER BY " . $this->sort_method_extra . $this->sort_method . " " . $this->sort_order;
+ break;
+ }
+
+ if ( !( $result = $mx_kb_functions->sql_query_limit( $sql, $kb_config['pagination'], $start ) ) )
+ {
+ mx_message_die( GENERAL_ERROR, 'Couldn\'t get article info for this category', '', __LINE__, __FILE__, $sql );
+ }
+
+ $file_rowset = array();
+
+ while ( $row = $db->sql_fetchrow( $result ) )
+ {
+ if ( $this->auth_user[$row['article_category_id']]['auth_view'] )
+ {
+ $file_rowset[] = $row;
+ }
+ }
+
+ $db->sql_freeresult( $result );
+
+ $filelist = false;
+ if (count( $file_rowset ) > 0)
+ {
+ $filelist = true;
+ }
+
+ $item_list = '';
+ for ( $i = 0; $i < count( $file_rowset ); $i++ )
+ {
+ // ===================================================
+ // Format the date for the given file
+ // ===================================================
+ //$article_date = create_date( $board_config['default_dateformat'], $file_rowset[$i]['article_date'], $board_config['board_timezone'] );
+
+ //
+ // If the file is new then put a new image in front of it
+ //
+ $is_new = FALSE;
+ if (time() - ($kb_config['settings_newdays'] * 24 * 60 * 60) < $file_rowset[$i]['article_date'])
+ {
+ $is_new = TRUE;
+ }
+
+ //$cat_name = ( empty( $cat_id ) ) ? $this->cat_rowset[$file_rowset[$i]['file_catid']]['category_name'] : '';
+ //$cat_url = append_sid( $this->this_mxurl( 'action=category&cat_id=' . $file_rowset[$i]['article_category_id'] ) );
+
+ $article_description = $file_rowset[$i]['article_description'] ;
+ //$article_cat_id = $file_rowset[$i]['article_category_id'];
+ $article_approved = $file_rowset[$i]['approved'];
+
+ //
+ // type
+ //
+ $article_type = isset($lang['KB_type_' . $file_rowset[$i]['type']]) ? $lang['KB_type_' . $file_rowset[$i]['type']] : $file_rowset[$i]['type'];
+
+ //
+ // author information
+ //
+ $author = ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . append_sid( $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&' . POST_USERS_URL . '=' . $file_rowset[$i]['user_id'] ) . '" target=_blank>' : '';
+ $author .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? $file_rowset[$i]['username'] : $file_rowset[$i]['post_username'] . '(' . $lang['Guest'] . ')';
+ $author .= ( $file_rowset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : '';
+
+ $article_id = $file_rowset[$i]['article_id'];
+ $views = $file_rowset[$i]['views'];
+
+ $article_title = $file_rowset[$i]['article_title'];
+ $article_url = append_sid( $this->this_mxurl( "mode=article&k=$article_id" ) );
+
+ if ( $is_new )
+ {
+ //$template->assign_block_vars( "ARTICLELIST.articlerow.is_new_file", array() );
+ }
+
+ $item_list .= sprintf('<div class="doc" id="tree-%s">%s</div>', $pre . $cat_id . '/' . $article_id, $article_title);
+
+ // Tweak to define the ajax history url
+ if ($article_id == $current_article_id)
+ {
+ $article_path = $pre . $cat_id . '/' . $article_id;
+ }
+ }
+
+ if ( $filelist )
+ {
+ //
+ }
+ else
+ {
+ if ($this->cat_rowset[$cat_id]['cat_allow_file'])
+ {
+ //$template->assign_block_vars( 'no_articles', array(
+ // 'L_NO_ARTICLES' => $lang['No_articles'],
+ // 'L_NO_ARTICLES_CAT' => $lang['No_Articles']
+ //) );
+ }
+ }
+
+ return $item_list;
+ }
+
+ /**
* get_sub_cat.
*
|
|
From: Jon O. <jon...@us...> - 2007-04-28 19:59:40
|
Update of /cvsroot/mxbb/mx_kb/kb/admin In directory sc8-pr-cvs16:/tmp/cvs-serv25305/kb/admin Modified Files: admin_auth_manage.php admin_cat_manage.php admin_types_manage.php Log Message: fixes Index: admin_cat_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/admin/admin_cat_manage.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_cat_manage.php 13 Aug 2006 19:43:07 -0000 1.3 --- admin_cat_manage.php 28 Apr 2007 19:59:04 -0000 1.4 *************** *** 162,166 **** 'L_CATEGORY' => $lang['Category'], 'L_DESCRIPTION' => $lang['Category_description'], ! 'L_NUMBER_ARTICLES' => $lang['Articles'], 'L_CAT_SETTINGS' => $lang['Cat_settings'], 'L_CREATE' => $lang['Create'], --- 162,166 ---- 'L_CATEGORY' => $lang['Category'], 'L_DESCRIPTION' => $lang['Category_description'], ! 'L_NUMBER_ITEMS' => $lang['Articles'], 'L_CAT_SETTINGS' => $lang['Cat_settings'], 'L_CREATE' => $lang['Create'], *************** *** 177,181 **** 'CAT_NAME' => $new_cat_name, 'DESC' => '', ! 'NUMBER_ARTICLES' => '0', 'L_DEFAULT' => $lang['Use_default'], --- 177,181 ---- 'CAT_NAME' => $new_cat_name, 'DESC' => '', ! 'NUMBER_ITEMS' => '0', 'L_DEFAULT' => $lang['Use_default'], *************** *** 465,469 **** 'L_CATEGORY' => $lang['Category'], 'L_DESCRIPTION' => $lang['Category_desc'], ! 'L_NUMBER_ARTICLES' => $lang['Articles'], 'L_CAT_SETTINGS' => $lang['Cat_settings'], 'L_CREATE' => $lang['Edit'], --- 465,469 ---- 'L_CATEGORY' => $lang['Category'], 'L_DESCRIPTION' => $lang['Category_desc'], ! 'L_NUMBER_ITEMS' => $lang['Articles'], 'L_CAT_SETTINGS' => $lang['Cat_settings'], 'L_CREATE' => $lang['Edit'], *************** *** 483,487 **** 'CAT_NAME' => $cat_name, 'CAT_DESCRIPTION' => $cat_desc, ! 'NUMBER_ARTICLES' => $number_articles, 'L_DEFAULT' => $lang['Use_default'], --- 483,487 ---- 'CAT_NAME' => $cat_name, 'CAT_DESCRIPTION' => $cat_desc, ! 'NUMBER_ITEMS' => $number_articles, 'L_DEFAULT' => $lang['Use_default'], *************** *** 687,691 **** 'L_DELETE_DESCRIPTION' => $lang['Cat_delete_desc'], 'L_CAT_DELETE' => $lang['Cat_delete_title'], ! 'L_DELETE_ARTICLES' => $lang['Delete_all_articles'], 'L_CAT_NAME' => $lang['Article_category'], --- 687,691 ---- 'L_DELETE_DESCRIPTION' => $lang['Cat_delete_desc'], 'L_CAT_DELETE' => $lang['Cat_delete_title'], ! 'L_DELETE_ITEMS' => $lang['Delete_all_articles'], 'L_CAT_NAME' => $lang['Article_category'], *************** *** 866,870 **** 'L_CATEGORY' => $lang['Article_category'], 'L_ACTION' => $lang['Art_action'], ! 'L_ARTICLES' => $lang['Articles'], 'L_ORDER' => $lang['Update_order'], --- 866,870 ---- 'L_CATEGORY' => $lang['Article_category'], 'L_ACTION' => $lang['Art_action'], ! 'L_ITEMS' => $lang['Articles'], 'L_ORDER' => $lang['Update_order'], Index: admin_types_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/admin/admin_types_manage.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_types_manage.php 13 Aug 2006 19:43:07 -0000 1.3 --- admin_types_manage.php 28 Apr 2007 19:59:04 -0000 1.4 *************** *** 164,168 **** 'S_HIDDEN_FIELDS' => '<input type="hidden" name="typeid" value="' . $type_id . '">', ! 'S_SELECT_TO' => get_list_kb( $type_id, 0 ), 'S_ACTION' => append_sid( "admin_kb.$phpEx?action=types_manage&mode=delete" ), --- 164,168 ---- 'S_HIDDEN_FIELDS' => '<input type="hidden" name="typeid" value="' . $type_id . '">', ! 'S_SELECT_TO' => $this->get_list_kb( $type_id, 0 ), 'S_ACTION' => append_sid( "admin_kb.$phpEx?action=types_manage&mode=delete" ), *************** *** 205,210 **** $template->assign_vars( array( ! 'L_KB_TYPE_TITLE' => $lang['Types_man'], ! 'L_KB_TYPE_DESCRIPTION' => $lang['KB_types_description'], 'L_CREATE_TYPE' => $lang['Create_type'], --- 205,210 ---- $template->assign_vars( array( ! 'L_TYPE_TITLE' => $lang['Types_man'], ! 'L_TYPE_DESCRIPTION' => $lang['KB_types_description'], 'L_CREATE_TYPE' => $lang['Create_type'], Index: admin_auth_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/admin/admin_auth_manage.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_auth_manage.php 13 Aug 2006 19:43:07 -0000 1.3 --- admin_auth_manage.php 28 Apr 2007 19:59:04 -0000 1.4 *************** *** 35,42 **** $template->assign_vars( array( ! 'L_KB_AUTH_TITLE' => $lang['KB_Auth_Title'], ! 'L_KB_AUTH_EXPLAIN' => $lang['KB_Auth_Explain'], 'L_SELECT_CAT' => $lang['Select_a_Category'], ! 'S_KB_ACTION' => append_sid( "admin_kb.$phpEx?action=auth_manage" ), 'L_LOOK_UP_CAT' => $lang['Look_up_Category'], 'CAT_SELECT_TITLE' => $s_kb_cat_list --- 35,42 ---- $template->assign_vars( array( ! 'L_AUTH_TITLE' => $lang['KB_Auth_Title'], ! 'L_AUTH_EXPLAIN' => $lang['KB_Auth_Explain'], 'L_SELECT_CAT' => $lang['Select_a_Category'], ! 'S_ACTION' => append_sid( "admin_kb.$phpEx?action=auth_manage" ), 'L_LOOK_UP_CAT' => $lang['Look_up_Category'], 'CAT_SELECT_TITLE' => $s_kb_cat_list *************** *** 54,59 **** $template->assign_vars( array( ! 'L_ALBUM_AUTH_TITLE' => $lang['Album_Auth_Title'], ! 'L_ALBUM_AUTH_EXPLAIN' => $lang['Album_Auth_Explain'], 'L_SUBMIT' => $lang['Submit'], 'L_RESET' => $lang['Reset'], --- 54,59 ---- $template->assign_vars( array( ! 'L_AUTH_TITLE' => $lang['Album_Auth_Title'], ! 'L_AUTH_EXPLAIN' => $lang['Album_Auth_Explain'], 'L_SUBMIT' => $lang['Submit'], 'L_RESET' => $lang['Reset'], *************** *** 72,76 **** 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! 'S_ALBUM_ACTION' => append_sid( "admin_kb.$phpEx?action=auth_manage&cat_id=$cat_id" ), )); --- 72,76 ---- 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! 'S_ACTION' => append_sid( "admin_kb.$phpEx?action=auth_manage&cat_id=$cat_id" ), )); |
|
From: Jon O. <jon...@us...> - 2007-04-28 19:59:37
|
Update of /cvsroot/mxbb/mx_kb
In directory sc8-pr-cvs16:/tmp/cvs-serv25305
Modified Files:
db_install.php
Log Message:
fixes
Index: db_install.php
===================================================================
RCS file: /cvsroot/mxbb/mx_kb/db_install.php,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** db_install.php 30 Jan 2007 16:26:09 -0000 1.49
--- db_install.php 28 Apr 2007 19:59:03 -0000 1.50
***************
*** 111,115 ****
)",
! "INSERT INTO " . $mx_table_prefix . "kb_categories VALUES (1, 'Test Category', 'Just a test category', '0', '10', '-1', '-1','-1','-1','-1','-1','-1','-1', '-1', '0', '', '0', '0', '0', '0', '0', '0', '0', '2', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0' )",
"CREATE TABLE " . $mx_table_prefix . "kb_articles (
--- 111,115 ----
)",
! "INSERT INTO " . $mx_table_prefix . "kb_categories VALUES (1, 'Test Category', 'Just a test category', '0', '10', '-1', '-1','-1','-1','-1','-1','-1','-1', '-1', '0', '', '0', '0', '0', '0', '0', '0', '0', '2', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0' )",
"CREATE TABLE " . $mx_table_prefix . "kb_articles (
***************
*** 124,128 ****
article_type mediumint(8) unsigned NOT NULL default '0',
! article_date varchar(255) binary NOT NULL default '',
article_author_id mediumint(8) NOT NULL,
username VARCHAR(255),
--- 124,128 ----
article_type mediumint(8) unsigned NOT NULL default '0',
! article_date int(50) default NULL,
article_author_id mediumint(8) NOT NULL,
username VARCHAR(255),
|
Update of /cvsroot/mxbb/mx_kb/templates/subSilver/admin
In directory sc8-pr-cvs16:/tmp/cvs-serv25305/templates/subSilver/admin
Modified Files:
kb_cat_admin_body.tpl kb_cat_auth_body.tpl kb_cat_del_body.tpl
kb_cat_edit_body.tpl kb_cat_select_body.tpl kb_type_body.tpl
Log Message:
fixes
Index: kb_cat_edit_body.tpl
===================================================================
RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/admin/kb_cat_edit_body.tpl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** kb_cat_edit_body.tpl 1 Aug 2006 21:00:38 -0000 1.8
--- kb_cat_edit_body.tpl 28 Apr 2007 19:59:06 -0000 1.9
***************
*** 60,65 ****
<!-- BEGIN switch_edit_category -->
<tr>
! <td class="row1">{L_NUMBER_ARTICLES}</td>
! <td class="row2"><input class="post" type="text" size="4" maxlength="3" name="number_articles" value="{NUMBER_ARTICLES}" class="post" /></td>
</tr>
<!-- END switch_edit_category -->
--- 60,65 ----
<!-- BEGIN switch_edit_category -->
<tr>
! <td class="row1">{L_NUMBER_ITEMS}</td>
! <td class="row2"><input class="post" type="text" size="4" maxlength="3" name="number_articles" value="{NUMBER_ITEMS}" class="post" /></td>
</tr>
<!-- END switch_edit_category -->
***************
*** 88,99 ****
<tr>
<!-- TITLE ------------------------------------------------------------------------------------------- -->
- <th class="thHead" colspan="2"> {L_RATINGS_TITLE}</th>
- </tr>
- <tr>
- <td class="row1" width="50%">{L_USE_RATINGS}<br /><span class="gensmall">{L_USE_RATINGS_EXPLAIN}</span></td>
- <td class="row2" width="50%"><input type="radio" name="cat_allow_ratings" value="-1" {S_USE_RATINGS_DEFAULT} /> {L_DEFAULT} <input type="radio" name="cat_allow_ratings" value="1" {S_USE_RATINGS_YES} /> {L_YES} <input type="radio" name="cat_allow_ratings" value="0" {S_USE_RATINGS_NO} /> {L_NO}</td>
- </tr>
- <tr>
- <!-- TITLE ------------------------------------------------------------------------------------------- -->
<th class="thHead" colspan="2"> {L_INSTRUCTIONS_TITLE}</th>
</tr>
--- 88,91 ----
Index: kb_cat_del_body.tpl
===================================================================
RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/admin/kb_cat_del_body.tpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** kb_cat_del_body.tpl 5 Apr 2006 21:19:50 -0000 1.3
--- kb_cat_del_body.tpl 28 Apr 2007 19:59:06 -0000 1.4
***************
*** 4,20 ****
<table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
! <tr>
<form action="{S_ACTION}" method="post">
<th colspan="2" class="thHead">{L_CAT_DELETE}</th>
</tr>
! <tr>
<td class="row1">{L_CAT_NAME}</td>
<td class="row1"><span class="row1">{CAT_NAME}</span></td>
</tr>
! <tr>
<td class="row1">{L_MOVE_CONTENTS}</td>
! <td class="row1"><select name="move_id"><option value="0">{L_DELETE_ARTICLES}</option>{S_SELECT_TO}</select></td>
</tr>
! <tr>
<td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_DELETE}" class="mainoption" /></td>
</tr>
--- 4,20 ----
<table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
! <tr>
<form action="{S_ACTION}" method="post">
<th colspan="2" class="thHead">{L_CAT_DELETE}</th>
</tr>
! <tr>
<td class="row1">{L_CAT_NAME}</td>
<td class="row1"><span class="row1">{CAT_NAME}</span></td>
</tr>
! <tr>
<td class="row1">{L_MOVE_CONTENTS}</td>
! <td class="row1"><select name="move_id"><option value="0">{L_DELETE_ITEMS}</option>{S_SELECT_TO}</select></td>
</tr>
! <tr>
<td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_DELETE}" class="mainoption" /></td>
</tr>
Index: kb_cat_auth_body.tpl
===================================================================
RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/admin/kb_cat_auth_body.tpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** kb_cat_auth_body.tpl 1 Aug 2006 21:00:38 -0000 1.4
--- kb_cat_auth_body.tpl 28 Apr 2007 19:59:06 -0000 1.5
***************
*** 1,7 ****
! <h1>{L_ALBUM_AUTH_TITLE}</h1>
! <p>{L_ALBUM_AUTH_EXPLAIN}</p>
! <form action="{S_ALBUM_ACTION}" method="post">
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
--- 1,7 ----
! <h1>{L_AUTH_TITLE}</h1>
! <p>{L_AUTH_EXPLAIN}</p>
! <form action="{S_ACTION}" method="post">
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
Index: kb_cat_admin_body.tpl
===================================================================
RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/admin/kb_cat_admin_body.tpl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** kb_cat_admin_body.tpl 7 Jun 2006 20:28:54 -0000 1.7
--- kb_cat_admin_body.tpl 28 Apr 2007 19:59:06 -0000 1.8
***************
*** 3,13 ****
<p>{L_CAT_EXPLAIN}</p>
<table width="100%" cellpadding="2" cellspacing="2" border="0">
<tr>
! <form action="{S_ACTION}" method="POST">
! <td align="{S_CONTENT_DIR_RIGHT}" width="100%">{L_CREATE_CAT} <input type="text" name="new_cat_name"> <input type="submit" value="{L_CREATE}" class="liteoption"></td>
! </form>
</tr>
</table>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
--- 3,16 ----
<p>{L_CAT_EXPLAIN}</p>
+ <form action="{S_ACTION}" method="POST">
<table width="100%" cellpadding="2" cellspacing="2" border="0">
<tr>
! <td align="{S_CONTENT_DIR_RIGHT}" width="100%">{L_CREATE_CAT}
! <input type="text" name="new_cat_name">
! <input type="submit" value="{L_CREATE}" class="liteoption">
! </td>
</tr>
</table>
+ </form>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
Index: kb_type_body.tpl
===================================================================
RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/admin/kb_type_body.tpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** kb_type_body.tpl 5 Apr 2006 21:19:50 -0000 1.5
--- kb_type_body.tpl 28 Apr 2007 19:59:07 -0000 1.6
***************
*** 1,5 ****
! <h1>{L_KB_TYPE_TITLE}</h1>
! <p>{L_KB_TYPE_DESCRIPTION}</p>
<table width="100%" cellpadding="4" cellspacing="1" border="0">
--- 1,5 ----
! <h1>{L_TYPE_TITLE}</h1>
! <p>{L_TYPE_DESCRIPTION}</p>
<table width="100%" cellpadding="4" cellspacing="1" border="0">
***************
*** 13,20 ****
<tr>
<th class="thCornerL" nowrap="nowrap">{L_TYPE}</th>
! <th class="thCornerR" nowrap="nowrap">{L_ACTION}</th>
</tr>
<!-- BEGIN typerow -->
! <tr>
<td class="{typerow.ROW_CLASS}"><span class="gen">{typerow.TYPE}</span></td>
<td width="15%" nowrap="nowrap" class="{typerow.ROW_CLASS}" align="center">{typerow.U_EDIT} {typerow.U_DELETE}</td>
--- 13,20 ----
<tr>
<th class="thCornerL" nowrap="nowrap">{L_TYPE}</th>
! <th class="thCornerR" nowrap="nowrap">{L_ACTION}</th>
</tr>
<!-- BEGIN typerow -->
! <tr>
<td class="{typerow.ROW_CLASS}"><span class="gen">{typerow.TYPE}</span></td>
<td width="15%" nowrap="nowrap" class="{typerow.ROW_CLASS}" align="center">{typerow.U_EDIT} {typerow.U_DELETE}</td>
Index: kb_cat_select_body.tpl
===================================================================
RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/admin/kb_cat_select_body.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** kb_cat_select_body.tpl 1 Feb 2005 20:45:56 -0000 1.1
--- kb_cat_select_body.tpl 28 Apr 2007 19:59:07 -0000 1.2
***************
*** 1,5 ****
! <h1>{L_KB_AUTH_TITLE}</h1>
! <p>{L_KB_AUTH_EXPLAIN}</p>
<form action="{S_KB_ACTION}" method="post">
--- 1,5 ----
! <h1>{L_AUTH_TITLE}</h1>
! <p>{L_AUTH_EXPLAIN}</p>
<form action="{S_KB_ACTION}" method="post">
|
|
From: Jon O. <jon...@us...> - 2007-04-28 19:59:10
|
Update of /cvsroot/mxbb/mx_kb/kb/modules
In directory sc8-pr-cvs16:/tmp/cvs-serv25305/kb/modules
Modified Files:
kb_article.php kb_post.php
Log Message:
fixes
Index: kb_article.php
===================================================================
RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_article.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** kb_article.php 4 Aug 2006 20:10:43 -0000 1.13
--- kb_article.php 28 Apr 2007 19:59:05 -0000 1.14
***************
*** 252,255 ****
--- 252,259 ----
$template->set_filenames( array( 'body' => 'kb_article_reader.tpl' ) );
}
+ else if ( $this->app_mode )
+ {
+ $template->set_filenames( array( 'body' => 'kb_article_app.tpl' ) );
+ }
else
{
Index: kb_post.php
===================================================================
RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_post.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** kb_post.php 4 Aug 2006 16:30:30 -0000 1.10
--- kb_post.php 28 Apr 2007 19:59:06 -0000 1.11
***************
*** 198,201 ****
--- 198,206 ----
$template->assign_block_vars( 'formatting', array() );
+
+ if ($smilies_on)
+ {
+ $mx_kb_functions->generate_smilies( 'inline', PAGE_POSTING );
+ }
}
|
|
From: Jon O. <jon...@us...> - 2007-04-28 19:59:10
|
Update of /cvsroot/mxbb/mx_kb/language/lang_english In directory sc8-pr-cvs16:/tmp/cvs-serv25305/language/lang_english Modified Files: lang_main.php Log Message: fixes Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/language/lang_english/lang_main.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** lang_main.php 13 Aug 2006 19:43:08 -0000 1.15 --- lang_main.php 28 Apr 2007 19:59:06 -0000 1.16 *************** *** 74,78 **** $lang['KB_Rules_edit_cannot'] = 'You <b>cannot</b> edit your articles in this category'; $lang['KB_Rules_delete_can'] = 'You <b>can</b> delete your articles in this category'; ! $lang['KB_Rules_delete_cannot'] = 'You <b>cannot</b> delete eyour articles in this category'; $lang['KB_Rules_rate_can'] = 'You <b>can</b> rate articles in this category'; $lang['KB_Rules_rate_cannot'] = 'You <b>cannot</b> rate articles in this category'; --- 74,78 ---- $lang['KB_Rules_edit_cannot'] = 'You <b>cannot</b> edit your articles in this category'; $lang['KB_Rules_delete_can'] = 'You <b>can</b> delete your articles in this category'; ! $lang['KB_Rules_delete_cannot'] = 'You <b>cannot</b> delete your articles in this category'; $lang['KB_Rules_rate_can'] = 'You <b>can</b> rate articles in this category'; $lang['KB_Rules_rate_cannot'] = 'You <b>cannot</b> rate articles in this category'; *************** *** 259,262 **** --- 259,304 ---- // + // App + // + + // + // Menu + // + $lang['sd_Project'] = 'Project'; + $lang['sd_Management'] = 'Management'; + $lang['sd_Publish'] = 'Publish'; + $lang['sd_Import_content'] = 'Import content'; + $lang['sd_Export_content'] = 'Export content *'; + $lang['sd_Doc_view'] = 'View Document'; + $lang['sd_Options'] = 'Options'; + $lang['sd_Settings'] = 'Settings'; + $lang['sd_Help'] = 'Help'; + $lang['sd_Contents'] = 'Contents *'; + $lang['sd_About'] = 'About *'; + + // + // Tree + // + $lang['sd_Tree_View'] = 'Tree View'; + $lang['sd_Toc'] = 'Table of Contents'; + $lang['sd_Where'] = 'Where'; + $lang['sd_Before'] = 'Before'; + $lang['sd_After'] = 'After'; + $lang['sd_Type'] = 'Type'; + $lang['sd_Name'] = 'Name'; + $lang['sd_Document'] = 'Document'; + $lang['sd_Folder'] = 'Folder'; + + // + // Index + // + $lang['sd_Doc_info'] = 'Document Info'; + $lang['sd_Doc_preview'] = 'Preview Document'; + $lang['sd_Edit_content'] = 'Edit content'; + $lang['sd_Default_edit'] = 'open Edit Content by default'; + $lang['sd_Loading'] = 'Loading data ..'; + $lang['sd_Saving'] = 'Saving data ..'; + + // // Generic Type strings // - Types are matched against these lang keys...where 'NAME' is the db defined type name |
|
From: Jon O. <jon...@us...> - 2007-04-28 19:58:38
|
Update of /cvsroot/mxbb/mx_linkdb/templates/subSilver/admin
In directory sc8-pr-cvs16:/tmp/cvs-serv25254
Modified Files:
linkdb_admin_auth_body.tpl
Log Message:
fixes
Index: linkdb_admin_auth_body.tpl
===================================================================
RCS file: /cvsroot/mxbb/mx_linkdb/templates/subSilver/admin/linkdb_admin_auth_body.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** linkdb_admin_auth_body.tpl 1 Aug 2006 21:02:20 -0000 1.1
--- linkdb_admin_auth_body.tpl 28 Apr 2007 19:58:35 -0000 1.2
***************
*** 1,7 ****
! <h1>{L_LINKDB_AUTH_TITLE}</h1>
! <p>{L_LINKDB_AUTH_EXPLAIN}</p>
! <form action="{S_ALBUM_ACTION}" method="post">
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
--- 1,7 ----
! <h1>{L_AUTH_TITLE}</h1>
! <p>{L_AUTH_EXPLAIN}</p>
! <form action="{S_ACTION}" method="post">
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
|
|
From: Jon O. <jon...@us...> - 2007-04-28 19:58:29
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/includes
In directory sc8-pr-cvs16:/tmp/cvs-serv25229/includes
Modified Files:
functions.php functions_linkdb.php
Log Message:
fixes
Index: functions.php
===================================================================
RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** functions.php 13 Aug 2006 19:43:51 -0000 1.15
--- functions.php 28 Apr 2007 19:58:25 -0000 1.16
***************
*** 582,585 ****
--- 582,586 ----
default:
+ /* Bug 50
$sql = "SELECT f.*, AVG(r.rate_point) AS rating, COUNT(r.votes_link) AS total_votes, u.user_id, u.username
FROM " . LINKS_TABLE . " AS f, " . LINK_CATEGORIES_TABLE . " AS cat
***************
*** 589,592 ****
--- 590,601 ----
AND f.link_id = '" . $item_id . "'
GROUP BY f.link_id ";
+ */
+ $sql = "SELECT f.*, AVG(r.rate_point) AS rating, COUNT(r.votes_link) AS total_votes, u.user_id, u.username
+ FROM " . LINKS_TABLE . " AS f
+ LEFT JOIN " . LINK_CATEGORIES_TABLE . " AS cat ON cat.cat_id = f.link_catid
+ LEFT JOIN " . LINK_VOTES_TABLE . " AS r ON f.link_id = r.votes_link
+ LEFT JOIN " . USERS_TABLE . " AS u ON f.user_id = u.user_id
+ WHERE f.link_id = '" . $item_id . "'
+ GROUP BY f.link_id ";
break;
}
Index: functions_linkdb.php
===================================================================
RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions_linkdb.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** functions_linkdb.php 16 Aug 2006 20:29:01 -0000 1.22
--- functions_linkdb.php 28 Apr 2007 19:58:25 -0000 1.23
***************
*** 144,148 ****
$this->comments[$cat_rowset[$i]['cat_id']]['comments_forum_id'] = $cat_rowset[$i]['comments_forum_id'] < 1 ? ( intval($linkdb_config['comments_forum_id']) ) : ( intval($cat_rowset[$i]['comments_forum_id']) ); // phpBB target forum (only used for phpBB comments)
! if (!$this->comments[$cat_rowset[$i]['cat_id']]['internal_comments'] && intval($this->comments[$cat_rowset[$i]['cat_id']]['comments_forum_id']) < 1)
{
mx_message_die(GENERAL_ERROR, 'Init Failure, phpBB comments with no target forum_id :(<br> Category: ' . $cat_rowset[$i]['cat_name'] . ' Forum_id: ' . $this->comments[$cat_rowset[$i]['cat_id']]['comments_forum_id']);
--- 144,148 ----
$this->comments[$cat_rowset[$i]['cat_id']]['comments_forum_id'] = $cat_rowset[$i]['comments_forum_id'] < 1 ? ( intval($linkdb_config['comments_forum_id']) ) : ( intval($cat_rowset[$i]['comments_forum_id']) ); // phpBB target forum (only used for phpBB comments)
! if ($this->comments[$cat_rowset[$i]['cat_id']]['activated'] && !$this->comments[$cat_rowset[$i]['cat_id']]['internal_comments'] && intval($this->comments[$cat_rowset[$i]['cat_id']]['comments_forum_id']) < 1)
{
mx_message_die(GENERAL_ERROR, 'Init Failure, phpBB comments with no target forum_id :(<br> Category: ' . $cat_rowset[$i]['cat_name'] . ' Forum_id: ' . $this->comments[$cat_rowset[$i]['cat_id']]['comments_forum_id']);
|
|
From: Jon O. <jon...@us...> - 2007-04-28 19:58:29
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/admin In directory sc8-pr-cvs16:/tmp/cvs-serv25229/admin Modified Files: admin_auth_manage.php Log Message: fixes Index: admin_auth_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_auth_manage.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_auth_manage.php 13 Aug 2006 19:43:51 -0000 1.4 --- admin_auth_manage.php 28 Apr 2007 19:58:25 -0000 1.5 *************** *** 34,41 **** $template->assign_vars( array( ! 'L_LINKDB_AUTH_TITLE' => $lang['Linkdb_Auth_Title'], ! 'L_LINKDB_AUTH_EXPLAIN' => $lang['Linkdb_Auth_Explain'], 'L_SELECT_CAT' => $lang['Select_a_Category'], ! 'S_LINKDB_ACTION' => append_sid( "admin_linkdb.$phpEx?action=auth_manage" ), 'L_LOOK_UP_CAT' => $lang['Look_up_Category'], 'CAT_SELECT_TITLE' => $s_auth_cat_list --- 34,41 ---- $template->assign_vars( array( ! 'L_AUTH_TITLE' => $lang['Linkdb_Auth_Title'], ! 'L_AUTH_EXPLAIN' => $lang['Linkdb_Auth_Explain'], 'L_SELECT_CAT' => $lang['Select_a_Category'], ! 'S_ACTION' => append_sid( "admin_linkdb.$phpEx?action=auth_manage" ), 'L_LOOK_UP_CAT' => $lang['Look_up_Category'], 'CAT_SELECT_TITLE' => $s_auth_cat_list *************** *** 71,75 **** 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! 'S_ALBUM_ACTION' => append_sid( "admin_linkdb.$phpEx?action=auth_manage&cat_id=$cat_id" ), )); --- 71,75 ---- 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! 'S_ACTION' => append_sid( "admin_linkdb.$phpEx?action=auth_manage&cat_id=$cat_id" ), )); |
|
From: Jon O. <jon...@us...> - 2007-04-28 19:58:03
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes
In directory sc8-pr-cvs16:/tmp/cvs-serv24835
Modified Files:
functions.php functions_pafiledb.php
Log Message:
fixes
Index: functions.php
===================================================================
RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** functions.php 25 Aug 2006 14:18:48 -0000 1.32
--- functions.php 28 Apr 2007 19:57:57 -0000 1.33
***************
*** 988,991 ****
--- 988,992 ----
default:
+ /* Bug 50
$sql = "SELECT f.*, AVG(r.rate_point) AS rating, COUNT(r.votes_file) AS total_votes, u.user_id, u.username
FROM " . PA_FILES_TABLE . " AS f, " . PA_CATEGORY_TABLE . " AS cat
***************
*** 995,998 ****
--- 996,1007 ----
AND f.file_id = '" . $item_id . "'
GROUP BY f.file_id ";
+ */
+ $sql = "SELECT f.*, AVG(r.rate_point) AS rating, COUNT(r.votes_file) AS total_votes, u.user_id, u.username
+ FROM " . PA_FILES_TABLE . " AS f
+ LEFT JOIN " . PA_CATEGORY_TABLE . " AS cat ON cat.cat_id = f.file_catid
+ LEFT JOIN " . PA_VOTES_TABLE . " AS r ON f.file_id = r.votes_file
+ LEFT JOIN " . USERS_TABLE . " AS u ON f.user_id = u.user_id
+ WHERE f.file_id = '" . $item_id . "'
+ GROUP BY f.file_id ";
break;
}
Index: functions_pafiledb.php
===================================================================
RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_pafiledb.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** functions_pafiledb.php 14 Sep 2006 20:08:49 -0000 1.44
--- functions_pafiledb.php 28 Apr 2007 19:57:58 -0000 1.45
***************
*** 145,149 ****
$this->comments[$cat_rowset[$i]['cat_id']]['comments_forum_id'] = $cat_rowset[$i]['comments_forum_id'] < 1 ? ( intval($pafiledb_config['comments_forum_id']) ) : ( intval($cat_rowset[$i]['comments_forum_id']) ); // phpBB target forum (only used for phpBB comments)
! if (!$this->comments[$cat_rowset[$i]['cat_id']]['internal_comments'] && intval($this->comments[$cat_rowset[$i]['cat_id']]['comments_forum_id']) < 1)
{
mx_message_die(GENERAL_ERROR, 'Init Failure, phpBB comments with no target forum_id :( <br> Category: ' . $cat_rowset[$i]['cat_name'] . ' Forum_id: ' . $this->comments[$cat_rowset[$i]['cat_id']]['comments_forum_id']);
--- 145,149 ----
$this->comments[$cat_rowset[$i]['cat_id']]['comments_forum_id'] = $cat_rowset[$i]['comments_forum_id'] < 1 ? ( intval($pafiledb_config['comments_forum_id']) ) : ( intval($cat_rowset[$i]['comments_forum_id']) ); // phpBB target forum (only used for phpBB comments)
! if ($this->comments[$cat_rowset[$i]['cat_id']]['activated'] && !$this->comments[$cat_rowset[$i]['cat_id']]['internal_comments'] && intval($this->comments[$cat_rowset[$i]['cat_id']]['comments_forum_id']) < 1)
{
mx_message_die(GENERAL_ERROR, 'Init Failure, phpBB comments with no target forum_id :( <br> Category: ' . $cat_rowset[$i]['cat_name'] . ' Forum_id: ' . $this->comments[$cat_rowset[$i]['cat_id']]['comments_forum_id']);
|
|
From: Jon O. <jon...@us...> - 2007-04-28 19:57:24
|
Update of /cvsroot/mxbb/mx_simpledoc/simpledoc/includes In directory sc8-pr-cvs16:/tmp/cvs-serv24795/includes Modified Files: simpledoc_constants.php Log Message: fixes Index: simpledoc_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_simpledoc/simpledoc/includes/simpledoc_constants.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** simpledoc_constants.php 17 Jun 2006 20:50:47 -0000 1.2 --- simpledoc_constants.php 28 Apr 2007 19:57:19 -0000 1.3 *************** *** 17,21 **** // This file defines specific constants for the module // ------------------------------------------------------------------------- - //define( 'KB_ARTICLES_TABLE', $mx_table_prefix . 'kb_articles' ); // ------------------------------------------------------------------------- --- 17,20 ---- *************** *** 35,38 **** $mx_page->add_copyright( 'mxBB SimpleDoc' ); } - ?> \ No newline at end of file --- 34,36 ---- |
|
From: Jon O. <jon...@us...> - 2007-04-28 19:57:24
|
Update of /cvsroot/mxbb/mx_simpledoc/simpledoc/modules
In directory sc8-pr-cvs16:/tmp/cvs-serv24795/modules
Modified Files:
simpledoc__tab-view-publish.php
Log Message:
fixes
Index: simpledoc__tab-view-publish.php
===================================================================
RCS file: /cvsroot/mxbb/mx_simpledoc/simpledoc/modules/simpledoc__tab-view-publish.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** simpledoc__tab-view-publish.php 17 Sep 2006 21:03:38 -0000 1.5
--- simpledoc__tab-view-publish.php 28 Apr 2007 19:57:19 -0000 1.6
***************
*** 70,74 ****
if ( !( ( $mx_block->auth_view && $mx_block->show_block ) || $mx_block->auth_mod ) )
{
! echo('sNot authorized - 4');
return;
}
--- 70,74 ----
if ( !( ( $mx_block->auth_view && $mx_block->show_block ) || $mx_block->auth_mod ) )
{
! echo('Not authorized - 4');
return;
}
|
|
From: Jon O. <jon...@us...> - 2007-04-28 19:47:32
|
Update of /cvsroot/mxbb/mx_calsnails In directory sc8-pr-cvs16:/tmp/cvs-serv20389 Modified Files: calendar.php Log Message: fixes Index: calendar.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/calendar.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** calendar.php 29 Jun 2006 19:05:39 -0000 1.27 --- calendar.php 28 Apr 2007 19:47:29 -0000 1.28 *************** *** 74,78 **** // Get the current MX page. // ! $page_id = ( !empty( $HTTP_POST_VARS['page'] ) ) ? $HTTP_POST_VARS['page'] : $HTTP_GET_VARS['page']; // --- 74,78 ---- // Get the current MX page. // ! //$page_id = ( !empty( $HTTP_POST_VARS['page'] ) ) ? $HTTP_POST_VARS['page'] : $HTTP_GET_VARS['page']; // |
|
From: Jon O. <jon...@us...> - 2007-04-28 19:45:50
|
Update of /cvsroot/mxbb/mx_bugsbt/templates/subSilver
In directory sc8-pr-cvs16:/tmp/cvs-serv19490
Modified Files:
bugsbt_index.tpl bugsbt_product_body.tpl bugsbt_view_body.tpl
Log Message:
fixes
Index: bugsbt_view_body.tpl
===================================================================
RCS file: /cvsroot/mxbb/mx_bugsbt/templates/subSilver/bugsbt_view_body.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** bugsbt_view_body.tpl 15 Feb 2007 12:44:07 -0000 1.1
--- bugsbt_view_body.tpl 28 Apr 2007 19:45:43 -0000 1.2
***************
*** 52,55 ****
--- 52,56 ----
<span class="gensmall"><b>{L_BUG_AUTHOR}</b></span> <span class="gensmall">{BUG_AUTHOR}</span><br />
<span class="gensmall"><b>{L_BUG_DATE}</b></span> <span class="gensmall">{BUG_DATE}</span><br />
+ <span class="gensmall"><b>{L_BUG_UPDATED_DATE}</b></span> <span class="gensmall">{BUG_UPDATED_DATE}</span><br />
<span class="gensmall">{VIEWS}</span><br />
<hr>
Index: bugsbt_product_body.tpl
===================================================================
RCS file: /cvsroot/mxbb/mx_bugsbt/templates/subSilver/bugsbt_product_body.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** bugsbt_product_body.tpl 15 Feb 2007 12:44:07 -0000 1.1
--- bugsbt_product_body.tpl 28 Apr 2007 19:45:43 -0000 1.2
***************
*** 4,13 ****
<thead class="fixedHeader">
<tr>
! <th width="5%" class="TableSortedAscending sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Numeric,'rowShade':'alternate'})">{L_ID}</th>
! <th width="5%" class="sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Default,'rowShade':'alternate'})">{L_STATUS}</th>
! <th width="50%" class="sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Default,'rowShade':'alternate'})">{L_NAME}</th>
! <th width="10%" class="sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Default,'rowShade':'alternate'})">{L_EDITION_BUILD}</th>
! <th width="20%" class="sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Default,'rowShade':'alternate'})">{L_STATUS}</th>
! <th width="10%" class="sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Date,'rowShade':'alternate'})">{L_REPORTED}</th>
</tr>
--- 4,14 ----
<thead class="fixedHeader">
<tr>
! <td width="5%" class="TableSortedAscending sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Numeric,'rowShade':'alternate'})"><span class="gensmall"><b>{L_ID}</b></span></td>
! <td width="5%" class="sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Default,'rowShade':'alternate'})"><span class="gensmall"><b>{L_CLOSED}</b></span></td>
! <td width="50%" class="sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Default,'rowShade':'alternate'})"><span class="gensmall"><b>{L_NAME}</b></span></td>
! <td width="10%" class="sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Default,'rowShade':'alternate'})"><span class="gensmall"><b>{L_EDITION_BUILD}</b></span></td>
! <td width="10%" class="sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Default,'rowShade':'alternate'})"><span class="gensmall"><b>{L_STATUS}</b></span></td>
! <td width="10%" class="sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Date,'rowShade':'alternate'})"><span class="gensmall"><b>{L_REPORTED}</b></span></td>
! <td width="10%" class="sortable row2" title="Click here to sort" onclick="Table.sort(this,{'sortType':Sort.Date,'rowShade':'alternate'})"><span class="gensmall"><b>{L_UPDATED}</b></span></td>
</tr>
***************
*** 21,29 ****
<td width="10%" class="row1"><span class="copyright">{bugsrow.PRODUCT}</span></td>
! <td width="20%" class="row1"><span class="copyright">{bugsrow.STATUS}</span></td>
<td width="10%" class="row1"><span class="copyright">{bugsrow.REPORTED}</span></td>
</tr>
<!-- END bugsrow -->
</tbody>
</table>
--- 22,38 ----
<td width="10%" class="row1"><span class="copyright">{bugsrow.PRODUCT}</span></td>
! <td width="10%" class="row1"><span class="copyright">{bugsrow.STATUS}</span></td>
<td width="10%" class="row1"><span class="copyright">{bugsrow.REPORTED}</span></td>
+ <td width="10%" class="row1"><span class="copyright">{bugsrow.UPDATED}</span></td>
</tr>
<!-- END bugsrow -->
+ <!-- BEGIN no_bugs -->
+ <tr >
+ <td width="100%" class="row1" colspan="6">
+ {no_bugs.L_NO_ARTICLES_CAT}
+ </td>
+ </tr>
+ <!-- END no_bugs -->
</tbody>
</table>
Index: bugsbt_index.tpl
===================================================================
RCS file: /cvsroot/mxbb/mx_bugsbt/templates/subSilver/bugsbt_index.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** bugsbt_index.tpl 15 Feb 2007 12:44:06 -0000 1.1
--- bugsbt_index.tpl 28 Apr 2007 19:45:43 -0000 1.2
***************
*** 382,387 ****
.DynamicTree .top { font-weight: bold; padding-left: 0px; line-height: 20px; color: {T_BODY_TEXT}; border-width: 2px; border-color: {T_TH_COLOR2}; border-style: none none border-width: 1px; border-color: {T_TH_COLOR2}; border-style: none none solid none; margin-bottom: 5px;}
! .DynamicTree .wrap1 { padding: 10px; border: 1px solid {T_TH_COLOR1}; width: 175px; }
.DynamicTree .wrap2 { margin-left: 2px; }
.DynamicTree #tree-insert-form { display: none; margin-top: 5em; }
--- 382,388 ----
.DynamicTree .top { font-weight: bold; padding-left: 0px; line-height: 20px; color: {T_BODY_TEXT}; border-width: 2px; border-color: {T_TH_COLOR2}; border-style: none none border-width: 1px; border-color: {T_TH_COLOR2}; border-style: none none solid none; margin-bottom: 5px;}
! .DynamicTree .wrap1 { padding: 10px; border: 1px solid {T_TH_COLOR1}; width: 200px; height:300px; overflow-x:hidden; overflow-y:auto;}
.DynamicTree .wrap2 { margin-left: 2px; }
+ .DynamicTree .wrap3 { padding: 10px; border: 1px solid {T_TH_COLOR1}; width: 200px;}
.DynamicTree #tree-insert-form { display: none; margin-top: 5em; }
***************
*** 534,543 ****
/* Table Sort */
table.example {
- border:1px solid {T_TH_COLOR1};
border-collapse:collapse;
}
table.example th, table.example td {
border:1px solid {T_TH_COLOR3};
! padding: 2px 15px 2px 15px;
}
table.example tr.alternate {
--- 535,543 ----
/* Table Sort */
table.example {
border-collapse:collapse;
}
table.example th, table.example td {
border:1px solid {T_TH_COLOR3};
! padding: 2px 2px 2px 2px;
}
table.example tr.alternate {
***************
*** 551,571 ****
background-color:{T_TR_COLOR2};
}
! table.example th.sortable {
cursor:pointer;
font-size: 10px;
}
! table.example th.TableSortedAscending {
background-image:url("{MX_ROOT_PATH}modules/mx_shared/tablesort/sorted_up.gif");
! background-position:center left;
background-repeat:no-repeat;
}
! table.example th.TableSortedDescending {
background-image:url("{MX_ROOT_PATH}modules/mx_shared/tablesort/sorted_down.gif");
! background-position:center left;
background-repeat:no-repeat;
}
! table.example th.TableFiltered {
background-image:url("{MX_ROOT_PATH}modules/mx_shared/tablesort/filter.gif");
! background-position:center left;
background-repeat:no-repeat;
}
--- 551,572 ----
background-color:{T_TR_COLOR2};
}
! table.example td.sortable {
cursor:pointer;
font-size: 10px;
+ padding-bottom:10px;
}
! table.example td.TableSortedAscending {
background-image:url("{MX_ROOT_PATH}modules/mx_shared/tablesort/sorted_up.gif");
! background-position:center bottom;
background-repeat:no-repeat;
}
! table.example td.TableSortedDescending {
background-image:url("{MX_ROOT_PATH}modules/mx_shared/tablesort/sorted_down.gif");
! background-position:center bottom;
background-repeat:no-repeat;
}
! table.example td.TableFiltered {
background-image:url("{MX_ROOT_PATH}modules/mx_shared/tablesort/filter.gif");
! background-position:center bottom;
background-repeat:no-repeat;
}
***************
*** 581,585 ****
/* Scrollable Content Height */
.scrollContent {
! height:200px;
overflow-x:hidden;
overflow-y:auto;
--- 582,586 ----
/* Scrollable Content Height */
.scrollContent {
! height:300px;
overflow-x:hidden;
overflow-y:auto;
***************
*** 610,614 ****
background-color: {T_TR_COLOR3};
color: {T_BODY_TEXT};
! margin: 3px;
padding: 1px;
white-space: nowrap;
--- 611,615 ----
background-color: {T_TR_COLOR3};
color: {T_BODY_TEXT};
! margin: 0px;
padding: 1px;
white-space: nowrap;
***************
*** 626,630 ****
.bodyFormat tr td {
color: {T_BODY_TEXT};
! margin: 3px;
padding: 1px;
border: 0px none;
--- 627,631 ----
.bodyFormat tr td {
color: {T_BODY_TEXT};
! margin: 0px;
padding: 1px;
border: 0px none;
***************
*** 638,641 ****
--- 639,646 ----
cursor: pointer;
}
+
+ .isLink{
+ cursor: pointer;
+ }
-->
</style>
***************
*** 644,648 ****
/* IE Specific Style addition to constrain table from automatically growing in height */
div.TableContainer {
! height: 200px;
overflow-x:hidden;
overflow-y:auto;
--- 649,653 ----
/* IE Specific Style addition to constrain table from automatically growing in height */
div.TableContainer {
! height: 300px;
overflow-x:hidden;
overflow-y:auto;
***************
*** 715,722 ****
</div>
<script type="text/javascript">var tree = new DynamicTree("tree"); tree.path = "{MX_ROOT_PATH}{MODULE_ROOT_PATH}bugsbt/shared/DynamicTree/images/"; tree.init();</script>
-
</td>
</tr>
</table>
<div class="actions">
<a id="tree-moveUp" class="moveUp" href="javascript:void(0)"><img src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}bugsbt/shared/DynamicTree/images/moveUp.gif" width="20" height="20" alt=""></a>
--- 720,727 ----
</div>
<script type="text/javascript">var tree = new DynamicTree("tree"); tree.path = "{MX_ROOT_PATH}{MODULE_ROOT_PATH}bugsbt/shared/DynamicTree/images/"; tree.init();</script>
</td>
</tr>
</table>
+ <!--
<div class="actions">
<a id="tree-moveUp" class="moveUp" href="javascript:void(0)"><img src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}bugsbt/shared/DynamicTree/images/moveUp.gif" width="20" height="20" alt=""></a>
***************
*** 752,755 ****
--- 757,778 ----
</form>
</div>
+ -->
+ <br />
+ <table cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="row2">
+ <div class="wrap3">
+ <div class="top">{L_QUICK_LINKS}</div>
+ <div class="row2">
+ <div class="isLink" onclick="viewBugs('all');"><span class="nav">» {L_VIEW_ALL_BUGS}</span></div>
+ <div class="isLink" onclick="viewBugs('latest');"><span class="nav">» {L_VIEW_LATEST_BUGS}</span></div>
+ <div class="isLink" onclick="viewBugs('last_updated');"><span class="nav">» {L_VIEW_LAST_UPDATED_BUGS}</span></div>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </table>
+
+
</div>
<script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}bugsbt/includes/js/init_main.js"></script>
|
|
From: Jon O. <jon...@us...> - 2007-04-28 19:45:46
|
Update of /cvsroot/mxbb/mx_bugsbt/templates/subSilver/admin
In directory sc8-pr-cvs16:/tmp/cvs-serv19490/admin
Modified Files:
bugsbt_config_body.tpl
Log Message:
fixes
Index: bugsbt_config_body.tpl
===================================================================
RCS file: /cvsroot/mxbb/mx_bugsbt/templates/subSilver/admin/bugsbt_config_body.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** bugsbt_config_body.tpl 15 Feb 2007 12:44:01 -0000 1.1
--- bugsbt_config_body.tpl 28 Apr 2007 19:45:43 -0000 1.2
***************
*** 207,226 ****
<tr>
<!-- TITLE ------------------------------------------------------------------------------------------- -->
- <th class="thHead" colspan="2"> {L_RATINGS_TITLE}<br /><span class="gensmall">{L_RATINGS_TITLE_EXPLAIN}</span></th>
- </tr>
- <tr>
- <td class="row1" width="50%">{L_USE_RATINGS}<br /><span class="gensmall">{L_USE_RATINGS_EXPLAIN}</span></td>
- <td class="row2" width="50%"><input type="radio" name="use_ratings" value="1" {S_USE_RATINGS_YES} /> {L_YES} <input type="radio" name="use_ratings" value="0" {S_USE_RATINGS_NO} /> {L_NO}</td>
- </tr>
- <tr>
- <td class="row1" width="50%">{L_VOTES_CHECK_IP}<br /><span class="gensmall">{L_VOTES_CHECK_IP_EXPLAIN}</span></td>
- <td class="row2" width="50%"><input type="radio" name="votes_check_ip" value="1" {S_VOTES_CHECK_IP_YES} /> {L_YES} <input type="radio" name="votes_check_ip" value="0" {S_VOTES_CHECK_IP_NO} /> {L_NO}</td>
- </tr>
- <tr>
- <td class="row1" width="50%">{L_VOTES_CHECK_USERID}<br /><span class="gensmall">{L_VOTES_CHECK_USERID_EXPLAIN}</span></td>
- <td class="row2" width="50%"><input type="radio" name="votes_check_userid" value="1" {S_VOTES_CHECK_USERID_YES} /> {L_YES} <input type="radio" name="votes_check_userid" value="0" {S_VOTES_CHECK_USERID_NO} /> {L_NO}</td>
- </tr>
- <tr>
- <!-- TITLE ------------------------------------------------------------------------------------------- -->
<th class="thHead" colspan="2"> {L_INSTRUCTIONS_TITLE}</th>
</tr>
--- 207,210 ----
|