changed function names for the embed's of the .inc's

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-01 13:02:03 -08:00
parent 68e849717d
commit 8a8e50ba68
3 changed files with 7 additions and 4 deletions

View File

@ -883,7 +883,7 @@ if (comicpress_check_child_file('childfunctions') == false) {}
/** /**
* Render the ComicPress calendar widget. * Render the ComicPress calendar widget.
*/ */
function comicpress_calendar() { function comicpress_calendar_embed() {
$calendar = new CalendarWidget(); $calendar = new CalendarWidget();
$instance = array(); $instance = array();
@ -897,7 +897,7 @@ function comicpress_calendar() {
/** /**
* Render the ComicPress bookmark widget. * Render the ComicPress bookmark widget.
*/ */
function comicpress_comic_bookmark() { function comicpress_comic_bookmark_embed() {
$bookmark = new BookmarkWidget(); $bookmark = new BookmarkWidget();
$bookmark->init(); $bookmark->init();
$bookmark->widget(array(), array()); $bookmark->widget(array(), array());

View File

@ -6,7 +6,7 @@
<div class="sidebar"> <div class="sidebar">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar') ) : ?> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar') ) : ?>
<div class="widget"> <div class="widget">
<?php comicpress_calendar() ?> <?php comicpress_calendar_embed() ?>
</div> </div>
<div class="widget"> <div class="widget">
<?php comicpress_archive_dropdown(); ?> <?php comicpress_archive_dropdown(); ?>

View File

@ -4,9 +4,12 @@ if (!$comicpress_options['disable_lrsidebars_frontpage']) { ?>
<div class="sidebar-head"></div> <div class="sidebar-head"></div>
<div class="sidebar"> <div class="sidebar">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?>
<div class="widget">
<?php comicpress_comic_bookmark_embed(); ?>
</div>
<?php if (is_cp_theme_layout('standard,v')) { ?> <?php if (is_cp_theme_layout('standard,v')) { ?>
<div class="widget"> <div class="widget">
<?php comicpress_calendar(); ?> <?php comicpress_calendar_embed(); ?>
</div> </div>
<?php } ?> <?php } ?>
<div class="widget"> <div class="widget">