|
From: OryNider <ory...@us...> - 2007-06-22 05:08:34
|
Update of /cvsroot/mxbb/mx_glance/contrib In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3563/contrib Modified Files: mx_glance_sdesc.php Log Message: upgraded the file for Simple Topic Description Mod and the template. Index: mx_glance_sdesc.php =================================================================== RCS file: /cvsroot/mxbb/mx_glance/contrib/mx_glance_sdesc.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_glance_sdesc.php 6 Jun 2007 21:47:47 -0000 1.1 --- mx_glance_sdesc.php 22 Jun 2007 05:08:29 -0000 1.2 *************** *** 18,22 **** * {news.TOPIC_DESCRIPTION} / {recent.TOPIC_DESCRIPTION} * to your template files ;) ! ****************************************************************************** if( !defined('IN_PORTAL') || !is_object($mx_block)) --- 18,22 ---- * {news.TOPIC_DESCRIPTION} / {recent.TOPIC_DESCRIPTION} * to your template files ;) ! ******************************************************************************/ if( !defined('IN_PORTAL') || !is_object($mx_block)) *************** *** 153,168 **** // // GET THE LATEST NEWS TOPIC ! // if ( $glance_num_news ) ! { ! $news_data = $db->sql_fetchrow($result); ! ! /* ! if ( 1 ) ! { ! $sql_select = ", p.post_time"; ! $sql_from = ", " . POSTS_TABLE . " p"; ! $sql_where = " AND p.post_id = t.topic_last_post_id"; ! } ! */ $sql = " --- 153,158 ---- // // GET THE LATEST NEWS TOPIC ! // ! if ( $glance_num_news ) $sql = " |