Dragonfly CMS logo Server sponsored and hosted by
DedicatedNOW
CVS logo  
.:: Home :: Dev. Resources :: Forums ::.
Dragonfly CMS CVS Repository
 Location: / cvs / html / includes / classes / template.php
This is a web interface to the Dragonfly CMS CVS tree. You can browse the file hierarchy by picking directories. If you pick a file, you will see the revision history for that file.
Selecting a revision number will show that revision of the file. There are links at each revision to display diffs, annotate and download.
Note: Info about CVS and our commits can be found at our CVS Info Forum
File name: html/includes/classes/template.php
Revision : 9.15.4.1 => 9.15.4.2 (3 years 10 months 2 weeks 11 hours 2 minutes 40 seconds ago) by nanocaiordo
Changed : +3 -5 lines
Comment: Rollback forcing default theme in admin pages for 9.2 only

--- html/includes/classes/template.php:9.15.4.1 Sun Jan 3 04:32:10 2010
+++ html/includes/classes/template.php Sun Jun 6 02:40:13 2010
@@ -9,9 +9,9 @@
of the GNU GPL version 2 or any later version
$Source: /cvs/html/includes/classes/template.php,v $
- $Revision: 9.15.4.1 $
+ $Revision: 9.15.4.2 $
$Author: nanocaiordo $
- $Date: 2010/01/03 04:32:10 $
+ $Date: 2010/06/06 02:40:13 $
**********************************************/
/*
Nathan Codding - Original version design and implementation
@@ -53,9 +53,7 @@
{
global $MAIN_CFG, $CPG_SESS;
if (!is_dir(BASEDIR.'themes/default/template')) { trigger_error("'default' theme does not exist", E_USER_ERROR); }
- if (defined('ADMIN_PAGES')) {
- $this->tpl = 'default';
- } else if (is_dir('themes/'.$CPG_SESS['theme'].'/template')) {
+ if (is_dir('themes/'.$CPG_SESS['theme'].'/template')) {
$this->tpl = $CPG_SESS['theme'];
} else if (is_dir('themes/'.$MAIN_CFG['global']['Default_Theme'].'/template')) {
$this->tpl = $MAIN_CFG['global']['Default_Theme'];


Code Credits - Privacy Policy