Changeset 532
- Timestamp:
- 11/10/2003 12:04:47 AM (23 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 1 deleted
- 2 edited
-
edit-comments.php (modified) (1 diff)
-
wp-edit.form.php (modified) (3 diffs)
-
wp-edit.showcomments.php (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r514 r532 152 152 echo " | <a href=\"wp-post.php?action=deletecomment&p=".$comment->comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> | "; 153 153 } // end if any comments to show 154 ?> <a href=" wp-post.php?p=<?php echo $comment->comment_post_ID; ?>">View Post</a></p>154 ?> <a href="edit.php?p=<?php echo $comment->comment_post_ID; ?>">View Post</a></p> 155 155 </li> 156 156 -
trunk/wp-admin/wp-edit.form.php
r528 r532 194 194 <?php 195 195 } 196 if (get_settings('use_geo_positions')) { 197 if (empty($edited_lat)) { 198 if (get_settings('use_default_geourl')) { 199 $edited_lat = get_settings('default_geourl_lat'); 200 $edited_lon = get_settings('default_geourl_lon'); 196 if ($action != 'editcomment') { 197 if (get_settings('use_geo_positions')) { 198 if (empty($edited_lat)) { 199 if (get_settings('use_default_geourl')) { 200 $edited_lat = get_settings('default_geourl_lat'); 201 $edited_lon = get_settings('default_geourl_lon'); 202 } 201 203 } 202 }203 204 ?> 204 205 <label for="post_latf">Latitude:</label><input size="8" type="text" value="<?php echo $edited_lat; ?>" name="post_latf"> … … 206 207 <br> 207 208 <?php 209 } 208 210 } 209 211 ?> … … 217 219 218 220 219 <?php if ( ($use_fileupload) && ($user_level >= $fileupload_minlevel) && (in_array($user_login, $allowed_users) || (trim($fileupload_allowedusers)=="")) ) { ?> 221 <?php 222 if ($action != 'editcomment') { 223 if ( ($use_fileupload) && ($user_level >= $fileupload_minlevel) 224 && (in_array($user_login, $allowed_users) || (trim($fileupload_allowedusers)=="")) ) { ?> 220 225 <input type="button" value="upload a file/image" onclick="launchupload();" class="search" tabindex="10" /> 221 226 <?php } 227 } 222 228 223 229 echo $form_trackback;
Note: See TracChangeset
for help on using the changeset viewer.