summaryrefslogtreecommitdiff
path: root/inc/template.php
Commit message (Collapse)AuthorAge
* use • as breadcrumb separatorAndreas Gohr2011-01-22
|
* don't use » for non hierarchical breadcrumbs FS#2135Andreas Gohr2011-01-15
| | | | | | | Not sure if this sympol is the best to use. I'm open for different suggestions. Template auhtors still can overwrite the symbol of course.
* Call the indexer for hidden pagesMichael Hamann2011-01-10
| | | | | | This makes sure that the indexer is also called for hidden pages so they aren't missing in the title index and digest subscriptions work for them, too. Hidden pages are already filtered from the search results.
* added space between license text and linkAnika Henke2011-01-02
|
* adjusted tpl_youarehere to use tpl_pagelink (and fixed bugs with missing ↵Anika Henke2011-01-02
| | | | first headings)
* Revert "Fix for $conf['breadcrumbs'] < 0, FS#2107", new fixMichael Hamann2010-11-30
| | | | | | | This reverts commit 4871414204799044c31aa2764c4b4ca020e2331d. Additionally there is a new fix for FS#2107 that doesn't introduce a lot of checks but instead ensures that the configuration option can't be set to negative values when the configuration manager is used.
* Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3Michael Hamann2010-11-29
| | | | | | As of VIM 7.3 it is no longer possible to specify the encoding in the modeline. This gives an error message whenever such a file is opened, thus this commit removes the enc setting from the modeline.
* Fix for $conf['breadcrumbs'] < 0, FS#2107Michael Hamann2010-11-26
| | | | | | This fixes an infinite loop in breadcrumbs() and makes the behaviors in all places where breadcrumbs are used consistent so that non-numeric values, values < 0 and 0 are treated the same way.
* FS#2079: always show profile and subscribe links/buttonsAnika Henke2010-11-13
|
* FS#1839: take favicon from mediadir (if it exists)Anika Henke2010-11-12
|
* Fix XSS vulnerability FS#2085Vadim Nevorotin2010-10-31
|
* Add back subscribens link type as empty stringAdrian Lang2010-10-07
| | | | This avoids breaking old templates
* 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