From 7bbde6b6a03a8f971915f4d7241b1e7a1aad99dd Mon Sep 17 00:00:00 2001 From: Mike Little Date: Fri, 25 Jul 2003 23:31:11 +0000 Subject: [PATCH] Minor update to get_archives_link() git-svn-id: https://develop.svn.wordpress.org/trunk@274 602fd350-edb4-49c9-b593-d223f7449a82 --- b2-include/b2template.functions.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/b2-include/b2template.functions.php b/b2-include/b2template.functions.php index b7e9aa553c..bdb48ed7c6 100644 --- a/b2-include/b2template.functions.php +++ b/b2-include/b2template.functions.php @@ -110,17 +110,16 @@ function single_month_title($prefix = '', $display = true ) { } } +/* link navigation hack by Orien http://icecode.com/ */ function get_archives_link( $url, $text, $format ) { if ('link' == $format) { - echo " \n"; + echo ''."\n"; } else { - echo "
  • "; - echo $text; - echo "
  • \n"; + echo '
  • '.$text.'
  • '."\n"; } } -function get_archives($type='', $limit='',$format='html') { +function get_archives($type='', $limit='', $format='html') { global $tableposts, $dateformat, $time_difference, $siteurl, $blogfilename; GLOBAL $querystring_start, $querystring_equal, $querystring_separator, $month, $wpdb, $start_of_week;