.. little fixes *again*

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-08-26 07:35:32 -07:00
parent a48e7d6968
commit 3681cc6365
3 changed files with 9 additions and 7 deletions

View File

@ -292,10 +292,11 @@ function comicpress_admin() {
<?php break;
case "comicpress-graphicnav_directory":
$current_gnav_directory = get_option($value['id']);
if (empty($current_directory)) $current_directory = 'scifi';
if (empty($current_gnav_directory)) $current_gnav_directory = 'default';
$count = count($results = glob(get_template_directory() . '/images/nav/'.$current_gnav_directory.'/*'));
$gnav_directories = glob(get_template_directory() . '/images/nav/*');
?>
<tr>
<th scope="row"><strong>Graphic Navigation Directory</strong><br /><br />Choose a directory to get the graphic navigation styling from.<br /></th>
@ -315,6 +316,7 @@ function comicpress_admin() {
</td>
<td valign="top">
<br />
<?php echo get_template_directory() . '/images/nav/'; ?>
Graphic Navigation directories are found in your theme directory/images/nav/* to create your own custom graphic navigation menu buttons just create a directory
under images/nav/ and place your image files inside of it and create a navstyle.css file to determine the style of your navigation display.
</td>

View File

@ -80,7 +80,7 @@ if (get_option('upload_path') !== false) {
extract($variables_to_extract);
}
if (empty($graphicnav_directory)) $graphicnav_directory = 'scifi';
if (empty($graphicnav_directory)) $graphicnav_directory = 'default';
if (empty($moods_directory)) $moods_directory = 'default';
function is_cp_theme_style($choices) {

View File

@ -4,7 +4,7 @@ Theme URI: http://comicpress.org
Description: Publish a comic with WordPress. <a href="http://comicpress.org">Visit the ComicPress Website.</a>
Author: Tyler Martin, John Bintz, Philip M. Hofer
Author URI: http://mindfaucet.com/
Version: 2.8.0.7
Version: 2.8.0.8
.
The CSS, XHTML and design is released under GPL v3:
http://www.opensource.org/licenses/gpl-3.0.html