couple fixes from bugs in the phperror.txt
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
1bbe3fb7f4
commit
724511c3d2
|
@ -10,7 +10,7 @@
|
|||
<?php } ?>
|
||||
<?php get_sidebar('footer'); ?>
|
||||
<p>
|
||||
©<?php echo cp_copyright_year(); ?> <?php echo the_author_meta('firstname',1); echo " "; 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)) { ?>©<?php echo cp_copyright_year(); ?> <?php echo the_author_meta('firstname',1); echo " "; 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 ↑</a><br />
|
||||
<!-- <?php echo get_num_queries() ?> queries. <?php timer_stop(1) ?> seconds. -->
|
||||
</p>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/*
|
||||
Widget Name:
|
||||
Widget Name: comicpress_archive_dropdown
|
||||
Widget URI: http://comicpress.org/
|
||||
Description:
|
||||
Author: Philip M. Hofer (Frumph)
|
||||
|
@ -22,7 +22,7 @@ function comicpress_archive_dropdown() { ?>
|
|||
class widget_comicpress_archive_dropdown extends WP_Widget {
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -9,12 +9,14 @@ Author URI: http://webcomicplanet.com/
|
|||
|
||||
*/
|
||||
|
||||
function comicpress_calendar($instance) {
|
||||
function comicpress_calendar($instance = null) {
|
||||
global $post;
|
||||
$thumbnail = $instance['thumbnail'];
|
||||
$small = $instance['small'];
|
||||
$medium = $instance['medium'];
|
||||
$large = $instance['large'];
|
||||
if (!empty($instance)) {
|
||||
$thumbnail = $instance['thumbnail'];
|
||||
$small = $instance['small'];
|
||||
$medium = $instance['medium'];
|
||||
$large = $instance['large'];
|
||||
}
|
||||
?>
|
||||
<div id="wp-calendar-top"></div>
|
||||
<div id="wp-calendar-wrap">
|
||||
|
|
Loading…
Reference in New Issue