summaryrefslogtreecommitdiff
path: root/inc/template.php
Commit message (Collapse)AuthorAge
* tpl_license() more flexible for template authorsMichael Klier2009-01-27
| | | | darcs-hash:20090127215001-23886-194fb0b92b259bd915f27eeb3300dba2bc330d26.gz
* further updates to config_cascade patchChris Smith2009-01-22
| | | | | | | | | | - add mediameta and license config files into the cascade - update the cache validity code in cache.php, css.php & js.php to use config_cascade - redo inclusion of main config files to avoid suppression of errors in config files - add getConfigFiles($type) function - minor updates elsewhere to use config_cascade rather than hardcoded config file names darcs-hash:20090122114457-f07c6-98ad5627fd5df93edf8dd03289b9cf6d81962afe.gz
* more strict validityAnika Henke2009-01-19
| | | | darcs-hash:20090119194529-f7d6d-170bca22f3579528f1a6405cbec334209b40a106.gz
* makes minimum amount of headlines configurable that determines if the TOC is ↵Anika Henke2009-01-17
| | | | | | built (FS#1226) darcs-hash:20090116233507-f7d6d-aaff15652d2e698a4403b3386b5b1eb6c0fa38f3.gz
* fixed typo in tpl_license()Andreas Gohr2009-01-14
| | | | darcs-hash:20090114185521-7ad00-3bb2c0be133fb4a3077613006b8e93f10b7d798a.gz
* minor cosmetic fix for tpl_license()Michael Klier2009-01-14
| | | | darcs-hash:20090114054432-23886-99834406fd085fd7d3f49fd4f6cffc618adfadc8.gz
* fix useHeading() in tpl_youarehere() FS#1555Andreas Gohr2008-12-26
| | | | darcs-hash:20081226160018-7ad00-1cddbfffa6021d6534b877fb7d497dbd041e9103.gz
* removed some illogical path setupsAndreas Gohr2008-12-13
| | | | darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
* FS#630: allow $conf['useheading'] to individually apply to content links ↵Chris Smith2008-11-19
| | | | | | | | | | | | | | | | and/or navigation links $conf['useheading'] values are now: - 0 : off, use page name in link text - 'content' : use first heading text for links in wiki page content - 'navigation' : use first heading text for links in non-page content, e.g. breadcrumps, backlinks, search results, etc. - 1 : use first heading text in all links (for backwards compatibility, any other values are mapped to 0 or 1 by empty() function.) $conf['useheading'] value should now be checked using the useHeading($linktype) function, where linktype can be "content" or "navigation" darcs-hash:20081119140758-f07c6-6e26456d50dcecc949fada31b0d4e72877fde1cc.gz
* show pagesource when locked (FS#443)Anika Henke2008-10-12
| | | | darcs-hash:20081012194206-f7d6d-e6372bf1e518650ff71a811b78b3231b1dab1219.gz
* removed 'ALT+' from all titles of elements with accesskeys (FS#1172)Anika Henke2008-10-12
| | | | darcs-hash:20081012181638-f7d6d-d4614321134f78fc176688d8aaf9d9acccf1952e.gz
* Changed html_recent() to use Doku_Form, FS#135michael2008-10-12
| | | | | | html_recent() uses Doku_Form now, this makes it possible that action-plugins can customize the recent changes view as suggested in FS#135. darcs-hash:20081012162732-074e0-ed776be1229177c5a8bd31540002afb2da9b3d31.gz
* fix for FS#1364 show Fullname and username in tpl_userinfo()Michael Klier2008-10-12
| | | | darcs-hash:20081012130304-23886-8836b5f5ad341de277bb23c2f2373eb409dba5c9.gz
* Make license selectable from config FS#312Andreas Gohr2008-10-12
| | | | darcs-hash:20081012113150-7ad00-6408da058bdb6c923159d445e03b76f54b579362.gz
* Don't display actionlinks/buttons/metaheaders for disabled actions (FS#1444)Gina Haeussge2008-10-11
| | | | darcs-hash:20081011193807-2b4f5-b973a5103ecd047d63e627f2d1574286359d0620.gz
* Adjust the actionlink for recent changes as wellGina Haeussge2008-10-11
| | | | darcs-hash:20081011134555-2b4f5-44a7dcb339f6619ad395937f0fa76d4c2bcdd563.gz
* Adjust behaviour of Recent Changes to mirror behaviour of IndexGina Haeussge2008-10-11
| | | | | | | Like the index, recent changes are now displayed only for the current namespace. For convenience, a link to the recent changes of the whole wiki is included in the listing. darcs-hash:20081011121539-2b4f5-a98e96550bdc4f28b401139def051b5a6beb56a6.gz
* editor_info_patchAndy Webber2008-10-01
| | | | | | | | | | | At present, DW shows the username on the bottom left under "logged in as", and the login name for "last modified", "locked by" and under revisions/recent changes. In a corporate environment, particularly when integrated with a Single Sign-On system, the login name may be somewhat unfriendly. This patch makes the "logged in as" the same as the value used elsewhere and also allows an admin to decide whether it should be the login name, username or e-mail address that is displayed. The e-mail address may also, optionally, be a mailto: link. E-mail addresses are obfuscated according to the 'mailguard' setting. The default behaviour is to show the login name which is no change from previous behaviour for the "last modified"/"locked by"/revisions/"recent changes", but is a change for the "logged in as". darcs-hash:20081001152914-6ad63-9cd7174068ac55de381f1318a4401f8c51de5b0c.gz
* New event TPL_TOC_RENDERGina Haeussge2008-08-30
| | | | | | | | This new event is triggered directly before rendering the TOC. An array containing the current TOC items is given as eventdata and can be modified by action plugins to e.g. add additional items to the TOC. darcs-hash:20080830192033-2b4f5-29611563677679f5bfc0d030019e23d7e9a6bcf5.gz
* tpl_actiondropdown addedAndreas Gohr2008-08-17
| | | | | | | This new template function allows a dropdown menu to be used to access all the DokuWiki do actions with minimal space requirement. darcs-hash:20080817203841-7ad00-f267285a3e9f119c5aaaf73ca276e3a2f1f72a94.gz
* fixed all remaining links to wiki.splitbrain.org and to restructured pagesAnika Henke2008-08-15
| | | | darcs-hash:20080815134211-f7d6d-61f4f4fa1c5f62832d7cc5ad3e3a7a78460d2981.gz
* fixed title for UniversalEditButtonAndreas Gohr2008-06-20
| | | | darcs-hash:20080620134528-7ad00-34bfe69ecdd0ddfb7bc1c8eeeb220417f7a67be2.gz
* Support for the Universal Edit Button autodetectionAndreas Gohr2008-06-19
| | | | | | See http://universaleditbutton.org for details darcs-hash:20080619214233-7ad00-89dd00369551379f7102a4e78cb3625227ba9cf9.gz
* let tpl_pageinfo optionally return instead of printing FS#1407Andreas Gohr2008-06-08
| | | | darcs-hash:20080608111736-7ad00-7dd90b1bef3e6ebfd30dba723978e07e717d353c.gz
* single button functions for subribe and subscribens FS#1408Andreas Gohr2008-06-08
| | | | darcs-hash:20080608111117-7ad00-a1989e6284df2d722c5a2eea80b0d19d6d1ef7dd.gz
* Fixed TOC for HTML export modes FS#1384Andreas Gohr2008-05-04
| | | | darcs-hash:20080504092410-7ad00-ec386b1e897c1afbf3fd9e9a68867c4284225f72.gz
* FS#1370 - use / instead of DIRECTORY_SEPARATORGina Haeussge2008-04-08
| | | | darcs-hash:20080408185530-2b4f5-24a58bd27b6ef4697baa0ba995f8a38fc7ef0028.gz
* added namespace subscription tpl_actionlink()Michael Klier2008-03-13
| | | | darcs-hash:20080313201111-23886-f219dc930329d4dadc31caa589850c90323fbd81.gz
* allow dynamic passing of template to use for css.phpAndreas Gohr2008-03-10
| | | | | | | | | | | | This patch makes it possible to pass the template name to use to the lib/exe/css.php dispatcher. When passed the $conf['template'] option is ignored by the disaptcher and the given template is used instead. This makes it possible to switch templates dynamically without loosing the CSS dispatcher functionality. This might be useful for things like the multitemplate template or for loading a template based on the user agent. darcs-hash:20080310201630-7ad00-2062fa939b1f868540031ea42a42e948dd82bbb4.gz
* Add namespace changes mail notificationsGuy Brand2008-02-27
| | | | | | | | This patch lets DokuWiki send mail notifications when any page inside a namespace gets modified. Two actions are introduced: subscribens and unsubscribens and two new buttons also appear in the bundled template. darcs-hash:20080227155024-19e2d-8ce5bd66f4e870db31d6b438516599f294365ce1.gz
* use strftime() instead of date() FS#1335 :!:Andreas Gohr2008-02-23
| | | | | | | | | | | | | | This patch replaces the use of the date() function with the strftime() function. The latter will respect a set locale and will use localized strings for things like month names. Because the format options for strftime differ from the ones used in date, DokuWiki will rest the value of $conf['dformat'] if it contains an old date format string (detected by missing % characters). Plugins or templates using the $conf['dformat'] need to be updated. darcs-hash:20080223124045-7ad00-6afb2b839afc58781463e25577e06adb675fff79.gz
* mor nofollow for links to non-existant pages FS#1260Andreas Gohr2008-01-22
| | | | darcs-hash:20080122203104-7ad00-0c5c6978383520a66df25af7360319fdd7d39a19.gz
* partial fix for TOC displayed on deleted pages FS#1222Andreas Gohr2008-01-19
| | | | darcs-hash:20080118230442-7ad00-badb2e3dd61cb724e780e39488b68b5fb1f3ba7c.gz
* add page_exists function (inc/pageutils.php)Chris Smith2007-09-30
| | | | | | bool page_exists($id, $rev darcs-hash:20070930021040-d26fc-e3847bfdd20a36154685262eca94211cfd461e83.gz
* don't use realpath() anymore (FS#1261 and others)Andreas Gohr2007-09-30
| | | | | | | | | | | The use of realpath() to clean up relative file names caused some trouble in certain setups relying on symlinks or having restricitve file structure setups. This patch replaces all realpath() calls with a PHP only replacement which should solve those problems. darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
* send security token on login/logoutMichael Klier2007-09-04
| | | | darcs-hash:20070904185355-23886-e5cbed2357a2697a593409ed0a31f044423db2e1.gz
* typo fix FS#1229Andreas Gohr2007-08-19
| | | | darcs-hash:20070818222239-7ad00-d427f89d0cd9cdc88cf99538209e50e1b001ea9c.gz
* span added to breadcrumbs labelAndreas Gohr2007-08-13
| | | | darcs-hash:20070813190912-7ad00-b2677372876f395da890ba5a86050343bea249f2.gz
* minor fixes for recent tpl_toc() patchchris2007-08-05
| | | | darcs-hash:20070805163833-9b6ab-82e8cd7ec37d163ccb552e3b6aee8c1f70e75f15.gz
* separated TOC from pageAndreas Gohr2007-08-05
| | | | | | | | | | | | | | | | | | This patch introduces a tpl_toc() function which can be used to freely place the Table of Contents in a template. When used, tpl_content should be called with a parameter of false to supress the automatic TOC placement. Note: if tpl_toc() us run *before* tpl_content(), TOCs will not work in the preview. A work around is to run tpl_content() in a output buffer first. This patch also adds a getTOC() function for admin plugins which allows plugin authors to put create their own TOC which will be placed correctly in the template. A convenience function html_mktocitem() is available. The config manager was adjusted to make ue of this new feature, but some bugs might remain. darcs-hash:20070805132405-7ad00-77d2c3cdf66cc62b2d408cc6580f938636a109af.gz
* Support for $inner param in tpl_actionlinkAndreas Gohr2007-08-04
| | | | | | | This allows template authors to use their own HTML content as link body. Eg. to use images. Defaults to the appropriate language string. darcs-hash:20070804071934-7ad00-47670c4998ee74f93e0057323f4d9a4a4a1654b5.gz
* RSS feeds for search resultsAndreas Gohr2007-07-18
| | | | | | Lets you subscribe to the result of a full text search darcs-hash:20070718071053-7ad00-131c87d5a51ec0d600358590539193ab59b3dbe6.gz
* check for auth object at certain functionsAndreas Gohr2007-06-27
| | | | | | | | This is a follow up on the previous patch to disable authtentication without disabling ACL on backend problems. It fixes a few errors that might occour in this rare situation. darcs-hash:20070627194910-7ad00-de5ac10e0d36ecf8906c080e1d3dc1b2fd85b45d.gz
* deleted obsolete backtomedia functionsAnika Henke2007-05-13
| | | | darcs-hash:20070513124655-d5083-7ffc212357be18a5f889c85736d7c97946b5c899.gz
* same behaviour for doAnika Henke2007-05-13
| | | | darcs-hash:20070513122005-d5083-1430b1f322e7a9753e2c94079f86c2385328cfcd.gz
* disable alternative links for disabled actionsAndreas Gohr2007-05-13
| | | | | | When export_raw or export_xhtml is disabled no rel darcs-hash:20070513072127-7ad00-e2a2451102cbaaef7de4a12982bd14da4b90b866.gz
* UNDO: don't show page metadata for non accessible pagesAndreas Gohr2007-05-11
| | | | darcs-hash:20070511200426-7ad00-8ac8909d40e7c62d61980c4f9b29d88b92be9da6.gz
* don't show page metadata for non accessible pagesAndreas Gohr2007-05-11
| | | | darcs-hash:20070511200426-7ad00-23e5b8d85d00caf3b0b0cdcdbb56dea9e30c9578.gz
* Use RLM character for breadcrumbs in RTL mode FS#1124Katriel Traum2007-04-25
| | | | darcs-hash:20070425181727-3c7c8-0641bd535e909322fc42ef1c50854f1f530cdd47.gz
* relAndreas Gohr2007-04-22
| | | | darcs-hash:20070422105629-7ad00-0f9a1aa2da73ce8e485292c2490fffc73ae54b30.gz