mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 08:33:35 +01:00
Styling updates for the options.php. Fixes #5958 props fitztrev.
git-svn-id: https://develop.svn.wordpress.org/trunk@6979 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0bea8b6483
commit
f843a57e06
@ -48,7 +48,7 @@ default:
|
||||
<form name="form" action="options.php" method="post" id="all-options">
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<table width="98%">
|
||||
<table class="niceblue">
|
||||
<?php
|
||||
$options = $wpdb->get_results("SELECT * FROM $wpdb->options ORDER BY option_name");
|
||||
|
||||
@ -73,7 +73,7 @@ foreach ( (array) $options as $option) :
|
||||
}
|
||||
echo "
|
||||
<tr>
|
||||
<th scope='row'><label for='$option->option_name'>$option->option_name</label></th>
|
||||
<th scope='row'>$option->option_name</th>
|
||||
<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>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user