More HTML error fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
414d3cd772
commit
de360e84e1
|
@ -634,7 +634,7 @@ function parent_dropdown($default = 0, $parent = 0, $level = 0) {
|
|||
else
|
||||
$current = '';
|
||||
|
||||
echo "\n\t<option value='$item->ID'$current>$pad $item->post_title</a></option>";
|
||||
echo "\n\t<option value='$item->ID'$current>$pad $item->post_title</option>";
|
||||
parent_dropdown($default, $item->ID, $level + 1);
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -107,8 +107,8 @@ save_mod_rewrite_rules();
|
|||
<textarea rows="5" style="width: 98%;" name="rules"><?php echo $wp_rewrite->mod_rewrite_rules(); ?>
|
||||
</textarea>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -19,10 +19,10 @@ include('admin-header.php');
|
|||
<input name="advanced_edit" type="radio" value="0" <?php checked('0', get_settings('advanced_edit')); ?> />
|
||||
<?php _e('Simple controls') ?></label>
|
||||
<br />
|
||||
<label>
|
||||
<input name="advanced_edit" type="radio" value="1" <?php checked('1', get_settings('advanced_edit')); ?> />
|
||||
<label for="advanced_edit">
|
||||
<input name="advanced_edit" id="advanced_edit" type="radio" value="1" <?php checked('1', get_settings('advanced_edit')); ?> />
|
||||
<?php _e('Advanced controls') ?></label>
|
||||
<label for="advanced_edit"></label></td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<th width="33%" scope="row"> <?php _e('Size of the writing box:') ?></th>
|
||||
|
@ -50,6 +50,7 @@ endforeach;
|
|||
?>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e('Newly registered members:') ?></th>
|
||||
<td> <label for="new_users_can_blog0"><input name="new_users_can_blog" id="new_users_can_blog0" type="radio" value="0" <?php checked('0', get_settings('new_users_can_blog')); ?> /> <?php _e('Cannot write articles') ?></label><br />
|
||||
<label for="new_users_can_blog1"><input name="new_users_can_blog" id="new_users_can_blog1" type="radio" value="1" <?php checked('1', get_settings('new_users_can_blog')); ?> /> <?php _e('May submit drafts for review') ?></label><br />
|
||||
|
@ -61,7 +62,7 @@ endforeach;
|
|||
<legend><?php _e('Update Services') ?></legend>
|
||||
<p><?php printf(__('When you publish a new post WordPress can notify site update services. For more about this see <a href="%s">Update Services</a> on the Codex. Separate multiple service URIs with line breaks.'), 'http://codex.wordpress.org/Update_Services') ?></p>
|
||||
|
||||
<textarea name="ping_sites" id="ping_sites" style="width: 98%;"><?php form_option('ping_sites'); ?></textarea>
|
||||
<textarea name="ping_sites" id="ping_sites" style="width: 98%;" rows="5" cols="50"><?php form_option('ping_sites'); ?></textarea>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="options">
|
||||
|
@ -72,7 +73,7 @@ endforeach;
|
|||
<tr valign="top">
|
||||
<th scope="row"><?php _e('Mail server:') ?></th>
|
||||
<td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" size="40" />
|
||||
<label for="port"><?php _e('Port:') ?></label>
|
||||
<label for="mailserver_port"><?php _e('Port:') ?></label>
|
||||
<input name="mailserver_port" type="text" id="mailserver_port" value="<?php form_option('mailserver_port'); ?>" size="6" />
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -86,7 +86,7 @@ if ( $recents = get_option('recently_edited') ) :
|
|||
<?php
|
||||
echo '<ol>';
|
||||
foreach ($recents as $recent) :
|
||||
echo "<li><a href='templates.php?file=$recent'>" . get_file_description(basename($recent)) . "</a>";
|
||||
echo "<li><a href='templates.php?file=$recent'>" . get_file_description(basename($recent)) . "</a></li>";
|
||||
endforeach;
|
||||
echo '</ol>';
|
||||
endif;
|
||||
|
@ -137,4 +137,5 @@ endif;
|
|||
break;
|
||||
}
|
||||
|
||||
include("admin-footer.php") ?>
|
||||
include("admin-footer.php");
|
||||
?>
|
Loading…
Reference in New Issue