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.
*/
function comicpress_calendar() {
function comicpress_calendar_embed() {
$calendar = new CalendarWidget();
$instance = array();
@ -897,7 +897,7 @@ function comicpress_calendar() {
/**
* Render the ComicPress bookmark widget.
*/
function comicpress_comic_bookmark() {
function comicpress_comic_bookmark_embed() {
$bookmark = new BookmarkWidget();
$bookmark->init();
$bookmark->widget(array(), array());

View File

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

View File

@ -4,9 +4,12 @@ if (!$comicpress_options['disable_lrsidebars_frontpage']) { ?>
<div class="sidebar-head"></div>
<div class="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')) { ?>
<div class="widget">
<?php comicpress_calendar(); ?>
<?php comicpress_calendar_embed(); ?>
</div>
<?php } ?>
<div class="widget">