More HTML error fixes.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-12-12 06:31:01 +00:00
parent 414d3cd772
commit de360e84e1
4 changed files with 14 additions and 12 deletions

View File

@ -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 {

View File

@ -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>

View File

@ -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>
@ -49,19 +49,20 @@ else $selected = '';
endforeach;
?>
</select></td>
</tr>
</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 />
<label for="new_users_can_blog2"><input name="new_users_can_blog" id="new_users_can_blog2" type="radio" value="2" <?php checked('2', get_settings('new_users_can_blog')); ?> /> <?php _e('May publish articles') ?></label><br /></td>
</tr>
</table>
</tr>
</table>
<fieldset class="options">
<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>

View File

@ -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");
?>