diff -rc mandigo-1.33/404.php mandigo-1.32/404.php
*** mandigo-1.33/404.php 2008-04-27 17:20:08.000000000 -0400
--- mandigo-1.32/404.php 2008-03-09 14:47:33.000000000 -0400
***************
*** 3,8 ****
--- 3,9 ----
get_header();
+ $tag_posttitle_single = get_option('mandigo_tag_posttitle_single');
?>
***************
*** 14,26 ****
|
!
! < class="pagetitle">>
!
!
!
!
!
!
!
!
!
!
! < class="posttitle posttitle-archive"> >
!
! ',
! $dirs['www']['scheme'],
! __('Edit this post', 'mandigo')
! ),
! ''
! );
! ?>
!
!
-
-
!
!
!
!
!
!
!
!
! < class="center">>
!
-
|
!
!
!
! < class="pagetitle">>
!
!
! < class="pagetitle">>
!
!
! < class="pagetitle">>
!
!
! < class="pagetitle">>
!
!
! < class="pagetitle">>
!
!
! < class="pagetitle">>
!
!
! < class="pagetitle">>
!
!
! < class="pagetitle">>
!
!
!
!
!
!
!
!
!
! < class="posttitle posttitle-archive"> >
!
! '. __('Edit','mandigo'), ' - ', ''); ?>
!
!
!
!
!
!
!
!
!
!
! < class="pagetitle">>
! .
!
!
|
!
!
!
!
!
!
!
! < class="pagetitle">:>
!
!
! < class="pagetitle">:>
!
!
! < class="pagetitle">:>
!
!
!
|
!
!
!
!
!
!
!
!
! < class="pagetitle">:>
!
!
! < class="pagetitle">:>
!
!
! < class="pagetitle">:>
!
!
|
! ID,
! true,
! array(450, 800)
! ); // This also populates the iconsize for the next line
!
! $_post = &get_post($post->ID);
!
! $classname = (
! $_post->iconsize[0] <= 128
! ? 'small'
! : ''
! );
! $classname .= 'attachment';
! ?>
!
!
!
!
!
!
< class="pagetitle"> post_parent); ?> » >
-
guid); ?>
! '. __('Pages', 'mandigo') .': ',
! '',
! 'number'
! );
! ?>
! RSS 2.0'
! );
!
! // if both comments and pings are open
! if ($post->comment_status == 'open' && $post->ping_status == 'open') {
! printf(
! __('You can leave a response, or trackback from your own site.', 'mandigo'),
! trackback_url(false)
! );
! }
!
! // if only pings are open
! elseif ($post->comment_status != 'open' && $post->ping_status == 'open') {
! printf(
! __('Responses are currently closed, but you can trackback from your own site.', 'mandigo'),
! trackback_url(false)
! );
! }
!
! // if only comments are open
! elseif ($post->comment_status == 'open' && $post->ping_status != 'open') {
! _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'mandigo');
! }
!
! // if neither comments or pings are open
! elseif ($post->comment_status != 'open' && $post->ping_status != 'open') {
! _e('Both comments and pings are currently closed.', 'mandigo');
! }
!
! // the "edit post" link
! edit_post_link(
! __('Edit this entry.', 'mandigo'),
! '',
! ''
! );
! ?>
!
! <>>
!
|
!
! ID, true, array(450, 800)); // This also populates the iconsize for the next line ?>
! ID); $classname = ($_post->iconsize[0] <= 128 ? 'small' : '') . 'attachment'; // This lets us style narrow icons specially ?>
!
< class="pagetitle"> post_parent); ?> » >
guid); ?>
! '. __('Read the rest of this entry','mandigo') .' »'); ?>
! '. __('Pages','mandigo') .': ', '', 'number'); ?>
!
! RSS 2.0'); ?>
!
! comment_status) && ('open' == $post->ping_status)) { ?>
! leave a response, or trackback from your own site.','mandigo'),trackback_url(false)); ?>
!
! comment_status) && ('open' == $post->ping_status)) { ?>
! trackback from your own site.','mandigo'),trackback_url(false)); ?>
!
! comment_status) && !('open' == $post->ping_status)) { ?>
! skip to the end and leave a response. Pinging is currently not allowed.','mandigo'); ?>
!
! comment_status) && !('open' == $post->ping_status)) { ?>
!
!
!
!
!
+
!
!
!
!
!
|
post_password)) {
! // and it doesn't match the cookie
! if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {
! ?>
!
!
!
items, and separate real comments from trackbacks
! // we will display them later according to the chosen options
! foreach ($comments as $comment) {
! // the comment id
! $id = get_comment_ID();
!
! // echo get_avatar( 't0m@gawd.net' , $size = '48', $default = $dirs['www']['images'] .'1x1.gif' );
!
!
! // a BIG sprintf, not for the faint of heart
! $comment_list_item = sprintf('
!
! ',
!
! ( // first %s, whether it's an odd/even comment
! ++$oddcomment%2
! ? 'alt'
! : ''
! ),
!
! ( // second %s, highlight author comment
! $authorcomments && get_comment_author() == $the_author
! ? ' authorcomment'
! : ''
! ),
!
! $id, // 3rd 4th and 5th %s, the comment id
! $id,
! $id,
!
! ( // 6th %s, gravatar
! !get_option('mandigo_disable_comment_gravatars')
! ? (
! function_exists('get_avatar') && function_exists('get_comment_author_email')
! ? get_avatar(get_comment_author_email(), '36')
! : ''
! )
! : ''
! ),
!
! sprintf( // 7th %s, the user name
! __('%s says:', 'mandigo'),
! get_comment_author_link()
! ),
!
! ( // 8th %s, whether the comment is pending moderation or not
! $comment->comment_approved == '0'
! ? ''. __('Your comment is awaiting moderation.', 'mandigo') .'
'
! : ''
! ),
!
! $id, // 9th %s, the comment id again
!
! sprintf( // 10th %s, "which date at what time"
! __('%s at %s', 'mandigo'),
! get_comment_date(__('F jS, Y', 'mandigo')),
! get_comment_time()
! ),
!
! ( // 11th %s, the edit comment link, if appropriate
! function_exists('get_edit_comment_link') && current_user_can('edit_post', $post->ID)
! ? ' - '. apply_filters(
! 'edit_comment_link',
! ''. __('Edit', 'mandigo') .'',
! $comment->comment_ID
! )
! : ''
! ),
!
! apply_filters('comment_text', get_comment_text()) // 11th %s, the comment itself
! ); // end of big sprintf, phew!
!
!
! // if this is a trackback
! if ($comment->comment_type == 'trackback') {
!
! // and we chose to not display them along regular comments
! if (get_option('mandigo_trackbacks') == 'above' || get_option('mandigo_trackbacks') == 'below') {
! // put them in a separate list
! $trackback_list[] = $comment_list_item;
! }
!
! // otherwise
! elseif (get_option('mandigo_trackbacks') == 'along') {
! $comment_list[] = $comment_list_item;
! }
! }
!
! else {
! $comment_list[] = $comment_list_item;
! }
! } // end of foreach loop
! // if we have trackbacks and we chose to display them above comments
! if (get_option('mandigo_trackbacks') == 'above' && $trackback_list) {
?>
!
!
!
!
!
comment_status == 'open') {
! }
!
! // if comments are closed
! else {
?>
!
comment_status == 'open') {
?>
!
!
! »
!
!
!
--- 1,144 ----
! post_password)) { // if there's a password
! if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
! ?>
!
!
!
!
!
!
!
!
!
!
! %s
!
! %s
!
! %s
!
! ',
!
! $oddcomment, ($authorcomments && get_comment_author() == $the_author ? ' authorcomment' : ''), $id,
! $id, $id,
! sprintf(__('%s says:','mandigo'),get_comment_author_link()),
! ($comment->comment_approved == '0' ? ''. __('Your comment is awaiting moderation.','mandigo') .'' : ''),
! $id, sprintf(__('%s at %s','mandigo'),get_comment_date(__('F jS, Y','mandigo')),get_comment_time()), function_exists('get_edit_comment_link') && current_user_can( 'edit_post', $post->ID ) ? ' - '. apply_filters('edit_comment_link', ''. __('Edit','mandigo') .'', $comment->comment_ID) : '',
! apply_filters('comment_text', get_comment_text())
! );
!
! if ($comment->comment_type == 'trackback'):
! if (get_option('mandigo_trackbacks') == 'above' || get_option('mandigo_trackbacks') == 'below'):
! $trackback_list .= $comment_list_item;
! elseif (get_option('mandigo_trackbacks') == 'along'):
! $comment_list .= $comment_list_item;
! endif;
! else:
! $comment_list .= $comment_list_item;
! endif;
! if ('alt' == $oddcomment) $oddcomment = '';
! else $oddcomment = 'alt';
! endforeach;
!
! if (get_option('mandigo_trackbacks') == 'above' && $trackback_list):
?>
!
!
!
!
!
!
comment_status): // If comments are open, but there are no comments.
! else : // if comments are closed
?>
!
comment_status):
?>
!
!
! »
!
!
!
!
!
diff -rc mandigo-1.33/footer.php mandigo-1.32/footer.php
*** mandigo-1.33/footer.php 2008-04-27 17:20:08.000000000 -0400
--- mandigo-1.32/footer.php 2008-03-09 14:47:33.000000000 -0400
***************
*** 1,68 ****
!
!
-
!