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.
 
 
 
 
 

86 lines
4.2 KiB

  1. <?php
  2. /**
  3. * Default options for the "vector" DokuWiki template
  4. *
  5. * Notes:
  6. * - In general, use the admin webinterface of DokuWiki to change the config.
  7. * - To change the type of a config value, have a look at "metadata.php" in
  8. * the same directory as this file.
  9. * - To change/translate the descriptions showed in the admin/configuration
  10. * menu of DokuWiki, have a look at the file
  11. * /lib/tpl/vector/lang/<your lang>/settings.php. If it does not exists,
  12. * copy and translate the English one. Don't forget to mail your translation
  13. * to ARSAVA <dokuwiki@dev.arsava.com>. Thanks! :-D
  14. * - To change the [tabs|boxes|buttons] configuration, have a look at
  15. * "/user/[tabs|boxes|buttons].php".
  16. *
  17. *
  18. * LICENSE: This file is open source software (OSS) and may be copied under
  19. * certain conditions. See COPYING file for details or try to contact
  20. * the author(s) of this file in doubt.
  21. *
  22. * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html)
  23. * @author ARSAVA <dokuwiki@dev.arsava.com>
  24. * @link https://www.dokuwiki.org/template:vector
  25. * @link https://www.dokuwiki.org/devel:configuration
  26. */
  27. //check if we are running within the DokuWiki environment
  28. if (!defined("DOKU_INC")){
  29. die();
  30. }
  31. //user pages
  32. $conf["vector_userpage"] = 1; //1: use/show user pages
  33. $conf["vector_userpage_ns"] = ":wiki:user:"; //namespace to use for user page storage
  34. //discussion pages
  35. $conf["vector_discuss"] = 1; //1: use/show discussion pages
  36. $conf["vector_discuss_ns"] = ":talk:"; //namespace to use for discussion page storage
  37. //site notice
  38. $conf["vector_sitenotice"] = 1; //1: use/show sitenotice
  39. $conf["vector_sitenotice_location"] = ":wiki:site_notice"; //page/article used to store the sitenotice
  40. $conf["vector_sitenotice_translate"] = 1; //1: load translated sitenotice if translation plugin is available (see <https://www.dokuwiki.org/plugin:translation>)
  41. //navigation
  42. $conf["vector_navigation"] = 1; //1: use/show navigation
  43. $conf["vector_navigation_location"] = ":wiki:navigation"; //page/article used to store the navigation
  44. $conf["vector_navigation_translate"] = 1; //1: load translated navigation if translation plugin is available (see <https://www.dokuwiki.org/plugin:translation>)
  45. //exportbox ("print/export")
  46. $conf["vector_exportbox"] = 1; //1: use/show exportbox
  47. $conf["vector_exportbox_default"] = 1; //1: use default exportbox (if exportbox is enabled at all)
  48. $conf["vector_exportbox_location"] = ":wiki:exportbox"; //page/article used to store a custom exportbox
  49. //toolbox
  50. $conf["vector_toolbox"] = 1; //1: use/show toolbox
  51. $conf["vector_toolbox_default"] = 1; //1: use default toolbox (if toolbox is enabled at all)
  52. $conf["vector_toolbox_location"] = ":wiki:toolbox"; //page/article used to store a custom toolbox
  53. //qr code box
  54. $conf["vector_qrcodebox"] = 1; //1: use/show box with QR Code of current page's URL
  55. //custom copyright notice
  56. $conf["vector_copyright"] = 1; //1: use/show copyright notice
  57. $conf["vector_copyright_default"] = 1; //1: use default copyright notice (if copyright notice is enabled at all)
  58. $conf["vector_copyright_location"] = ":wiki:copyright"; //page/article used to store a custom copyright notice
  59. $conf["vector_copyright_translate"] = 1; //1: load translated copyright notice if translation plugin is available (see <https://www.dokuwiki.org/plugin:translation>)
  60. //donation link/button
  61. $conf["vector_donate"] = 0; //1: use/show donation link/button
  62. $conf["vector_donate_url"] = "https://donate.arsava.com/dokuwiki-template-vector/"; //custom donation URL
  63. //TOC
  64. $conf["vector_toc_position"] = "article"; //article: show TOC embedded within the article; "sidebar": show TOC near the navigation, left column
  65. //other stuff
  66. $conf["vector_breadcrumbs_position"] = "bottom"; //position of breadcrumbs navigation ("top" or "bottom")
  67. $conf["vector_youarehere_position"] = "top"; //position of "you are here" navigation ("top" or "bottom")
  68. $conf["vector_cite_author"] = "Anonymous Contributors"; //name to use for the author on the citation page
  69. $conf["vector_loaduserjs"] = 0; //1: vector/user/user.js will be loaded
  70. $conf["vector_closedwiki"] = 0; //1: hides most tabs/functions until user is logged in