Changeset 895 for trunk/wp-includes/template-functions-comment.php
- Timestamp:
- 02/20/2004 01:42:39 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-comment.php
r887 r895 55 55 $wpcommentspopupfile = $file; 56 56 $wpcommentsjavascript = 1; 57 $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";57 $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"; 58 58 echo $javascript; 59 59 } … … 75 75 if (!empty($post->post_password)) { // if there's a password 76 76 if ($HTTP_COOKIE_VARS['wp-postpass_'.$cookiehash] != $post->post_password) { // and it doesn't match the cookie 77 echo( "Enter your password to view comments");77 echo('Enter your password to view comments'); 78 78 return; 79 79 } … … 172 172 $display = ($linktext != '') ? $linktext : stripslashes($url); 173 173 echo $before; 174 echo "<a href='$url' rel='external'>$display</a>";174 echo '<a href="'.$url.'" rel="external">'.$display.'</a>'; 175 175 echo $after; 176 176 } … … 238 238 } 239 239 240 echo "<a href='$url'>$link_text</a>";240 echo '<a href="'.$url.'">'.$link_text.'</a>'; 241 241 } 242 242
Note: See TracChangeset
for help on using the changeset viewer.