Advertisement
Guest User

Untitled

a guest
Apr 8th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. been digging thru this:
  2.  
  3. plugins/wallets/includes/views/withdraw/default.php
  4.  
  5. i see this :
  6. `<tr>
  7. <td colspan="6">
  8. <label class="address">Withdraw to address: <input type="text" required="required" data-bind="value: withdrawAddress" /></label>
  9. </td>
  10. </tr>
  11.  
  12. <tr>
  13. <td colspan="6">
  14. <p class="validationMessage" data-bind="validationMessage: withdrawAddress"></p>
  15. </td>
  16. </tr>
  17.  
  18. <tr>
  19. <td colspan="6">
  20. <label class="extra"><span data-bind="html: withdrawExtraDesc"></span>: <input type="text" data-bind="value: withdrawExtra" /></label>
  21. </td>
  22. </tr>`
  23.  
  24. not knowing knockout.js i do not want to mess anything up.
  25.  
  26. what can i delete? im worried about screwing something up if i delet any of this, but it would be a hidden :withdraw address"
  27.  
  28. also `data-bind="value: withdrawAddress"` could that be `data-bind="value: <?php echo $withdrawAddress; ?>`
  29.  
  30. of course i would use the info here:
  31. https://www.dashed-slug.net/forums/topic/how-can-i-set-default-withdrawal-address/#post-4206
  32.  
  33. to set up as a template and do shortcode example [wallets_withdraw template="toadmin"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement