summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Rabinovich <virshu@users.sourceforge.net>2008-12-14 02:45:07 +0000
committerFelix Rabinovich <virshu@users.sourceforge.net>2008-12-14 02:45:07 +0000
commit34c9aa52b804ef3bdffde4e9cde496be020eb2e7 (patch)
tree05d61f70d83839983d620ecb3131c70300e929f3
parent13ad40ab5cfd1457a0d9b536d837d558ae1badde (diff)
Fixed tabs and line endings
-rw-r--r--core/controllers/admin.php60
-rw-r--r--modules/unit_test/config/unit_test.php2
-rw-r--r--themes/default_admin/views/dashboard.html.php7
3 files changed, 35 insertions, 34 deletions
diff --git a/core/controllers/admin.php b/core/controllers/admin.php
index 10c0b120..ee2d88ff 100644
--- a/core/controllers/admin.php
+++ b/core/controllers/admin.php
@@ -1,30 +1,30 @@
-<?php defined("SYSPATH") or die("No direct script access.");
-/**
- * Gallery - a web based photo album viewer and editor
- * Copyright (C) 2000-2008 Bharat Mediratta
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or (at
- * your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
- */
-class Admin_Controller extends Controller {
- public function dashboard() {
- // giving default is probably overkill
- $theme_name = module::get_var("core", "active_admin_theme", "default_admin");
-
- $template = new Theme_View("dashboard.html", "admin", $theme_name);
-
- print $template;
- }
-}
-
+<?php defined("SYSPATH") or die("No direct script access.");
+/**
+ * Gallery - a web based photo album viewer and editor
+ * Copyright (C) 2000-2008 Bharat Mediratta
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+class Admin_Controller extends Controller {
+ public function dashboard() {
+ // giving default is probably overkill
+ $theme_name = module::get_var("core", "active_admin_theme", "default_admin");
+
+ $template = new Theme_View("dashboard.html", "admin", $theme_name);
+
+ print $template;
+ }
+}
+
diff --git a/modules/unit_test/config/unit_test.php b/modules/unit_test/config/unit_test.php
index 9da7711b..bfb092bc 100644
--- a/modules/unit_test/config/unit_test.php
+++ b/modules/unit_test/config/unit_test.php
@@ -12,4 +12,4 @@ $config['paths'] = array
/**
* Set to TRUE if you want to hide passed tests from the report.
*/
-$config['hide_passed'] = FALSE;
+$config['hide_passed'] = TRUE;
diff --git a/themes/default_admin/views/dashboard.html.php b/themes/default_admin/views/dashboard.html.php
index e3456d98..f5b00175 100644
--- a/themes/default_admin/views/dashboard.html.php
+++ b/themes/default_admin/views/dashboard.html.php
@@ -1,3 +1,4 @@
+<? defined("SYSPATH") or die("No direct script access."); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tranisitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
@@ -21,9 +22,9 @@
<style type="text/css">
#gSiteAdminMenu {
- clear: both;
- font-size: 1.2em;
- margin: 0 20px;
+ clear: both;
+ font-size: 1.2em;
+ margin: 0 20px;
}
#gContent {
font-size: 1.1em;