Plugin Directory

Changeset 832195


Ignore:
Timestamp:
01/03/2014 11:30:39 AM (12 years ago)
Author:
Henrik.Schack
Message:

Tabindex removed
Depricated stuff remove/replaced

File:
1 edited

Legend:

Unmodified
Added
Removed
  • yubikey-plugin/trunk/yubikey.php

    r575554 r832195  
    55Description: Yubikey Multi-Factor Authentication with One-time Passwords for Wordpress.
    66Author: Henrik Schack
    7 Version: 0.95
     7Version: 0.96
    88Author URI: http://henrik.schack.dk/
    9 Compatibility : WordPress 3.4.1
     9Compatibility : WordPress 3.8
    1010
    1111----------------------------------------------------------------------------
     
    4646  echo "<p>";
    4747  echo "<label><a href=\"http://www.yubico.com/products/yubikey/\" target=\"_blank\" title=\"".__('If You don\'t have a Yubikey enabled for Your Wordpress account, leave this field empty.','yubikey')."\">".__('Yubikey OTP','yubikey')."</a><br />";
    48   echo "<input type=\"text\" name=\"otp\" id=\"user_email\" class=\"input\" value=\"\" size=\"20\" tabindex=\"25\"/></label>";
     48  echo "<input type=\"text\" name=\"otp\" id=\"user_email\" class=\"input\" value=\"\" size=\"20\"/></label>";
    4949  echo "</p>";
    5050}
     
    139139 */
    140140function yubikey_admin() {
    141     add_options_page('Yubikey', 'Yubikey', 8, 'yubikey', 'yubikey_options_page');
     141    add_options_page('Yubikey', 'Yubikey', 'manage_options', 'yubikey', 'yubikey_options_page');
    142142}
    143143
     
    350350 */
    351351function yubikey_verify_hmac($response,$yubico_api_key) {
    352     $lines=split("\n",$response);
     352    $lines=explode("\n",$response);
    353353    // Create array from data
    354354    foreach ($lines as $line) {
    355         $lineparts=split("=",$line,2);
     355        $lineparts=explode("=",$line,2);
    356356        $result[$lineparts[0]]=trim($lineparts[1]);
    357357    }
Note: See TracChangeset for help on using the changeset viewer.