From 87c1a07e443018e155c86bed1f810c3ad31e13c4 Mon Sep 17 00:00:00 2001
From: latham <latham@ispconfig3>
Date: Mon, 23 May 2011 16:50:14 -0400
Subject: [PATCH] Use the theme and common settings from config.inc.php or config.inc.local.php

---
 interface/web/client/form/client.tform.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/client/form/client.tform.php b/interface/web/client/form/client.tform.php
index 43d824b..eb61dc9 100644
--- a/interface/web/client/form/client.tform.php
+++ b/interface/web/client/form/client.tform.php
@@ -164,7 +164,7 @@
 		'usertheme' => array (
 			'datatype'	=> 'VARCHAR',
 			'formtype'	=> 'SELECT',
-			'default'	=> 'default',
+			'default'	=> $conf["theme"],
 			'value'		=> $themes_list,
 			'separator'	=> '',
 			'width'		=> '30',

--
Gitblit v1.9.1