mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Minor update to get_archives_link()
git-svn-id: http://svn.automattic.com/wordpress/trunk@274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0ee44fea8f
commit
797d6fbc8b
@ -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 " <link rel='Archives' title='$text' href='$url' />\n";
|
||||
echo '<link rel="Archives" title="'.$text.'" href="'.$url.'" />'."\n";
|
||||
} else {
|
||||
echo "<li><a href='$url'>";
|
||||
echo $text;
|
||||
echo "</a></li>\n";
|
||||
echo '<li><a href="'.$url.'" title="'.$text.'">'.$text.'</a></li>'."\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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user