Remove all "valign" attributes from tables in wp-admin, props MikeHansenMe, Marventus. Fixes #22712.
git-svn-id: https://develop.svn.wordpress.org/trunk@27029 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
07bbb5cd1f
commit
48d24f6bf5
@ -174,7 +174,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
|
|||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" valign="top"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>
|
<th scope="row"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>
|
||||||
<td><?php echo $comment->comment_content; ?></td>
|
<td><?php echo $comment->comment_content; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -191,7 +191,7 @@ class Custom_Background {
|
|||||||
|
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Preview' ); ?></th>
|
<th scope="row"><?php _e( 'Preview' ); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
@ -221,7 +221,7 @@ class Custom_Background {
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php if ( get_background_image() ) : ?>
|
<?php if ( get_background_image() ) : ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Remove Image'); ?></th>
|
<th scope="row"><?php _e('Remove Image'); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<form method="post" action="">
|
<form method="post" action="">
|
||||||
@ -235,7 +235,7 @@ class Custom_Background {
|
|||||||
|
|
||||||
<?php $default_image = get_theme_support( 'custom-background', 'default-image' ); ?>
|
<?php $default_image = get_theme_support( 'custom-background', 'default-image' ); ?>
|
||||||
<?php if ( $default_image && get_background_image() != $default_image ) : ?>
|
<?php if ( $default_image && get_background_image() != $default_image ) : ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Restore Original Image'); ?></th>
|
<th scope="row"><?php _e('Restore Original Image'); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<form method="post" action="">
|
<form method="post" action="">
|
||||||
@ -247,7 +247,7 @@ class Custom_Background {
|
|||||||
</tr>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Select Image'); ?></th>
|
<th scope="row"><?php _e('Select Image'); ?></th>
|
||||||
<td><form enctype="multipart/form-data" id="upload-form" class="wp-upload-form" method="post" action="">
|
<td><form enctype="multipart/form-data" id="upload-form" class="wp-upload-form" method="post" action="">
|
||||||
<p>
|
<p>
|
||||||
@ -274,7 +274,7 @@ class Custom_Background {
|
|||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php if ( get_background_image() ) : ?>
|
<?php if ( get_background_image() ) : ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Position' ); ?></th>
|
<th scope="row"><?php _e( 'Position' ); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Position' ); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Position' ); ?></span></legend>
|
||||||
<label>
|
<label>
|
||||||
@ -292,7 +292,7 @@ class Custom_Background {
|
|||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Repeat' ); ?></th>
|
<th scope="row"><?php _e( 'Repeat' ); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Repeat' ); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Repeat' ); ?></span></legend>
|
||||||
<label><input type="radio" name="background-repeat" value="no-repeat"<?php checked( 'no-repeat', get_theme_mod( 'background_repeat', get_theme_support( 'custom-background', 'default-repeat' ) ) ); ?> /> <?php _e('No Repeat'); ?></label>
|
<label><input type="radio" name="background-repeat" value="no-repeat"<?php checked( 'no-repeat', get_theme_mod( 'background_repeat', get_theme_support( 'custom-background', 'default-repeat' ) ) ); ?> /> <?php _e('No Repeat'); ?></label>
|
||||||
@ -302,7 +302,7 @@ class Custom_Background {
|
|||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _ex( 'Attachment', 'Background Attachment' ); ?></th>
|
<th scope="row"><?php _ex( 'Attachment', 'Background Attachment' ); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Attachment' ); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Attachment' ); ?></span></legend>
|
||||||
<label>
|
<label>
|
||||||
@ -316,7 +316,7 @@ class Custom_Background {
|
|||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endif; // get_background_image() ?>
|
<?php endif; // get_background_image() ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Background Color' ); ?></th>
|
<th scope="row"><?php _e( 'Background Color' ); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend>
|
||||||
<?php
|
<?php
|
||||||
|
@ -464,7 +464,7 @@ class Custom_Image_Header {
|
|||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
<?php if ( get_custom_header() || display_header_text() ) : ?>
|
<?php if ( get_custom_header() || display_header_text() ) : ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Preview' ); ?></th>
|
<th scope="row"><?php _e( 'Preview' ); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
@ -494,7 +494,7 @@ class Custom_Image_Header {
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( current_theme_supports( 'custom-header', 'uploads' ) ) : ?>
|
<?php if ( current_theme_supports( 'custom-header', 'uploads' ) ) : ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Select Image' ); ?></th>
|
<th scope="row"><?php _e( 'Select Image' ); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<p><?php _e( 'You can select an image to be shown at the top of your site by uploading from your computer or choosing from your media library. After selecting an image you will be able to crop it.' ); ?><br />
|
<p><?php _e( 'You can select an image to be shown at the top of your site by uploading from your computer or choosing from your media library. After selecting an image you will be able to crop it.' ); ?><br />
|
||||||
@ -548,7 +548,7 @@ class Custom_Image_Header {
|
|||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php if ( get_uploaded_header_images() ) : ?>
|
<?php if ( get_uploaded_header_images() ) : ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Uploaded Images' ); ?></th>
|
<th scope="row"><?php _e( 'Uploaded Images' ); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<p><?php _e( 'You can choose one of your previously uploaded headers, or show a random one.' ) ?></p>
|
<p><?php _e( 'You can choose one of your previously uploaded headers, or show a random one.' ) ?></p>
|
||||||
@ -559,7 +559,7 @@ class Custom_Image_Header {
|
|||||||
</tr>
|
</tr>
|
||||||
<?php endif;
|
<?php endif;
|
||||||
if ( ! empty( $this->default_headers ) ) : ?>
|
if ( ! empty( $this->default_headers ) ) : ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Default Images' ); ?></th>
|
<th scope="row"><?php _e( 'Default Images' ); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<?php if ( current_theme_supports( 'custom-header', 'uploads' ) ) : ?>
|
<?php if ( current_theme_supports( 'custom-header', 'uploads' ) ) : ?>
|
||||||
@ -574,7 +574,7 @@ class Custom_Image_Header {
|
|||||||
</tr>
|
</tr>
|
||||||
<?php endif;
|
<?php endif;
|
||||||
if ( get_header_image() ) : ?>
|
if ( get_header_image() ) : ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Remove Image' ); ?></th>
|
<th scope="row"><?php _e( 'Remove Image' ); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<p><?php _e( 'This will remove the header image. You will not be able to restore any customizations.' ) ?></p>
|
<p><?php _e( 'This will remove the header image. You will not be able to restore any customizations.' ) ?></p>
|
||||||
@ -585,7 +585,7 @@ class Custom_Image_Header {
|
|||||||
|
|
||||||
$default_image = get_theme_support( 'custom-header', 'default-image' );
|
$default_image = get_theme_support( 'custom-header', 'default-image' );
|
||||||
if ( $default_image && get_header_image() != $default_image ) : ?>
|
if ( $default_image && get_header_image() != $default_image ) : ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Reset Image' ); ?></th>
|
<th scope="row"><?php _e( 'Reset Image' ); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<p><?php _e( 'This will restore the original header image. You will not be able to restore any customizations.' ) ?></p>
|
<p><?php _e( 'This will restore the original header image. You will not be able to restore any customizations.' ) ?></p>
|
||||||
@ -602,7 +602,7 @@ class Custom_Image_Header {
|
|||||||
|
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Header Text' ); ?></th>
|
<th scope="row"><?php _e( 'Header Text' ); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
@ -611,7 +611,7 @@ class Custom_Image_Header {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top" class="displaying-header-text">
|
<tr class="displaying-header-text">
|
||||||
<th scope="row"><?php _e( 'Text Color' ); ?></th>
|
<th scope="row"><?php _e( 'Text Color' ); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
|
@ -28,11 +28,11 @@ if ( !defined('ABSPATH') )
|
|||||||
<div class="inside">
|
<div class="inside">
|
||||||
<table class="form-table editcomment">
|
<table class="form-table editcomment">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<td class="first"><?php _e( 'Name:' ); ?></td>
|
<td class="first"><?php _e( 'Name:' ); ?></td>
|
||||||
<td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td>
|
<td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<td class="first">
|
<td class="first">
|
||||||
<?php
|
<?php
|
||||||
if ( $comment->comment_author_email ) {
|
if ( $comment->comment_author_email ) {
|
||||||
@ -43,7 +43,7 @@ if ( !defined('ABSPATH') )
|
|||||||
?></td>
|
?></td>
|
||||||
<td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" /></td>
|
<td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<td class="first">
|
<td class="first">
|
||||||
<?php
|
<?php
|
||||||
if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) {
|
if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) {
|
||||||
|
@ -81,13 +81,13 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
|
|||||||
<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?>
|
<?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr class="form-field form-required">
|
<tr class="form-field form-required">
|
||||||
<th scope="row" valign="top"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th>
|
<th scope="row"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th>
|
||||||
<td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" />
|
<td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" />
|
||||||
<p class="description"><?php _e('The name is how it appears on your site.'); ?></p></td>
|
<p class="description"><?php _e('The name is how it appears on your site.'); ?></p></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php if ( !global_terms_enabled() ) { ?>
|
<?php if ( !global_terms_enabled() ) { ?>
|
||||||
<tr class="form-field">
|
<tr class="form-field">
|
||||||
<th scope="row" valign="top"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th>
|
<th scope="row"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th>
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Filter the editable term slug.
|
* Filter the editable term slug.
|
||||||
@ -103,7 +103,7 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?>
|
<?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?>
|
||||||
<tr class="form-field">
|
<tr class="form-field">
|
||||||
<th scope="row" valign="top"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th>
|
<th scope="row"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<?php wp_dropdown_categories(array('hide_empty' => 0, 'hide_if_empty' => false, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude_tree' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?>
|
<?php wp_dropdown_categories(array('hide_empty' => 0, 'hide_if_empty' => false, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude_tree' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?>
|
||||||
<?php if ( 'category' == $taxonomy ) : ?>
|
<?php if ( 'category' == $taxonomy ) : ?>
|
||||||
@ -113,7 +113,7 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
|
|||||||
</tr>
|
</tr>
|
||||||
<?php endif; // is_taxonomy_hierarchical() ?>
|
<?php endif; // is_taxonomy_hierarchical() ?>
|
||||||
<tr class="form-field">
|
<tr class="form-field">
|
||||||
<th scope="row" valign="top"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>
|
<th scope="row"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th>
|
||||||
<td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea><br />
|
<td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea><br />
|
||||||
<span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td>
|
<span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -114,7 +114,7 @@ class WP_Links_List_Table extends WP_List_Table {
|
|||||||
|
|
||||||
$edit_link = get_edit_bookmark_link( $link );
|
$edit_link = get_edit_bookmark_link( $link );
|
||||||
?>
|
?>
|
||||||
<tr id="link-<?php echo $link->link_id; ?>" valign="middle" <?php echo $style; ?>>
|
<tr id="link-<?php echo $link->link_id; ?>" <?php echo $style; ?>>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
list( $columns, $hidden ) = $this->get_column_info();
|
list( $columns, $hidden ) = $this->get_column_info();
|
||||||
|
@ -209,7 +209,7 @@ class WP_Media_List_Table extends WP_List_Table {
|
|||||||
$post_owner = ( get_current_user_id() == $post->post_author ) ? 'self' : 'other';
|
$post_owner = ( get_current_user_id() == $post->post_author ) ? 'self' : 'other';
|
||||||
$att_title = _draft_or_post_title();
|
$att_title = _draft_or_post_title();
|
||||||
?>
|
?>
|
||||||
<tr id='post-<?php echo $post->ID; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
|
<tr id='post-<?php echo $post->ID; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>'>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
list( $columns, $hidden ) = $this->get_column_info();
|
list( $columns, $hidden ) = $this->get_column_info();
|
||||||
|
@ -233,7 +233,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'id':?>
|
case 'id':?>
|
||||||
<th valign="top" scope="row">
|
<th scope="row">
|
||||||
<?php echo $blog['blog_id'] ?>
|
<?php echo $blog['blog_id'] ?>
|
||||||
</th>
|
</th>
|
||||||
<?php
|
<?php
|
||||||
@ -306,7 +306,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'lastupdated':
|
case 'lastupdated':
|
||||||
echo "<td valign='top' class='$column_name column-$column_name'$style>";
|
echo "<td class='$column_name column-$column_name'$style>";
|
||||||
if ( 'list' == $mode )
|
if ( 'list' == $mode )
|
||||||
$date = 'Y/m/d';
|
$date = 'Y/m/d';
|
||||||
else
|
else
|
||||||
@ -316,7 +316,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
|||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
case 'registered':
|
case 'registered':
|
||||||
echo "<td valign='top' class='$column_name column-$column_name'$style>";
|
echo "<td class='$column_name column-$column_name'$style>";
|
||||||
if ( $blog['registered'] == '0000-00-00 00:00:00' )
|
if ( $blog['registered'] == '0000-00-00 00:00:00' )
|
||||||
echo '—';
|
echo '—';
|
||||||
else
|
else
|
||||||
@ -326,7 +326,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
|||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
case 'users':
|
case 'users':
|
||||||
echo "<td valign='top' class='$column_name column-$column_name'$style>";
|
echo "<td class='$column_name column-$column_name'$style>";
|
||||||
$blogusers = get_users( array( 'blog_id' => $blog['blog_id'], 'number' => 6) );
|
$blogusers = get_users( array( 'blog_id' => $blog['blog_id'], 'number' => 6) );
|
||||||
if ( is_array( $blogusers ) ) {
|
if ( is_array( $blogusers ) ) {
|
||||||
$blogusers_warning = '';
|
$blogusers_warning = '';
|
||||||
@ -350,7 +350,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
|||||||
|
|
||||||
case 'plugins': ?>
|
case 'plugins': ?>
|
||||||
<?php if ( has_filter( 'wpmublogsaction' ) ) {
|
<?php if ( has_filter( 'wpmublogsaction' ) ) {
|
||||||
echo "<td valign='top' class='$column_name column-$column_name'$style>";
|
echo "<td class='$column_name column-$column_name'$style>";
|
||||||
/**
|
/**
|
||||||
* Fires inside the auxiliary 'Actions' column of the Sites list table.
|
* Fires inside the auxiliary 'Actions' column of the Sites list table.
|
||||||
*
|
*
|
||||||
|
@ -1052,24 +1052,24 @@ jQuery(function($){
|
|||||||
_e('If you do not remember your credentials, you should contact your web host.');
|
_e('If you do not remember your credentials, you should contact your web host.');
|
||||||
?></p>
|
?></p>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="hostname"><?php _e('Hostname') ?></label></th>
|
<th scope="row"><label for="hostname"><?php _e('Hostname') ?></label></th>
|
||||||
<td><input name="hostname" type="text" id="hostname" value="<?php echo esc_attr($hostname); if ( !empty($port) ) echo ":$port"; ?>"<?php disabled( defined('FTP_HOST') ); ?> size="40" /></td>
|
<td><input name="hostname" type="text" id="hostname" value="<?php echo esc_attr($hostname); if ( !empty($port) ) echo ":$port"; ?>"<?php disabled( defined('FTP_HOST') ); ?> size="40" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="username"><?php echo $label_user; ?></label></th>
|
<th scope="row"><label for="username"><?php echo $label_user; ?></label></th>
|
||||||
<td><input name="username" type="text" id="username" value="<?php echo esc_attr($username) ?>"<?php disabled( defined('FTP_USER') ); ?> size="40" /></td>
|
<td><input name="username" type="text" id="username" value="<?php echo esc_attr($username) ?>"<?php disabled( defined('FTP_USER') ); ?> size="40" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="password"><?php echo $label_pass; ?></label></th>
|
<th scope="row"><label for="password"><?php echo $label_pass; ?></label></th>
|
||||||
<td><div><input name="password" type="password" id="password" value="<?php if ( defined('FTP_PASS') ) echo '*****'; ?>"<?php disabled( defined('FTP_PASS') ); ?> size="40" /></div>
|
<td><div><input name="password" type="password" id="password" value="<?php if ( defined('FTP_PASS') ) echo '*****'; ?>"<?php disabled( defined('FTP_PASS') ); ?> size="40" /></div>
|
||||||
<div><em><?php if ( ! defined('FTP_PASS') ) _e( 'This password will not be stored on the server.' ); ?></em></div></td>
|
<div><em><?php if ( ! defined('FTP_PASS') ) _e( 'This password will not be stored on the server.' ); ?></em></div></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php if ( isset($types['ssh']) ) : ?>
|
<?php if ( isset($types['ssh']) ) : ?>
|
||||||
<tr id="ssh_keys" valign="top" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>">
|
<tr id="ssh_keys" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>">
|
||||||
<th scope="row"><?php _e('Authentication Keys') ?>
|
<th scope="row"><?php _e('Authentication Keys') ?>
|
||||||
<div class="key-labels textright">
|
<div class="key-labels textright">
|
||||||
<label for="public_key"><?php _e('Public Key:') ?></label ><br />
|
<label for="public_key"><?php _e('Public Key:') ?></label ><br />
|
||||||
@ -1080,7 +1080,7 @@ jQuery(function($){
|
|||||||
</tr>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Connection Type') ?></th>
|
<th scope="row"><?php _e('Connection Type') ?></th>
|
||||||
<td>
|
<td>
|
||||||
<fieldset><legend class="screen-reader-text"><span><?php _e('Connection Type') ?></span></legend>
|
<fieldset><legend class="screen-reader-text"><span><?php _e('Connection Type') ?></span></legend>
|
||||||
|
@ -1377,7 +1377,7 @@ function get_media_item( $attachment_id, $args = null ) {
|
|||||||
$display_title
|
$display_title
|
||||||
<table class='slidetoggle describe $class'>
|
<table class='slidetoggle describe $class'>
|
||||||
<thead class='media-item-info' id='media-head-$post->ID'>
|
<thead class='media-item-info' id='media-head-$post->ID'>
|
||||||
<tr valign='top'>
|
<tr>
|
||||||
<td class='A1B1' id='thumbnail-head-$post->ID'>
|
<td class='A1B1' id='thumbnail-head-$post->ID'>
|
||||||
<p><a href='$attachment_url' target='_blank'><img class='thumbnail' src='$thumb_url' alt='' /></a></p>
|
<p><a href='$attachment_url' target='_blank'><img class='thumbnail' src='$thumb_url' alt='' /></a></p>
|
||||||
<p>$image_edit_button</p>
|
<p>$image_edit_button</p>
|
||||||
@ -1462,7 +1462,7 @@ function get_media_item( $attachment_id, $args = null ) {
|
|||||||
$class = $id;
|
$class = $id;
|
||||||
$class .= $field['required'] ? ' form-required' : '';
|
$class .= $field['required'] ? ' form-required' : '';
|
||||||
|
|
||||||
$item .= "\t\t<tr class='$class'>\n\t\t\t<th valign='top' scope='row' class='label'><label for='$name'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label></th>\n\t\t\t<td class='field'>";
|
$item .= "\t\t<tr class='$class'>\n\t\t\t<th scope='row' class='label'><label for='$name'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label></th>\n\t\t\t<td class='field'>";
|
||||||
if ( !empty( $field[ $field['input'] ] ) )
|
if ( !empty( $field[ $field['input'] ] ) )
|
||||||
$item .= $field[ $field['input'] ];
|
$item .= $field[ $field['input'] ];
|
||||||
elseif ( $field['input'] == 'textarea' ) {
|
elseif ( $field['input'] == 'textarea' ) {
|
||||||
@ -1609,7 +1609,7 @@ function get_compat_media_markup( $attachment_id, $args = null ) {
|
|||||||
$class .= $field['required'] ? ' form-required' : '';
|
$class .= $field['required'] ? ' form-required' : '';
|
||||||
|
|
||||||
$item .= "\t\t<tr class='$class'>";
|
$item .= "\t\t<tr class='$class'>";
|
||||||
$item .= "\t\t\t<th valign='top' scope='row' class='label'><label for='$id_attr'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label>";
|
$item .= "\t\t\t<th scope='row' class='label'><label for='$id_attr'><span class='alignleft'>{$field['label']}</span>$required<br class='clear' /></label>";
|
||||||
$item .= "</th>\n\t\t\t<td class='field'>";
|
$item .= "</th>\n\t\t\t<td class='field'>";
|
||||||
|
|
||||||
if ( !empty( $field[ $field['input'] ] ) )
|
if ( !empty( $field[ $field['input'] ] ) )
|
||||||
@ -2429,7 +2429,7 @@ function wp_media_insert_url_form( $default_view = 'image' ) {
|
|||||||
if ( ! apply_filters( 'disable_captions', '' ) ) {
|
if ( ! apply_filters( 'disable_captions', '' ) ) {
|
||||||
$caption = '
|
$caption = '
|
||||||
<tr class="image-only">
|
<tr class="image-only">
|
||||||
<th valign="top" scope="row" class="label">
|
<th scope="row" class="label">
|
||||||
<label for="caption"><span class="alignleft">' . __('Image Caption') . '</span></label>
|
<label for="caption"><span class="alignleft">' . __('Image Caption') . '</span></label>
|
||||||
</th>
|
</th>
|
||||||
<td class="field"><textarea id="caption" name="caption"></textarea></td>
|
<td class="field"><textarea id="caption" name="caption"></textarea></td>
|
||||||
@ -2454,7 +2454,7 @@ function wp_media_insert_url_form( $default_view = 'image' ) {
|
|||||||
<p class="media-types"><label><input type="radio" name="media_type" value="image" id="image-only"' . checked( 'image-only', $view, false ) . ' /> ' . __( 'Image' ) . '</label> <label><input type="radio" name="media_type" value="generic" id="not-image"' . checked( 'not-image', $view, false ) . ' /> ' . __( 'Audio, Video, or Other File' ) . '</label></p>
|
<p class="media-types"><label><input type="radio" name="media_type" value="image" id="image-only"' . checked( 'image-only', $view, false ) . ' /> ' . __( 'Image' ) . '</label> <label><input type="radio" name="media_type" value="generic" id="not-image"' . checked( 'not-image', $view, false ) . ' /> ' . __( 'Audio, Video, or Other File' ) . '</label></p>
|
||||||
<table class="describe ' . $table_class . '"><tbody>
|
<table class="describe ' . $table_class . '"><tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th valign="top" scope="row" class="label" style="width:130px;">
|
<th scope="row" class="label" style="width:130px;">
|
||||||
<label for="src"><span class="alignleft">' . __('URL') . '</span></label>
|
<label for="src"><span class="alignleft">' . __('URL') . '</span></label>
|
||||||
<span class="alignright"><abbr id="status_img" title="required" class="required">*</abbr></span>
|
<span class="alignright"><abbr id="status_img" title="required" class="required">*</abbr></span>
|
||||||
</th>
|
</th>
|
||||||
@ -2462,7 +2462,7 @@ function wp_media_insert_url_form( $default_view = 'image' ) {
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th valign="top" scope="row" class="label">
|
<th scope="row" class="label">
|
||||||
<label for="title"><span class="alignleft">' . __('Title') . '</span></label>
|
<label for="title"><span class="alignleft">' . __('Title') . '</span></label>
|
||||||
<span class="alignright"><abbr title="required" class="required">*</abbr></span>
|
<span class="alignright"><abbr title="required" class="required">*</abbr></span>
|
||||||
</th>
|
</th>
|
||||||
@ -2472,7 +2472,7 @@ function wp_media_insert_url_form( $default_view = 'image' ) {
|
|||||||
<tr class="not-image"><td></td><td><p class="help">' . __('Link text, e.g. “Ransom Demands (PDF)”') . '</p></td></tr>
|
<tr class="not-image"><td></td><td><p class="help">' . __('Link text, e.g. “Ransom Demands (PDF)”') . '</p></td></tr>
|
||||||
|
|
||||||
<tr class="image-only">
|
<tr class="image-only">
|
||||||
<th valign="top" scope="row" class="label">
|
<th scope="row" class="label">
|
||||||
<label for="alt"><span class="alignleft">' . __('Alternative Text') . '</span></label>
|
<label for="alt"><span class="alignleft">' . __('Alternative Text') . '</span></label>
|
||||||
</th>
|
</th>
|
||||||
<td class="field"><input id="alt" name="alt" value="" type="text" aria-required="true" />
|
<td class="field"><input id="alt" name="alt" value="" type="text" aria-required="true" />
|
||||||
@ -2480,7 +2480,7 @@ function wp_media_insert_url_form( $default_view = 'image' ) {
|
|||||||
</tr>
|
</tr>
|
||||||
' . $caption . '
|
' . $caption . '
|
||||||
<tr class="align image-only">
|
<tr class="align image-only">
|
||||||
<th valign="top" scope="row" class="label"><p><label for="align">' . __('Alignment') . '</label></p></th>
|
<th scope="row" class="label"><p><label for="align">' . __('Alignment') . '</label></p></th>
|
||||||
<td class="field">
|
<td class="field">
|
||||||
<input name="align" id="align-none" value="none" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'none' ? ' checked="checked"' : '').' />
|
<input name="align" id="align-none" value="none" onclick="addExtImage.align=\'align\'+this.value" type="radio"' . ($default_align == 'none' ? ' checked="checked"' : '').' />
|
||||||
<label for="align-none" class="align image-align-none-label">' . __('None') . '</label>
|
<label for="align-none" class="align image-align-none-label">' . __('None') . '</label>
|
||||||
@ -2494,7 +2494,7 @@ function wp_media_insert_url_form( $default_view = 'image' ) {
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr class="image-only">
|
<tr class="image-only">
|
||||||
<th valign="top" scope="row" class="label">
|
<th scope="row" class="label">
|
||||||
<label for="url"><span class="alignleft">' . __('Link Image To:') . '</span></label>
|
<label for="url"><span class="alignleft">' . __('Link Image To:') . '</span></label>
|
||||||
</th>
|
</th>
|
||||||
<td class="field"><input id="url" name="url" value="" type="text" /><br />
|
<td class="field"><input id="url" name="url" value="" type="text" /><br />
|
||||||
|
@ -536,15 +536,13 @@ function _access_denied_splash() {
|
|||||||
$output .= '<table>';
|
$output .= '<table>';
|
||||||
|
|
||||||
foreach ( $blogs as $blog ) {
|
foreach ( $blogs as $blog ) {
|
||||||
$output .= "<tr>";
|
$output .= '<tr>';
|
||||||
$output .= "<td valign='top'>";
|
$output .= "<td>{$blog->blogname}</td>";
|
||||||
$output .= "{$blog->blogname}";
|
$output .= '<td><a href="' . esc_url( get_admin_url( $blog->userblog_id ) ) . '">' . __( 'Visit Dashboard' ) . '</a> | ' .
|
||||||
$output .= "</td>";
|
'<a href="' . esc_url( get_home_url( $blog->userblog_id ) ). '">' . __( 'View Site' ) . '</a></td>';
|
||||||
$output .= "<td valign='top'>";
|
$output .= '</tr>';
|
||||||
$output .= "<a href='" . esc_url( get_admin_url( $blog->userblog_id ) ) . "'>" . __( 'Visit Dashboard' ) . "</a> | <a href='" . esc_url( get_home_url( $blog->userblog_id ) ). "'>" . __( 'View Site' ) . "</a>" ;
|
|
||||||
$output .= "</td>";
|
|
||||||
$output .= "</tr>";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$output .= '</table>';
|
$output .= '</table>';
|
||||||
|
|
||||||
wp_die( $output );
|
wp_die( $output );
|
||||||
|
@ -1167,7 +1167,7 @@ function do_settings_fields($page, $section) {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
foreach ( (array) $wp_settings_fields[$page][$section] as $field ) {
|
foreach ( (array) $wp_settings_fields[$page][$section] as $field ) {
|
||||||
echo '<tr valign="top">';
|
echo '<tr>';
|
||||||
if ( !empty($field['args']['label_for']) )
|
if ( !empty($field['args']['label_for']) )
|
||||||
echo '<th scope="row"><label for="' . esc_attr( $field['args']['label_for'] ) . '">' . $field['title'] . '</label></th>';
|
echo '<th scope="row"><label for="' . esc_attr( $field['args']['label_for'] ) . '">' . $field['title'] . '</label></th>';
|
||||||
else
|
else
|
||||||
@ -2021,4 +2021,4 @@ function wp_star_rating( $args = array() ) {
|
|||||||
echo str_repeat( '<div class="star star-half"></div>', $half_stars );
|
echo str_repeat( '<div class="star star-half"></div>', $half_stars );
|
||||||
echo str_repeat( '<div class="star star-empty"></div>', $empty_stars);
|
echo str_repeat( '<div class="star star-empty"></div>', $empty_stars);
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
@ -91,7 +91,7 @@ else :
|
|||||||
*/
|
*/
|
||||||
$settings_html = apply_filters( 'myblogs_options', '', 'global' );
|
$settings_html = apply_filters( 'myblogs_options', '', 'global' );
|
||||||
if ( $settings_html != '' ) {
|
if ( $settings_html != '' ) {
|
||||||
echo '<tr><td valign="top"><h3>' . __( 'Global Settings' ) . '</h3></td><td>';
|
echo '<tr><td><h3>' . __( 'Global Settings' ) . '</h3></td><td>';
|
||||||
echo $settings_html;
|
echo $settings_html;
|
||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
}
|
}
|
||||||
@ -116,7 +116,7 @@ else :
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
foreach ( $row as $user_blog ) {
|
foreach ( $row as $user_blog ) {
|
||||||
$s = $i == 3 ? '' : 'border-right: 1px solid #ccc;';
|
$s = $i == 3 ? '' : 'border-right: 1px solid #ccc;';
|
||||||
echo "<td valign='top' style='$s'>";
|
echo "<td style='$s'>";
|
||||||
echo "<h3>{$user_blog->blogname}</h3>";
|
echo "<h3>{$user_blog->blogname}</h3>";
|
||||||
/**
|
/**
|
||||||
* Filter the row links displayed for each site on the My Sites screen.
|
* Filter the row links displayed for each site on the My Sites screen.
|
||||||
|
@ -89,14 +89,14 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
<?php wp_nonce_field( 'siteoptions' ); ?>
|
<?php wp_nonce_field( 'siteoptions' ); ?>
|
||||||
<h3><?php _e( 'Operational Settings' ); ?></h3>
|
<h3><?php _e( 'Operational Settings' ); ?></h3>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="site_name"><?php _e( 'Network Title' ) ?></label></th>
|
<th scope="row"><label for="site_name"><?php _e( 'Network Title' ) ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input name="site_name" type="text" id="site_name" class="regular-text" value="<?php echo esc_attr( $current_site->site_name ) ?>" />
|
<input name="site_name" type="text" id="site_name" class="regular-text" value="<?php echo esc_attr( $current_site->site_name ) ?>" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="admin_email"><?php _e( 'Network Admin Email' ) ?></label></th>
|
<th scope="row"><label for="admin_email"><?php _e( 'Network Admin Email' ) ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input name="admin_email" type="text" id="admin_email" class="regular-text" value="<?php echo esc_attr( get_site_option('admin_email') ) ?>" />
|
<input name="admin_email" type="text" id="admin_email" class="regular-text" value="<?php echo esc_attr( get_site_option('admin_email') ) ?>" />
|
||||||
@ -108,7 +108,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
</table>
|
</table>
|
||||||
<h3><?php _e( 'Registration Settings' ); ?></h3>
|
<h3><?php _e( 'Registration Settings' ); ?></h3>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Allow new registrations' ) ?></th>
|
<th scope="row"><?php _e( 'Allow new registrations' ) ?></th>
|
||||||
<?php
|
<?php
|
||||||
if ( !get_site_option( 'registration' ) )
|
if ( !get_site_option( 'registration' ) )
|
||||||
@ -128,7 +128,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Registration notification' ) ?></th>
|
<th scope="row"><?php _e( 'Registration notification' ) ?></th>
|
||||||
<?php
|
<?php
|
||||||
if ( !get_site_option( 'registrationnotification' ) )
|
if ( !get_site_option( 'registrationnotification' ) )
|
||||||
@ -139,14 +139,14 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top" id="addnewusers">
|
<tr id="addnewusers">
|
||||||
<th scope="row"><?php _e( 'Add New Users' ) ?></th>
|
<th scope="row"><?php _e( 'Add New Users' ) ?></th>
|
||||||
<td>
|
<td>
|
||||||
<label><input name="add_new_users" type="checkbox" id="add_new_users" value="1"<?php checked( get_site_option( 'add_new_users' ) ) ?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users → Add New" page.' ); ?></label>
|
<label><input name="add_new_users" type="checkbox" id="add_new_users" value="1"<?php checked( get_site_option( 'add_new_users' ) ) ?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users → Add New" page.' ); ?></label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="illegal_names"><?php _e( 'Banned Names' ) ?></label></th>
|
<th scope="row"><label for="illegal_names"><?php _e( 'Banned Names' ) ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input name="illegal_names" type="text" id="illegal_names" class="large-text" value="<?php echo esc_attr( implode( " ", (array) get_site_option( 'illegal_names' ) ) ); ?>" size="45" />
|
<input name="illegal_names" type="text" id="illegal_names" class="large-text" value="<?php echo esc_attr( implode( " ", (array) get_site_option( 'illegal_names' ) ) ); ?>" size="45" />
|
||||||
@ -156,7 +156,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="limited_email_domains"><?php _e( 'Limited Email Registrations' ) ?></label></th>
|
<th scope="row"><label for="limited_email_domains"><?php _e( 'Limited Email Registrations' ) ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<?php $limited_email_domains = get_site_option( 'limited_email_domains' );
|
<?php $limited_email_domains = get_site_option( 'limited_email_domains' );
|
||||||
@ -169,7 +169,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="banned_email_domains"><?php _e('Banned Email Domains') ?></label></th>
|
<th scope="row"><label for="banned_email_domains"><?php _e('Banned Email Domains') ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="banned_email_domains" id="banned_email_domains" cols="45" rows="5">
|
<textarea name="banned_email_domains" id="banned_email_domains" cols="45" rows="5">
|
||||||
@ -184,7 +184,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
<h3><?php _e('New Site Settings'); ?></h3>
|
<h3><?php _e('New Site Settings'); ?></h3>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="welcome_email"><?php _e( 'Welcome Email' ) ?></label></th>
|
<th scope="row"><label for="welcome_email"><?php _e( 'Welcome Email' ) ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="welcome_email" id="welcome_email" rows="5" cols="45" class="large-text">
|
<textarea name="welcome_email" id="welcome_email" rows="5" cols="45" class="large-text">
|
||||||
@ -194,7 +194,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="welcome_user_email"><?php _e( 'Welcome User Email' ) ?></label></th>
|
<th scope="row"><label for="welcome_user_email"><?php _e( 'Welcome User Email' ) ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="welcome_user_email" id="welcome_user_email" rows="5" cols="45" class="large-text">
|
<textarea name="welcome_user_email" id="welcome_user_email" rows="5" cols="45" class="large-text">
|
||||||
@ -204,7 +204,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="first_post"><?php _e( 'First Post' ) ?></label></th>
|
<th scope="row"><label for="first_post"><?php _e( 'First Post' ) ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="first_post" id="first_post" rows="5" cols="45" class="large-text">
|
<textarea name="first_post" id="first_post" rows="5" cols="45" class="large-text">
|
||||||
@ -214,7 +214,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="first_page"><?php _e( 'First Page' ) ?></label></th>
|
<th scope="row"><label for="first_page"><?php _e( 'First Page' ) ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="first_page" id="first_page" rows="5" cols="45" class="large-text">
|
<textarea name="first_page" id="first_page" rows="5" cols="45" class="large-text">
|
||||||
@ -224,7 +224,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="first_comment"><?php _e( 'First Comment' ) ?></label></th>
|
<th scope="row"><label for="first_comment"><?php _e( 'First Comment' ) ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<textarea name="first_comment" id="first_comment" rows="5" cols="45" class="large-text">
|
<textarea name="first_comment" id="first_comment" rows="5" cols="45" class="large-text">
|
||||||
@ -234,7 +234,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></th>
|
<th scope="row"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" size="40" name="first_comment_author" id="first_comment_author" value="<?php echo get_site_option('first_comment_author') ?>" />
|
<input type="text" size="40" name="first_comment_author" id="first_comment_author" value="<?php echo get_site_option('first_comment_author') ?>" />
|
||||||
@ -243,7 +243,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="first_comment_url"><?php _e( 'First Comment URL' ) ?></label></th>
|
<th scope="row"><label for="first_comment_url"><?php _e( 'First Comment URL' ) ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" size="40" name="first_comment_url" id="first_comment_url" value="<?php echo esc_attr( get_site_option( 'first_comment_url' ) ) ?>" />
|
<input type="text" size="40" name="first_comment_url" id="first_comment_url" value="<?php echo esc_attr( get_site_option( 'first_comment_url' ) ) ?>" />
|
||||||
@ -255,19 +255,19 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
</table>
|
</table>
|
||||||
<h3><?php _e( 'Upload Settings' ); ?></h3>
|
<h3><?php _e( 'Upload Settings' ); ?></h3>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Site upload space' ) ?></th>
|
<th scope="row"><?php _e( 'Site upload space' ) ?></th>
|
||||||
<td>
|
<td>
|
||||||
<label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( get_site_option( 'upload_space_check_disabled' ), 0 ) ?>/> <?php printf( __( 'Limit total size of files uploaded to %s MB' ), '</label><label><input name="blog_upload_space" type="number" min="0" style="width: 100px" id="blog_upload_space" value="' . esc_attr( get_site_option('blog_upload_space', 100) ) . '" />' ); ?></label><br />
|
<label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( get_site_option( 'upload_space_check_disabled' ), 0 ) ?>/> <?php printf( __( 'Limit total size of files uploaded to %s MB' ), '</label><label><input name="blog_upload_space" type="number" min="0" style="width: 100px" id="blog_upload_space" value="' . esc_attr( get_site_option('blog_upload_space', 100) ) . '" />' ); ?></label><br />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="upload_filetypes"><?php _e( 'Upload file types' ) ?></label></th>
|
<th scope="row"><label for="upload_filetypes"><?php _e( 'Upload file types' ) ?></label></th>
|
||||||
<td><input name="upload_filetypes" type="text" id="upload_filetypes" class="large-text" value="<?php echo esc_attr( get_site_option('upload_filetypes', 'jpg jpeg png gif') ) ?>" size="45" /></td>
|
<td><input name="upload_filetypes" type="text" id="upload_filetypes" class="large-text" value="<?php echo esc_attr( get_site_option('upload_filetypes', 'jpg jpeg png gif') ) ?>" size="45" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="fileupload_maxk"><?php _e( 'Max upload file size' ) ?></label></th>
|
<th scope="row"><label for="fileupload_maxk"><?php _e( 'Max upload file size' ) ?></label></th>
|
||||||
<td><?php printf( _x( '%s KB', 'File size in kilobytes' ), '<input name="fileupload_maxk" type="number" min="0" style="width: 100px" id="fileupload_maxk" value="' . esc_attr( get_site_option( 'fileupload_maxk', 300 ) ) . '" />' ); ?></td>
|
<td><?php printf( _x( '%s KB', 'File size in kilobytes' ), '<input name="fileupload_maxk" type="number" min="0" style="width: 100px" id="fileupload_maxk" value="' . esc_attr( get_site_option( 'fileupload_maxk', 300 ) ) . '" />' ); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -280,7 +280,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
?>
|
?>
|
||||||
<h3><?php _e( 'Language Settings' ); ?></h3>
|
<h3><?php _e( 'Language Settings' ); ?></h3>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th><label for="WPLANG"><?php _e( 'Default Language' ); ?></label></th>
|
<th><label for="WPLANG"><?php _e( 'Default Language' ); ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<select name="WPLANG" id="WPLANG">
|
<select name="WPLANG" id="WPLANG">
|
||||||
@ -295,7 +295,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
|
|
||||||
<h3><?php _e( 'Menu Settings' ); ?></h3>
|
<h3><?php _e( 'Menu Settings' ); ?></h3>
|
||||||
<table id="menu" class="form-table">
|
<table id="menu" class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Enable administration menus' ); ?></th>
|
<th scope="row"><?php _e( 'Enable administration menus' ); ?></th>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
|
@ -37,7 +37,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
<?php settings_fields('discussion'); ?>
|
<?php settings_fields('discussion'); ?>
|
||||||
|
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Default article settings'); ?></th>
|
<th scope="row"><?php _e('Default article settings'); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Default article settings'); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Default article settings'); ?></span></legend>
|
||||||
<label for="default_pingback_flag">
|
<label for="default_pingback_flag">
|
||||||
@ -55,7 +55,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
<p class="description"><?php echo '(' . __( 'These settings may be overridden for individual articles.' ) . ')'; ?></p>
|
<p class="description"><?php echo '(' . __( 'These settings may be overridden for individual articles.' ) . ')'; ?></p>
|
||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Other comment settings'); ?></th>
|
<th scope="row"><?php _e('Other comment settings'); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Other comment settings'); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Other comment settings'); ?></span></legend>
|
||||||
<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>
|
||||||
@ -123,7 +123,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||||||
?></label>
|
?></label>
|
||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('E-mail me whenever'); ?></th>
|
<th scope="row"><?php _e('E-mail me whenever'); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('E-mail me whenever'); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('E-mail me whenever'); ?></span></legend>
|
||||||
<label for="comments_notify">
|
<label for="comments_notify">
|
||||||
@ -135,7 +135,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||||||
<?php _e('A comment is held for moderation'); ?> </label>
|
<?php _e('A comment is held for moderation'); ?> </label>
|
||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Before a comment appears'); ?></th>
|
<th scope="row"><?php _e('Before a comment appears'); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Before a comment appears'); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Before a comment appears'); ?></span></legend>
|
||||||
<label for="comment_moderation">
|
<label for="comment_moderation">
|
||||||
@ -145,7 +145,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||||||
<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>
|
||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Comment Moderation'); ?></th>
|
<th scope="row"><?php _e('Comment Moderation'); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation'); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation'); ?></span></legend>
|
||||||
<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="number" step="1" min="0" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ); ?></label></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="number" step="1" min="0" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ); ?></label></p>
|
||||||
@ -156,7 +156,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||||||
</p>
|
</p>
|
||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Comment Blacklist'); ?></th>
|
<th scope="row"><?php _e('Comment Blacklist'); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist'); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist'); ?></span></legend>
|
||||||
<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><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>
|
||||||
@ -175,7 +175,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||||||
<?php // the above would be a good place to link to codex documentation on the gravatar functions, for putting it in themes. anything like that? ?>
|
<?php // the above would be a good place to link to codex documentation on the gravatar functions, for putting it in themes. anything like that? ?>
|
||||||
|
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Avatar Display'); ?></th>
|
<th scope="row"><?php _e('Avatar Display'); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar Display'); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar Display'); ?></span></legend>
|
||||||
<label for="show_avatars">
|
<label for="show_avatars">
|
||||||
@ -184,7 +184,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||||||
</label>
|
</label>
|
||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Maximum Rating'); ?></th>
|
<th scope="row"><?php _e('Maximum Rating'); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating'); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating'); ?></span></legend>
|
||||||
|
|
||||||
@ -207,7 +207,7 @@ endforeach;
|
|||||||
|
|
||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Default Avatar'); ?></th>
|
<th scope="row"><?php _e('Default Avatar'); ?></th>
|
||||||
<td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar'); ?></span></legend>
|
<td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar'); ?></span></legend>
|
||||||
|
|
||||||
|
@ -90,45 +90,45 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
<?php settings_fields('general'); ?>
|
<?php settings_fields('general'); ?>
|
||||||
|
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="blogname"><?php _e('Site Title') ?></label></th>
|
<th scope="row"><label for="blogname"><?php _e('Site Title') ?></label></th>
|
||||||
<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" class="regular-text" /></td>
|
<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" class="regular-text" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th>
|
<th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th>
|
||||||
<td><input name="blogdescription" type="text" id="blogdescription" value="<?php form_option('blogdescription'); ?>" class="regular-text" />
|
<td><input name="blogdescription" type="text" id="blogdescription" value="<?php form_option('blogdescription'); ?>" class="regular-text" />
|
||||||
<p class="description"><?php _e('In a few words, explain what this site is about.') ?></p></td>
|
<p class="description"><?php _e('In a few words, explain what this site is about.') ?></p></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php if ( !is_multisite() ) { ?>
|
<?php if ( !is_multisite() ) { ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="siteurl"><?php _e('WordPress Address (URL)') ?></label></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'); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php if ( defined( 'WP_SITEURL' ) ) echo ' disabled' ?>" /></td>
|
<td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php if ( defined( 'WP_SITEURL' ) ) echo ' disabled' ?>" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="home"><?php _e('Site Address (URL)') ?></label></th>
|
<th scope="row"><label for="home"><?php _e('Site Address (URL)') ?></label></th>
|
||||||
<td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" />
|
<td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" />
|
||||||
<p class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></p></td>
|
<p class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></p></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></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'); ?>" class="regular-text ltr" />
|
<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
|
||||||
<p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td>
|
<p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Membership') ?></th>
|
<th scope="row"><?php _e('Membership') ?></th>
|
||||||
<td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register">
|
<td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></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>
|
<?php _e('Anyone can register') ?></label>
|
||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="default_role"><?php _e('New User Default Role') ?></label></th>
|
<th scope="row"><label for="default_role"><?php _e('New User Default Role') ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select>
|
<select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
|
<th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
|
||||||
<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
|
<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
|
||||||
<p class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></p>
|
<p class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></p>
|
||||||
@ -306,7 +306,7 @@ endfor;
|
|||||||
$languages = get_available_languages();
|
$languages = get_available_languages();
|
||||||
if ( is_multisite() && !empty( $languages ) ):
|
if ( is_multisite() && !empty( $languages ) ):
|
||||||
?>
|
?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th width="33%" scope="row"><?php _e('Site Language') ?></th>
|
<th width="33%" scope="row"><?php _e('Site Language') ?></th>
|
||||||
<td>
|
<td>
|
||||||
<select name="WPLANG" id="WPLANG">
|
<select name="WPLANG" id="WPLANG">
|
||||||
|
@ -49,7 +49,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
<p><?php _e( 'The sizes listed below determine the maximum dimensions in pixels to use when adding an image to the Media Library.' ); ?></p>
|
<p><?php _e( 'The sizes listed below determine the maximum dimensions in pixels to use when adding an image to the Media Library.' ); ?></p>
|
||||||
|
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Thumbnail size') ?></th>
|
<th scope="row"><?php _e('Thumbnail size') ?></th>
|
||||||
<td>
|
<td>
|
||||||
<label for="thumbnail_size_w"><?php _e('Width'); ?></label>
|
<label for="thumbnail_size_w"><?php _e('Width'); ?></label>
|
||||||
@ -61,7 +61,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Medium size') ?></th>
|
<th scope="row"><?php _e('Medium size') ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size'); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size'); ?></span></legend>
|
||||||
<label for="medium_size_w"><?php _e('Max Width'); ?></label>
|
<label for="medium_size_w"><?php _e('Max Width'); ?></label>
|
||||||
@ -71,7 +71,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Large size') ?></th>
|
<th scope="row"><?php _e('Large size') ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size'); ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size'); ?></span></legend>
|
||||||
<label for="large_size_w"><?php _e('Max Width'); ?></label>
|
<label for="large_size_w"><?php _e('Max Width'); ?></label>
|
||||||
@ -98,14 +98,14 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
// If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty)
|
// If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty)
|
||||||
if ( get_option('upload_url_path') || ( get_option('upload_path') != 'wp-content/uploads' && get_option('upload_path') ) ) :
|
if ( get_option('upload_url_path') || ( get_option('upload_path') != 'wp-content/uploads' && get_option('upload_path') ) ) :
|
||||||
?>
|
?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></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" value="<?php echo esc_attr(get_option('upload_path')); ?>" class="regular-text code" />
|
<td><input name="upload_path" type="text" id="upload_path" value="<?php echo esc_attr(get_option('upload_path')); ?>" class="regular-text code" />
|
||||||
<p class="description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></p>
|
<p class="description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
|
<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
|
||||||
<td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo esc_attr( get_option('upload_url_path')); ?>" class="regular-text code" />
|
<td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo esc_attr( get_option('upload_url_path')); ?>" class="regular-text code" />
|
||||||
<p class="description"><?php _e('Configuring this is optional. By default, it should be blank.'); ?></p>
|
<p class="description"><?php _e('Configuring this is optional. By default, it should be blank.'); ?></p>
|
||||||
|
@ -99,7 +99,7 @@ else :
|
|||||||
update_option( 'show_on_front', 'posts' );
|
update_option( 'show_on_front', 'posts' );
|
||||||
?>
|
?>
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e( 'Front page displays' ); ?></th>
|
<th scope="row"><?php _e( 'Front page displays' ); ?></th>
|
||||||
<td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Front page displays' ); ?></span></legend>
|
<td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Front page displays' ); ?></span></legend>
|
||||||
<p><label>
|
<p><label>
|
||||||
@ -122,17 +122,17 @@ else :
|
|||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="posts_per_page"><?php _e( 'Blog pages show at most' ); ?></label></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="number" step="1" min="1" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> <?php _e( 'posts' ); ?>
|
<input name="posts_per_page" type="number" step="1" min="1" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> <?php _e( 'posts' ); ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="posts_per_rss"><?php _e( 'Syndication feeds show the most recent' ); ?></label></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="number" step="1" min="1" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /> <?php _e( 'items' ); ?></td>
|
<td><input name="posts_per_rss" type="number" step="1" min="1" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /> <?php _e( 'items' ); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<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><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each article in a feed, show' ); ?> </span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each article in a feed, show' ); ?> </span></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 />
|
||||||
@ -140,7 +140,7 @@ else :
|
|||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr valign="top" class="option-site-visibility">
|
<tr class="option-site-visibility">
|
||||||
<th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </th>
|
<th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend>
|
||||||
<?php if ( has_action( 'blog_privacy_selector' ) ) : ?>
|
<?php if ( has_action( 'blog_privacy_selector' ) ) : ?>
|
||||||
|
@ -68,7 +68,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
<?php settings_fields('writing'); ?>
|
<?php settings_fields('writing'); ?>
|
||||||
|
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><?php _e('Formatting') ?></th>
|
<th scope="row"><?php _e('Formatting') ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend>
|
||||||
<label for="use_smilies">
|
<label for="use_smilies">
|
||||||
@ -77,7 +77,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
<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>
|
||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="default_category"><?php _e('Default Post Category') ?></label></th>
|
<th scope="row"><label for="default_category"><?php _e('Default Post Category') ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
@ -89,7 +89,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_category', 'o
|
|||||||
$post_formats = get_post_format_strings();
|
$post_formats = get_post_format_strings();
|
||||||
unset( $post_formats['standard'] );
|
unset( $post_formats['standard'] );
|
||||||
?>
|
?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="default_post_format"><?php _e('Default Post Format') ?></label></th>
|
<th scope="row"><label for="default_post_format"><?php _e('Default Post Format') ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<select name="default_post_format" id="default_post_format">
|
<select name="default_post_format" id="default_post_format">
|
||||||
@ -103,7 +103,7 @@ unset( $post_formats['standard'] );
|
|||||||
<?php
|
<?php
|
||||||
if ( get_option( 'link_manager_enabled' ) ) :
|
if ( get_option( 'link_manager_enabled' ) ) :
|
||||||
?>
|
?>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="default_link_category"><?php _e('Default Link Category') ?></label></th>
|
<th scope="row"><label for="default_link_category"><?php _e('Default Link Category') ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
@ -137,24 +137,24 @@ if ( apply_filters( 'enable_post_by_email_configuration', true ) ) {
|
|||||||
<p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three random strings you could use: <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?></p>
|
<p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three random strings you could use: <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?></p>
|
||||||
|
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="mailserver_url"><?php _e('Mail Server') ?></label></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'); ?>" class="regular-text code" />
|
<td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" class="regular-text code" />
|
||||||
<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'); ?>" class="small-text" />
|
<input name="mailserver_port" type="text" id="mailserver_port" value="<?php form_option('mailserver_port'); ?>" class="small-text" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="mailserver_login"><?php _e('Login Name') ?></label></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'); ?>" class="regular-text ltr" /></td>
|
<td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" class="regular-text ltr" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="mailserver_pass"><?php _e('Password') ?></label></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'); ?>" class="regular-text ltr" />
|
<input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php form_option('mailserver_pass'); ?>" class="regular-text ltr" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr valign="top">
|
<tr>
|
||||||
<th scope="row"><label for="default_email_category"><?php _e('Default Mail Category') ?></label></th>
|
<th scope="row"><label for="default_email_category"><?php _e('Default Mail Category') ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
|
Loading…
Reference in New Issue
Block a user