summaryrefslogtreecommitdiff
path: root/inc/template.php
Commit message (Collapse)AuthorAge
* made favicon always use direct link if used with ml()Anika Henke2011-05-08
|
* Merge pull request #44 from lupo49/masterAndreas Gohr2011-05-08
|\ | | | | Cosmetic changes in tpl_getFavicon()
| * Cosmetic changes in tpl_getFavicon()lupo492011-05-08
| |
* | Add more render/cache logic to the metadata codeMichael Hamann2011-05-08
|/ | | | | | | | | | | | | | | | | | | | This adds a new rendering limit of currently 5 pages to the p_get_metadata function. This means that in one request not more than 3 pages will be parsed/rendered. Pages for which the cache can be used aren't counted. This should make the new cache modes safe to use and should provide backwards compatibility while keeping the advantage of rendering metadata on demand (i.e. imagine one included page out of 10 is updated, then the metadata for that page can be rendered, but when you request a purge of the cache not 10 pages are rendered). In this commit most of the changes to the p_get_first_heading function are reverted and the title index is no longer used. This makes the first heading functionality no longer depends on the search index of DokuWiki. Maybe it can be added again later when the indexer provides a proper API for getting metadata values for all or selected pages. The performance of the p_get_first_heading function should be almost back to the performance in Anteater as the simple cache of p_get_metadata is used and also the limit of p_get_metadata is of course applied.
* change indexer webbug dimension FS#2237Andreas Gohr2011-05-02
|
* allow tpl_getFavicon() returning the absolute path to the icon filelupo492011-04-26
|
* check manager/admin role earlier for admin plugins FS#2180Andreas Gohr2011-03-04
|
* improved actionOK and its useAnika Henke2011-02-22
|
* added 'register' and 'resendpwd' to action links and buttonsAnika Henke2011-02-20
| | | | | Attention: $lang['register'] has been renamed to $lang['btn_register'], anyone using that in any plugin or template should adjust it.
* make hierarchical breadcrumb consistent on search FS#2078Andreas Gohr2011-02-06
| | | | | A search equivalent to a new ID so it should show up in the bread crumbs.
* make use of quickselect in the action dropdownAndreas Gohr2011-01-31
|
* 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