<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.zarafa.com/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.zarafa.com/wiki/index.php?title=Forcing_a_specific_theme_for_webaccess_users&amp;feed=atom&amp;action=history</id>
		<title>Forcing a specific theme for webaccess users - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.zarafa.com/wiki/index.php?title=Forcing_a_specific_theme_for_webaccess_users&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.zarafa.com/wiki/index.php?title=Forcing_a_specific_theme_for_webaccess_users&amp;action=history"/>
		<updated>2013-05-25T15:28:12Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://www.zarafa.com/wiki/index.php?title=Forcing_a_specific_theme_for_webaccess_users&amp;diff=311&amp;oldid=prev</id>
		<title>Troyready at 08:09, 2 February 2009</title>
		<link rel="alternate" type="text/html" href="http://www.zarafa.com/wiki/index.php?title=Forcing_a_specific_theme_for_webaccess_users&amp;diff=311&amp;oldid=prev"/>
				<updated>2009-02-02T08:09:53Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:09, 2 February 2009&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;== Forcing a specific theme for webaccess users ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;BR&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;BR&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;font color=red&amp;gt;'''This article is a community contribution and may include unsupported configurations.''' &amp;lt;/font&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;font color=red&amp;gt;'''This article is a community contribution and may include unsupported configurations.''' &amp;lt;/font&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Troyready</name></author>	</entry>

	<entry>
		<id>http://www.zarafa.com/wiki/index.php?title=Forcing_a_specific_theme_for_webaccess_users&amp;diff=310&amp;oldid=prev</id>
		<title>Troyready: Created page</title>
		<link rel="alternate" type="text/html" href="http://www.zarafa.com/wiki/index.php?title=Forcing_a_specific_theme_for_webaccess_users&amp;diff=310&amp;oldid=prev"/>
				<updated>2009-02-02T08:09:30Z</updated>
		
		<summary type="html">&lt;p&gt;Created page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Forcing a specific theme for webaccess users ==&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;font color=red&amp;gt;'''This article is a community contribution and may include unsupported configurations.''' &amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is very easy to modify the default Zarafa webaccess configuration to have a particular webaccess theme (the included silver theme will be the example below) be the only option available to users.&lt;br /&gt;
&lt;br /&gt;
In webaccess/config.php, change&lt;br /&gt;
&lt;br /&gt;
        define(&amp;quot;THEME_COLOR&amp;quot;, &amp;quot;default&amp;quot;);&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
        define(&amp;quot;THEME_COLOR&amp;quot;, &amp;quot;silver&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
In webaccess/client/layout/dialogs/settings/tabs/preferences.php, change:&lt;br /&gt;
&lt;br /&gt;
        $themes = array(&amp;quot;default&amp;quot;);&lt;br /&gt;
        $dir = &amp;quot;client/layout/themes&amp;quot;;&lt;br /&gt;
        if (is_dir($dir)){&lt;br /&gt;
                $dh = opendir($dir);&lt;br /&gt;
                while(($entry = readdir($dh))!==false){&lt;br /&gt;
                        if (is_dir($dir.&amp;quot;/&amp;quot;.$entry) &amp;amp;&amp;amp; is_file($dir.&amp;quot;/&amp;quot;.$entry.$&lt;br /&gt;
                                $themes[] = $entry;&lt;br /&gt;
                        }&lt;br /&gt;
                }&lt;br /&gt;
        }&lt;br /&gt;
        return $themes;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
        $themes = array(&amp;quot;silver&amp;quot;);&lt;br /&gt;
        return $themes;&lt;br /&gt;
&lt;br /&gt;
With that, users will only see the selected theme, and it will be the only option available in their webaccess settings.&lt;/div&gt;</summary>
		<author><name>Troyready</name></author>	</entry>

	</feed>