Changeset 158
- Timestamp:
- 04/15/08 14:14:38 (3 months ago)
- Files:
-
- trunk/comments.php (modified) (1 diff)
- trunk/functions.php (modified) (3 diffs)
- trunk/style.css (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/comments.php
r148 r158 90 90 <?php if (function_exists('gravatar')) { 91 91 gravatar_image_link(); 92 }elseif (function_exists('get_avatar')) { 93 echo get_avatar(get_comment_author_email(),'45'); 92 94 } ?> 93 95 <?php /* If you want to use gravatars, they go somewhere around here */ ?> trunk/functions.php
r157 r158 155 155 ?> 156 156 <div class="wrap"> 157 <h2 ><?php echo $themename; ?> settings</h2>157 <h2 class="updatehook"><?php echo $themename; ?> settings</h2> 158 158 159 159 <form method="post"> … … 296 296 function mytheme_admin_head(){ 297 297 global $theme_current_version; 298 global $theme_url; 298 299 global $themename; 299 global $theme_url;300 300 ?> 301 301 <script type="text/javascript"> … … 303 303 jQuery.get('http://literalbarrage.org/lblgversion.txt', function(newversion){ 304 304 if (<?php echo $theme_current_version; ?> < newversion) { 305 jQuery('#wpbody > .wrap > h2 ').after('<div id="message" class="updated fade"><p><strong><?php echo $themename; ?>Update available. Click <a href="<?php echo $theme_url;?>">here</a> for details.</strong></p></div>');305 jQuery('#wpbody > .wrap > h2.updatehook').after('<div id="message" class="updated fade"><p><strong>Theme Update available. Click <a href="<?php echo $theme_url;?>">here</a> for details.</strong></p></div>'); 306 306 307 307 } trunk/style.css
r156 r158 155 155 /* @group Alignment classes */ 156 156 157 .center {157 .center, .aligncenter { 158 158 text-align: center; 159 159 } … … 171 171 /* @group Image classes */ 172 172 173 img.center, img [align="center"] {173 img.center, img.aligncenter, img[align="center"] { 174 174 display: block; 175 175 margin: 0 auto !important; … … 207 207 /* @group Gravatar classes */ 208 208 209 .gravatar {209 .gravatar, .avatar { 210 210 float: left; 211 211 padding: 3px; 212 border: 1px solid # ccc;212 border: 1px solid #3c3c3c; 213 213 background: #fff; 214 214 margin-right: 10px;
