|
From: Jon O. <jon...@us...> - 2006-07-04 18:02:15
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/modules In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24281/modules/mx_pafiledb/pafiledb/modules Modified Files: pa_category.php pa_main.php Log Message: adding a simple style mode, in sync with mx_linkdb templtes Index: pa_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_category.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** pa_category.php 7 Jun 2006 20:29:52 -0000 1.13 --- pa_category.php 4 Jul 2006 18:02:12 -0000 1.14 *************** *** 142,146 **** $no_file_message = false; ! $this->display_categories( $cat_id ); } --- 142,154 ---- $no_file_message = false; ! $pafiledb_config['template_style_original'] = false; ! if ($pafiledb_config['template_style_original']) ! { ! $this->display_categories_original($cat_id); ! } ! else ! { ! $this->display_categories($cat_id); ! } } Index: pa_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_main.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** pa_main.php 17 Jun 2006 20:13:22 -0000 1.14 --- pa_main.php 4 Jul 2006 18:02:12 -0000 1.15 *************** *** 41,45 **** // Show the Category for the download database index // =================================================== ! $this->display_categories(); $this->display( $lang['Download'], 'pa_main_body.tpl' ); } --- 41,53 ---- // Show the Category for the download database index // =================================================== ! $pafiledb_config['template_style_original'] = false; ! if ($pafiledb_config['template_style_original']) ! { ! $this->display_categories_original(); ! } ! else ! { ! $this->display_categories(); ! } $this->display( $lang['Download'], 'pa_main_body.tpl' ); } |