Changeset 4331
- Timestamp:
- 10/04/2006 11:28:52 AM (18 years ago)
- Location:
- branches/2.0/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-admin/options.php
r4229 r4331 142 142 <div class="wrap"> 143 143 <h2><?php _e('All options'); ?></h2> 144 <form name="form" action="options.php" method="post" >144 <form name="form" action="options.php" method="post" id="all-options"> 145 145 <?php wp_nonce_field('update-options') ?> 146 146 <input type="hidden" name="action" value="update" /> … … 154 154 <tr> 155 155 <th scope='row'><label for='$option->option_name'>$option->option_name</label></th> 156 <td><input type='text' name='$option->option_name' id='$option->option_name' size='30' value='" . $value . "' /></td> 156 <td>"; 157 158 if (stristr($value, "\n")) echo "<textarea name='$option->option_name' id='$option->option_name' cols='30' rows='5'>$value</textarea>"; 159 else echo "<input type='text' name='$option->option_name' id='$option->option_name' size='30' value='" . $value . "' />"; 160 161 echo "</td> 157 162 <td>$option->option_description</td> 158 163 </tr>"; -
branches/2.0/wp-admin/wp-admin.css
r4002 r4331 356 356 table .vers, table .name { 357 357 text-align: center; 358 } 359 360 #all-options textarea, #all-options input { 361 width: 250px; 358 362 } 359 363
Note: See TracChangeset
for help on using the changeset viewer.