.. little fixes *again*
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
a48e7d6968
commit
3681cc6365
|
@ -292,10 +292,11 @@ function comicpress_admin() {
|
||||||
<?php break;
|
<?php break;
|
||||||
case "comicpress-graphicnav_directory":
|
case "comicpress-graphicnav_directory":
|
||||||
$current_gnav_directory = get_option($value['id']);
|
$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.'/*'));
|
$count = count($results = glob(get_template_directory() . '/images/nav/'.$current_gnav_directory.'/*'));
|
||||||
$gnav_directories = glob(get_template_directory() . '/images/nav/*');
|
$gnav_directories = glob(get_template_directory() . '/images/nav/*');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><strong>Graphic Navigation Directory</strong><br /><br />Choose a directory to get the graphic navigation styling from.<br /></th>
|
<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>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
<br />
|
<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
|
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.
|
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>
|
</td>
|
||||||
|
|
|
@ -80,7 +80,7 @@ if (get_option('upload_path') !== false) {
|
||||||
extract($variables_to_extract);
|
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';
|
if (empty($moods_directory)) $moods_directory = 'default';
|
||||||
|
|
||||||
function is_cp_theme_style($choices) {
|
function is_cp_theme_style($choices) {
|
||||||
|
|
|
@ -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>
|
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: Tyler Martin, John Bintz, Philip M. Hofer
|
||||||
Author URI: http://mindfaucet.com/
|
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:
|
The CSS, XHTML and design is released under GPL v3:
|
||||||
http://www.opensource.org/licenses/gpl-3.0.html
|
http://www.opensource.org/licenses/gpl-3.0.html
|
||||||
|
|
Loading…
Reference in New Issue