Changeset 5213
- Timestamp:
- 02/08/08 08:57:40 (10 months ago)
- Location:
- trunk/lib
- Files:
-
- 2 modified
-
piece/blog/entries.php (modified) (1 diff)
-
view/view.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/piece/blog/entries.php
r5208 r5213 20 20 "href='$blogURL/comment/rss/{$entry['id']}' />".CRLF; 21 21 } 22 $foafDiscovery = "<link rel=\"meta\" type=\"application/rdf+xml\" title=\"FOAF\" href=\"$pathURL/foaf\" />\n"; 22 if( rtrim( $suri['url'], '/' ) == $pathURL ) { 23 $foafDiscovery = "<link rel=\"meta\" type=\"application/rdf+xml\" title=\"FOAF\" href=\"$pathURL/foaf\" />\n"; 24 } else { 25 $foafDiscovery = ""; 26 } 23 27 dress('SKIN_head_end', $foafDiscovery.$entryRsses."[##_SKIN_head_end_##]", $view); 24 28 foreach ($entries as $entry) { -
trunk/lib/view/view.php
r5206 r5213 956 956 957 957 function getLinksView($links, $template) { 958 global $blogURL, $skinSetting, $suri; 958 global $blogURL, $skinSetting, $suri, $pathURL; 959 if( rtrim( $suri['url'], '/' ) == $pathURL ) { 960 $home = true; 961 } else { 962 $home = false; 963 } 959 964 ob_start(); 960 965 foreach ($links as $link) { … … 965 970 $view = "$template"; 966 971 dress('link_url', htmlspecialchars($link['url']), $view); 967 if( $ suri['directive'] == '/'&& $link['xfn'] ) {972 if( $home && $link['xfn'] ) { 968 973 addXfnAttrs( htmlspecialchars($link['url']), htmlspecialchars($link['xfn']), $view ); 969 974 }
