|
From: Jon O. <jon...@us...> - 2007-05-31 19:53:31
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23973/modules Modified Files: link_mini.php Log Message: minor fixes Index: link_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_mini.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** link_mini.php 13 Aug 2006 19:43:51 -0000 1.2 --- link_mini.php 31 May 2007 19:53:27 -0000 1.3 *************** *** 65,69 **** } ! if ( ( !$this->auth_user[$cat_id]['auth_read'] ) && ( !$show_category ) ) { if ( !$userdata['session_logged_in'] ) --- 65,69 ---- } ! if ( ( !$this->auth_user[$cat_id]['auth_view'] ) && ( !$show_category ) ) { if ( !$userdata['session_logged_in'] ) *************** *** 72,76 **** } ! $message = sprintf( $lang['Sorry_auth_view'], $this->auth_user[$cat_id]['auth_read_type'] ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 72,76 ---- } ! $message = sprintf( $lang['Sorry_auth_view'], $this->auth_user[$cat_id]['auth_view_type'] ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 81,84 **** --- 81,94 ---- } + // + // Display subcats + // + if ( isset( $this->subcat_rowset[$cat_id] ) ) + { + $no_file_message = false; + + $this->display_categories( $cat_id ); + } + $no_file_message = true; $filelist = false; *************** *** 94,97 **** --- 104,108 ---- 'LINK' => $linkdb_config['module_name'], + 'L_QUICK_JUMP' => $lang['Quick_jump'], 'BLOCK_JUMPMENU' => $this->generate_jumpbox( $mini_config['mini_default_cat_id'], 0, array( $_GET['cat_id'] => 1 ) ), |