aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/admin_styles.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/admin/admin_styles.php')
-rw-r--r--phpBB/admin/admin_styles.php49
1 files changed, 49 insertions, 0 deletions
diff --git a/phpBB/admin/admin_styles.php b/phpBB/admin/admin_styles.php
new file mode 100644
index 0000000000..eacdfa33e7
--- /dev/null
+++ b/phpBB/admin/admin_styles.php
@@ -0,0 +1,49 @@
+<?php
+/***************************************************************************
+ * admin_words.php
+ * -------------------
+ * begin : Thursday, Jul 12, 2001
+ * copyright : (C) 2001 The phpBB Group
+ * email : support@phpbb.com
+ *
+ * $Id$
+ *
+ *
+ ***************************************************************************/
+
+/***************************************************************************
+ *
+ * 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.
+ *
+ ***************************************************************************/
+
+if($setmodules == 1)
+{
+ $file = basename(__FILE__);
+ $module['Styles']['Add_new'] = "$file?mode=addnew";
+ $module['Styles']['Create_new'] = "$file?mode=addnew";
+ $module['Styles']['Manage'] = "$file";
+ return;
+}
+
+//
+// Load default header
+//
+$phpbb_root_dir = "./../";
+require('pagestart.inc');
+
+if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
+{
+ $mode = ($HTTP_GET_VARS['mode']) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode'];
+}
+else
+{
+ $mode = "";
+}
+
+include('page_footer_admin.'.$phpEx);
+
+?> \ No newline at end of file