summaryrefslogtreecommitdiff
path: root/inc/html.php
Commit message (Collapse)AuthorAge
* Fix for FS#1478Gina Haeussge2008-08-30
| | | | darcs-hash:20080830211206-2b4f5-4f7073d95c950329f7bd2a6eb9bced948e37db1f.gz
* display the (shortened) namespace for page quicksearchAndreas Gohr2008-08-14
| | | | | | | | | | | | | | | When displaying pagename matches in the Ajax quick search or normal search, the namespace of the page is shown behind the pagename. This makes it easier to distinguish the pages when the same namespace is used in different namespaces. To avoid breaking the layout in deep nested namespace hierarchies, the namespace is shortened in the middle when needed. This patch also disables the effect of the useheadings option in the Ajax quick search. After all the results should show what was found and since the search works on pagenames not headings it should show pagenames as result. darcs-hash:20080814194826-7ad00-9add9c1bbbb4f4ede3c6884d37427644b2cddc56.gz
* don't resort pages in html_search()Andreas Gohr2008-08-12
| | | | darcs-hash:20080812202134-7ad00-9ce6075c5b4eb1960e17338822814c89d180b65e.gz
* remove sensitive data from debug output more aggressivelyAndreas Gohr2008-07-15
| | | | | | | | | | | This patch adds a new function that is used to remove sensitive data from the debug output in a broader way. It will remove some innocent data but should make sure most passwords and similar data can not be accessed even when stored in some plugin's configuration data. Disabling the debug option is still highly recommended. darcs-hash:20080715211616-7ad00-19334e56d3910bcaa04147c4c59e0c59571764f3.gz
* fix for possible XSS vulnerability in html_revisions()Andreas Gohr2008-05-04
| | | | darcs-hash:20080504163149-7ad00-807016f20298b25c1a3df2040b051c02e6ce2d91.gz
* fix multidiff when one revision is current FS#1355Andreas Gohr2008-03-29
| | | | darcs-hash:20080329131438-7ad00-d3ab26eef403b1008a0d24c719f533e81f8ee6b5.gz
* another change in highlight handlingAndreas Gohr2008-03-10
| | | | | | | | | | Now higlighting phrases are passed as an array which then is quoted correctly when used in a regexp. This should make phrase highlighting work completely correct. Please everyone test it. darcs-hash:20080310214939-7ad00-1abefb02dde40edeead50b4fa5c866c46b95ca3a.gz
* more robust replacement for last highlight regexp fixAndreas Gohr2008-03-09
| | | | darcs-hash:20080309174810-7ad00-16f8bee9e9ce13f6255e59de42685e49b3854bac.gz
* make sure there are no leading or trailing pipes on search highlight regexpAndreas Gohr2008-03-09
| | | | darcs-hash:20080309173538-7ad00-07893a25205632ff4bc5d8b90595e7d1c9e49ff4.gz
* correct diff display when dealing with deleted or newly created pagesAndreas Gohr2008-02-23
| | | | darcs-hash:20080223143711-7ad00-2dceefca4ce2efcfee5a3b04cfc6f1107c630c02.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
* do case insensitive search word highlighting in page FS#1297Andreas Gohr2008-02-15
| | | | darcs-hash:20080215180239-7ad00-2b9e1d5cff75f581a549bc3881a18cfffc53efb5.gz
* better highlighting for phrase searches FS#1193Andreas Gohr2008-02-15
| | | | | | | | | This patch makes the highlighting of phrases in search snippets and on the pages itself much better. Now a regexp gets passed to the ?s darcs-hash:20080215174653-7ad00-cd2d6f7d408db7b7dd3cb9974c3eb27f3a9baeac.gz
* check modMail capability correctly FS#1329Andreas Gohr2008-02-13
| | | | darcs-hash:20080213213322-7ad00-bd2a818080046a492447b7c1ecb0a4c1a89ea5e1.gz
* correct fix for FS#1227Andreas Gohr2008-01-19
| | | | darcs-hash:20080119005310-7ad00-055e1aaf63625c0ab9bfd31f49fd9c7cba5972a8.gz
* Always show pageids for "matching pagenames" FS#1227Andreas Gohr2008-01-18
| | | | darcs-hash:20080118225518-7ad00-772f0368e71ffe5868d1ba0a5ca2fcc1010f1bf9.gz
* adds a second class to action buttonsAndreas Gohr2007-10-26
| | | | darcs-hash:20071026210930-7ad00-e8048c01f924eeaf060effee155fc5d36b997804.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
* added nothing found message to backlinks outputMichael Klier2007-08-13
| | | | darcs-hash:20070813160452-23886-c40e9f3bfe259d698500a6ef01f75894801b22c5.gz
* correctly URL encode idx parameter in index viewAndreas Gohr2007-08-10
| | | | darcs-hash:20070810082232-7ad00-e6abe2b952b7575454f8a2fcc5c257ec07b09e78.gz
* TOC fixedAndreas Gohr2007-08-07
| | | | | | This fixes some small bugs which were introduced with recent TOC changes darcs-hash:20070807171844-7ad00-fc09dd6d09b72927e64dfa41dd8b86fc20d86ed0.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
* New structured forms and action eventsTom N Harris2007-07-30
| | | | | | | | | | | | Replaces a number of *FORM_INJECTION events with a more flexible way of modifying forms. Forms are created with a Doku_Form class (inc/form.php) that can be manipulated by plugins prior to output. Plugins register a HTML_{$name}FORM_OUTPUT event which can modify the form object prior to output. Available forms are: LOGIN DRAFT CONFLICT REGISTER UPDATEPROFILE EDIT RESENDPWD Documentation for the Doku_Form class is in inc/form.php. darcs-hash:20070730215007-6942e-a0cf08197f939e224a2b28c40aec5431b118ea94.gz
* show diff between arbitrary revisions FS#14Andreas Gohr2007-07-18
| | | | | | | | You can now compare any choosen revision of a page to any other. Todo: add some JavaScript to avoid choosing more than two revisions darcs-hash:20070718102204-7ad00-b66c7d82d688c05bfd86e0c7dfe6d283ad555bf8.gz
* AJAX for the index viewAndreas Gohr2007-07-16
| | | | | | | | | | This makes the index view much more responsive by loading sub namespaces through AJAX if JavaScript is available. The used throbber image probably looks bad on dark backgrounds. If someone could provide a better one it would be greatly appreciated. darcs-hash:20070716184605-7ad00-adf298ee3303d50f2b4b6b66e5ea3ff8d8c2bf9a.gz
* correct hilighting of empty summary on previewTom N Harris2007-07-05
| | | | darcs-hash:20070705215447-6942e-d3e1124a3cfec6661a7077bc0d9707b156bc2313.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
* fix for former patch (FS#744)Anika Henke2007-05-15
| | | | darcs-hash:20070514224419-d5083-7f072fa6f2b3100adbeecc856f1babd2b9919186.gz
* FS#744 (template developers, heed the changes)Anika Henke2007-05-15
| | | | darcs-hash:20070514222527-d5083-53ed619daf07d0a84c52161465d163abf1400529.gz
* deleted obsolete backtomedia functionsAnika Henke2007-05-13
| | | | darcs-hash:20070513124655-d5083-7ffc212357be18a5f889c85736d7c97946b5c899.gz
* HTML_PROFILEFORM_INJECTION eventEsther Brunner2007-02-27
| | | | darcs-hash:20070227123428-20862-cc92070d15b116d6865eab3acc0a210ab17755f8.gz
* alter search callback to use call_user_func()chris2007-02-06
| | | | darcs-hash:20070206014428-9b6ab-1bcc1a005850b2048b49a7667dd25905f8a79ae2.gz
* HTML_LOGINFORM_INJECTION eventAndreas Gohr2007-01-09
| | | | | | | Another injection event similar to the existing ones to insert custom HTML into the login form. darcs-hash:20070109213258-7ad00-2d8b59c6a83b42231cdba845263b09821e2b0400.gz
* changelog type strings replaced with constantsBen Coburn2006-12-07
| | | | | | | | Using more verbose constant names in the place of single character strings should make the code much more readable. This does not change the behavior of the changelog. darcs-hash:20061207074906-05dcb-0bdc35e7241bf14063b2b43a6ff26d8a3c307cb9.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
* fix for date display when diffing a deleted revision #983David Lorentsen2006-11-18
| | | | darcs-hash:20061118155255-ce218-73128d52594c55887b4680b95fe7c8fdaf9d689c.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
* two more event hooksAndreas Gohr2006-11-16
| | | | darcs-hash:20061116212937-7ad00-2ac647a9040f75650bdbe1047e76370f9c900dff.gz
* HTML_EDITFORM_INJECTION event addedAndreas Gohr2006-11-14
| | | | | | | A simple event to inject additional HTML into the editform. This probably needs to be improved. darcs-hash:20061114220825-7ad00-ce868b8d8a25f5120c49dc018b8fd1024aff6e12.gz
* fix Old Revisions more and less buttonsBen Coburn2006-10-27
| | | | darcs-hash:20061027174549-05dcb-fbb0d0433aec19579b5da609b44c122754b2e30b.gz
* used named submitbuttons instead of localized labelsAndreas Gohr2006-10-20
| | | | darcs-hash:20061020164148-7ad00-6bb857729d9004b0f9b865410c1c666e07cc03aa.gz
* fix diff view for new pagesAndreas Gohr2006-10-19
| | | | darcs-hash:20061019104917-7ad00-c284fd3336850a18b633bbc3a49375f59edba3c7.gz
* a bit of strictness for mediamgr + login formAnika Henke2006-10-16
| | | | darcs-hash:20061015222040-d5083-afb1c38f5bb2610260bbc51fbff816a8ed2e5f49.gz
* remove metadebug again, improve doÞbug insteadAndreas Gohr2006-09-25
| | | | | | | This adds the complete $INFO array (contains the metadata) to the usual debug output and removes the metadebug parameter again. darcs-hash:20060925201052-7ad00-c9a15b921466803b3f2bd50b0d72211cf68658c5.gz
* don't link non-existing revisionsAndreas Gohr2006-09-25
| | | | | | | | The new changelog mechanism shows all revisions of a document, even if the old revisions are deleted (eg. by a maintenence script). This patch removes the links for non existing revisions. darcs-hash:20060925185434-7ad00-14a558ce69c4116e14d7fdfbaad052c6a7b0a4db.gz
* progressbar script changeAndreas Gohr2006-09-24
| | | | | | | | The progressbar script used in the search accessed parts of the DOM before it was completely parsed which caused problems in IE. This patch moves back to document.write for outputting the image. darcs-hash:20060924170354-7ad00-1e0247b00fc4da4dd30301f4b9389ef727496c4a.gz
* minor bugfix and boring error removalchris2006-09-23
| | | | darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz