summaryrefslogtreecommitdiff
path: root/inc/template.php
Commit message (Collapse)AuthorAge
* 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
* css fix for tpl_actionlink loginDavid Lorentsen2007-02-24
| | | | darcs-hash:20070224112634-ce218-6f895b09dfe7abb5b8c19ea592f5849e02be4d4e.gz
* hide pageinfo if no accessDavid Lorentsen2007-02-21
| | | | darcs-hash:20070221133007-ce218-844345922ee66ce33c3f0969b5fc6d643ac618ce.gz
* all style sheet additionmartin.tschofen2007-02-11
| | | | darcs-hash:20070211024110-7f317-c094764db4d4c9b7e1cad01fc016f354d91aa39e.gz
* Return true/false from all template output functions.Tom N Harris2007-02-02
| | | | | | | Any tpl_* function that doesn't otherwise return a value will return true if something was printed. darcs-hash:20070202064949-6942e-31ea67ab941cc352d01f0b72971dd20179770226.gz
* identify external edits in UIBen Coburn2006-12-07
| | | | | | | | | | | Some changes to clearly identify when wiki pages have been edited outside Dokuwiki. Also correctly attributes external changes from an unknown author. Avoids sending extra emails when recording old external edits. Adds a new language string: $lang['external_edit'] darcs-hash:20061207032825-05dcb-3234bee57cb165c848b33abb9251502589b0f3cb.gz
* manager user/groupAndreas Gohr2006-12-03
| | | | | | | This patch adds support for a manager option as suggested in http://www.freelists.org/archives/dokuwiki/11-2006/msg00314.html darcs-hash:20061203134104-7ad00-72ff6422bbb4f79be325c7e77255e1eee32d0f6b.gz
* special char encoding fix for breadcrumbs #993Andreas Gohr2006-11-30
| | | | darcs-hash:20061130202541-7ad00-fc46a71f59d699f2cc720f361f22da8260e7ca92.gz
* use generated CSS for RSS feedsTom N Harris2006-11-15
| | | | | | | plugins can include styles with feed.css, templates can use the media type feed in style.ini darcs-hash:20061115101549-6942e-d1de56b343ce0cc11ca6b911c444197316f4a4eb.gz
* hide inline scripts from XML parsersAndreas Gohr2006-11-18
| | | | | | | This patch addes some comment magic to inline scripts to hide them from XML parsers (like the W3C CSS validator). darcs-hash:20061118154333-7ad00-c24bc36192080fe34f232c5ec2df3f494993f2fe.gz
* OpenSearch supportAndreas Gohr2006-11-10
| | | | | | | | | This adds support for the OpenSearch specification to autodetect DokuWiki's search engine. The patch was submitted by Mike Frysinger some time ago. Some changes were made to the original patch. Only tested in FireFox 2.0 darcs-hash:20061110151453-7ad00-298ad77603854a604a642c0afd3975a997b8dc09.gz
* disable search form if search action is disabled, bug#955chris2006-11-01
| | | | darcs-hash:20061101171656-9b6ab-1f3f9de870380a91e907db96d6645d3480951f0e.gz
* do not auto escape the body of meta headersAndreas Gohr2006-10-22
| | | | darcs-hash:20061022134224-7ad00-f5c26c5104869719db3bf01e326e137eb8f4c725.gz
* fix for actionlink back #914Andreas Gohr2006-10-19
| | | | darcs-hash:20061019103310-7ad00-0de42af92587989d155f55831956480b7976d6e8.gz
* docs update for tpl_button and tpl_actionlinkDenis Simakov2006-10-11
| | | | darcs-hash:20061011141043-3c565-9509bda5d864e0fbb42088d04d5b6f337dd18eb7.gz
* added draft-feature to tpl_actionlinkMichael Klier2006-10-06
| | | | darcs-hash:20061006113409-23886-166f573a8ae5c897011282ef22a581cea1dbce86.gz
* fix relBen Coburn2006-09-30
| | | | darcs-hash:20060930143719-05dcb-251992d688e64ed221dbfe3d9c198fae603e2531.gz
* wordblock enhancementAndreas Gohr2006-09-26
| | | | | | | | | | | | | | The default wordblock.conf provided by the guys at chonqed.org matches agaist URLS beginning with http. But DokuWiki also links simple www.example.com links. Spammers used this method to place blacklisted URLs in the Wiki. This patch constructs full URLs from these shortcut-URLs before applying the blacklist regexp. The patch also fixes a problem with the toolbar not appearing when the blacklist hit and denied saving. darcs-hash:20060926192420-7ad00-519df90a5953b690428bfa0928de37b3053031b0.gz
* minor bugfix and boring error removalchris2006-09-23
| | | | darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
* event names renamedAndreas Gohr2006-09-17
| | | | | | | HTML_EDIT_PAGETEMPLATE becomes HTML_PAGE_FROMTEMPLATE TPL_METAHEADER_PRINT becomes TPL_METAHEADER_OUTPUT darcs-hash:20060917103450-7ad00-405f3533915b54ee4d4050cfccbf27d43ff7435f.gz
* TPL_METAHEADER_PRINT event hook addedAndreas Gohr2006-09-16
| | | | | | | | | | This patch changes the tpl_metaheaders function to emit an event to intercept the creation of HTML metadata. The usually generated meta headers are passed in an array structure for easy modification and enhancement. darcs-hash:20060916154722-7ad00-b22ab79803d1abad4ca579b84b6a3fa466403619.gz
* fix for missing quotation mark in tpl_metaheadersAndreas Gohr2006-09-13
| | | | darcs-hash:20060913185921-7ad00-8ee85b4a39944484d660c8a1d710bd548feac26b.gz