[Easymod-cvs] easymod2/mods/easymod/includes admin_easymod.php.txt,1.18,1.19
Status: Beta
Brought to you by:
wgeric
From: Eric F. <wg...@us...> - 2005-07-02 21:50:05
|
Update of /cvsroot/easymod/easymod2/mods/easymod/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28308/mods/easymod/includes Modified Files: admin_easymod.php.txt Log Message: bug fixes so I can release 0.2.0b Index: admin_easymod.php.txt =================================================================== RCS file: /cvsroot/easymod/easymod2/mods/easymod/includes/admin_easymod.php.txt,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** admin_easymod.php.txt 30 Jun 2005 21:10:59 -0000 1.18 --- admin_easymod.php.txt 2 Jul 2005 21:49:57 -0000 1.19 *************** *** 628,632 **** // important! we are writing the file output to screen so the PRE tag will format it nicely for us ! echo '<style type="text/css"><!-- .preview {color:red} --></style>' . "\n" ; echo "<PRE>\n" ; } --- 628,632 ---- // important! we are writing the file output to screen so the PRE tag will format it nicely for us ! echo '<style type="text/css"><!-- .preview {color:red; margin: 0px; padding: 0px} --></style>' . "\n" ; echo "<PRE>\n" ; } *************** *** 1177,1181 **** // display which folders to delete, either // processed, backups, or the complete folder ! message_die(GENERAL_MESSAGE, $lang['Comming_soon']); } --- 1177,1181 ---- // display which folders to delete, either // processed, backups, or the complete folder ! message_die(GENERAL_MESSAGE, $lang['Coming_soon']); } *************** *** 1187,1191 **** { // display confirm and delete sql entry ! message_die(GENERAL_MESSAGE, $lang['Comming_soon']); } --- 1187,1191 ---- { // display confirm and delete sql entry ! message_die(GENERAL_MESSAGE, $lang['Coming_soon']); } *************** *** 1197,1201 **** { // display confirm and move the backups into place ! message_die(GENERAL_ERROR, $lang['Comming_soon']); } --- 1197,1201 ---- { // display confirm and move the backups into place ! message_die(GENERAL_ERROR, $lang['Coming_soon']); } *************** *** 1207,1211 **** { // list which languages so user can choose and go through install process ! message_die(GENERAL_ERROR, $lang['Comming_soon']); } --- 1207,1211 ---- { // list which languages so user can choose and go through install process ! message_die(GENERAL_ERROR, $lang['Coming_soon']); } *************** *** 1217,1221 **** { // list which themes so user can choose and go through install process ! message_die(GENERAL_ERROR, $lang['Comming_soon']); } --- 1217,1221 ---- { // list which themes so user can choose and go through install process ! message_die(GENERAL_ERROR, $lang['Coming_soon']); } *************** *** 1226,1230 **** else if ( $mode == 'unistall_mod' ) { ! message_die(GENERAL_MESSAGE, $lang['Comming_soon']); } --- 1226,1230 ---- else if ( $mode == 'unistall_mod' ) { ! message_die(GENERAL_MESSAGE, $lang['Coming_soon']); } *************** *** 2143,2146 **** --- 2143,2156 ---- $dest['file'] = '*.*' ; } + } + else + { + // check to see if the file exists + if ( !file_exists($targ['path'] . $targ['file']) ) + { + display_error( '<b>' . $lang['EM_err_error'] . "</b><br /><br />\n" . sprintf($lang['EM_err_comm_copy'], $targ['path'], $targ['file']) . '<br />' . trim($body[$i][$j]) . "<br />\n" . $lang['EM_line_num'] .$commands[$i]['line']); + $bad_copy = true ; + } + } |