Changeset 1442334
- Timestamp:
- 06/23/2016 09:25:58 AM (10 years ago)
- File:
-
- 1 edited
-
boxrunner/trunk/ichain.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
boxrunner/trunk/ichain.php
r1442237 r1442334 605 605 } 606 606 if ($info->Success==true) { 607 boxrunner_admin_notice_connect__success();607 wc_bxr_boxrunner_admin_notice_connect__success(); 608 608 }else{ 609 boxrunner_admin_notice_connect__error();609 wc_bxr_boxrunner_admin_notice_connect__error(); 610 610 } 611 611 } … … 658 658 ), array('%d') 659 659 ); 660 boxrunner_admin_notice__success();660 wc_bxr_boxrunner_admin_notice__success(); 661 661 } 662 662 } … … 702 702 WHERE user_id = $user_id", $user_id), ARRAY_A); 703 703 704 if ($bxr_key !=null) { 705 $consumer_key=$bxr_key[consumer_key]; 706 $consumer_secret=$bxr_key[consumer_secret]; 707 } 704 708 /* Get corrent user id's */ 705 709 … … 815 819 <?php } ?> 816 820 817 <?php if ($ bxr_key[consumer_key]== null ||$bxr_key[consumer_secret]==null) { ?>821 <?php if ($consumer_key== null ||$consumer_secret==null) { ?> 818 822 <div class="updated" style="padding: 10px;font-size: 13px;font-weight: 700;">You have not generated API keys. Please generate it.<span style="font-size: 12px;"> ( User -> User name -> Edit user -> Enable generate API keys )</span></div> 819 823 <?php } ?> … … 832 836 </th> 833 837 <td> 834 <input readonly name="consumer-key" type="text" id="consumer-key" aria-describedby="tagline-description" value="<?php print_r( $bxr_key[consumer_key]); ?>" class="regular-text">838 <input readonly name="consumer-key" type="text" id="consumer-key" aria-describedby="tagline-description" value="<?php print_r($consumer_key); ?>" class="regular-text"> 835 839 </td> 836 840 </tr> … … 840 844 </th> 841 845 <td> 842 <input readonly name="consumer-secret" type="text" id="consumer-secret" aria-describedby="tagline-description" value="<?php print_r( $bxr_key[consumer_secret]); ?>" class="regular-text">846 <input readonly name="consumer-secret" type="text" id="consumer-secret" aria-describedby="tagline-description" value="<?php print_r($consumer_secret); ?>" class="regular-text"> 843 847 </td> 844 848 </tr>
Note: See TracChangeset
for help on using the changeset viewer.