Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7623315990
commit
3cbcbbbfb4
|
@ -126,6 +126,7 @@ endif; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<p id="post-search">
|
<p id="post-search">
|
||||||
|
<label class="hidden" for="post-search-input"><?php _e('Search Categories'); ?>:</label>
|
||||||
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
||||||
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />
|
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -116,6 +116,7 @@ unset($status_links);
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p id="post-search">
|
<p id="post-search">
|
||||||
|
<label class="hidden" for="post-search-input"><?php _e( 'Search Comments' ); ?>:</label>
|
||||||
<input type="text" id="post-search-input" name="s" value="<?php echo $search; ?>" />
|
<input type="text" id="post-search-input" name="s" value="<?php echo $search; ?>" />
|
||||||
<input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" />
|
<input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -84,9 +84,9 @@ else
|
||||||
|
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
|
|
||||||
<p><strong><?php _e('Publish Status') ?></strong></p>
|
<p><strong><label for='post_status'><?php _e('Publish Status') ?></label></strong></p>
|
||||||
<p>
|
<p>
|
||||||
<select name='post_status' tabindex='4'>
|
<select name='post_status' id='post_status' tabindex='4'>
|
||||||
<?php if ( current_user_can('publish_posts') ) : // Contributors only get "Unpublished" and "Pending Review" ?>
|
<?php if ( current_user_can('publish_posts') ) : // Contributors only get "Unpublished" and "Pending Review" ?>
|
||||||
<option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option>
|
<option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option>
|
||||||
<?php if ( 'future' == $post->post_status ) : ?>
|
<?php if ( 'future' == $post->post_status ) : ?>
|
||||||
|
@ -181,7 +181,7 @@ if ( ( 'edit' == $action) && current_user_can('delete_post', $post_ID) )
|
||||||
|
|
||||||
<div id="post-body">
|
<div id="post-body">
|
||||||
<div id="titlediv">
|
<div id="titlediv">
|
||||||
<h3><?php _e('Title') ?></h3>
|
<h3><label for="title"><?php _e('Title') ?></label></h3>
|
||||||
<div id="titlewrap">
|
<div id="titlewrap">
|
||||||
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" autocomplete="off" />
|
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" autocomplete="off" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -196,7 +196,7 @@ endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">
|
<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">
|
||||||
<h3><?php _e('Post') ?></h3>
|
<h3><label for="content"><?php _e('Post') ?></label></h3>
|
||||||
<?php the_editor($post->post_content); ?>
|
<?php the_editor($post->post_content); ?>
|
||||||
<?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?>
|
<?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?>
|
||||||
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
|
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
|
||||||
|
@ -210,7 +210,7 @@ endif; ?>
|
||||||
<div id="tagsdiv" class="postbox <?php echo postbox_classes('tagsdiv', 'post'); ?>">
|
<div id="tagsdiv" class="postbox <?php echo postbox_classes('tagsdiv', 'post'); ?>">
|
||||||
<h3><?php _e('Tags'); ?></h3>
|
<h3><?php _e('Tags'); ?></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<p id="jaxtag"><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post_ID ); ?>" /></p>
|
<p id="jaxtag"><label class="hidden" for="newtag"><?php _e('Tags'); ?></label><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post_ID ); ?>" /></p>
|
||||||
<div id="tagchecklist"></div>
|
<div id="tagchecklist"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -222,8 +222,8 @@ endif; ?>
|
||||||
<div id="category-adder" class="wp-hidden-children">
|
<div id="category-adder" class="wp-hidden-children">
|
||||||
<h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4>
|
<h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4>
|
||||||
<p id="category-add" class="wp-hidden-child">
|
<p id="category-add" class="wp-hidden-child">
|
||||||
<input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" />
|
<label class="hidden" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" />
|
||||||
<?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>
|
<label class="hidden" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>
|
||||||
<input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _e( 'Add' ); ?>" tabindex="3" />
|
<input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _e( 'Add' ); ?>" tabindex="3" />
|
||||||
<?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?>
|
<?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?>
|
||||||
<span id="category-ajax-response"></span>
|
<span id="category-ajax-response"></span>
|
||||||
|
@ -258,7 +258,7 @@ endif; ?>
|
||||||
|
|
||||||
<div id="postexcerpt" class="postbox <?php echo postbox_classes('postexcerpt', 'post'); ?>">
|
<div id="postexcerpt" class="postbox <?php echo postbox_classes('postexcerpt', 'post'); ?>">
|
||||||
<h3><?php _e('Excerpt') ?></h3>
|
<h3><?php _e('Excerpt') ?></h3>
|
||||||
<div class="inside"><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea>
|
<div class="inside"><label class="hidden" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea>
|
||||||
<p><?php _e('Excerpts are optional hand-crafted summaries of your content. You can <a href="http://codex.wordpress.org/Template_Tags/the_excerpt" target="_blank">use them in your template</a>'); ?></p>
|
<p><?php _e('Excerpts are optional hand-crafted summaries of your content. You can <a href="http://codex.wordpress.org/Template_Tags/the_excerpt" target="_blank">use them in your template</a>'); ?></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -266,7 +266,7 @@ endif; ?>
|
||||||
<div id="trackbacksdiv" class="postbox <?php echo postbox_classes('trackbacksdiv', 'post'); ?>">
|
<div id="trackbacksdiv" class="postbox <?php echo postbox_classes('trackbacksdiv', 'post'); ?>">
|
||||||
<h3><?php _e('Trackbacks') ?></h3>
|
<h3><?php _e('Trackbacks') ?></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<p><?php _e('Send trackbacks to:'); ?> <?php echo $form_trackback; ?><br /> (<?php _e('Separate multiple URLs with spaces'); ?>)</p>
|
<p><label for="trackback"><?php _e('Send trackbacks to:'); ?></label> <?php echo $form_trackback; ?><br /> (<?php _e('Separate multiple URLs with spaces'); ?>)</p>
|
||||||
<p><?php _e('Trackbacks are a way to notify legacy blog systems that you’ve linked to them. If you link other WordPress blogs they’ll be notified automatically using <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">pingbacks</a>, no other action necessary.'); ?></p>
|
<p><?php _e('Trackbacks are a way to notify legacy blog systems that you’ve linked to them. If you link other WordPress blogs they’ll be notified automatically using <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">pingbacks</a>, no other action necessary.'); ?></p>
|
||||||
<?php
|
<?php
|
||||||
if ( ! empty($pings) )
|
if ( ! empty($pings) )
|
||||||
|
@ -312,7 +312,7 @@ list_meta($metadata);
|
||||||
<div id="passworddiv" class="postbox <?php echo postbox_classes('passworddiv', 'post'); ?>">
|
<div id="passworddiv" class="postbox <?php echo postbox_classes('passworddiv', 'post'); ?>">
|
||||||
<h3><?php _e('Password Protect This Post') ?></h3>
|
<h3><?php _e('Password Protect This Post') ?></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<p><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p>
|
<p><label class="hidden" for="post_password"><?php _e('Password Protect This Post') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p>
|
||||||
<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p>
|
<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -320,7 +320,7 @@ list_meta($metadata);
|
||||||
<div id="slugdiv" class="postbox <?php echo postbox_classes('slugdiv', 'post'); ?>">
|
<div id="slugdiv" class="postbox <?php echo postbox_classes('slugdiv', 'post'); ?>">
|
||||||
<h3><?php _e('Post Slug') ?></h3>
|
<h3><?php _e('Post Slug') ?></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" />
|
<label class="hidden" for="post_name"><?php _e('Post Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -333,7 +333,7 @@ if ( $authors && count( $authors ) > 1 ) :
|
||||||
<div id="authordiv" class="postbox <?php echo postbox_classes('authordiv', 'post'); ?>">
|
<div id="authordiv" class="postbox <?php echo postbox_classes('authordiv', 'post'); ?>">
|
||||||
<h3><?php _e('Post Author'); ?></h3>
|
<h3><?php _e('Post Author'); ?></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?>
|
<label class="hidden" for="post_author_override"><?php _e('Post Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
|
@ -22,9 +22,9 @@ $form_extra = "' />\n<input type='hidden' name='comment_ID' value='" . $comment-
|
||||||
|
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
|
|
||||||
<p><strong><?php _e('Approval Status') ?></strong></p>
|
<p><strong><label for='comment_status'><?php _e('Approval Status') ?></label></strong></p>
|
||||||
<p>
|
<p>
|
||||||
<select name='comment_status'>
|
<select name='comment_status' id='comment_status'>
|
||||||
<option<?php selected( $comment->comment_approved, '1' ); ?> value='1'><?php _e('Approved') ?></option>
|
<option<?php selected( $comment->comment_approved, '1' ); ?> value='1'><?php _e('Approved') ?></option>
|
||||||
<option<?php selected( $comment->comment_approved, '0' ); ?> value='0'><?php _e('Moderated') ?></option>
|
<option<?php selected( $comment->comment_approved, '0' ); ?> value='0'><?php _e('Moderated') ?></option>
|
||||||
<option<?php selected( $comment->comment_approved, 'spam' ); ?> value='spam'><?php _e('Spam') ?></option>
|
<option<?php selected( $comment->comment_approved, 'spam' ); ?> value='spam'><?php _e('Spam') ?></option>
|
||||||
|
@ -64,28 +64,28 @@ echo "<a class='submitdelete' href='" . wp_nonce_url("comment.php?action=deletec
|
||||||
|
|
||||||
<div id="post-body">
|
<div id="post-body">
|
||||||
<div id="namediv" class="stuffbox">
|
<div id="namediv" class="stuffbox">
|
||||||
<h3><?php _e('Name') ?></h3>
|
<h3><label for="name"><?php _e('Name') ?></label></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" />
|
<input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="emaildiv" class="stuffbox">
|
<div id="emaildiv" class="stuffbox">
|
||||||
<h3><?php _e('E-mail') ?></h3>
|
<h3><label for="email"><?php _e('E-mail') ?></label></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<input type="text" name="newcomment_author_email" size="30" value="<?php echo attribute_escape( $comment->comment_author_email ); ?>" tabindex="2" id="email" />
|
<input type="text" name="newcomment_author_email" size="30" value="<?php echo attribute_escape( $comment->comment_author_email ); ?>" tabindex="2" id="email" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="uridiv" class="stuffbox">
|
<div id="uridiv" class="stuffbox">
|
||||||
<h3><?php _e('URL') ?></h3>
|
<h3><label for="newcomment_author_url"><?php _e('URL') ?></label></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo attribute_escape( $comment->comment_author_url ); ?>" tabindex="3" />
|
<input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo attribute_escape( $comment->comment_author_url ); ?>" tabindex="3" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="postdiv" class="postarea">
|
<div id="postdiv" class="postarea">
|
||||||
<h3><?php _e('Comment') ?></h3>
|
<h3><label for="content"><?php _e('Comment') ?></label></h3>
|
||||||
<?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false, 4); ?>
|
<?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false, 4); ?>
|
||||||
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
|
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -62,6 +62,7 @@ endif; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<p id="post-search">
|
<p id="post-search">
|
||||||
|
<label class="hidden" for="post-search-input"><?php _e( 'Search Categories' ); ?>:</label>
|
||||||
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
||||||
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />
|
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -74,7 +74,7 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
|
|
||||||
<div id="post-body">
|
<div id="post-body">
|
||||||
<div id="namediv" class="stuffbox">
|
<div id="namediv" class="stuffbox">
|
||||||
<h3><?php _e('Name') ?></h3>
|
<h3><label for="link_name"><?php _e('Name') ?></label></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" /><br />
|
<input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" /><br />
|
||||||
<?php _e('Example: Nifty blogging software'); ?>
|
<?php _e('Example: Nifty blogging software'); ?>
|
||||||
|
@ -82,7 +82,7 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="addressdiv" class="stuffbox">
|
<div id="addressdiv" class="stuffbox">
|
||||||
<h3><?php _e('Web Address') ?></h3>
|
<h3><label for="link_url"><?php _e('Web Address') ?></label></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /><br />
|
<input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /><br />
|
||||||
<?php _e('Example: <code>http://wordpress.org/</code> — don’t forget the <code>http://</code>'); ?>
|
<?php _e('Example: <code>http://wordpress.org/</code> — don’t forget the <code>http://</code>'); ?>
|
||||||
|
@ -90,7 +90,7 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="descriptiondiv" class="stuffbox">
|
<div id="descriptiondiv" class="stuffbox">
|
||||||
<h3><?php _e('Description') ?></h3>
|
<h3><label for="link_description"><?php _e('Description') ?></label></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<input type="text" name="link_description" size="30" tabindex="1" value="<?php echo $link->link_description; ?>" id="link_description" /><br />
|
<input type="text" name="link_description" size="30" tabindex="1" value="<?php echo $link->link_description; ?>" id="link_description" /><br />
|
||||||
<?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?>
|
<?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?>
|
||||||
|
@ -104,6 +104,7 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
<div id="category-adder" class="wp-hidden-children">
|
<div id="category-adder" class="wp-hidden-children">
|
||||||
<h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4>
|
<h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4>
|
||||||
<p id="link-category-add" class="wp-hidden-child">
|
<p id="link-category-add" class="wp-hidden-child">
|
||||||
|
<label class="hidden" for="newcat"><?php _e( '+ Add New Category' ); ?></label>
|
||||||
<input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" />
|
<input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" />
|
||||||
<input type="button" id="category-add-sumbit" class="add:categorychecklist:linkcategorydiv button" value="<?php _e( 'Add' ); ?>" />
|
<input type="button" id="category-add-sumbit" class="add:categorychecklist:linkcategorydiv button" value="<?php _e( 'Add' ); ?>" />
|
||||||
<?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?>
|
<?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?>
|
||||||
|
@ -138,6 +139,7 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
<div id="linktargetdiv" class="postbox <?php echo postbox_classes('linktargetdiv', 'link'); ?>">
|
<div id="linktargetdiv" class="postbox <?php echo postbox_classes('linktargetdiv', 'link'); ?>">
|
||||||
<h3><?php _e('Target') ?></h3>
|
<h3><?php _e('Target') ?></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
|
<fieldset><legend class="hidden"><?php _e('Target') ?></legend>
|
||||||
<label for="link_target_blank" class="selectit">
|
<label for="link_target_blank" class="selectit">
|
||||||
<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo(($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
|
<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo(($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
|
||||||
<code>_blank</code></label><br />
|
<code>_blank</code></label><br />
|
||||||
|
@ -147,6 +149,7 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
<label for="link_target_none" class="selectit">
|
<label for="link_target_none" class="selectit">
|
||||||
<input id="link_target_none" type="radio" name="link_target" value="" <?php echo(($link->link_target == '') ? 'checked="checked"' : ''); ?> />
|
<input id="link_target_none" type="radio" name="link_target" value="" <?php echo(($link->link_target == '') ? 'checked="checked"' : ''); ?> />
|
||||||
<?php _e('none') ?></label>
|
<?php _e('none') ?></label>
|
||||||
|
</fieldset>
|
||||||
<p><?php _e('Choose the frame your link targets. Essentially this means if you choose <code>_blank</code> your link will open in a new window.'); ?></p>
|
<p><?php _e('Choose the frame your link targets. Essentially this means if you choose <code>_blank</code> your link will open in a new window.'); ?></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -156,7 +159,7 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5">
|
<table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5">
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 20%;" scope="row"><?php _e('rel:') ?></th>
|
<th style="width: 20%;" scope="row"><label for="link_rel"><?php _e('rel:') ?></label></th>
|
||||||
<td style="width: 80%;"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo $link->link_rel; ?>" /></td>
|
<td style="width: 80%;"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo $link->link_rel; ?>" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -164,15 +167,15 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
<table cellpadding="3" cellspacing="5" class="form-table">
|
<table cellpadding="3" cellspacing="5" class="form-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php _e('identity') ?> </th>
|
<th scope="row"> <?php _e('identity') ?> </th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"> <?php _e('identity') ?> </legend>
|
||||||
<label for="me">
|
<label for="me">
|
||||||
<input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> />
|
<input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> />
|
||||||
<?php _e('another web address of mine') ?></label>
|
<?php _e('another web address of mine') ?></label>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php _e('friendship') ?> </th>
|
<th scope="row"> <?php _e('friendship') ?> </th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"> <?php _e('friendship') ?> </legend>
|
||||||
<label for="contact">
|
<label for="contact">
|
||||||
<input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact', 'radio'); ?> /> <?php _e('contact') ?></label>
|
<input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact', 'radio'); ?> /> <?php _e('contact') ?></label>
|
||||||
<label for="acquaintance">
|
<label for="acquaintance">
|
||||||
|
@ -181,30 +184,30 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
<input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check('friendship', 'friend', 'radio'); ?> /> <?php _e('friend') ?></label>
|
<input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check('friendship', 'friend', 'radio'); ?> /> <?php _e('friend') ?></label>
|
||||||
<label for="friendship">
|
<label for="friendship">
|
||||||
<input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check('friendship', '', 'radio'); ?> /> <?php _e('none') ?></label>
|
<input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check('friendship', '', 'radio'); ?> /> <?php _e('none') ?></label>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php _e('physical') ?> </th>
|
<th scope="row"> <?php _e('physical') ?> </th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"> <?php _e('physical') ?> </legend>
|
||||||
<label for="met">
|
<label for="met">
|
||||||
<input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> />
|
<input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> />
|
||||||
<?php _e('met') ?></label>
|
<?php _e('met') ?></label>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php _e('professional') ?> </th>
|
<th scope="row"> <?php _e('professional') ?> </th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"> <?php _e('professional') ?> </legend>
|
||||||
<label for="co-worker">
|
<label for="co-worker">
|
||||||
<input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> />
|
<input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> />
|
||||||
<?php _e('co-worker') ?></label>
|
<?php _e('co-worker') ?></label>
|
||||||
<label for="colleague">
|
<label for="colleague">
|
||||||
<input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <?php xfn_check('professional', 'colleague'); ?> />
|
<input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <?php xfn_check('professional', 'colleague'); ?> />
|
||||||
<?php _e('colleague') ?></label>
|
<?php _e('colleague') ?></label>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php _e('geographical') ?> </th>
|
<th scope="row"> <?php _e('geographical') ?> </th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"> <?php _e('geographical') ?> </legend>
|
||||||
<label for="co-resident">
|
<label for="co-resident">
|
||||||
<input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident', 'radio'); ?> />
|
<input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident', 'radio'); ?> />
|
||||||
<?php _e('co-resident') ?></label>
|
<?php _e('co-resident') ?></label>
|
||||||
|
@ -214,11 +217,11 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
<label for="geographical">
|
<label for="geographical">
|
||||||
<input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check('geographical', '', 'radio'); ?> />
|
<input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check('geographical', '', 'radio'); ?> />
|
||||||
<?php _e('none') ?></label>
|
<?php _e('none') ?></label>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php _e('family') ?> </th>
|
<th scope="row"> <?php _e('family') ?> </th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"> <?php _e('family') ?> </legend>
|
||||||
<label for="child">
|
<label for="child">
|
||||||
<input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child', 'radio'); ?> />
|
<input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child', 'radio'); ?> />
|
||||||
<?php _e('child') ?></label>
|
<?php _e('child') ?></label>
|
||||||
|
@ -237,11 +240,11 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
<label for="family">
|
<label for="family">
|
||||||
<input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check('family', '', 'radio'); ?> />
|
<input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check('family', '', 'radio'); ?> />
|
||||||
<?php _e('none') ?></label>
|
<?php _e('none') ?></label>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"> <?php _e('romantic') ?> </th>
|
<th scope="row"> <?php _e('romantic') ?> </th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"> <?php _e('romantic') ?> </legend>
|
||||||
<label for="muse">
|
<label for="muse">
|
||||||
<input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> />
|
<input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> />
|
||||||
<?php _e('muse') ?></label>
|
<?php _e('muse') ?></label>
|
||||||
|
@ -254,7 +257,7 @@ if ( ( 'edit' == $action) && current_user_can('manage_links') )
|
||||||
<label for="romantic">
|
<label for="romantic">
|
||||||
<input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <?php xfn_check('romantic', 'sweetheart'); ?> />
|
<input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <?php xfn_check('romantic', 'sweetheart'); ?> />
|
||||||
<?php _e('sweetheart') ?></label>
|
<?php _e('sweetheart') ?></label>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -69,9 +69,9 @@ else
|
||||||
|
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
|
|
||||||
<p><strong><?php _e('Publish Status') ?></strong></p>
|
<p><strong><label for='post_status'><?php _e('Publish Status') ?></label></strong></p>
|
||||||
<p>
|
<p>
|
||||||
<select name='post_status' tabindex='4'>
|
<select name='post_status' tabindex='4' id='post_status'>
|
||||||
<?php if ( current_user_can('publish_pages') ) : ?>
|
<?php if ( current_user_can('publish_pages') ) : ?>
|
||||||
<option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option>
|
<option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'private' );?> value='publish'><?php _e('Published') ?></option>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
@ -160,7 +160,7 @@ if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
|
||||||
|
|
||||||
<div id="post-body">
|
<div id="post-body">
|
||||||
<div id="titlediv">
|
<div id="titlediv">
|
||||||
<h3><?php _e('Title') ?></h3>
|
<h3><label for="title"><?php _e('Title') ?></label></h3>
|
||||||
<div id="titlewrap">
|
<div id="titlewrap">
|
||||||
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" autocomplete="off" />
|
<input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" autocomplete="off" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -175,7 +175,7 @@ endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">
|
<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">
|
||||||
<h3><?php _e('Page') ?></h3>
|
<h3><label for="content"><?php _e('Page') ?></label></h3>
|
||||||
<?php the_editor($post->post_content); ?>
|
<?php the_editor($post->post_content); ?>
|
||||||
<?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?>
|
<?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?>
|
||||||
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
|
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
|
||||||
|
@ -224,7 +224,7 @@ list_meta($metadata);
|
||||||
<div id="pagepassworddiv" class="postbox <?php echo postbox_classes('pagepassworddiv', 'page'); ?>">
|
<div id="pagepassworddiv" class="postbox <?php echo postbox_classes('pagepassworddiv', 'page'); ?>">
|
||||||
<h3><?php _e('Password Protect This Page') ?></h3>
|
<h3><?php _e('Password Protect This Page') ?></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<p><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p>
|
<p><label class="hidden" for="post_password"><?php _e('Password Protect This Page') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p>
|
||||||
<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this page and its comments.'); ?></p>
|
<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this page and its comments.'); ?></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -232,14 +232,14 @@ list_meta($metadata);
|
||||||
<div id="pageslugdiv" class="postbox <?php echo postbox_classes('pageslugdiv', 'page'); ?>">
|
<div id="pageslugdiv" class="postbox <?php echo postbox_classes('pageslugdiv', 'page'); ?>">
|
||||||
<h3><?php _e('Page Slug') ?></h3>
|
<h3><?php _e('Page Slug') ?></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" />
|
<label class="hidden" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="pageparentdiv" class="postbox <?php echo postbox_classes('pageparentdiv', 'page'); ?>">
|
<div id="pageparentdiv" class="postbox <?php echo postbox_classes('pageparentdiv', 'page'); ?>">
|
||||||
<h3><?php _e('Page Parent') ?></h3>
|
<h3><?php _e('Page Parent') ?></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<select name="parent_id">
|
<label class="hidden" for="parent_id"><?php _e('Page Parent') ?></label><select name="parent_id" id="parent_id">
|
||||||
<option value='0'><?php _e('Main Page (no parent)'); ?></option>
|
<option value='0'><?php _e('Main Page (no parent)'); ?></option>
|
||||||
<?php parent_dropdown($post->post_parent); ?>
|
<?php parent_dropdown($post->post_parent); ?>
|
||||||
</select>
|
</select>
|
||||||
|
@ -251,7 +251,7 @@ list_meta($metadata);
|
||||||
<div id="pagetemplatediv" class="postbox <?php echo postbox_classes('pagetemplatediv', 'page'); ?>">
|
<div id="pagetemplatediv" class="postbox <?php echo postbox_classes('pagetemplatediv', 'page'); ?>">
|
||||||
<h3><?php _e('Page Template') ?></h3>
|
<h3><?php _e('Page Template') ?></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<select name="page_template">
|
<label class="hidden" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template">
|
||||||
<option value='default'><?php _e('Default Template'); ?></option>
|
<option value='default'><?php _e('Default Template'); ?></option>
|
||||||
<?php page_template_dropdown($post->page_template); ?>
|
<?php page_template_dropdown($post->page_template); ?>
|
||||||
</select>
|
</select>
|
||||||
|
@ -263,7 +263,7 @@ list_meta($metadata);
|
||||||
<div id="pageorderdiv" class="postbox <?php echo postbox_classes('pageorderdiv', 'page'); ?>">
|
<div id="pageorderdiv" class="postbox <?php echo postbox_classes('pageorderdiv', 'page'); ?>">
|
||||||
<h3><?php _e('Page Order') ?></h3>
|
<h3><?php _e('Page Order') ?></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<p><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo $post->menu_order ?>" /></p>
|
<p><label class="hidden" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo $post->menu_order ?>" /></p>
|
||||||
<p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it’ll be better in future releases.)'); ?></p>
|
<p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it’ll be better in future releases.)'); ?></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -277,7 +277,7 @@ if ( $authors && count( $authors ) > 1 ) :
|
||||||
<div id="pageauthordiv" class="postbox <?php echo postbox_classes('pageauthordiv', 'page'); ?>">
|
<div id="pageauthordiv" class="postbox <?php echo postbox_classes('pageauthordiv', 'page'); ?>">
|
||||||
<h3><?php _e('Page Author'); ?></h3>
|
<h3><?php _e('Page Author'); ?></h3>
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
<?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?>
|
<label class="hidden" for="post_author_override"><?php _e('Page Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
|
@ -111,6 +111,7 @@ endif;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<p id="post-search">
|
<p id="post-search">
|
||||||
|
<label class="hidden" for="post-search-input"><?php _e( 'Search Pages' ); ?>:</label>
|
||||||
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
||||||
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" />
|
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -133,6 +133,7 @@ endif; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<p id="post-search">
|
<p id="post-search">
|
||||||
|
<label class="hidden" for="post-search-input"><?php _e( 'Search Tags' ); ?>:</label>
|
||||||
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
||||||
<input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button" />
|
<input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -116,6 +116,7 @@ endif;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<p id="post-search">
|
<p id="post-search">
|
||||||
|
<label class="hidden" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
|
||||||
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php _e( 'Search Posts' ); ?>" class="button" />
|
<input type="submit" value="<?php _e( 'Search Posts' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -22,9 +22,9 @@ require_once ('admin-header.php');
|
||||||
|
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th><?php _e('Restrict Author'); ?></th>
|
<th><label for="author"><?php _e('Restrict Author'); ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<select name="author">
|
<select name="author" id="author">
|
||||||
<option value="all" selected="selected"><?php _e('All Authors'); ?></option>
|
<option value="all" selected="selected"><?php _e('All Authors'); ?></option>
|
||||||
<?php
|
<?php
|
||||||
$authors = $wpdb->get_col( "SELECT post_author FROM $wpdb->posts GROUP BY post_author" );
|
$authors = $wpdb->get_col( "SELECT post_author FROM $wpdb->posts GROUP BY post_author" );
|
||||||
|
|
|
@ -38,16 +38,16 @@ class GM_Import {
|
||||||
<h3><?php _e('Second step: GreyMatter details:') ?></h3>
|
<h3><?php _e('Second step: GreyMatter details:') ?></h3>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php _e('Path to GM files:') ?></td>
|
<td><label for="gmpath"><?php _e('Path to GM files:') ?></label></td>
|
||||||
<td><input type="text" style="width:300px" name="gmpath" value="/home/my/site/cgi-bin/greymatter/" /></td>
|
<td><input type="text" style="width:300px" name="gmpath" id="gmpath" value="/home/my/site/cgi-bin/greymatter/" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php _e('Path to GM entries:') ?></td>
|
<td><label for="archivespath"><?php _e('Path to GM entries:') ?></label></td>
|
||||||
<td><input type="text" style="width:300px" name="archivespath" value="/home/my/site/cgi-bin/greymatter/archives/" /></td>
|
<td><input type="text" style="width:300px" name="archivespath" id="archivespath" value="/home/my/site/cgi-bin/greymatter/archives/" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php _e("Last entry's number:") ?></td>
|
<td><label for="lastentry"><?php _e("Last entry's number:") ?></label></td>
|
||||||
<td><input type="text" name="lastentry" value="00000001" /><br />
|
<td><input type="text" name="lastentry" id="lastentry" value="00000001" /><br />
|
||||||
<?php _e("This importer will search for files 00000001.cgi to 000-whatever.cgi,<br />so you need to enter the number of the last GM post here.<br />(if you don't know that number, just log into your FTP and look it out<br />in the entries' folder)") ?></td>
|
<?php _e("This importer will search for files 00000001.cgi to 000-whatever.cgi,<br />so you need to enter the number of the last GM post here.<br />(if you don't know that number, just log into your FTP and look it out<br />in the entries' folder)") ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -166,9 +166,9 @@ class MT_Import {
|
||||||
$j = -1;
|
$j = -1;
|
||||||
foreach ($authors as $author) {
|
foreach ($authors as $author) {
|
||||||
++ $j;
|
++ $j;
|
||||||
echo '<li>'.__('Current author:').' <strong>'.$author.'</strong><br />'.sprintf(__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user[]'.'" maxlength="30"> <br />');
|
echo '<li><label>'.__('Current author:').' <strong>'.$author.'</strong><br />'.sprintf(__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user[]'.'" maxlength="30"> <br />');
|
||||||
$this->users_form($j);
|
$this->users_form($j);
|
||||||
echo '</li>';
|
echo '</label></li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<input type="submit" value="'.__('Submit').'">'.'<br />';
|
echo '<input type="submit" value="'.__('Submit').'">'.'<br />';
|
||||||
|
|
|
@ -218,7 +218,7 @@ class WP_Import {
|
||||||
function users_form($n, $author) {
|
function users_form($n, $author) {
|
||||||
|
|
||||||
if ( $this->allow_create_users() ) {
|
if ( $this->allow_create_users() ) {
|
||||||
printf(__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user_create['.intval($n).']'.'" maxlength="30"> <br />');
|
printf('<label>'.__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user_create['.intval($n).']'.'" maxlength="30"></label> <br />');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo __('Map to existing').'<br />';
|
echo __('Map to existing').'<br />';
|
||||||
|
|
|
@ -959,6 +959,7 @@ function media_upload_library_form($errors) {
|
||||||
<input type="hidden" name="post_mime_type" value="<?php echo attribute_escape( $_GET['post_mime_type'] ); ?>" />
|
<input type="hidden" name="post_mime_type" value="<?php echo attribute_escape( $_GET['post_mime_type'] ); ?>" />
|
||||||
|
|
||||||
<div id="search-filter">
|
<div id="search-filter">
|
||||||
|
<label class="hidden" for="post-search-input"><?php _e('Search Media');?>:</label>
|
||||||
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php echo attribute_escape( __( 'Search Media' ) ); ?>" class="button" />
|
<input type="submit" value="<?php echo attribute_escape( __( 'Search Media' ) ); ?>" class="button" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -774,8 +774,8 @@ function _list_meta_row( $entry, &$count ) {
|
||||||
$delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] );
|
$delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] );
|
||||||
|
|
||||||
$r .= "\n\t<tr id='meta-{$entry['meta_id']}' class='$style'>";
|
$r .= "\n\t<tr id='meta-{$entry['meta_id']}' class='$style'>";
|
||||||
$r .= "\n\t\t<td valign='top'><input name='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' /></td>";
|
$r .= "\n\t\t<td valign='top'><label class='hidden' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' /></td>";
|
||||||
$r .= "\n\t\t<td><textarea name='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>";
|
$r .= "\n\t\t<td><label class='hidden' for='meta[{$entry['meta_id']}][value]'>" . __( 'Value' ) . "</label><textarea name='meta[{$entry['meta_id']}][value]' id='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>";
|
||||||
$r .= "\n\t\t<td style='text-align: center;'><input name='updatemeta' type='submit' tabindex='6' value='".attribute_escape(__( 'Update' ))."' class='add:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$update_nonce updatemeta' /><br />";
|
$r .= "\n\t\t<td style='text-align: center;'><input name='updatemeta' type='submit' tabindex='6' value='".attribute_escape(__( 'Update' ))."' class='add:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$update_nonce updatemeta' /><br />";
|
||||||
$r .= "\n\t\t<input name='deletemeta[{$entry['meta_id']}]' type='submit' ";
|
$r .= "\n\t\t<input name='deletemeta[{$entry['meta_id']}]' type='submit' ";
|
||||||
$r .= "class='delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta' tabindex='6' value='".attribute_escape(__( 'Delete' ))."' />";
|
$r .= "class='delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta' tabindex='6' value='".attribute_escape(__( 'Delete' ))."' />";
|
||||||
|
@ -800,8 +800,8 @@ function meta_form() {
|
||||||
<p><strong><?php _e( 'Add a new custom field:' ) ?></strong></p>
|
<p><strong><?php _e( 'Add a new custom field:' ) ?></strong></p>
|
||||||
<table id="newmeta" cellspacing="3" cellpadding="3">
|
<table id="newmeta" cellspacing="3" cellpadding="3">
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2"><?php _e( 'Key' ) ?></th>
|
<th colspan="2"><label <?php if ( $keys ) : ?> for="metakeyselect" <?php else : ?> for="metakeyinput" <?php endif; ?>><?php _e( 'Key' ) ?></label></th>
|
||||||
<th><?php _e( 'Value' ) ?></th>
|
<th><label for="metavalue"><?php _e( 'Value' ) ?></label></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<td style="width: 18%;" class="textright">
|
<td style="width: 18%;" class="textright">
|
||||||
|
@ -815,7 +815,7 @@ function meta_form() {
|
||||||
echo "\n\t<option value='$key'>$key</option>";
|
echo "\n\t<option value='$key'>$key</option>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select> <?php _e( 'or' ); ?>
|
</select> <label for="metakeyinput"><?php _e( 'or' ); ?></label>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
<td><input type="text" id="metakeyinput" name="metakeyinput" tabindex="7" /></td>
|
<td><input type="text" id="metakeyinput" name="metakeyinput" tabindex="7" /></td>
|
||||||
|
|
|
@ -30,19 +30,19 @@ switch ($step) {
|
||||||
<input type="hidden" name="step" value="1" />
|
<input type="hidden" name="step" value="1" />
|
||||||
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
|
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
|
||||||
<div style="width: 48%;" class="alignleft">
|
<div style="width: 48%;" class="alignleft">
|
||||||
<h3><?php _e('Specify an OPML URL:'); ?></h3>
|
<h3><label for="opml_url"><?php _e('Specify an OPML URL:'); ?></label></h3>
|
||||||
<input type="text" name="opml_url" size="50" style="width: 90%;" value="http://" />
|
<input type="text" name="opml_url" id="opml_url" size="50" style="width: 90%;" value="http://" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="width: 48%;" class="alignleft">
|
<div style="width: 48%;" class="alignleft">
|
||||||
<h3><?php _e('Or choose from your local disk:'); ?></h3>
|
<h3><label for="userfile"><?php _e('Or choose from your local disk:'); ?></label></h3>
|
||||||
<input id="userfile" name="userfile" type="file" size="30" />
|
<input id="userfile" name="userfile" type="file" size="30" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p style="clear: both; margin-top: 1em;"><?php _e('Now select a category you want to put these links in.') ?><br />
|
<p style="clear: both; margin-top: 1em;"><label for="cat_id"><?php _e('Now select a category you want to put these links in.') ?></label><br />
|
||||||
<?php _e('Category:') ?> <select name="cat_id">
|
<?php _e('Category:') ?> <select name="cat_id" id="cat_id">
|
||||||
<?php
|
<?php
|
||||||
$categories = get_terms('link_category', 'get=all');
|
$categories = get_terms('link_category', 'get=all');
|
||||||
foreach ($categories as $category) {
|
foreach ($categories as $category) {
|
||||||
|
|
|
@ -78,6 +78,7 @@ if ( isset($_GET['deleted']) ) {
|
||||||
<h2><?php printf( __( 'Manage Links (<a href="%s">add new</a>)' ), 'link-add.php' ); ?></h2>
|
<h2><?php printf( __( 'Manage Links (<a href="%s">add new</a>)' ), 'link-add.php' ); ?></h2>
|
||||||
|
|
||||||
<p id="post-search">
|
<p id="post-search">
|
||||||
|
<label class="hidden" for="post-search-input"><?php _e( 'Search Links' ); ?>:</label>
|
||||||
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
<input type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
|
||||||
<input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" />
|
<input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -14,7 +14,7 @@ include('admin-header.php');
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Default article settings') ?></th>
|
<th scope="row"><?php _e('Default article settings') ?></th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('Default article settings') ?></legend>
|
||||||
<label for="default_pingback_flag">
|
<label for="default_pingback_flag">
|
||||||
<input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> />
|
<input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> />
|
||||||
<?php _e('Attempt to notify any blogs linked to from the article (slows down posting.)') ?></label>
|
<?php _e('Attempt to notify any blogs linked to from the article (slows down posting.)') ?></label>
|
||||||
|
@ -28,11 +28,11 @@ include('admin-header.php');
|
||||||
<?php _e('Allow people to post comments on the article') ?></label>
|
<?php _e('Allow people to post comments on the article') ?></label>
|
||||||
<br />
|
<br />
|
||||||
<small><em><?php echo '(' . __('These settings may be overridden for individual articles.') . ')'; ?></em></small>
|
<small><em><?php echo '(' . __('These settings may be overridden for individual articles.') . ')'; ?></em></small>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('E-mail me whenever') ?></th>
|
<th scope="row"><?php _e('E-mail me whenever') ?></th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('E-mail me whenever') ?></legend>
|
||||||
<label for="comments_notify">
|
<label for="comments_notify">
|
||||||
<input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> />
|
<input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> />
|
||||||
<?php _e('Anyone posts a comment') ?> </label>
|
<?php _e('Anyone posts a comment') ?> </label>
|
||||||
|
@ -40,11 +40,11 @@ include('admin-header.php');
|
||||||
<label for="moderation_notify">
|
<label for="moderation_notify">
|
||||||
<input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_option('moderation_notify')); ?> />
|
<input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_option('moderation_notify')); ?> />
|
||||||
<?php _e('A comment is held for moderation') ?> </label>
|
<?php _e('A comment is held for moderation') ?> </label>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Before a comment appears') ?></th>
|
<th scope="row"><?php _e('Before a comment appears') ?></th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('Before a comment appears') ?></legend>
|
||||||
<label for="comment_moderation">
|
<label for="comment_moderation">
|
||||||
<input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> />
|
<input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> />
|
||||||
<?php _e('An administrator must always approve the comment') ?> </label>
|
<?php _e('An administrator must always approve the comment') ?> </label>
|
||||||
|
@ -52,27 +52,27 @@ include('admin-header.php');
|
||||||
<label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail') ?></label>
|
<label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail') ?></label>
|
||||||
<br />
|
<br />
|
||||||
<label for="comment_whitelist"><input type="checkbox" name="comment_whitelist" id="comment_whitelist" value="1" <?php checked('1', get_option('comment_whitelist')); ?> /> <?php _e('Comment author must have a previously approved comment') ?></label>
|
<label for="comment_whitelist"><input type="checkbox" name="comment_whitelist" id="comment_whitelist" value="1" <?php checked('1', get_option('comment_whitelist')); ?> /> <?php _e('Comment author must have a previously approved comment') ?></label>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Comment Moderation') ?></th>
|
<th scope="row"><?php _e('Comment Moderation') ?></th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('Comment Moderation') ?></legend>
|
||||||
<p><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" size="3" value="' . get_option('comment_max_links'). '" />' ) ?></p>
|
<p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" size="3" value="' . get_option('comment_max_links'). '" />' ) ?></label></p>
|
||||||
|
|
||||||
<p><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></p>
|
<p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></label></p>
|
||||||
<p>
|
<p>
|
||||||
<textarea name="moderation_keys" cols="60" rows="10" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php form_option('moderation_keys'); ?></textarea>
|
<textarea name="moderation_keys" cols="60" rows="10" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php form_option('moderation_keys'); ?></textarea>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Comment Blacklist') ?></th>
|
<th scope="row"><?php _e('Comment Blacklist') ?></th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('Comment Blacklist') ?></legend>
|
||||||
<p><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></p>
|
<p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></label></p>
|
||||||
<p>
|
<p>
|
||||||
<textarea name="blacklist_keys" cols="60" rows="10" id="blacklist_keys" style="width: 98%; font-size: 12px;" class="code"><?php form_option('blacklist_keys'); ?></textarea>
|
<textarea name="blacklist_keys" cols="60" rows="10" id="blacklist_keys" style="width: 98%; font-size: 12px;" class="code"><?php form_option('blacklist_keys'); ?></textarea>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ include('admin-header.php');
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Avatar Display') ?></th>
|
<th scope="row"><?php _e('Avatar Display') ?></th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('Avatar display') ?></legend>
|
||||||
<?php
|
<?php
|
||||||
$yesorno = array(0 => __("Don’t show Avatars"), 1 => __('Show Avatars'));
|
$yesorno = array(0 => __("Don’t show Avatars"), 1 => __('Show Avatars'));
|
||||||
foreach ( $yesorno as $key => $value) {
|
foreach ( $yesorno as $key => $value) {
|
||||||
|
@ -93,11 +93,11 @@ include('admin-header.php');
|
||||||
echo "\n\t<label><input type='radio' name='show_avatars' value='$key' $selected/> $value</label><br />";
|
echo "\n\t<label><input type='radio' name='show_avatars' value='$key' $selected/> $value</label><br />";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Maximum Rating') ?></th>
|
<th scope="row"><?php _e('Maximum Rating') ?></th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('Maximum Rating') ?></legend>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$ratings = array( 'G' => __('G — Suitable for all audiences'), 'PG' => __('PG — Possibly offensive, usually for audiences 13 and above'), 'R' => __('R — Intended for adult audiences above 17'), 'X' => __('X — Even more mature than above'));
|
$ratings = array( 'G' => __('G — Suitable for all audiences'), 'PG' => __('PG — Possibly offensive, usually for audiences 13 and above'), 'R' => __('R — Intended for adult audiences above 17'), 'X' => __('X — Even more mature than above'));
|
||||||
|
@ -107,11 +107,11 @@ foreach ($ratings as $key => $rating) :
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Default Avatar') ?></th>
|
<th scope="row"><?php _e('Default Avatar') ?></th>
|
||||||
<td class="defaultavatarpicker">
|
<td class="defaultavatarpicker"><fieldset><legend class="hidden"><?php _e('Default Avatar') ?></legend>
|
||||||
|
|
||||||
<?php _e('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address.'); ?><br />
|
<?php _e('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address.'); ?><br />
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ foreach ( $avatar_defaults as $default_key => $default_name ) {
|
||||||
echo apply_filters('default_avatar_select', $avatar_list);
|
echo apply_filters('default_avatar_select', $avatar_list);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -13,50 +13,50 @@ include('./admin-header.php');
|
||||||
<?php wp_nonce_field('update-options') ?>
|
<?php wp_nonce_field('update-options') ?>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Blog Title') ?></th>
|
<th scope="row"><label for="blogname"><?php _e('Blog Title') ?></label></th>
|
||||||
<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" size="40" /></td>
|
<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" size="40" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Tagline') ?></th>
|
<th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th>
|
||||||
<td><input name="blogdescription" type="text" id="blogdescription" style="width: 95%" value="<?php form_option('blogdescription'); ?>" size="45" />
|
<td><input name="blogdescription" type="text" id="blogdescription" style="width: 95%" value="<?php form_option('blogdescription'); ?>" size="45" />
|
||||||
<br />
|
<br />
|
||||||
<?php _e('In a few words, explain what this blog is about.') ?></td>
|
<?php _e('In a few words, explain what this blog is about.') ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('WordPress address (URL)') ?></th>
|
<th scope="row"><label for="siteurl"><?php _e('WordPress address (URL)') ?></label></th>
|
||||||
<td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>" size="40" class="code<?php if ( defined( 'WP_SITEURL' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /></td>
|
<td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>" size="40" class="code<?php if ( defined( 'WP_SITEURL' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Blog address (URL)') ?></th>
|
<th scope="row"><label for="home"><?php _e('Blog address (URL)') ?></label></th>
|
||||||
<td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>" size="40" class="code<?php if ( defined( 'WP_HOME' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /><br /><?php _e('Enter the address here if you want your blog homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></td>
|
<td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>" size="40" class="code<?php if ( defined( 'WP_HOME' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /><br /><?php _e('Enter the address here if you want your blog homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('E-mail address') ?> </th>
|
<th scope="row"><label for="admin_email"><?php _e('E-mail address') ?> </label></th>
|
||||||
<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" size="40" class="code" />
|
<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" size="40" class="code" />
|
||||||
<br />
|
<br />
|
||||||
<?php _e('This address is used for admin purposes, like new user notification.') ?></td>
|
<?php _e('This address is used for admin purposes, like new user notification.') ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Membership') ?></th>
|
<th scope="row"><?php _e('Membership') ?></th>
|
||||||
<td> <label for="users_can_register">
|
<td> <fieldset><legend class="hidden"><?php _e('Membership') ?></legend><label for="users_can_register">
|
||||||
<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> />
|
<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> />
|
||||||
<?php _e('Anyone can register') ?></label><br />
|
<?php _e('Anyone can register') ?></label><br />
|
||||||
<label for="comment_registration">
|
<label for="comment_registration">
|
||||||
<input name="comment_registration" type="checkbox" id="comment_registration" value="1" <?php checked('1', get_option('comment_registration')); ?> />
|
<input name="comment_registration" type="checkbox" id="comment_registration" value="1" <?php checked('1', get_option('comment_registration')); ?> />
|
||||||
<?php _e('Users must be registered and logged in to comment') ?>
|
<?php _e('Users must be registered and logged in to comment') ?>
|
||||||
</label>
|
</label>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('New User Default Role') ?></th>
|
<th scope="row"><label for="default_role"><?php _e('New User Default Role') ?></label></th>
|
||||||
<td><label for="default_role">
|
<td>
|
||||||
<select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select></label>
|
<select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Timezone') ?> </th>
|
<th scope="row"><label for="gmt_offset"><?php _e('Timezone') ?> </label></th>
|
||||||
<td>
|
<td>
|
||||||
<select name="gmt_offset">
|
<select name="gmt_offset" id="gmt_offset">
|
||||||
<?php
|
<?php
|
||||||
$current_offset = get_option('gmt_offset');
|
$current_offset = get_option('gmt_offset');
|
||||||
$offset_range = array (-12, -11.5, -11, -10.5, -10, -9.5, -9, -8.5, -8, -7.5, -7, -6.5, -6, -5.5, -5, -4.5, -4, -3.5, -3, -2.5, -2, -1.5, -1, -0.5,
|
$offset_range = array (-12, -11.5, -11, -10.5, -10, -9.5, -9, -8.5, -8, -7.5, -7, -6.5, -6, -5.5, -5, -4.5, -4, -3.5, -3, -2.5, -2, -1.5, -1, -0.5,
|
||||||
|
@ -87,18 +87,18 @@ foreach ( $offset_range as $offset ) {
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Date Format') ?></th>
|
<th scope="row"><label for="date_format"><?php _e('Date Format') ?></label></th>
|
||||||
<td><input name="date_format" type="text" id="date_format" size="30" value="<?php form_option('date_format'); ?>" /><br />
|
<td><input name="date_format" type="text" id="date_format" size="30" value="<?php form_option('date_format'); ?>" /><br />
|
||||||
<?php _e('Output:') ?> <strong><?php echo mysql2date(get_option('date_format'), current_time('mysql')); ?></strong></td>
|
<?php _e('Output:') ?> <strong><?php echo mysql2date(get_option('date_format'), current_time('mysql')); ?></strong></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Time Format') ?></th>
|
<th scope="row"><label for="time_format"><?php _e('Time Format') ?></label></th>
|
||||||
<td><input name="time_format" type="text" id="time_format" size="30" value="<?php form_option('time_format'); ?>" /><br />
|
<td><input name="time_format" type="text" id="time_format" size="30" value="<?php form_option('time_format'); ?>" /><br />
|
||||||
<?php _e('Output:') ?> <strong><?php echo gmdate(get_option('time_format'), current_time('timestamp')); ?></strong><br />
|
<?php _e('Output:') ?> <strong><?php echo gmdate(get_option('time_format'), current_time('timestamp')); ?></strong><br />
|
||||||
<?php _e('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click "Save Changes" to update sample output.') ?></td>
|
<?php _e('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click "Save Changes" to update sample output.') ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Week Starts On') ?></th>
|
<th scope="row"><label for="start_of_week"><?php _e('Week Starts On') ?></label></th>
|
||||||
<td><select name="start_of_week" id="start_of_week">
|
<td><select name="start_of_week" id="start_of_week">
|
||||||
<?php
|
<?php
|
||||||
for ($day_index = 0; $day_index <= 6; $day_index++) :
|
for ($day_index = 0; $day_index <= 6; $day_index++) :
|
||||||
|
|
|
@ -15,7 +15,7 @@ include('admin-header.php');
|
||||||
<h3><?php _e('Uploading'); ?></h3>
|
<h3><?php _e('Uploading'); ?></h3>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Store uploads in this folder'); ?></th>
|
<th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
|
||||||
<td><input name="upload_path" type="text" id="upload_path" class="code" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" size="40" />
|
<td><input name="upload_path" type="text" id="upload_path" class="code" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" size="40" />
|
||||||
<br />
|
<br />
|
||||||
<?php _e('Default is <code>wp-content/uploads</code>'); ?>
|
<?php _e('Default is <code>wp-content/uploads</code>'); ?>
|
||||||
|
@ -23,7 +23,7 @@ include('admin-header.php');
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Full URL path to files (optional)'); ?></th>
|
<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files (optional)'); ?></label></th>
|
||||||
<td><input name="upload_url_path" type="text" id="upload_url_path" class="code" value="<?php echo attribute_escape( get_option('upload_url_path')); ?>" size="40" />
|
<td><input name="upload_url_path" type="text" id="upload_url_path" class="code" value="<?php echo attribute_escape( get_option('upload_url_path')); ?>" size="40" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -44,23 +44,23 @@ include('admin-header.php');
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Thumbnail size') ?></th>
|
<th scope="row"><?php _e('Thumbnail size') ?></th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('Thumbnail size') ?></legend>
|
||||||
<label for="thumbnail_size_w"><?php _e('Width'); ?></label>
|
<label for="thumbnail_size_w"><?php _e('Width'); ?></label>
|
||||||
<input name="thumbnail_size_w" type="text" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" size="6" />
|
<input name="thumbnail_size_w" type="text" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" size="6" />
|
||||||
<label for="thumbnail_size_h"><?php _e('Height'); ?></label>
|
<label for="thumbnail_size_h"><?php _e('Height'); ?></label>
|
||||||
<input name="thumbnail_size_h" type="text" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" size="6" /><br />
|
<input name="thumbnail_size_h" type="text" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" size="6" /><br />
|
||||||
<input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked('1', get_option('thumbnail_crop')); ?>/>
|
<input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked('1', get_option('thumbnail_crop')); ?>/>
|
||||||
<label for="thumbnail_crop"><?php _e('Crop thumbnail to exact dimensions (normally thumbnails are proportional)'); ?></label>
|
<label for="thumbnail_crop"><?php _e('Crop thumbnail to exact dimensions (normally thumbnails are proportional)'); ?></label>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Medium size') ?></th>
|
<th scope="row"><?php _e('Medium size') ?></th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('Medium size') ?></legend>
|
||||||
<label for="medium_size_w"><?php _e('Max Width'); ?></label>
|
<label for="medium_size_w"><?php _e('Max Width'); ?></label>
|
||||||
<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" size="6" />
|
<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" size="6" />
|
||||||
<label for="medium_size_h"><?php _e('Max Height'); ?></label>
|
<label for="medium_size_h"><?php _e('Max Height'); ?></label>
|
||||||
<input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" />
|
<input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" />
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
|
@ -170,11 +170,11 @@ $structures = array(
|
||||||
|
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th><?php _e('Category base'); ?></th>
|
<th><label for="category_base"><?php _e('Category base'); ?></label></th>
|
||||||
<td><input name="category_base" id="category_base" type="text" class="code" value="<?php echo attribute_escape($category_base); ?>" size="30" /></td>
|
<td><input name="category_base" id="category_base" type="text" class="code" value="<?php echo attribute_escape($category_base); ?>" size="30" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><?php _e('Tag base'); ?></th>
|
<th><label for="tag_base"><?php _e('Tag base'); ?></label></th>
|
||||||
<td><input name="tag_base" id="tag_base" type="text" class="code" value="<?php echo attribute_escape($tag_base); ?>" size="30" /></td>
|
<td><input name="tag_base" id="tag_base" type="text" class="code" value="<?php echo attribute_escape($tag_base); ?>" size="30" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -14,13 +14,13 @@ include('./admin-header.php');
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Blog Visibility') ?> </th>
|
<th scope="row"><?php _e('Blog Visibility') ?> </th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('Blog Visibility') ?> </legend>
|
||||||
<p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
|
<p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
|
||||||
<label for="blog-public"><?php _e('I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers');?></label></p>
|
<label for="blog-public"><?php _e('I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers');?></label></p>
|
||||||
<p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
|
<p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
|
||||||
<label for="blog-norobots"><?php _e('I would like to block search engines, but allow normal visitors'); ?></label></p>
|
<label for="blog-norobots"><?php _e('I would like to block search engines, but allow normal visitors'); ?></label></p>
|
||||||
<?php do_action('blog_privacy_selector'); ?>
|
<?php do_action('blog_privacy_selector'); ?>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ include('admin-header.php');
|
||||||
<?php if ( get_pages() ): ?>
|
<?php if ( get_pages() ): ?>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Front page displays')?></th>
|
<th scope="row"><?php _e('Front page displays')?></th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('Front page displays')?></legend>
|
||||||
<p><label>
|
<p><label>
|
||||||
<input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
|
<input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
|
||||||
<?php _e('Your latest posts'); ?>
|
<?php _e('Your latest posts'); ?>
|
||||||
|
@ -27,8 +27,8 @@ include('admin-header.php');
|
||||||
</label>
|
</label>
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><?php printf(__('Front page: %s'), wp_dropdown_pages("name=page_on_front&echo=0&show_option_none=".__('- Select -')."&selected=" . get_option('page_on_front'))); ?></li>
|
<li><?php printf("<label for='page_on_front'>".__('Front page: %s')."</label>", wp_dropdown_pages("name=page_on_front&echo=0&show_option_none=".__('- Select -')."&selected=" . get_option('page_on_front'))); ?></li>
|
||||||
<li><?php printf(__('Posts page: %s'), wp_dropdown_pages("name=page_for_posts&echo=0&show_option_none=".__('- Select -')."&selected=" . get_option('page_for_posts'))); ?></li>
|
<li><?php printf("<label for='page_for_posts'>".__('Posts page: %s')."</label>", wp_dropdown_pages("name=page_for_posts&echo=0&show_option_none=".__('- Select -')."&selected=" . get_option('page_for_posts'))); ?></li>
|
||||||
</ul>
|
</ul>
|
||||||
<?php if ( 'page' == get_option('show_on_front') && get_option('page_for_posts') == get_option('page_on_front') ) : ?>
|
<?php if ( 'page' == get_option('show_on_front') && get_option('page_for_posts') == get_option('page_on_front') ) : ?>
|
||||||
<div id="front-page-warning" class="updated fade-ff0000">
|
<div id="front-page-warning" class="updated fade-ff0000">
|
||||||
|
@ -37,29 +37,29 @@ include('admin-header.php');
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Blog pages show at most') ?></th>
|
<th scope="row"><label for="posts_per_page"><?php _e('Blog pages show at most') ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option('posts_per_page'); ?>" size="3" /> <?php _e('posts') ?>
|
<input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option('posts_per_page'); ?>" size="3" /> <?php _e('posts') ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Syndication feeds show the most recent') ?></th>
|
<th scope="row"><label for="posts_per_rss"><?php _e('Syndication feeds show the most recent') ?></label></th>
|
||||||
<td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php form_option('posts_per_rss'); ?>" size="3" /> <?php _e('posts') ?></td>
|
<td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php form_option('posts_per_rss'); ?>" size="3" /> <?php _e('posts') ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('For each article in a feed, show') ?> </th>
|
<th scope="row"><?php _e('For each article in a feed, show') ?> </th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('For each article in a feed, show') ?> </legend>
|
||||||
<p><label><input name="rss_use_excerpt" type="radio" value="0" <?php checked(0, get_option('rss_use_excerpt')); ?> /> <?php _e('Full text') ?></label><br />
|
<p><label><input name="rss_use_excerpt" type="radio" value="0" <?php checked(0, get_option('rss_use_excerpt')); ?> /> <?php _e('Full text') ?></label><br />
|
||||||
<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label></p>
|
<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label></p>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Encoding for pages and feeds') ?></th>
|
<th scope="row"><label for="blog_charset"><?php _e('Encoding for pages and feeds') ?></label></th>
|
||||||
<td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option('blog_charset'); ?>" size="20" class="code" /><br />
|
<td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option('blog_charset'); ?>" size="20" class="code" /><br />
|
||||||
<?php _e('The character encoding you write your blog in (UTF-8 is <a href="http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html">recommended</a>)') ?></td>
|
<?php _e('The character encoding you write your blog in (UTF-8 is <a href="http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html">recommended</a>)') ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -14,21 +14,21 @@ include('admin-header.php');
|
||||||
|
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"> <?php _e('Size of the post box') ?></th>
|
<th scope="row"><label for="default_post_edit_rows"> <?php _e('Size of the post box') ?></label></th>
|
||||||
<td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" size="2" style="width: 1.5em;" />
|
<td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" size="2" style="width: 1.5em;" />
|
||||||
<?php _e('lines') ?></td>
|
<?php _e('lines') ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Formatting') ?></th>
|
<th scope="row"><?php _e('Formatting') ?></th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('Formatting') ?></legend>
|
||||||
<label for="use_smilies">
|
<label for="use_smilies">
|
||||||
<input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> />
|
<input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> />
|
||||||
<?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br />
|
<?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br />
|
||||||
<label for="use_balanceTags"><input name="use_balanceTags" type="checkbox" id="use_balanceTags" value="1" <?php checked('1', get_option('use_balanceTags')); ?> /> <?php _e('WordPress should correct invalidly nested XHTML automatically') ?></label>
|
<label for="use_balanceTags"><input name="use_balanceTags" type="checkbox" id="use_balanceTags" value="1" <?php checked('1', get_option('use_balanceTags')); ?> /> <?php _e('WordPress should correct invalidly nested XHTML automatically') ?></label>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Default Post Category') ?></th>
|
<th scope="row"><label for="default_category"><?php _e('Default Post Category') ?></label></th>
|
||||||
<td><select name="default_category" id="default_category">
|
<td><select name="default_category" id="default_category">
|
||||||
<?php
|
<?php
|
||||||
$categories = get_categories('get=all');
|
$categories = get_categories('get=all');
|
||||||
|
@ -42,7 +42,7 @@ endforeach;
|
||||||
</select></td>
|
</select></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Default Link Category') ?></th>
|
<th scope="row"><label for="default_link_category"><?php _e('Default Link Category') ?></label></th>
|
||||||
<td><select name="default_link_category" id="default_link_category">
|
<td><select name="default_link_category" id="default_link_category">
|
||||||
<?php
|
<?php
|
||||||
$link_categories = get_terms('link_category', 'get=all');
|
$link_categories = get_terms('link_category', 'get=all');
|
||||||
|
@ -62,24 +62,24 @@ endforeach;
|
||||||
|
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Mail Server') ?></th>
|
<th scope="row"><label for="mailserver_url"><?php _e('Mail Server') ?></label></th>
|
||||||
<td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" size="40" />
|
<td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" size="40" />
|
||||||
<label for="mailserver_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" />
|
<input name="mailserver_port" type="text" id="mailserver_port" value="<?php form_option('mailserver_port'); ?>" size="6" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Login Name') ?></th>
|
<th scope="row"><label for="mailserver_login"><?php _e('Login Name') ?></label></th>
|
||||||
<td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" size="40" /></td>
|
<td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" size="40" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Password') ?></th>
|
<th scope="row"><label for="mailserver_pass"><?php _e('Password') ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php form_option('mailserver_pass'); ?>" size="40" />
|
<input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php form_option('mailserver_pass'); ?>" size="40" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Default Mail Category') ?></th>
|
<th scope="row"><label for="default_email_category"><?php _e('Default Mail Category') ?></label></th>
|
||||||
<td><select name="default_email_category" id="default_email_category">
|
<td><select name="default_email_category" id="default_email_category">
|
||||||
<?php
|
<?php
|
||||||
//Alreay have $categories from default_category
|
//Alreay have $categories from default_category
|
||||||
|
@ -98,7 +98,7 @@ endforeach;
|
||||||
|
|
||||||
<?php if ( get_option('blog_public') ) : ?>
|
<?php if ( get_option('blog_public') ) : ?>
|
||||||
|
|
||||||
<p><?php _e('When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="http://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service <abbr title="Universal Resource Locator">URL</abbr>s with line breaks.') ?></p>
|
<p><label for="ping_sites"><?php _e('When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="http://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service <abbr title="Universal Resource Locator">URL</abbr>s with line breaks.') ?></label></p>
|
||||||
|
|
||||||
<textarea name="ping_sites" id="ping_sites" style="width: 98%;" rows="3" cols="50"><?php form_option('ping_sites'); ?></textarea>
|
<textarea name="ping_sites" id="ping_sites" style="width: 98%;" rows="3" cols="50"><?php form_option('ping_sites'); ?></textarea>
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ foreach ( (array) $options as $option) :
|
||||||
}
|
}
|
||||||
echo "
|
echo "
|
||||||
<tr>
|
<tr>
|
||||||
<th scope='row'>$option->option_name</th>
|
<th scope='row'><label for='$option->option_name'>$option->option_name</label></th>
|
||||||
<td>";
|
<td>";
|
||||||
|
|
||||||
if (strpos($value, "\n") !== false) echo "<textarea class='$class' name='$option->option_name' id='$option->option_name' cols='30' rows='5'>" . wp_specialchars($value) . "</textarea>";
|
if (strpos($value, "\n") !== false) echo "<textarea class='$class' name='$option->option_name' id='$option->option_name' cols='30' rows='5'>" . wp_specialchars($value) . "</textarea>";
|
||||||
|
|
|
@ -68,28 +68,28 @@ switch($step) {
|
||||||
<p>Below you should enter your database connection details. If you're not sure about these, contact your host. </p>
|
<p>Below you should enter your database connection details. If you're not sure about these, contact your host. </p>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Database Name</th>
|
<th scope="row"><label for="dbname">Database Name</label></th>
|
||||||
<td><input name="dbname" type="text" size="25" value="wordpress" /></td>
|
<td><input name="dbname" id="dbname" type="text" size="25" value="wordpress" /></td>
|
||||||
<td>The name of the database you want to run WP in. </td>
|
<td>The name of the database you want to run WP in. </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">User Name</th>
|
<th scope="row"><label for="uname">User Name</label></th>
|
||||||
<td><input name="uname" type="text" size="25" value="username" /></td>
|
<td><input name="uname" id="uname" type="text" size="25" value="username" /></td>
|
||||||
<td>Your MySQL username</td>
|
<td>Your MySQL username</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Password</th>
|
<th scope="row"><label for="pwd">Password</label></th>
|
||||||
<td><input name="pwd" type="text" size="25" value="password" /></td>
|
<td><input name="pwd" id="pwd" type="text" size="25" value="password" /></td>
|
||||||
<td>...and MySQL password.</td>
|
<td>...and MySQL password.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Database Host</th>
|
<th scope="row"><label for="dbhost">Database Host</label></th>
|
||||||
<td><input name="dbhost" type="text" size="25" value="localhost" /></td>
|
<td><input name="dbhost" id="dbhost" type="text" size="25" value="localhost" /></td>
|
||||||
<td>99% chance you won't need to change this value.</td>
|
<td>99% chance you won't need to change this value.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Table Prefix</th>
|
<th scope="row"><label for="prefix">Table Prefix</label></th>
|
||||||
<td><input name="prefix" type="text" id="prefix" value="wp_" size="25" /></td>
|
<td><input name="prefix" id="prefix" type="text" id="prefix" value="wp_" size="25" /></td>
|
||||||
<td>If you want to run multiple WordPress installations in a single database, change this.</td>
|
<td>If you want to run multiple WordPress installations in a single database, change this.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -60,8 +60,8 @@ form {
|
||||||
<input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" />
|
<input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" />
|
||||||
<input type="hidden" name="mode" value="sidebar" />
|
<input type="hidden" name="mode" value="sidebar" />
|
||||||
<?php wp_nonce_field('add-post'); ?>
|
<?php wp_nonce_field('add-post'); ?>
|
||||||
<p><?php _e('Title:'); ?>
|
<p><label for="post_title"><?php _e('Title:'); ?></label>
|
||||||
<input type="text" name="post_title" size="20" tabindex="1" style="width: 100%;" />
|
<input type="text" name="post_title" id="post_title" size="20" tabindex="1" style="width: 100%;" />
|
||||||
</p>
|
</p>
|
||||||
<p><?php _e('Categories:'); ?>
|
<p><?php _e('Categories:'); ?>
|
||||||
<span class="sidebar-categories">
|
<span class="sidebar-categories">
|
||||||
|
@ -69,8 +69,8 @@ form {
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Post:
|
<label for="content">Post:</label>
|
||||||
<textarea rows="8" cols="12" style="width: 100%" name="content" tabindex="2"></textarea>
|
<textarea rows="8" cols="12" style="width: 100%" name="content" id="content" tabindex="2"></textarea>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="<?php _e('Save as Draft'); ?>" />
|
<input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="<?php _e('Save as Draft'); ?>" />
|
||||||
|
|
|
@ -92,7 +92,7 @@ $desc_header = ( $description != $file_show ) ? "$description</strong> (%s)" : "
|
||||||
<div class="bordertitle">
|
<div class="bordertitle">
|
||||||
<h2><?php _e('Theme Editor'); ?></h2>
|
<h2><?php _e('Theme Editor'); ?></h2>
|
||||||
<form id="themeselector" name="theme" action="theme-editor.php" method="post">
|
<form id="themeselector" name="theme" action="theme-editor.php" method="post">
|
||||||
<strong><?php _e('Select theme to edit:'); ?> </strong>
|
<strong><label for="theme"><?php _e('Select theme to edit:'); ?> </label></strong>
|
||||||
<select name="theme" id="theme">
|
<select name="theme" id="theme">
|
||||||
<?php
|
<?php
|
||||||
foreach ($themes as $a_theme) {
|
foreach ($themes as $a_theme) {
|
||||||
|
|
|
@ -45,19 +45,19 @@ function request_filesystem_credentials($form_post, $type = '', $error = false)
|
||||||
<p><?php _e('To perform the requested update, FTP connection information is required.') ?></p>
|
<p><?php _e('To perform the requested update, FTP connection information is required.') ?></p>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Hostname:') ?></th>
|
<th scope="row"><label for="hostname"><?php _e('Hostname:') ?></label></th>
|
||||||
<td><input name="hostname" type="text" id="hostname" value="<?php echo attribute_escape($hostname) ?>"<?php if( defined('FTP_HOST') ) echo ' disabled="disabled"' ?> size="40" /></td>
|
<td><input name="hostname" type="text" id="hostname" value="<?php echo attribute_escape($hostname) ?>"<?php if( defined('FTP_HOST') ) echo ' disabled="disabled"' ?> size="40" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Username:') ?></th>
|
<th scope="row"><label for="username"><?php _e('Username:') ?></label></th>
|
||||||
<td><input name="username" type="text" id="username" value="<?php echo attribute_escape($username) ?>"<?php if( defined('FTP_USER') ) echo ' disabled="disabled"' ?> size="40" /></td>
|
<td><input name="username" type="text" id="username" value="<?php echo attribute_escape($username) ?>"<?php if( defined('FTP_USER') ) echo ' disabled="disabled"' ?> size="40" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Password:') ?></th>
|
<th scope="row"><label for="password"><?php _e('Password:') ?></label></th>
|
||||||
<td><input name="password" type="password" id="password" value=""<?php if( defined('FTP_PASS') ) echo ' disabled="disabled"' ?> size="40" /><?php if( defined('FTP_PASS') && !empty($password) ) echo '<em>'.__('(Password not shown)').'</em>'; ?></td>
|
<td><input name="password" type="password" id="password" value=""<?php if( defined('FTP_PASS') ) echo ' disabled="disabled"' ?> size="40" /><?php if( defined('FTP_PASS') && !empty($password) ) echo '<em>'.__('(Password not shown)').'</em>'; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e('Use SSL:') ?></th>
|
<th scope="row"><label for="ssl"><?php _e('Use SSL:') ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<select name="ssl" id="ssl"<?php if( defined('FTP_SSL') ) echo ' disabled="disabled"' ?>>
|
<select name="ssl" id="ssl"<?php if( defined('FTP_SSL') ) echo ' disabled="disabled"' ?>>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -125,6 +125,7 @@ endif;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<p id="post-search">
|
<p id="post-search">
|
||||||
|
<label class="hidden" for="post-search-input"><?php _e( 'Search Media' ); ?>:</label>
|
||||||
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
||||||
<input type="submit" value="<?php _e( 'Search Media' ); ?>" class="button" />
|
<input type="submit" value="<?php _e( 'Search Media' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -162,7 +162,7 @@ include ('admin-header.php');
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Admin Color Scheme')?></th>
|
<th scope="row"><?php _e('Admin Color Scheme')?></th>
|
||||||
<td>
|
<td><fieldset><legend class="hidden"><?php _e('Admin Color Scheme')?></legend>
|
||||||
<?php
|
<?php
|
||||||
$current_color = get_user_option('admin_color');
|
$current_color = get_user_option('admin_color');
|
||||||
if ( empty($current_color) )
|
if ( empty($current_color) )
|
||||||
|
@ -181,7 +181,7 @@ foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
|
||||||
<label for="admin_color_<?php echo $color; ?>"><?php echo $color_info->name ?></label>
|
<label for="admin_color_<?php echo $color; ?>"><?php echo $color_info->name ?></label>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
|
@ -145,13 +145,13 @@ case 'delete':
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
<?php if ( $go_delete ) : ?>
|
<?php if ( $go_delete ) : ?>
|
||||||
<p><?php _e('What should be done with posts and links owned by this user?'); ?></p>
|
<fieldset><p><legend><?php _e('What should be done with posts and links owned by this user?'); ?></legend></p>
|
||||||
<ul style="list-style:none;">
|
<ul style="list-style:none;">
|
||||||
<li><label><input type="radio" id="delete_option0" name="delete_option" value="delete" checked="checked" />
|
<li><label><input type="radio" id="delete_option0" name="delete_option" value="delete" checked="checked" />
|
||||||
<?php _e('Delete all posts and links.'); ?></label></li>
|
<?php _e('Delete all posts and links.'); ?></label></li>
|
||||||
<li><input type="radio" id="delete_option1" name="delete_option" value="reassign" />
|
<li><input type="radio" id="delete_option1" name="delete_option" value="reassign" />
|
||||||
<?php echo '<label for="delete_option1">'.__('Attribute all posts and links to:')."</label> $user_dropdown"; ?></li>
|
<?php echo '<label for="delete_option1">'.__('Attribute all posts and links to:')."</label> $user_dropdown"; ?></li>
|
||||||
</ul>
|
</ul></fieldset>
|
||||||
<input type="hidden" name="action" value="dodelete" />
|
<input type="hidden" name="action" value="dodelete" />
|
||||||
<p class="submit"><input type="submit" name="submit" value="<?php _e('Confirm Deletion'); ?>" class="button-secondary" /></p>
|
<p class="submit"><input type="submit" name="submit" value="<?php _e('Confirm Deletion'); ?>" class="button-secondary" /></p>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
|
@ -287,6 +287,7 @@ unset($role_links);
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
<p id="post-search">
|
<p id="post-search">
|
||||||
|
<label class="hidden" for="post-search-input"><?php _e( 'Search Users' ); ?>:</label>
|
||||||
<input type="text" id="post-search-input" name="usersearch" value="<?php echo attribute_escape($wp_user_search->search_term); ?>" />
|
<input type="text" id="post-search-input" name="usersearch" value="<?php echo attribute_escape($wp_user_search->search_term); ?>" />
|
||||||
<input type="submit" value="<?php _e( 'Search Users' ); ?>" class="button" />
|
<input type="submit" value="<?php _e( 'Search Users' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -299,7 +300,7 @@ unset($role_links);
|
||||||
|
|
||||||
<div class="alignleft">
|
<div class="alignleft">
|
||||||
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
|
<input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary delete" />
|
||||||
<select name="new_role"><option value=''><?php _e('Change role to…') ?></option>"<?php wp_dropdown_roles(); ?></select>
|
<label class="hidden" for="new_role"><?php _e('Change role to…') ?></label><select name="new_role" id="new_role"><option value=''><?php _e('Change role to…') ?></option>"<?php wp_dropdown_roles(); ?></select>
|
||||||
<input type="submit" value="<?php _e('Change'); ?>" name="changeit" class="button-secondary" />
|
<input type="submit" value="<?php _e('Change'); ?>" name="changeit" class="button-secondary" />
|
||||||
<?php wp_nonce_field('bulk-users'); ?>
|
<?php wp_nonce_field('bulk-users'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -403,29 +404,29 @@ foreach ( $wp_user_search->get_results() as $userid ) {
|
||||||
<?php wp_nonce_field('add-user') ?>
|
<?php wp_nonce_field('add-user') ?>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr class="form-field form-required">
|
<tr class="form-field form-required">
|
||||||
<th scope="row"><?php _e('Username (required)') ?><input name="action" type="hidden" id="action" value="adduser" /></th>
|
<th scope="row"><label for="user_login"><?php _e('Username (required)') ?></label><input name="action" type="hidden" id="action" value="adduser" /></th>
|
||||||
<td ><input name="user_login" type="text" id="user_login" value="<?php echo $new_user_login; ?>" /></td>
|
<td ><input name="user_login" type="text" id="user_login" value="<?php echo $new_user_login; ?>" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="form-field">
|
<tr class="form-field">
|
||||||
<th scope="row"><?php _e('First Name') ?> </th>
|
<th scope="row"><label for="first_name"><?php _e('First Name') ?> </label></th>
|
||||||
<td><input name="first_name" type="text" id="first_name" value="<?php echo $new_user_firstname; ?>" /></td>
|
<td><input name="first_name" type="text" id="first_name" value="<?php echo $new_user_firstname; ?>" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="form-field">
|
<tr class="form-field">
|
||||||
<th scope="row"><?php _e('Last Name') ?> </th>
|
<th scope="row"><label for="last_name"><?php _e('Last Name') ?> </label></th>
|
||||||
<td><input name="last_name" type="text" id="last_name" value="<?php echo $new_user_lastname; ?>" /></td>
|
<td><input name="last_name" type="text" id="last_name" value="<?php echo $new_user_lastname; ?>" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="form-field form-required">
|
<tr class="form-field form-required">
|
||||||
<th scope="row"><?php _e('E-mail (required)') ?></th>
|
<th scope="row"><label for="email"><?php _e('E-mail (required)') ?></label></th>
|
||||||
<td><input name="email" type="text" id="email" value="<?php echo $new_user_email; ?>" /></td>
|
<td><input name="email" type="text" id="email" value="<?php echo $new_user_email; ?>" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="form-field">
|
<tr class="form-field">
|
||||||
<th scope="row"><?php _e('Website') ?></th>
|
<th scope="row"><label for="url"><?php _e('Website') ?></label></th>
|
||||||
<td><input name="url" type="text" id="url" value="<?php echo $new_user_uri; ?>" /></td>
|
<td><input name="url" type="text" id="url" value="<?php echo $new_user_uri; ?>" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php if ( apply_filters('show_password_fields', true) ) : ?>
|
<?php if ( apply_filters('show_password_fields', true) ) : ?>
|
||||||
<tr class="form-field form-required">
|
<tr class="form-field form-required">
|
||||||
<th scope="row"><?php _e('Password (twice)') ?> </th>
|
<th scope="row"><label for="pass1"><?php _e('Password (twice)') ?> </label></th>
|
||||||
<td><input name="pass1" type="password" id="pass1" />
|
<td><input name="pass1" type="password" id="pass1" />
|
||||||
<br />
|
<br />
|
||||||
<input name="pass2" type="password" id="pass2" /></td>
|
<input name="pass2" type="password" id="pass2" /></td>
|
||||||
|
@ -433,7 +434,7 @@ foreach ( $wp_user_search->get_results() as $userid ) {
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<tr class="form-field">
|
<tr class="form-field">
|
||||||
<th scope="row"><?php _e('Role'); ?></th>
|
<th scope="row"><label for="role"><?php _e('Role'); ?></label></th>
|
||||||
<td><select name="role" id="role">
|
<td><select name="role" id="role">
|
||||||
<?php
|
<?php
|
||||||
if ( !$new_user_role )
|
if ( !$new_user_role )
|
||||||
|
|
|
@ -234,15 +234,16 @@ if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) : ?>
|
||||||
|
|
||||||
<h2><?php _e( 'Widgets' ); ?></h2>
|
<h2><?php _e( 'Widgets' ); ?></h2>
|
||||||
<p id="widget-search">
|
<p id="widget-search">
|
||||||
|
<label class="hidden" for="widget-search-input"><?php _e( 'Search Widgets' ); ?>:</label>
|
||||||
<input type="text" id="widget-search-input" name="s" value="<?php echo attribute_escape( $widget_search ); ?>" />
|
<input type="text" id="widget-search-input" name="s" value="<?php echo attribute_escape( $widget_search ); ?>" />
|
||||||
<input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" />
|
<input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="widget-liquid-left-holder">
|
<div class="widget-liquid-left-holder">
|
||||||
<div id="available-widgets-filter" class="widget-liquid-left">
|
<div id="available-widgets-filter" class="widget-liquid-left">
|
||||||
<h3><?php _e('Available Widgets'); ?></h3>
|
<h3><label for="show"><?php _e('Available Widgets'); ?></label></h3>
|
||||||
<div class="nav">
|
<div class="nav">
|
||||||
<select name="show">
|
<select name="show" id="show">
|
||||||
<?php foreach ( $show_values as $show_value => $show_text ) : $show_value = attribute_escape( $show_value ); ?>
|
<?php foreach ( $show_values as $show_value => $show_text ) : $show_value = attribute_escape( $show_value ); ?>
|
||||||
<option value='<?php echo $show_value; ?>'<?php selected( $show_value, $show ); ?>><?php echo wp_specialchars( $show_text ); ?></option>
|
<option value='<?php echo $show_value; ?>'<?php selected( $show_value, $show ); ?>><?php echo wp_specialchars( $show_text ); ?></option>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
@ -256,7 +257,7 @@ if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) : ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="available-sidebars" class="widget-liquid-right">
|
<div id="available-sidebars" class="widget-liquid-right">
|
||||||
<h3><?php _e('Current Widgets'); ?></h3>
|
<h3><label for="sidebar-selector"><?php _e('Current Widgets'); ?></label></h3>
|
||||||
|
|
||||||
<div class="nav">
|
<div class="nav">
|
||||||
<select id="sidebar-selector" name="sidebar">
|
<select id="sidebar-selector" name="sidebar">
|
||||||
|
|
|
@ -1512,3 +1512,9 @@ table.diff .diff-deletedline del, table.diff .diff-addedline ins {
|
||||||
#wp-word-count {
|
#wp-word-count {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
border: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
|
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
|
||||||
|
<label class="hidden" for="s"><?php _e('Search for:'); ?></label>
|
||||||
<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
|
<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
|
||||||
<input type="submit" id="searchsubmit" value="Search" />
|
<input type="submit" id="searchsubmit" value="Search" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -616,6 +616,10 @@ blockquote cite {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -283,7 +283,7 @@ function wp_dropdown_pages($args = '') {
|
||||||
$output = '';
|
$output = '';
|
||||||
|
|
||||||
if ( ! empty($pages) ) {
|
if ( ! empty($pages) ) {
|
||||||
$output = "<select name='$name'>\n";
|
$output = "<select name='$name' id='$name'>\n";
|
||||||
if ( $show_option_none )
|
if ( $show_option_none )
|
||||||
$output .= "\t<option value=''>$show_option_none</option>\n";
|
$output .= "\t<option value=''>$show_option_none</option>\n";
|
||||||
$output .= walk_page_dropdown_tree($pages, $depth, $r);
|
$output .= walk_page_dropdown_tree($pages, $depth, $r);
|
||||||
|
|
|
@ -461,6 +461,7 @@ function wp_widget_search($args) {
|
||||||
<?php echo $before_widget; ?>
|
<?php echo $before_widget; ?>
|
||||||
<form id="searchform" method="get" action="<?php bloginfo('home'); ?>">
|
<form id="searchform" method="get" action="<?php bloginfo('home'); ?>">
|
||||||
<div>
|
<div>
|
||||||
|
<label class="hidden" for="s"><?php _e('Search for:'); ?></label>
|
||||||
<input type="text" name="s" id="s" size="15" /><br />
|
<input type="text" name="s" id="s" size="15" /><br />
|
||||||
<input type="submit" value="<?php echo attribute_escape(__('Search')); ?>" />
|
<input type="submit" value="<?php echo attribute_escape(__('Search')); ?>" />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue