themes doc
This commit is contained in:
@@ -9,6 +9,8 @@ $Source$
|
||||
* sql.php: bug #899430: left frame problem when lower_case_table_names==2
|
||||
* libraries/database_interface.lib.php: bug #1009791: now remove non-UTF-8
|
||||
choices from the drop-down (in main) for MySQL 4.1.x
|
||||
* Documentation.html: added some missing variables and new FAQ 2.7
|
||||
about using and creating themes
|
||||
|
||||
2004-09-03 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* main.php, server_privileges.php, libraries/common.lib.php:
|
||||
|
@@ -1784,7 +1784,7 @@ Defaults to FALSE (drop-down). <br />
|
||||
|
||||
<dt><b>$cfg['ThemeManager'] </b>boolean</dt>
|
||||
<dd>
|
||||
Enables user-selectable themes.
|
||||
Enables user-selectable themes. See <a href="#faqthemes">FAQ 2.7</a>.
|
||||
<br /><br />
|
||||
</dd>
|
||||
|
||||
@@ -2753,7 +2753,7 @@ To create a new, empty mimetype please see libraries/transformations/template_ge
|
||||
<h4>
|
||||
[2.6] I get an "Access denied for user: 'root@localhost' (Using
|
||||
password: YES)"-error when trying to access a MySQL-Server on a
|
||||
host which is port-forwarded for my localhost
|
||||
host which is port-forwarded for my localhost.
|
||||
</h4>
|
||||
<p>
|
||||
When you are using a port on your localhost, which you redirect via
|
||||
@@ -2767,7 +2767,42 @@ To create a new, empty mimetype please see libraries/transformations/template_ge
|
||||
TCP connection.
|
||||
</p>
|
||||
|
||||
|
||||
<a name="faqthemes"></a><br />
|
||||
<h4>
|
||||
[2.7] Using and creating themes
|
||||
</h4>
|
||||
<p>
|
||||
Themes are configured with <tt>$cfg['ThemePath']</tt>,
|
||||
<tt>$cfg['ThemeManager']</tt> and <tt>$cfg['ThemeDefault']</tt>.<br />
|
||||
<br />
|
||||
Under <tt>$cfg['ThemePath']</tt>, you should not delete the directory
|
||||
"original" or its underlying structure, because this is
|
||||
the system theme used by phpMyAdmin. "original" contains all
|
||||
images and styles, for backwards compatibility and for all themes that
|
||||
would not include images or css-files.<br />
|
||||
<br />
|
||||
If <tt>$cfg['ThemeManager']</tt> is enabled, you can select your
|
||||
favorite theme on the main page. Your selected theme will be stored
|
||||
in a cookie.<br />
|
||||
<br />
|
||||
</p>
|
||||
<p>
|
||||
To create a theme:
|
||||
<ul>
|
||||
<li>make a new subdirectory (for example "your_theme_name") under <tt>$cfg['ThemePath']</tt> (by default <tt>themes</tt>)</li>
|
||||
<li>copy the files and directories from "original" to "your_theme_name"</li>
|
||||
<li>edit the css-files in "your_theme_name/css"</li>
|
||||
<li>put your new images in "your_theme_name/img"</li>
|
||||
<li>edit <tt>layout.inc.php</tt> in "your_theme_name"</li>
|
||||
<li>make a new screenshot of your theme and save it under "your_theme_name/screen.png"</li>
|
||||
</ul>
|
||||
<br />
|
||||
</p>
|
||||
<p>
|
||||
If you do not want to use your own symbols and buttons, remove the
|
||||
directory "img" in "your_theme_name". phpMyAdmin will
|
||||
use the default icons and buttons (from the system-theme "original").
|
||||
</p>
|
||||
<a name="faqlimitations"></a><br />
|
||||
<h3>[3. Known limitations]</h3>
|
||||
<a name="login_bug"></a><br />
|
||||
|
Reference in New Issue
Block a user