Template handling is now done in init.php, so this block is no longer needed. In...
authorstevetruckstuff <stevetruckstuff@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 24 Aug 2006 20:31:43 +0000 (20:31 +0000)
committerstevetruckstuff <stevetruckstuff@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 24 Aug 2006 20:31:43 +0000 (20:31 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11633 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/style.php

index 83744aadcd2ba50f3742c80a751ea6332a4a7240..d62f1762736e1be63a70c1090633a74a71f49089 100644 (file)
@@ -33,21 +33,6 @@ if (!isset($fontsets) || !is_array($fontsets)) {
     $fontsets=array();
 }
 
     $fontsets=array();
 }
 
-/**
- *  get template name and set used template directory
- *
- *  Existing file check has been moved into the template object, so it is
- *  not neccesary to do file_exists() here.
- * */
-if (sqgetGlobalVar('templateid',$templateid,SQ_GET)) {
-    $sTplDir = SM_PATH.'templates/'.basename($templateid).'/';
-} else {
-    $sTplDir = SM_PATH.'templates/default/';
-}
-
-$oTemplate = new Template($sTplDir);
-/** end block copy */
-
 /* set default colors in case color theme is not full */
 $color = array();
 $color[0]   = '#dcdcdc'; // (light gray)     TitleBar
 /* set default colors in case color theme is not full */
 $color = array();
 $color[0]   = '#dcdcdc'; // (light gray)     TitleBar