diff --git a/www/admin/class_test.php b/www/admin/class_test.php index 86a04a82..6270e4f5 100644 --- a/www/admin/class_test.php +++ b/www/admin/class_test.php @@ -5,7 +5,7 @@ $DB_DEBUG = 1; if ($DEBUG_ALL) - error_reporting(E_ALL | E_STRICT | E_ERROR | E_WARNING | E_PARSE | E_COMPILE_ERROR); + error_reporting(E_ALL | E_STRICT | E_ERROR | E_WARNING | E_PARSE | E_COMPILE_ERROR); define('USE_DATABASE', true); // sample config diff --git a/www/admin/edit_base.inc b/www/admin/edit_base.inc index 61622dac..d5523e79 100644 --- a/www/admin/edit_base.inc +++ b/www/admin/edit_base.inc @@ -9,7 +9,7 @@ * - edit_pages.php * - edit_schemes.php * - edit_users.php - * - edit_visible_group.php + * - edit_visible_group.php * HISTORY: * 2005/06/30 (cs) remove color settings, they are in CSS File now * 2005/06/22 (cs) moved load of config array into form class, set lang and lang is must set var for form class; removed the page name setting, moved it into the form class, remove all HTML from main page @@ -107,15 +107,15 @@ } // log backend data - // data part creation - $data = array ( - '_SESSION' => $_SESSION, - '_GET' => $_GET, - '_POST' => $_POST, - '_FILES' => $_FILES - ); - // log action - EditLog('Edit Submit', serialize($data)); + // data part creation + $data = array ( + '_SESSION' => $_SESSION, + '_GET' => $_GET, + '_POST' => $_POST, + '_FILES' => $_FILES + ); + // log action + EditLog('Edit Submit', serialize($data)); $form->form_procedure_load(${$form->archive_pk_name}); $form->form_procedure_new(); diff --git a/www/admin/edit_order.php b/www/admin/edit_order.php index d1752ce1..697033a4 100644 --- a/www/admin/edit_order.php +++ b/www/admin/edit_order.php @@ -67,7 +67,7 @@ $smarty->setTemplateDir(TEMPLATES.DEFAULT_TEMPLATE); $DATA['css'] = CSS.DEFAULT_TEMPLATE; $DATA['js'] = JS.DEFAULT_TEMPLATE; - } + } // order name is _always_ order_number for the edit interface diff --git a/www/admin/files.php b/www/admin/files.php index 19501167..6a7b1699 100644 --- a/www/admin/files.php +++ b/www/admin/files.php @@ -155,7 +155,7 @@ if (!$error) { if ($_FILES['file_up']['name']) - { + { $mime_type = $_FILES['file_up']['type']; $file_size = $_FILES['file_up']['size']; $file_name = $_FILES['file_up']['name']; diff --git a/www/admin/set_paths.inc b/www/admin/set_paths.inc index a68a3be7..8a221b6d 100644 --- a/www/admin/set_paths.inc +++ b/www/admin/set_paths.inc @@ -95,7 +95,7 @@ if (!is_dir($cms->pictures)) $cms->pictures = LAYOUT.DEFAULT_TEMPLATE.PICTURES.'/'; if (!is_dir($cms->cache_pictures)) - $cms->cache_pictures = LAYOUT.DEFAULT_TEMPLATE.CACHE.IMAGES.'/'; + $cms->cache_pictures = LAYOUT.DEFAULT_TEMPLATE.CACHE.IMAGES.'/'; // if the template_dir is != DEFAULT_TEMPLATE, then try to make a lang switch // if the default lang is not like the lang given, switch lang diff --git a/www/libs/Class.Admin.Backend.inc b/www/libs/Class.Admin.Backend.inc index 8c8e7423..ffed7535 100644 --- a/www/libs/Class.Admin.Backend.inc +++ b/www/libs/Class.Admin.Backend.inc @@ -366,7 +366,8 @@ $string = $this->l->__('Year').' '; $string .= ' '.$this->l->__('Month').' '; $string .= '