couple fixes from bugs in the phperror.txt

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-08-28 07:26:26 -07:00
parent 1bbe3fb7f4
commit 724511c3d2
3 changed files with 10 additions and 8 deletions

View File

@ -10,7 +10,7 @@
<?php } ?> <?php } ?>
<?php get_sidebar('footer'); ?> <?php get_sidebar('footer'); ?>
<p> <p>
&copy;<?php echo cp_copyright_year(); ?> <?php echo the_author_meta('firstname',1); echo "&nbsp;"; echo the_author_meta('lastname',1); ?>. <?php bloginfo('name') ?> is powered by <a href="http://wordpress.org/">WordPress</a> with <a href="http://comicpress.org/">ComicPress</a> <?php global $wpmu_version; if (empty($wpmu_version)) { ?>&copy;<?php echo cp_copyright_year(); ?> <?php echo the_author_meta('firstname',1); echo "&nbsp;"; echo the_author_meta('lastname',1); ?>.<?php } ?><?php bloginfo('name') ?> is powered by <a href="http://wordpress.org/">WordPress</a> with <a href="http://comicpress.org/">ComicPress</a>
| Subscribe: <a href="<?php bloginfo('rss2_url') ?>">RSS Feed</a> | <a href="#outside" onclick="scrollup(); return false;">Back to Top &uarr;</a><br /> | Subscribe: <a href="<?php bloginfo('rss2_url') ?>">RSS Feed</a> | <a href="#outside" onclick="scrollup(); return false;">Back to Top &uarr;</a><br />
<!-- <?php echo get_num_queries() ?> queries. <?php timer_stop(1) ?> seconds. --> <!-- <?php echo get_num_queries() ?> queries. <?php timer_stop(1) ?> seconds. -->
</p> </p>

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
Widget Name: Widget Name: comicpress_archive_dropdown
Widget URI: http://comicpress.org/ Widget URI: http://comicpress.org/
Description: Description:
Author: Philip M. Hofer (Frumph) Author: Philip M. Hofer (Frumph)
@ -22,7 +22,7 @@ function comicpress_archive_dropdown() { ?>
class widget_comicpress_archive_dropdown extends WP_Widget { class widget_comicpress_archive_dropdown extends WP_Widget {
function widget_comicpress_archive_dropdown() { function widget_comicpress_archive_dropdown() {
$widget_ops = array('classname' => 'widget_comicpress_archive_dropdown', 'description' => 'Display a thumbnail of the latest comic, clickable to go to the comic post.' ); $widget_ops = array('classname' => 'widget_comicpress_archive_dropdown', 'description' => 'Display a dropdown of your archive.' );
$this->WP_Widget('archive_dropdown', 'ComicPress Archive Dropdown', $widget_ops); $this->WP_Widget('archive_dropdown', 'ComicPress Archive Dropdown', $widget_ops);
} }

View File

@ -9,12 +9,14 @@ Author URI: http://webcomicplanet.com/
*/ */
function comicpress_calendar($instance) { function comicpress_calendar($instance = null) {
global $post; global $post;
$thumbnail = $instance['thumbnail']; if (!empty($instance)) {
$small = $instance['small']; $thumbnail = $instance['thumbnail'];
$medium = $instance['medium']; $small = $instance['small'];
$large = $instance['large']; $medium = $instance['medium'];
$large = $instance['large'];
}
?> ?>
<div id="wp-calendar-top"></div> <div id="wp-calendar-top"></div>
<div id="wp-calendar-wrap"> <div id="wp-calendar-wrap">