Changeset 9390 for trunk/wp-admin/options.php
- Timestamp:
- 10/28/2008 10:07:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options.php
r9368 r9390 92 92 <input type='hidden' name='option_page' value='options' /> 93 93 <p class="submit submit-top"> 94 <input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" class="button " />94 <input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" class="button-primary" /> 95 95 </p> 96 96 <table class="form-table"> … … 123 123 124 124 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>"; 125 else echo "<input class=' $class' type='text' name='$option->option_name' id='$option->option_name' size='30' value='" . attribute_escape($value) . "'$disabled />";125 else echo "<input class='regular-text $class' type='text' name='$option->option_name' id='$option->option_name' value='" . attribute_escape($value) . "'$disabled />"; 126 126 127 127 echo "</td> … … 131 131 </table> 132 132 <?php $options_to_update = implode(',', $options_to_update); ?> 133 <p class="submit"><input type="hidden" name="page_options" value="<?php echo $options_to_update; ?>" /><input type="submit" name="Update" value="<?php _e('Save Changes') ?>" /></p>133 <p class="submit"><input type="hidden" name="page_options" value="<?php echo $options_to_update; ?>" /><input type="submit" name="Update" value="<?php _e('Save Changes') ?>" class="button-primary" /></p> 134 134 </form> 135 135 </div>
Note: See TracChangeset
for help on using the changeset viewer.