1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Bugtracker #4568 - extend download url field (255 is recommended max). Also admin logging, plus some tidying up

This commit is contained in:
e107steved
2008-12-06 15:48:26 +00:00
parent cee0b1e802
commit cacf90d2a0
10 changed files with 295 additions and 144 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/image.php,v $
| $Revision: 1.5 $
| $Date: 2008-12-05 22:01:11 $
| $Revision: 1.6 $
| $Date: 2008-12-06 15:48:16 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -102,18 +102,9 @@ if (isset($_POST['update_options']))
$temp['image_post_disabled_method'] = intval($_POST['image_post_disabled_method']);
$temp['enable_png_image_fix'] = intval($_POST['enable_png_image_fix']);
foreach ($temp as $k => $v)
if ($admin_log->logArrayDiffs($temp, $pref, 'IMALAN_04'))
{
if ($v != $pref[$k])
{
$pref[$k] = $v;
$changes[] = $k.'=>'.$v;
}
}
if (count($changes))
{
save_prefs();
$admin_log->log_event('IMALAN_04',implode('[!br!]',$changes),E_LOG_INFORMATIVE,'');
save_prefs(); // Only save if changes
$message = IMALAN_9;
}
else