summaryrefslogtreecommitdiff
path: root/inc/template.php
Commit message (Collapse)AuthorAge
* more code cleanup according to coding standardAndreas Gohr2010-01-29
|
* nicer subscription stylesAndreas Gohr2010-01-20
| | | | | | Ignore-this: e1b3b815b5ebb0da320bff997c4fed4b darcs-hash:20091130130311-6e07b-03ccfc52abb3dcc0764eed5784d81f8416841328.gz
* tpl_subscription fixesAndreas Gohr2010-01-20
| | | | | | Ignore-this: 35c31736664920607a8a78769f560d82 darcs-hash:20091123153204-6e07b-e4637bd20c6e703885f3c3c5fd3de8ee37fc3693.gz
* Some language changes in subscription managementAndreas Gohr2010-01-20
| | | | | | | | Ignore-this: 9d6c368419814c7b8cb94f778377ede7 A few language strings were dropped, others updated or added darcs-hash:20091123151813-6e07b-4d01fe03fa2c3bd5944bc05abdd05a24fb79c186.gz
* New mail subscription with digestAdrian Lang2010-01-20
|
* re-order css links so the default one gets fetched firstMike Frysinger2010-01-09
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* added seed for css/js meta linksMichael Klier2009-11-27
| | | | darcs-hash:20091127134236-23886-1b824bcf3bf98e47971ebafd577d9770f2c1d842.gz
* Replaced $INFO export with minimal $JSINFOAndreas Gohr2009-11-23
| | | | | | | | | Ignore-this: 3f1213cb6b403ad09e6999cd972e9f21 Now only the global $JSINFO array is exported to JavaScript. Additional keys can be added here from plugins or preload. darcs-hash:20091123175546-7ad00-346856e8eecc52608edea805f408d4dbd33257fe.gz
* Emit less E_NOTICEs and E_STRICTsAdrian Lang2009-11-04
| | | | | | | | | | | | | Changes of behaviour are: * Allow the user name, title & description \e2\80\9c0\e2\80\9d * Default to Port 443 if using HTTPS * Set $INFO['isadmin'] and $INFO['ismanager'] to \e2\80\9cfalse\e2\80\9d even if no user is logged in * Do not pass empty fragment field in the event data for event ACTION_SHOW_REDIRECT * Handle chunked encoding in HTTPClient darcs-hash:20091104100115-e4919-5cf6397d4a457e3f98a8ca49fbdab03f2147721d.gz
* removed no longer parameters passed to lib/exe/js.phpAndreas Gohr2009-11-03
| | | | | | Ignore-this: 2b94504f7d08ee5e17135d826cd521d0 darcs-hash:20091103134022-6e07b-ea17b4d65cae2daccdb7ad6956214a4c5c59fbe5.gz
* load INFO before other scriptsAndreas Gohr2009-11-03
| | | | | | Ignore-this: 340a9d16b2675987e5e8ccb31a6000fe darcs-hash:20091103133116-6e07b-787678d21003090cb3c85ee48a2daf5ee7cb6491.gz
* fixed a problem with $conf['fullpath']Andreas Gohr2009-10-29
| | | | | | | | | Ignore-this: 236897eb557ad490009ccce53f6d216a The option wasn't honored on some diff views, revealing a full path. This was caused by the recent change to make the revert button work on diff views. darcs-hash:20091029194628-6e07b-5eabcfeeb2651b8b580912c5d418b174b4aaf107.gz
* make $INFO available to JavaScriptsAndreas Gohr2009-10-26
| | | | | | | | | | Ignore-this: 372ed5dafd33b16d910edc164dc69fb9 $INFO is now exported as JavaScript variable INFO in the HTML meta headers. This makes it easier for plugin authors to access important info about the current page and user from JavaScript. darcs-hash:20091026114046-6e07b-340f009428322105a5dda72933a66a3719de544d.gz
* New dformat() function for fuzzy date supportAndreas Gohr2009-10-07
| | | | | | | | | | | | | | | | | | Ignore-this: 7193cd788fee2c05a9068bf6edd5dc17 It is now possible to use the %f placeholder in $conf['dformat'] to add a fuzzy age string. Template developers and plugin authors should replace their strftime + $conf['dformat'] calls with calls to the new dformat() function. Example: %Y/%m/%d %H:%M (%f) produces dates like this: 2009/09/16 10:36 (3 weeks ago) darcs-hash:20091007133614-6e07b-677108d1b43928ef8fd886813e43514507b5e073.gz
* fixed misplaced tagKazutaka Miyasaka2009-10-07
| | | | | | Ignore-this: c4e42d5fc6a743fb9197d6d3159d83fd darcs-hash:20091007172544-9b77a-5e4572c08550f8e858870dc0cda81804f7437b11.gz
* Some changes to the media file searchAndreas Gohr2009-09-01
| | | | | | Ignore-this: 95042b9e60f807e046f93a362444a551 darcs-hash:20090901151703-6e07b-2c2d5a9a381b7ab6a19d1f74ba99aecb1e724181.gz
* Search capabilities for the media manager added.sarnowski2009-08-24
| | | | darcs-hash:20090824112230-8c5bd-7b8d8ba14e7533c1035b7b732983a0e3de8251a1.gz
* One click revert for managersAndreas Gohr2009-09-11
| | | | | | | | | Ignore-this: e3c9b5f941b2f1aa83ca375861203a2f This patch adds another button for users with the $conf['manager'] role when viewing an old revision. It allows them to revert to this revision with a single click. darcs-hash:20090911081833-7ad00-5a64feb7e3e1b37178295c290a6c97c3923e82e3.gz
* fixed backlink button (missing break)Andreas Gohr2009-09-04
| | | | | | Ignore-this: f5092496dd6b976f4fc1573cc1dc5053 darcs-hash:20090904100956-7ad00-5ec791c404f70377f440fba50f80b3e1bac0ece6.gz
* added MEDIAMANAGER_CONTENT_OUTPUT eventAndreas Gohr2009-08-30
| | | | | | Ignore-this: 1742cf72bee0a1ac1898109ba5afc962 darcs-hash:20090830111438-7ad00-120e8fa9ce41e4317676dc2e9d5cf113a418ec44.gz
* reshow $QUERY in search form instead of super globalAndreas Gohr2009-08-26
| | | | darcs-hash:20090826113901-6e07b-8b7cb115629cd20ea2b145c4d955e83f270f5ef2.gz
* relÊnonical supportAndreas Gohr2009-07-09
| | | | | | Ignore-this: 2b720d0545643c18b49234e0a26e99b4 darcs-hash:20090709173048-7ad00-b5b5b4f2524533c3964152b595bef39449398610.gz
* Added tpl_include_page() function for template author's convenienceAndreas Gohr2009-06-05
| | | | | | Ignore-this: ab880c4bdaf2e4e8d272f552fd88aa24 darcs-hash:20090605174949-7ad00-3f6fb728f6434c4eba1c2f8613ed53e6f3ee9764.gz
* don't include search string into hierarchical breadcrumbs FS#1672Alexey Torkhov2009-05-26
| | | | | | Ignore-this: 7611558571da7ac66b9fd5e2b17b1750 darcs-hash:20090526100758-a0ecd-4cbfceba2b396de68856ff95732661f79d6c3d81.gz
* added tpl_action() (wrapper around tpl_button and tpl_actionlink)Anika Henke2009-05-16
| | | | darcs-hash:20090516173858-f7d6d-60a553963e6d0428acfeed693797b9abcea87b91.gz
* optionally return instead of print tpl_button() and tpl_actionlink()Anika Henke2009-05-16
| | | | darcs-hash:20090516165345-f7d6d-f70f20cda373bf0119e04a8e8877f4f457bab33f.gz
* always use full closing tag for scripts in meta headersMikhail I. Izmestev2009-04-15
| | | | | | Ignore-this: ee650a5aea0a3e4451175fe6b380c3d6 darcs-hash:20090415072641-556be-b66af34e909df53c7b6f5365f64fc9e725e53368.gz
* use more compatible Universal Edit Button header FS#1628Andreas Gohr2009-04-10
| | | | | | | | Ignore-this: 6de5e7e1ea10540114cc784c0e10c5c6 Replaces the old rel darcs-hash:20090410190310-7ad00-17320fded7b2590efe9c67a22533b776a788803b.gz
* fix display of pages in youarehere navigation FS#1611Andreas Gohr2009-03-13
| | | | | | Ignore-this: 27fbdff6135deed64843aadfe83f5f7 darcs-hash:20090312230306-7ad00-c6f4f410e5caa8ffe8d1ea469fa561a00078e0ad.gz
* 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