|
From: Jon O. <jon...@us...> - 2006-07-01 21:32:22
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/modules In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv10721/modules/mx_linkdb/linkdb/modules Modified Files: link_category.php link_main.php link_rate.php link_search.php link_user_upload.php Log Message: Ok. Moving files. Renaming files. Adding code... Index: link_user_upload.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_user_upload.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** link_user_upload.php 30 Jun 2006 19:54:15 -0000 1.5 --- link_user_upload.php 1 Jul 2006 21:32:19 -0000 1.6 *************** *** 22,26 **** $edit_link_id = ( isset( $_REQUEST['link_id'] ) ) ? intval( $_REQUEST['link_id'] ) : 0; ! include( $module_root_path . 'linkdb/includes/functions_linkdb_field.' . $phpEx ); $custom_field = new custom_field(); --- 22,26 ---- $edit_link_id = ( isset( $_REQUEST['link_id'] ) ) ? intval( $_REQUEST['link_id'] ) : 0; ! include( $module_root_path . 'linkdb/includes/functions_field.' . $phpEx ); $custom_field = new custom_field(); *************** *** 171,175 **** $link_name = ''; $link_longdesc = ''; ! $link_cat_list = ( !$cat_id ) ? $this->jumpmenu_option( 0, 0, '', true, true ) : $this->jumpmenu_option( 0, 0, array( $cat_id => 1 ), true, true ); $link_download = 0; $approved_checked_yes = ' checked'; --- 171,175 ---- $link_name = ''; $link_longdesc = ''; ! $link_cat_list = ( !$cat_id ) ? $this->generate_jumpbox( 0, 0, '', true, true ) : $this->generate_jumpbox( 0, 0, array( $cat_id => 1 ), true, true ); $link_download = 0; $approved_checked_yes = ' checked'; *************** *** 216,220 **** $link_name = $link_info['link_name']; $link_longdesc = $link_info['link_longdesc']; ! $link_cat_list = $this->jumpmenu_option( 0, 0, array( $link_info['link_catid'] => 1 ), true, true ); $link_download = $link_info['link_hits']; $approved_checked_yes = $link_info['link_approved'] == 1 ? ' checked' : ''; --- 216,220 ---- $link_name = $link_info['link_name']; $link_longdesc = $link_info['link_longdesc']; ! $link_cat_list = $this->generate_jumpbox( 0, 0, array( $link_info['link_catid'] => 1 ), true, true ); $link_download = $link_info['link_hits']; $approved_checked_yes = $link_info['link_approved'] == 1 ? ' checked' : ''; Index: link_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_search.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** link_search.php 30 Jun 2006 19:54:15 -0000 1.6 --- link_search.php 1 Jul 2006 21:32:19 -0000 1.7 *************** *** 519,523 **** } ! $dropmenu = $this->jumpmenu_option(); $template->assign_vars( array( --- 519,523 ---- } ! $dropmenu = $this->generate_jumpbox(); $template->assign_vars( array( Index: link_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_category.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** link_category.php 30 Jun 2006 19:54:14 -0000 1.5 --- link_category.php 1 Jul 2006 21:32:19 -0000 1.6 *************** *** 81,85 **** // assign var for naviagation // ! $this->generate_category_nav( $cat_id ); $template->assign_vars( array( --- 81,85 ---- // assign var for naviagation // ! $this->generate_navigation( $cat_id ); $template->assign_vars( array( *************** *** 100,104 **** $no_file_message = false; ! $this->category_display( $cat_id ); } --- 100,104 ---- $no_file_message = false; ! $this->display_categories( $cat_id ); } Index: link_rate.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_rate.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** link_rate.php 30 Jun 2006 19:54:15 -0000 1.5 --- link_rate.php 1 Jul 2006 21:32:19 -0000 1.6 *************** *** 57,61 **** } ! $this->generate_category_nav( $link_data['link_catid'] ); $template->assign_vars( array( 'L_INDEX' => sprintf( $lang['Forum_Index'], $board_config['sitename'] ), --- 57,61 ---- } ! $this->generate_navigation( $link_data['link_catid'] ); $template->assign_vars( array( 'L_INDEX' => sprintf( $lang['Forum_Index'], $board_config['sitename'] ), Index: link_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_main.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** link_main.php 30 Jun 2006 19:54:15 -0000 1.4 --- link_main.php 1 Jul 2006 21:32:19 -0000 1.5 *************** *** 33,37 **** // Show the Category // ! $this->category_display(); $this->display( $lang['Links_Title'], 'link_main_body.tpl' ); --- 33,37 ---- // Show the Category // ! $this->display_categories(); $this->display( $lang['Links_Title'], 'link_main_body.tpl' ); |