Changeset 884544
- Timestamp:
- 03/30/2014 09:41:35 AM (12 years ago)
- File:
-
- 1 edited
-
instamojo/trunk/option.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
instamojo/trunk/option.php
r884496 r884544 67 67 echo '<div class="update-nag"><p>You have already authenticated your account with us. If you wish to switch accounts then enter your details again.</p></div>'; 68 68 } 69 else 70 { 71 echo '<div class="error"><p>Please authenticate your account first before you use the Instamojo Widget.</p></div>'; 72 } 69 73 ?> 70 74 <div class="wrap"> … … 94 98 </table> 95 99 <p class="submit"> 96 <input type="submit" name="submit" id="submit" class="button button-primary <?php if ($this->_options['auth_token']) echo '-disabled'; ?>" value="<?php _e('Authenticate'); ?>" />100 <input type="submit" name="submit" id="submit" class="button button-primary" value="<?php _e('Authenticate'); ?>" /> 97 101 </p> 98 102 </form> … … 101 105 <form method="post" action="" id="instamojo-token-revoke"> 102 106 <p class="submit"> 103 <input type="submit" name="revoke" id="revoke-button" class="button button-secondary" value="<?php _e('Revoke Token'); ?>" />107 <input type="submit" name="revoke" id="revoke-button" class="button button-secondary" value="<?php _e('Revoke Token'); ?>" <?php if (!$this->_options['auth_token']) echo 'disabled'; ?> /> 104 108 </p> 105 109 </form>
Note: See TracChangeset
for help on using the changeset viewer.