KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
3.7KB

  1. {% extends "layout.twig" %}
  2. {% block title %}${ "Export" | translate }{% endblock %}
  3. {% block content %}
  4. <h2>${ "What would you like to export?" | translate }</h2>
  5. <form id="export_form" class="split" action="{% admin "export" %}" method="post" accept-charset="utf-8" enctype="multipart/form-data">
  6. <fieldset>
  7. <p>
  8. <label for="posts">${ "Posts" | translate }</label>
  9. <input class="checkbox" type="checkbox" name="posts" value="" id="posts" checked="checked" />
  10. <small>
  11. ${ "filter:" | translate }
  12. <input class="text" type="text" name="filter_posts" value="" id="filter_posts" />
  13. <a href="{% admin "help&id=filtering_results" %}" class="help emblem"><img src="$theme_url/images/icons/help.png" alt="help" /></a>
  14. ${ "(optional)" | translate }
  15. </small>
  16. </p>
  17. <p>
  18. <label for="pages">${ "Pages" | translate }</label>
  19. <input class="checkbox" type="checkbox" name="pages" value="" id="pages" checked="checked" />
  20. <small>
  21. ${ "filter:" | translate }
  22. <input class="text" type="text" name="filter_pages" value="" id="filter_pages" />
  23. <a href="{% admin "help&id=filtering_results" %}" class="help emblem"><img src="$theme_url/images/icons/help.png" alt="help" /></a>
  24. ${ "(optional)" | translate }
  25. </small>
  26. </p>
  27. <p>
  28. <label for="groups">${ "Groups" | translate }</label>
  29. <input class="checkbox" type="checkbox" name="groups" value="" id="groups" checked="checked" />
  30. <small>
  31. ${ "filter:" | translate }
  32. <input class="text" type="text" name="filter_groups" value="" id="filter_groups" />
  33. <a href="{% admin "help&id=filtering_results" %}" class="help emblem"><img src="$theme_url/images/icons/help.png" alt="help" /></a>
  34. ${ "(optional)" | translate }
  35. </small>
  36. </p>
  37. <p>
  38. <label for="users">${ "Users" | translate }</label>
  39. <input class="checkbox" type="checkbox" name="users" value="" id="users" checked="checked" />
  40. <span class="sub">
  41. ${ "(warning: this also exports the hashed passwords, keep it safe)" | translate }
  42. </span>
  43. <small>
  44. ${ "filter:" | translate }
  45. <input class="text" type="text" name="filter_users" value="" id="filter_users" />
  46. <a href="{% admin "help&id=filtering_results" %}" class="help emblem"><img src="$theme_url/images/icons/help.png" alt="help" /></a>
  47. ${ "(optional)" | translate }
  48. </small>
  49. </p>
  50. ${ trigger.call("export_choose") }
  51. <p class="buttons">
  52. <button type="submit" class="yay"><img src="$theme_url/images/icons/success.png" alt="success" />${ "Export" | translate }</button>
  53. </p>
  54. <input type="hidden" name="hash" value="$site.secure_hashkey" id="hash" />
  55. </fieldset>
  56. </form>
  57. {% endblock %}