Advertisement
gosunatxrea

options.txt.diff

Jul 5th, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.09 KB | None | 0 0
  1. --- options.txt.orig    Thu Jul 05 18:34:42 2012
  2. +++ options.txt Thu Jul 05 18:49:48 2012
  3. @@ -5,12 +5,12 @@
  4.       for="collapsArchShowPages"><?php _e('Show Pages as well as posts', 'collapsArch'); ?> </label>
  5.      </p>
  6.       <p><?php _e('Display archives in', 'collapsArch'); ?>
  7. -     <select name="<?php echo $this->get_field_name('sort'); ?>">
  8. -     <option  <?php if($sort=='ASC') echo 'selected'; ?>
  9. -     id="<?php echo $this->get_field_id('sort'); ?>"
  10. +     <select name="<?php echo $this->get_field_name('archSortOrder'); ?>">
  11. +     <option  <?php if($archSortOrder=='ASC') echo 'selected'; ?>
  12. +     id="<?php echo $this->get_field_id('archSortOrder'); ?>"
  13.       value='ASC'><?php _e('Chronological order', 'collapsArch'); ?></option>
  14. -     <option  <?php if($sort=='DESC') echo 'selected'; ?>
  15. -     id="<?php echo $this->get_field_id('sort'); ?>"
  16. +     <option  <?php if($archSortOrder=='DESC') echo 'selected'; ?>
  17. +     id="<?php echo $this->get_field_id('archSortOrder'); ?>"
  18.       value='DESC'><?php _e('Reverse Chronological order', 'collapsArch'); ?></option>
  19.       </select>
  20.      </p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement