Changeset 4495 for trunk/wp-includes/comment-template.php
- Timestamp:
- 11/19/2006 07:56:05 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r4494 r4495 143 143 144 144 function comments_link( $file = '', $echo = true ) { 145 145 echo get_comments_link(); 146 146 } 147 147 … … 241 241 global $id; 242 242 if (!stristr($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator')) { 243 echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 244 245 243 echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 244 xmlns:dc="http://purl.org/dc/elements/1.1/" 245 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"> 246 246 <rdf:Description rdf:about="'; 247 247 the_permalink(); … … 266 266 function pings_open() { 267 267 global $post; 268 if ( 'open' == $post->ping_status ) 268 if ( 'open' == $post->ping_status ) 269 269 return true; 270 270 else … … 300 300 301 301 function comments_popup_script($width=400, $height=400, $file='') { 302 302 global $wpcommentspopupfile, $wptrackbackpopupfile, $wppingbackpopupfile, $wpcommentsjavascript; 303 303 304 304 if (empty ($file)) { … … 308 308 } 309 309 310 311 312 310 $wpcommentsjavascript = 1; 311 $javascript = "<script type='text/javascript'>\nfunction wpopen (macagna) {\n window.open(macagna, '_blank', 'width=$width,height=$height,scrollbars=yes,status=yes');\n}\n</script>\n"; 312 echo $javascript; 313 313 } 314 314
Note: See TracChangeset
for help on using the changeset viewer.