Changeset 274
- Timestamp:
- 07/25/2003 11:31:11 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2-include/b2template.functions.php
r273 r274 111 111 } 112 112 113 /* link navigation hack by Orien http://icecode.com/ */ 113 114 function get_archives_link( $url, $text, $format ) { 114 115 if ('link' == $format) { 115 echo " <link rel='Archives' title='$text' href='$url' />\n"; 116 } else { 117 echo "<li><a href='$url'>"; 118 echo $text; 119 echo "</a></li>\n"; 120 } 121 } 122 123 function get_archives($type='', $limit='',$format='html') { 116 echo '<link rel="Archives" title="'.$text.'" href="'.$url.'" />'."\n"; 117 } else { 118 echo '<li><a href="'.$url.'" title="'.$text.'">'.$text.'</a></li>'."\n"; 119 } 120 } 121 122 function get_archives($type='', $limit='', $format='html') { 124 123 global $tableposts, $dateformat, $time_difference, $siteurl, $blogfilename; 125 124 GLOBAL $querystring_start, $querystring_equal, $querystring_separator, $month, $wpdb, $start_of_week;
Note: See TracChangeset
for help on using the changeset viewer.