summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-11 07:39:20 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-11 07:39:20 +0000
commitbba5289035eebb0c4a9c6c5f3d1598b538fc3586 (patch)
treecf0b00fca3c618e339cc3d1e92832b91b16f01be /modules
parent87f1115113f36b197003a45f32f295bb4cd19891 (diff)
Change Album and Photo controllers to set the user object as a global variable; change the header so it links to the user controllers; and add the user controllers which don't do anything.
Diffstat (limited to 'modules')
-rw-r--r--modules/user/controllers/user.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/user/controllers/user.php b/modules/user/controllers/user.php
new file mode 100644
index 00000000..9b41a11e
--- /dev/null
+++ b/modules/user/controllers/user.php
@@ -0,0 +1,32 @@
+<?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 User_Controller extends Controller {
+ public function login() {
+
+ }
+
+ public function logout() {
+
+ }
+
+ public function register() {
+
+ }
+} \ No newline at end of file