[Easymod-cvs] easymod2/mods/easymod/includes admin_easymod.php.txt,1.24,1.25
Status: Beta
Brought to you by:
wgeric
From: Jim W. <ter...@us...> - 2005-07-22 19:17:39
|
Update of /cvsroot/easymod/easymod2/mods/easymod/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15388/mods/easymod/includes Modified Files: admin_easymod.php.txt Log Message: - Previews now works for the INCREMENT action. Index: admin_easymod.php.txt =================================================================== RCS file: /cvsroot/easymod/easymod2/mods/easymod/includes/admin_easymod.php.txt,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** admin_easymod.php.txt 15 Jul 2005 05:21:25 -0000 1.24 --- admin_easymod.php.txt 22 Jul 2005 19:17:30 -0000 1.25 *************** *** 1767,1771 **** if ($i>0) { ! $do_preview = ((strstr($commands[$i-1]['command'], 'IN-LINE')) && ($preview)) ? true : false ; } else --- 1767,1771 ---- if ($i>0) { ! $do_preview = ((strstr($commands[$i-1]['command'], 'IN-LINE') || $commands[$i-1]['command'] == 'INCREMENT') && ($preview)) ? true : false ; } else *************** *** 1833,1837 **** // if we were doing an BEFORE or an IN-LINE command we need to write out the find_array // also, see if we need to write the lines in preview format ! $do_preview = ((strstr($commands[$i-1]['command'], 'IN-LINE')) && ($preview)) ? true : false ; write_find_array( $find_array, $file_list, $do_preview) ; --- 1833,1837 ---- // if we were doing an BEFORE or an IN-LINE command we need to write out the find_array // also, see if we need to write the lines in preview format ! $do_preview = ((strstr($commands[$i-1]['command'], 'IN-LINE') || $commands[$i-1]['command'] == 'INCREMENT') && ($preview)) ? true : false ; write_find_array( $find_array, $file_list, $do_preview) ; *************** *** 1881,1885 **** // see if we need to write the lines in preview format ! $do_preview = ((strstr($commands[$i-1]['command'], 'IN-LINE')) && ($preview)) ? true : false ; write_find_array( $find_array, $file_list, $do_preview) ; --- 1881,1885 ---- // see if we need to write the lines in preview format ! $do_preview = ((strstr($commands[$i-1]['command'], 'IN-LINE') || $commands[$i-1]['command'] == 'INCREMENT') && ($preview)) ? true : false ; write_find_array( $find_array, $file_list, $do_preview) ; *************** *** 2364,2368 **** { // also, see if we need to write the lines in preview format ! $do_preview = ((strstr($commands[$i-1]['command'], 'IN-LINE')) && ($preview)) ? true : false ; write_find_array( $find_array, $file_list, $do_preview) ; $find_array = array() ; --- 2364,2368 ---- { // also, see if we need to write the lines in preview format ! $do_preview = ((strstr($commands[$i-1]['command'], 'IN-LINE') || $commands[$i-1]['command'] == 'INCREMENT') && ($preview)) ? true : false ; write_find_array( $find_array, $file_list, $do_preview) ; $find_array = array() ; *************** *** 2428,2432 **** { // also, see if we need to write the lines in preview format ! $do_preview = (strstr($commands[$i-1]['command'], 'IN-LINE')) ? true : false ; write_find_array( $find_array, $file_list, $do_preview) ; } --- 2428,2432 ---- { // also, see if we need to write the lines in preview format ! $do_preview = ((strstr($commands[$i-1]['command'], 'IN-LINE') || $commands[$i-1]['command'] == 'INCREMENT') && ($preview)) ? true : false ; write_find_array( $find_array, $file_list, $do_preview) ; } *************** *** 3270,3272 **** include('page_footer_admin.'.$phpEx); ! ?> --- 3270,3272 ---- include('page_footer_admin.'.$phpEx); ! ?> \ No newline at end of file |