summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
Commit message (Collapse)AuthorAge
...
* create unique IDs for sectionsAndreas Gohr2006-02-19
| | | | | | | | | | | | | | | | | | | | This patch finally completes the support for unique section IDs. To achive this the mechanism how the TOC is build was changed. The TOC now is build in the renderer only. Currently the TOC will be rendered in the end_document function and is then prepended to the doc. This should ensure compatibility with the rest of the code. Adding support for separating the TOC from the page should now be a simpler task in the future. TODO: - Update base class - remove commented old TOC code - make sure no other parts of the code use any of the old TOC code darcs-hash:20060218230744-7ad00-40c5463d93f8ae1c543fb4fed747b2047b4c1302.gz
* file cleanupsAndreas Gohr2006-02-17
| | | | | | | | | | This patch cleans up the source code to satisfy the coding guidelines (see http://wiki.splitbrain.org/wiki:development#coding_style) It converts files to UNIX lineendings and removes tabs and trailing whitespace. Not all files were cleaned yet. darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
* romanization support in utf8 libraryAndreas Gohr2006-02-10
| | | | | | | | | | | | | | | | | This patch addes basic romanization support to the utf-8 library. It converts non-latin languages to ASCII. The transliteration tables used where gathered from various places on the net. I do not speak any of those languages so I can't say how good they are. Any recommendations and fixes are welcome! This can be enabled for ID cleaning by setting the deaccent option to 2. It is also used in the XHTML renderer to generate section ids based on the header titles. Leading digits and any remaining non-ASCII chars are removed as well. This is the first step to make section ID always XHTML compatible. Making sure they are unique is not implemented yet. darcs-hash:20060210200627-7ad00-61a633563bb92a00ef4a3f699d73117139cbf367.gz
* anchors inside headlinesAnika Henke2006-02-06
| | | | darcs-hash:20060206001131-d5083-cded00c0dd4cffce4986abaea6021cd93e1477f4.gz
* further xhtml strictness -- part 3Anika Henke2006-01-27
| | | | darcs-hash:20060127193238-d5083-7af0a40e439cd5f63e45d4037611132a16856799.gz
* urlencode -> rawurlencode (related to #685)Andreas Gohr2006-01-21
| | | | | | | | This changes nearly all occurences of urlencode to rawurlencode. The latter encodes spaces as %20 while the former uses a + sign. For the use in browser URLs %20 is the correct form. darcs-hash:20060121192747-7ad00-6563b77368a41f071609495c6a145982938a8301.gz
* stricter xhtml compliance -- part 2Anika Henke2006-01-15
| | | | darcs-hash:20060115183253-d5083-a343b935336bee053b99d75c7e3e72a296eb0099.gz
* better_xhtml_compliance_1.patchAnika Henke2006-01-14
| | | | darcs-hash:20060114163558-d5083-0d8e27162de2b0bfe9783e31cf4ca45a99006dd5.gz
* css fix for compatibility with older templatesAndreas Gohr2005-12-12
| | | | darcs-hash:20051212202103-7ad00-0dc080bff0423f2c93e29361db03452552577e93.gz
* unobstrusive JS for TOC, better onload handlingAndreas Gohr2005-12-10
| | | | | | | | | This path adds more unobstrusive JavaScript for the TOC handling. It also loads JavaScript initialiezers as soon as the DOM is parsed for Mozilla-based Browsers as described at http://dean.edwards.name/weblog/2005/09/busted/ - a IE solution was not chosen yet. darcs-hash:20051210193709-7ad00-771461e56d9661caf9ca733a6d617f009e24d0b7.gz
* fix for bad characters in interwiki classesAndreas Gohr2005-11-11
| | | | darcs-hash:20051111203902-7ad00-d3cd09528f6732723652e1bb01ba6e8fb9b6205f.gz
* use classes for file icons like in interwiki linksAndreas Gohr2005-11-05
| | | | darcs-hash:20051105155911-7ad00-ecba6272c534f73fc1ace47152187be87ef7c6d3.gz
* Interwiki icons are set through CSS classes nowAndreas Gohr2005-10-30
| | | | darcs-hash:20051030152828-7ad00-58a99ca20a1d6ec62612a6281034c1dd669be44d.gz
* fix for double encoding when using mailguardAndreas Gohr2005-10-22
| | | | darcs-hash:20051021223434-7ad00-b6364357c2cc0af50bfdd1490debbb198d3ee5a6.gz
* another XSS bugfix for #595Andreas Gohr2005-10-18
| | | | darcs-hash:20051018213436-7ad00-63e2b361e358729cb90a6126f9cc842e4904c3ec.gz
* fix for XSS bug #595Andreas Gohr2005-10-18
| | | | darcs-hash:20051018200633-7ad00-959b25da1390a8d86e546b59ffe9a49094afb205.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
* added missing file icon #589Andreas Gohr2005-10-14
| | | | darcs-hash:20051014193252-7ad00-8f7fdf928fb5a48085749ad2cb923a5cebf701fb.gz
* do not encode # in interwiki links #529Andreas Gohr2005-09-22
| | | | darcs-hash:20050922161723-7ad00-d3b80451eaa7315a7e5fbb41008d03e8bbc0a991.gz
* Added media 'nolink' and 'direct' optionsjoe.lapp2005-09-15
| | | | | | {{image.jpg?nolink}} darcs-hash:20050915032348-36b45-f298b21de05001cd9a56b4859bf265079b57bf69.gz
* hide namespace in file-links (non-image media) #512Andreas Gohr2005-09-11
| | | | darcs-hash:20050911202522-7ad00-79c3db925f5c7c68e7751643a691ec0e4b380ea1.gz
* function obfuscate($email) moved to common.php; used in parser and some pluginsEsther Brunner2005-09-02
| | | | darcs-hash:20050902150527-283c4-dae58038c70aacb000f535e8173fa263ba774f52.gz
* fileicons for non image media #198Esther Brunner2005-08-16
| | | | darcs-hash:20050816192301-283c4-764462bd6cef810b4385a228edda3951ff709468.gz
* fixed minor bug introduced yesterdayAndreas Gohr2005-08-15
| | | | darcs-hash:20050815192355-7ad00-8ff39d69d48a8c1aa29a78111ff5b7d06a55256e.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
* renderer update, move plugin() method from xhtml to rendererchris2005-08-13
| | | | darcs-hash:20050813182213-50fdc-e1d2529944785b0e39bbd58a184c12d120ff1149.gz
* Changed pluginloading to use referencesAndreas Gohr2005-07-30
| | | | | | | | | This patch allows the use of $this in syntax plugins to set internal variables and let them remain between handle and render calls. Even when it is possible now to use this method you should exchange data betwenn handler and render calls by using the $data array only. darcs-hash:20050730215156-7ad00-69ea79859360d9902533633395de3e1b677f6e46.gz
* footnote fix: almagamate identical footnotes, insitu footnote popupschris2005-07-28
| | | | darcs-hash:20050728005522-50fdc-f359021d5bcf602c2c403d37852196d5eeb4d473.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
* Fixed email link validation issue in 'visible' mode to conform RFC1738Alexandre ROSSI2005-07-22
| | | | darcs-hash:20050722170210-5338b-86561e364705cd92c690ae636e0a87f84a0d1672.gz
* make custom geshi language styles possibleChristopher Smith2005-07-12
| | | | darcs-hash:20050712211236-3bbbb-c0e76063136eb78886cb1daf4d5e9785bb797ab1.gz
* fixed problem with TOC toggle and W3C validatorandi2005-06-24
| | | | darcs-hash:20050624134114-9977f-4d08d9644dbc6836b55ec5c83aa6b10980a545be.gz
* Correct invalid XHTML generated for list elementschris2005-06-24
| | | | | | | | Change the <span> element used to differentiate the <ol> numbering from list item text to a <div> element. A <div> is allowed to have children with display:block (e.g. <pre>, <ol>, <ul>) whereas a span isn't. darcs-hash:20050624130636-50fdc-0637f16f3791c845a5247c5233237330a2e8a2d4.gz
* fix for interwiki gif iconsandi2005-06-14
| | | | darcs-hash:20050614175335-9977f-ac8992d64b5c26146573f6eab2807ae336c36648.gz
* TOC arrow with simple transparencymatthiasgrimm2005-06-06
| | | | | | | | | This patch exchanges the images for the TOC arrow from PNG with alpha channel to GIF with transparent background. This is done because the IE doesn't cope with transparent PNG images very well. Shame on you Microsoft. darcs-hash:20050606163659-7ef76-8a5d482ec2c73b87f4ece0b1226933cbd1ca7d60.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
* String quoting in TOC toggle codematthiasgrimm2005-05-31
| | | | | | | This patch changed the string quoting in the TOC toggle button code. The HTML code looks better. darcs-hash:20050531193827-7ef76-b1434c596e396f126a7c2a94ba8bb4f475383fe7.gz
* toc toggle buttonmatthiasgrimm2005-05-31
| | | | | | | | | | The TOC toggle button was very small and inconspicuous. This patch replaces the old one with small arrows placed at the right border of the TOC header. Code cleanup in html.php: html_toc() and html_list_toc() are obsolete and have been removed. darcs-hash:20050531184155-7ef76-249f948b2a8b71d45aab2b8418db2be5eb638f6d.gz
* fix for PHP includes #350andi2005-05-30
| | | | darcs-hash:20050530182157-9977f-981812ef30c46ca8baed1988418ac4be9f213f11.gz
* fix for ftp links #345andi2005-05-23
| | | | darcs-hash:20050523173734-9977f-bb07be2ed47490dcca80a9cff6c6a2bc4980d9cd.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
* do not encode hash char in internal links #322andi2005-05-14
| | | | darcs-hash:20050514160609-9977f-37117d972cb6a61de5c9847c9d9e25a30867f33d.gz
* don't use static for footnote ids (bad in feed environment)andi2005-05-09
| | | | darcs-hash:20050509204343-9977f-264ebc54c3dee9e8e9ee4368d9a06af1fb486168.gz
* fixed TOC to use translated stringandi2005-05-07
| | | | darcs-hash:20050507132935-9977f-a90b9c67319edf113b44751addf5fbcf264c5907.gz
* local links added #297andi2005-05-04
| | | | darcs-hash:20050504192203-9977f-004cc04b0753fc5d36d4515519c54039e73e77de.gz
* Make useheading work with relative wiki namesjan2005-05-03
| | | | darcs-hash:20050503201059-45605-8d4a3ff954edd165adfc5ae675859f0ec91fe96f.gz
* quoting now uses semantically correct blockquoteandi2005-05-01
| | | | darcs-hash:20050501182348-9977f-a0653d07936820a7e1c251537f4b93556d88d4c8.gz
* various language fixes (including RTL updates)andi2005-05-01
| | | | darcs-hash:20050501115305-9977f-e7ccfbf5b3f47c7f7ff5fb339ba40c0c50861a3c.gz
* more cleanupandi2005-04-29
| | | | darcs-hash:20050429205436-9977f-762f3ded6f93cfb3e068f3acdc1bb80690ad658b.gz