Advertisement
Guest User

Untitled

a guest
Aug 13th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. <div class="section sectionMain">
  2. <form id="xFShout{$instance.instance_id}" action="{xen:link 'xfshout/add'}" method="post">
  3.  
  4. <table class="dataTable">
  5.  
  6. <col style="width:100%; word-wrap:normal;" />
  7.  
  8. <tr class="dataRow">
  9. <th>{xen:raw $instance.title}</th>
  10. </tr>
  11. <tr class="dataRow secondaryContent">
  12. <td style="font-size:11px;" id="dbtech_xfshout_status{$instance.instance_id}">Loading...</td>
  13. </tr>
  14. <tr class="dataRow">
  15. <td valign="top"><div id="dbtech_xfshout_sticky{$instance.instance_id}"<xen:if is="{$permissions.cansetsticky}"> ondblclick="XenForo.xFShout{$instance.instance_id}.editSticky();"</xen:if>>{xen:raw $instance.sticky_parsed}</td>
  16. </tr>
  17. <tr class="dataRow">
  18. <td valign="top"><div id="dbtech_xfshout_content{$instance.instance_id}" style="height:{$instance.options.height}px; overflow:auto;"><em>Loading...</em></div></td>
  19. </tr>
  20. <xen:if is="{$permissions.canshout}">
  21. <tr class="dataRow">
  22. <td valign="top">
  23. <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
  24. <input type="hidden" name="_instance_id" value="{$instance.instance_id}" />
  25. <input type="hidden" name="_sticky" value="{xen:raw $instance.sticky}" />
  26. <div style="margin-top: 10px;">
  27. <input type="text" class="textCtrl" name="shout" style="width:100%;" maxlength="{xen:raw $instance.options.maxlength}" placeholder="{xen:phrase dbtech_xfshout_type_shout_here}" />
  28. <span style="float:left">
  29. <input type="button" name="submit" class="button" value="{xen:phrase dbtech_xfshout_shout}" />
  30. <input type="button" name="delete" class="button" value="{xen:phrase delete}" style="display:none;" />
  31. <input type="button" name="cancel" class="button" value="{xen:phrase cancel}" style="display:none;" />
  32. </span>
  33. </div>
  34. </td>
  35. </tr>
  36. </xen:if>
  37. </table>
  38. </form>
  39. </div>
  40. <script type="text/javascript" src="js/dbtech/xfshout/xfshout.js"></script>
  41. <script type="text/javascript">
  42. <!--
  43. XenForo.xFShout{$instance.instance_id} = new XenForo.xFShout($("#xFShout{$instance.instance_id}"), {$instance.options.refreshtime}, {$instance.instance_id});
  44. $("#xFShout{$instance.instance_id}").data('XenForo.xFShout{$instance.instance_id}', XenForo.xFShout{$instance.instance_id});
  45.  
  46. jQuery.extend(XenForo.phrases,
  47. {
  48. dbtech_xfshout_saving_shout: "{xen:jsescape {xen:phrase dbtech_xfshout_saving_shout}}",
  49. dbtech_xfshout_editing_shout: "{xen:jsescape {xen:phrase dbtech_xfshout_editing_shout}}",
  50. dbtech_xfshout_editing_sticky: "{xen:jsescape {xen:phrase dbtech_xfshout_editing_sticky}}",
  51. dbtech_xfshout_deleting_shout: "{xen:jsescape {xen:phrase dbtech_xfshout_deleting_shout}}",
  52. dbtech_xfshout_fetching_shouts: "{xen:jsescape {xen:phrase dbtech_xfshout_fetching_shouts}}",
  53. dbtech_xfshout_fetching_shouts_in_x_seconds: "{xen:jsescape {xen:phrase dbtech_xfshout_fetching_shouts_in_x_seconds}}",
  54. });
  55. //-->
  56. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement