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.

content_settings.twig 4.5KB

9 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {% extends "layout.twig" %}
  2. {% block title %}${ "Content Settings" | translate }{% endblock %}
  3. {% block content %}
  4. <form id="content_settings" class="split" action="{% admin "content_settings" %}" method="post" accept-charset="utf-8" enctype="multipart/form-data">
  5. <fieldset>
  6. <p>
  7. <label for="posts_per_page">${ "Posts Per Page" | translate }</label>
  8. <input class="text" type="text" name="posts_per_page" value="${ site.posts_per_page | escape }" size="2" id="posts_per_page" />
  9. </p>
  10. <p>
  11. <label for="feed_items">${ "Feed Posts Limit" | translate }</label>
  12. <input class="text" type="text" name="feed_items" value="${ site.feed_items | escape }" size="2" id="feed_items" />
  13. </p>
  14. <p>
  15. <label for="feed_url">${ "Feed URL" | translate }</label>
  16. <input class="text" type="text" name="feed_url" value="${ site.feed_url | escape }" id="feed_url" />
  17. <small>
  18. {% if site.clean_urls %}
  19. ${ "Allows you to set an alternative URL for <code>/feed/</code>, e.g. your feed on <a href=\"http://feedburner.com/\">FeedBurner</a>." | translate }
  20. {% else %}
  21. ${ "Allows you to set an alternative URL for <code>/?feed</code>, e.g. your feed on FeedBurner." | translate }
  22. {% endif %}
  23. </small>
  24. </p>
  25. <p>
  26. <label for="uploads_path">${ "Uploads Path" | translate }</label>
  27. <input class="text" type="text" name="uploads_path" value="${ site.uploads_path | escape }" id="uploads_path" />
  28. <small>
  29. ${ "The directory, relative to your Chyrp install, to upload files to. You can use <code>/../</code> to go up one directory." | translate }
  30. </small>
  31. </p>
  32. <p>
  33. <label for="enable_trackbacking">${ "Enable Trackbacking" | translate }</label>
  34. <input class="checkbox" type="checkbox" name="enable_trackbacking" id="enable_trackbacking"${ site.enable_trackbacking | checked } />
  35. <small>
  36. ${ "Trackbacking allows sites to notify you when they write a new entry, usually because they link to or reference yours." | translate }
  37. </small>
  38. </p>
  39. <p>
  40. <label for="send_pingbacks">${ "Send Pingbacks" | translate }</label>
  41. <input class="checkbox" type="checkbox" name="send_pingbacks" id="send_pingbacks"${ site.send_pingbacks | checked } />
  42. <small>
  43. ${ "Attempts to notify sites linked to from your posts. It'll slow down things a bit when you submit them, depending on how many links you've got in it." | translate }
  44. </small>
  45. </p>
  46. <p>
  47. <label for="enable_xmlrpc">${ "Enable XML-RPC Support" | translate }</label>
  48. <input class="checkbox" type="checkbox" name="enable_xmlrpc" id="enable_xmlrpc"${ site.enable_xmlrpc | checked } />
  49. <small>
  50. ${ "XML-RPC support allows for remote access to your site. This allows you to use remote clients (e.g., <a href=\"http://www.red-sweater.com/marsedit/\">MarsEdit</a> or <a href=\"http://flickr.com/help/blogging/\">Flickr</a>) to create/edit content on your site." | translate }
  51. </small>
  52. </p>
  53. <p>
  54. <label for="enable_ajax">${ "Enable Inline Post Management" | translate }</label>
  55. <input class="checkbox" type="checkbox" name="enable_ajax" id="enable_ajax"${ site.enable_ajax | checked } />
  56. </p>
  57. <p class="buttons">
  58. <button type="submit" class="yay">
  59. <img src="$theme_url/images/icons/success.png" alt="success" />${ "Update" | translate }
  60. </button>
  61. </p>
  62. <input type="hidden" name="hash" value="$site.secure_hashkey" id="hash" />
  63. </fieldset>
  64. </form>
  65. {% endblock %}