|
From: Benjamin C. <bc...@us...> - 2001-10-11 14:24:05
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv514
Modified Files:
include.php
Removed Files:
global-black.css global.css
Log Message:
Moved admin templates to a subdir of the templates dir. Changed wraps to use css.php instead of global.css
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- include.php 2001/10/06 03:35:37 1.58
+++ include.php 2001/10/11 14:24:03 1.59
@@ -245,14 +245,20 @@
}
}
-$t = new templateclass('templates/'.THEME,'keep');
+if (defined('INCLUDE_PATH')) {
+ $t = new templateclass(INCLUDE_PATH.'templates/'.THEME.'admin', 'keep');
+} else {
+ $t = new templateclass('templates/'.THEME, 'keep');
+}
+
$t->set_var(array(
'TITLE' => '',
'me' => $me,
'me2' => $me2,
'error' => '',
'cssfile' => $cssfile,
- 'loginerror' => ''));
+ 'loginerror' => '',
+ 'template_path' => 'templates/'.THEME));
// End classes -- Begin helper functions
--- global-black.css DELETED ---
--- global.css DELETED ---
|