Guest User

Untitled

a guest
May 1st, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. <div class="hidden">
  2. <input type="radio" id="wantpartneryes" class="wantpartner" name="wantpartner" value='1' title="<?php echo $helper->__('Agree as Seller') ?>" /> <?php echo $helper->__("Yes"); ?>&nbsp;&nbsp;
  3. <input type="radio" id="wantpartner" class="wantpartner" name="wantpartner" value='0' title="<?php echo $helper->__('Disagree as Seller') ?>" /> <?php echo $helper->__("No"); ?>
  4. </div>
  5.  
  6.  
  7. <script>
  8. var $wk_jq=jQuery.noConflict();
  9. $wk_jq("#wantpartneryes").prop("checked", true);
  10. $wk_jq("#wantpartneryes").trigger("change");
  11. $wk_jq('.button').attr('disabled','disabled');
  12. $username=$wk_jq('<li/>').addClass('profileurl')
  13. .append($wk_jq('<label/>')
  14. .addClass('required')
  15. .text('<?php echo $helper->__('reFashion Name'); ?>')
  16. .append($wk_jq('<em/>').text('*')))
  17. .append('<?php echo $shopurl_hint ?>')
  18. .append($wk_jq('<div/>')
  19. .addClass('input-box')
  20. .append($wk_jq('<input/>').addClass('input-text')
  21. .attr('title','<?php echo $helper->__(' Your reFashion profile name ')?>')
  22. .addClass('required-entry')
  23. .attr('type','text')
  24. .attr('name','profileurl'))
  25. .append($wk_jq('<span/>')
  26. .text('<?php echo $helper->__(" (Displayed in your public profile) ")?>')
  27. .addClass('required-entry')
  28. .attr('type','text'))
  29. )
  30. .append($wk_jq('<div/>')
  31. .attr('id','wk_load_conf')
  32. .append($wk_jq('<img/>')
  33. .attr('src','<?php echo $this->getSkinUrl('marketplace/images/ajax-loader-tr.gif'); ?>')
  34. .attr('height','20px')
  35. .attr('width','20px')));
  36. //$wk_jq('#wantptr').next('li').after($username);
  37. $wk_jq('#wantptr').after($username);
  38. </script>
Add Comment
Please, Sign In to add comment