Log in with username/password: lyceum/lyceum

Changeset 1063

Show
Ignore:
Timestamp:
08/16/07 23:45:19 (1 year ago)
Author:
jjb
Message:

Using WordPress? supplied options array/list for token validation, which is interestingly similar to changes I implemented in r696. In fact the incoming post variable is identical.

#750

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/lyceum/wp-admin/options.php

    r1062 r1063  
    233233      $options_to_update[] = $option->option_name; 
    234234      $class = 'all-options'; 
    235    } 
    236    $page_options[] = $option->option_name; 
     235      
     236   } 
    237237   echo " 
    238238<tr> 
     
    247247</tr>"; 
    248248endforeach; 
    249 $page_options_list = implode(',',$page_options); 
    250249?> 
    251250  </table> 
    252 <<<<<<< .working 
    253    <input type="hidden" name="page_options" value="<?php echo $page_options_list ?>" /> 
    254    <?php echo tokeninput('options.php', 'update', $page_options_list)?> 
    255 <p class="submit"><input type="submit" name="Update" value="<?php _e('Update Settings &raquo;') ?>" /></p> 
    256 ======= 
    257251<?php $options_to_update = implode(',', $options_to_update); ?> 
     252<?php echo tokeninput('options.php', 'update', $options_to_update)?> 
    258253<p class="submit"><input type="hidden" name="page_options" value="<?php echo $options_to_update; ?>" /><input type="submit" name="Update" value="<?php _e('Update Options &raquo;') ?>" /></p> 
    259 >>>>>>> .merge-right.r4890 
    260254  </form> 
    261255</div> 
Log in with username/password: lyceum/lyceum