summaryrefslogtreecommitdiff
path: root/inc/template.php
Commit message (Collapse)AuthorAge
* More work on Javascript and CSS dispatchersAndreas Gohr2005-10-29
| | | | darcs-hash:20051029185222-7ad00-c184ab3496539f3027407c7d17e8770a1849546a.gz
* JavaScript refactoringAndreas Gohr2005-10-29
| | | | | | | | This patch addes a first go on a central javascript and CSS dispatcher which builds a single script from all needed scripts, does optimizing and caching. darcs-hash:20051029002652-7ad00-7558b569c2bf65f5e41820644580d97c62edd0d6.gz
* fix for XSS problem in searchboxAndreas Gohr2005-10-21
| | | | darcs-hash:20051021112809-7ad00-f49197c217bed86e74e5f199b83861f55f77b78d.gz
* auth update, incl. auth object, plain.class.php; resend password & update ↵chris2005-10-20
| | | | | | profile actions darcs-hash:20051020181434-50fdc-44222aa2074bb0e39a1c240c516259579b380740.gz
* insert media with leading colonAndreas Gohr2005-10-15
| | | | | | | fixes a bug when a mediafile from the top namespace is referenced in a subnamespace. Thanks to Otto Vainio for reporting darcs-hash:20051015191850-7ad00-b5c2c965b6032b081973e25d02adb2a9408b54de.gz
* more unobstrusive javascriptAndreas Gohr2005-10-15
| | | | | | | | | | The edit form now is free of inline event handlers. There are still other places where inline javascript and even document.write is used which should be fixed as well. Currently the window.onload event is used to initialize everything which may not the best way to do so. Dean Edwards may have a solution: http://dean.edwards.name/weblog/2005/09/busted/ darcs-hash:20051015184404-7ad00-2404744d008e5ea7e1b5800c96800824b532ff47.gz
* first go on unobstrusive javascript, new toolbarAndreas Gohr2005-10-08
| | | | darcs-hash:20051008175404-7ad00-cd640de7660825b19d5e863cc8caf5467d59b055.gz
* back button fixmatthiasgrimm2005-10-13
| | | | | | The back button corrupted the varable $ID which is used by the indexer. darcs-hash:20051013170633-7ef76-8102f8c8e658d0032783d825a648c13303373c82.gz
* minor edit checkboxAndreas Gohr2005-10-02
| | | | | | | | | This patch adds a minor edit checkbox to the edit form for logged in users. Minor edits are displayed different in recent changes and the page revision history. The RSS feed excludes minor edits by default - this can be changed by adding a minor darcs-hash:20051002113255-7ad00-2bc9e1aaa76d9616428e760529ecc14ef119cf71.gz
* fix for subscription feature in tpl_actionlink #576Christopher Arndt2005-10-01
| | | | darcs-hash:20051001135047-51048-4ed7389d2d23bfecf020d6493e6d126869e8a2e8.gz
* fixed duplicate classname in default templateAndreas Gohr2005-09-21
| | | | darcs-hash:20050921204122-7ad00-5911edd5bff4bb23d97a735ff00782c2b95fc901.gz
* action_link classessu2005-09-17
| | | | darcs-hash:20050916232433-0835e-fa17547516d5cd02175c9d96806100f9a9eca6ba.gz
* made tpl_img() arguments more intuitivejoe.lapp2005-09-15
| | | | | | | | Caller passes non-zero dimension only when proportionately limiting the image by that dimension; no need to pass very large numbers to preserve the image's original dimensions or to leave one dimension unconstrained. darcs-hash:20050915035516-36b45-660f49670164c75285cf3e9051d10786216ec6df.gz
* fixed newlines in JavaScript alertsAndreas Gohr2005-09-04
| | | | darcs-hash:20050904112930-7ad00-fb2b246c6b4872ae97cd859d452a1c0f0ca77613.gz
* comment additionsAndreas Gohr2005-08-27
| | | | darcs-hash:20050827122257-7ad00-a69f022b248a3ac2d234b5c25eb4bdcf917851b4.gz
* small changes to tpl_youarehere()Nigel McNie2005-08-27
| | | | | | | | There were a bug where the $conf['startpage'] link is shown twice, and I changed the behaviour on finding a link to a page that doesn't exist. darcs-hash:20050827121154-d87d2-d49833b3229523f5b5ae9354fe8d3aff24f983da.gz
* addslashes for JavScript language stringsCarles Bellver2005-08-27
| | | | | | | | | | | If you use a single quote (escaped with a slash, of course) in strings 'notsavedyet' or 'qb_alert', then the edit toolbar doesn't show in your edit pages. This is caused by the way these strings are inserted in javascript code in inc/template.php. This patch fixes it. darcs-hash:20050827113536-cc4ee-02805ca80c3cc3fedac65e908dae71af92f412f7.gz
* admin plugin i/face + acl pluginchris2005-08-25
| | | | darcs-hash:20050824224718-50fdc-6d27ff70e60e6fe547aff6c2b305507c4ab3f669.gz
* add backlink btn and actionlinkchris2005-08-25
| | | | darcs-hash:20050824222056-50fdc-0afb947d649df545039c1ddc4ed1e1bfd9cb71fc.gz
* don't display indexer webbug for nonexisting pagesAndreas Gohr2005-08-23
| | | | darcs-hash:20050823183426-7ad00-0cadf9dfa87fcae1dc6c40b7f56c4f08b9406945.gz
* added missing indexer fileAndreas Gohr2005-08-23
| | | | darcs-hash:20050823163450-7ad00-5ed5b87ee1898281090bb3170498866dbc18cb24.gz
* added stopword support to the indexer, added indexer webbugAndreas Gohr2005-08-14
| | | | darcs-hash:20050814181035-7ad00-ed5d879d29fcee7f925f806456675605b058966a.gz
* subscribe_changes.patchsteven-danz2005-08-08
| | | | | | | Updates to the subscription patch to add a configuration option to enable/disable the feature, move the messages to the language files, and general cleanup darcs-hash:20050808045034-4c315-88a72dc8d2b22fdd9af8caa0505ef5c737965c86.gz
* URL rewriting for media filesAndreas Gohr2005-08-14
| | | | | | | | | | This patch adds nicer URLs for media files (for fetch.php and detail.php) !IMPORTANT! Users of rewrite mode 1 need to adjust their .htaccess See .htaccess.dist for an example darcs-hash:20050814101834-7ad00-37ef1dea00affc9d808d9ee1289fa7454199cd24.gz
* changes to the page subscription featureAndreas Gohr2005-08-06
| | | | darcs-hash:20050806212000-7ad00-c5ab54a33289f8be0ce99443f82f0b3cf1bdbf0d.gz
* track_changes.patchSteven Danz2005-06-27
| | | | | | | | Second go at including changes to allow users to sign up on mailing lists so they may receive emails each time the page they are interested in is updated. darcs-hash:20050627021748-3ed6d-5f6993f51ab649e3928a513b0fbe7c421d880325.gz
* Load plugin javascriptAndreas Gohr2005-08-01
| | | | | | Javascript files from plugins called script.js are loaded automatically darcs-hash:20050801182242-7ad00-2bc839c92c54e641347ed1cbeadf8bba3ef6a7a8.gz
* image metadata editorAndreas Gohr2005-07-31
| | | | | | | | | | | This patch adds an meta data editor for JPEG files. Currently title, caption, artist, copyright and keywords can be saved. The data is saved to the apropriate IPTC fields. Additional fields can be added in the appropriate template. Compatibility testing with other programs is needed! darcs-hash:20050731163554-7ad00-dd936ec19549203dcf72de8774309c0b17d0b679.gz
* optimized Image metadata handlingAndreas Gohr2005-07-31
| | | | darcs-hash:20050731115030-7ad00-2a1a423985864f0daae57545c2f3945abfc10257.gz
* Plugins can add their own CSS nowAndreas Gohr2005-07-31
| | | | | | | | | | | | Plugins can use their own styleheets now. They are loaded in the tpl_metaheader function. The following files are used if existing in the plugin's directory: style.css - overall style used always screen.css - only used in normal view (media darcs-hash:20050731073521-7ad00-dcece7a255d3b08a1d2da9f2444b31e628ee76ea.gz
* fallback to default template if custom one is not availableAndreas Gohr2005-07-29
| | | | darcs-hash:20050729163001-7ad00-24d0768ecd593ab85fda0e3c5fbdbec0e8ff3276.gz
* DOKU_CONF define for config directory #479Andreas Gohr2005-07-29
| | | | darcs-hash:20050729155457-7ad00-94554865259e4cbd6a1c75bb62a93f37304adbf0.gz
* footnote fix: almagamate identical footnotes, insitu footnote popupschris2005-07-28
| | | | darcs-hash:20050728005522-50fdc-f359021d5bcf602c2c403d37852196d5eeb4d473.gz
* EXIF/IPTC metadata in media popupAndreas Gohr2005-07-24
| | | | darcs-hash:20050724201111-7ad00-81e8de6162b0e0923c08dcc7b8c750cd604c4dfd.gz
* some minor fixes in image detail handlingAndreas Gohr2005-07-24
| | | | darcs-hash:20050724125047-7ad00-a03fa69aed22694f6b7635923b1f2ce564165b9f.gz
* first step in Image metadata supportAndreas Gohr2005-07-24
| | | | | | | This adds a detail page for images, for JPEG files additional metadata from EXIF and IPTC fields is shown darcs-hash:20050724115540-7ad00-926601cd12a990e041943edc616360d8179d6c9f.gz
* useheading fixes #460 #465Andreas Gohr2005-07-16
| | | | darcs-hash:20050716111225-7ad00-913c36c65ac1a985fea60eed57fc7391328bfacd.gz
* minor bugfix to use strings instead of nonexistant definesAnders Betnér2005-07-11
| | | | darcs-hash:20050711195850-d2ce9-372c22babbd2cc198ea3606d60fbe7c229c648b5.gz
* fixed upload form action link #418andi2005-06-24
| | | | darcs-hash:20050624120023-9977f-0160b8816c006dfcef83d1da737f6bcd2a0d7483.gz
* media reference check part 2matthiasgrimm2005-06-16
| | | | | | | | | | | Part 1 only checks for the existance of references. Part 2 will show where this references are so that the user could easily find them. Both parts are configurable: refcheck darcs-hash:20050616163425-7ef76-a7fce6cd1ef5d2cc2e4ac3b869969a65c671770a.gz
* spellchecker fixes for Konqerorandi2005-06-11
| | | | | | Konqeror seems to ignore the charset darcs-hash:20050611092916-9977f-311b99e63b66a83c9f9022c468ba61d0687822c2.gz
* AJAX spellchecker #29andi2005-06-07
| | | | | | | | | | | | | | | | | | | | This is nearly a complete rewrite of the gmail like AJAX spellchecker from http://www.broken-notebook.com/spell_checker/index.php Here are the differences and features * seemless integrated into DokuWiki * no need for the pspell extension * needs GNU aspell installed (not sure about the version I guess 0.60+ for UTF8) * needs PHP 4.3.0+ * uses SACK for AJAX * gets errors and suggestions in one transfer So far only tested in Firefox. It should work in IE, Safari and Opera 8, too. Please test and report back. darcs-hash:20050607194456-9977f-f699144d1fd28359742b2ce0f28c839a1f4cefbb.gz
* directory layout cleanup !IMPORTANTandi2005-06-05
| | | | | | | | | | | | | This patch changes the directory structure of dokuwiki as suggested in http://www.freelists.org/archives/dokuwiki/06-2005/msg00045.html As the changes.log is not managed through darcs you need to move it your self to the new location in data/changes.log I think I modified the code at all nessessary places, but I may have forgotten a few things. darcs-hash:20050605103842-9977f-af20f63c1d604888375d175d89ac6bd71566d47d.gz
* Mediafile Deletion and Overwrite Handling #200andi2005-06-03
| | | | | | | | | | | | | | This patch enhances the ACL feature by adding another Permission called DELETE - this permission allows a user to delete or overwrite existing mediafiles. Users with UPLOAD permission are no longer allowed to overwrite media files. Users whith DELETE permissions now need to check an additional checkbox to overwrite existing files, this is to prevent accidently deletions. Please note: If no ACL is used UPLOAD rights are assumed for everybody - not DELETE rights. This changes the behaviour from previous versions as UPLOAD does not allow overwriting anymore. darcs-hash:20050603205501-9977f-1d219b23a79bb097ed0e0b8184dc6d5d8aad578b.gz
* keep search input on search pagematthiasgrimm2005-06-01
| | | | | | | | | This patch modifies the search input form so that the search input is kept as long as the user stays on the search page. This is pure comfort because he is able to optimise his query step by step without the need of typing in the query multiple times. darcs-hash:20050601163504-7ef76-aad10750707ba97810bc5c5185da3e8ad9ae7391.gz
* add a back button to parent pagematthiasgrimm2005-05-19
| | | | | | | | | | | | | | | | | | | | | | This patch extends the template functions with back button linking to the current pages' parent if available. Both tpl_button() and tpl_actionlink() are supported. For this to work the first page in the namespace must have the same name as the namespace itself. The 'back' button of every page in this namespace links to namespace:namespace. The 'back' button of the page namespace:namespace links to the first page of the containing namespace and so forth until the start page has been reached. Because of the precondition decribed above, the default template hasn't got the new 'back' button. It is reserved for custom made templates and installations which take care of the precondition. darcs-hash:20050519174025-7ef76-1e9c78c941f53871905fc1ba08b28a826553daa3.gz
* fix for history navigation buttonsmatthiasgrimm2005-05-25
| | | | | | | | This patch adds some sanity checks for the history start parameter 'first'. Only the needed history entries will be loaded at once now. This will reduce server load a bit darcs-hash:20050525161658-7ef76-1ab681b4c784bbe834fae91301ee7b9cd2a2cd8b.gz
* history navigation buttonsmatthiasgrimm2005-05-23
| | | | | | | | This patch adds a 'next' and a 'previous' button to the history page. They make it possible to see more than one page of history data. darcs-hash:20050523165826-7ef76-77a2c21e8b172200f169e0aea8441e8b100ab278.gz
* some ajax quicksearch cleanups - now tested in IEandi2005-05-20
| | | | darcs-hash:20050520171400-9977f-9039c9e9ea00c428cbfe30999400331f57d2d31a.gz
* first attempt of syntax pluginsandi2005-05-19
| | | | | | | | | | | | | | | | The first version of the new plugin system. Syntax plugins only yet. A very simple example plugin called info (doing nothig useful yet) is included. Missing Features - Doku_Block_Handler needs work (doesn't honur plugins yet) - there is no way to specify the order of plugins and other modes yet - useful output from the info plugin - bug testing and fixing - code cleanup - documentation darcs-hash:20050519201009-9977f-f793dbfc6a39d8a9643b610927d93cd3288bdd6b.gz