summaryrefslogtreecommitdiff
path: root/inc/template.php
Commit message (Collapse)AuthorAge
* FS#2038: Use GET for the search formGina Haeussge2010-10-02
|
* Small fixes / cleanupAdrian Lang2010-09-28
|
* Add tpl_getLang functionAdrian Lang2010-09-22
|
* fixed indentionAndreas Gohr2010-09-17
|
* Show digest time in actual subscription listingAdrian Lang2010-09-16
|
* make use of tpl_get_action in tpl_actiondropdown FS#2005Andreas Gohr2010-08-27
|
* Remove charset from internal script tagAdrian Lang2010-07-13
| | | | See http://adrianlang.de/ada/html-script-charset
* FS#1878: Hide Dokuwiki version information from metadata and only show it to ↵Gina Haeussge2010-06-26
| | | | admins and manager in do=check. Also protected meta files README, VERSION and COPYING additionally to .ht*
* new event and parameters for tpl_img() FS#1837 FS#1564Andreas Gohr2010-06-26
|
* new auth capability 'logout'Andreas Gohr2010-06-22
| | | | | | | | | | | | | | | | | | | | This patch implements what Adrian's patch "Hide logout button if auth backend cannot logout" intended to do. The 'logoff' capability was used to decide if a special method called $auth->logOff() should be called when the user logs out, not if the backend supports logouts at all. This was a superflous capability since an empty logOff() method is implemented in the base class anyway - it doesn't hurt to always call the method. The 'logoff' capability is now deprecated. Backends who want to do actions on logout simply need to overwrite logOff(). A new capability 'logout' was added which defaults to true. Backends that can't logoff the user (eg. because they use some automatic login/logoff mechanism) can set this to false. Probably makes sense to add a 'login' capability as well...
* Hide logout button if auth backend cannot logoutAdrian Lang2010-06-22
|
* Refactor action links and buttonsAdrian Lang2010-06-18
| | | | | | | | | | | | | | | Behavioural changes: * buttons * no 'do=show' but clean URLs (show and back buttons) * the alias 'subscription' for subscribe buttons is now available * links * draft link has class 'draft', not 'edit' * revisions link has class 'revs', not 'revisions' * both * 'revision' is added as an alias for 'history' These changes were mainly introduced to reduce the differences between links and buttons.
* Restore hiding of unavailable linksAdrian Lang2010-06-16
|
* Rewrite actionlink output, add title to actionlinksAdrian Lang2010-06-15
|
* fixed license link always showing targetAnika Henke2010-06-12
|
* Show subscription time on management pageAdrian Lang2010-05-04
|
* Fix gzip compression in combination with buffer flushing FS#1927Andreas Gohr2010-04-02
| | | | | This introduces a new function called tpl_flush() which should be used by template authors in favor of the PHP flush() method.
* Merge branch 'requireall'Andreas Gohr2010-03-12
|\ | | | | | | | | Conflicts: inc/fulltext.php
| * removed more unneeded require_once() callsAndreas Gohr2010-02-01
| |
* | fixed target handling for license link FS#1917Andreas Gohr2010-03-12
| |
* | Remove wordblock action, issue a msg insteadAdrian Lang2010-03-09
| |
* | Move data preprocessing out of html_editAdrian Lang2010-03-09
| |
* | Omit do=show from URLsStephen Warren2010-02-22
| | | | | | | | | | | | | | | | | | | | | | | | It looks like when there is no "do=" parameter to doku.php, "show" is assumed. When clean URLs are used (via mod_rewrite), regular page-to-page links hence just link to "pagename". However, if you "Show pagesource", then "Show page", the browser is sent back to "pagename?do=show" instead of just "pagename". This seems like a "less clean" URL to me. So, the attached patch removes "do=show" from URLs in this case, so cleaner URLs are used.
* | Add security token to subscription manage pageAdrian Lang2010-02-09
|/
* 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