summaryrefslogtreecommitdiff
path: root/inc/parser/code.php
Commit message (Collapse)AuthorAge
* more reformattingAndreas Gohr2014-05-24
|
* add renderers to autoladerChristopher Smith2014-02-25
|
* Fix CodeSniffer violations for PHP filesMatt Perry2013-08-23
| | | | Fix violations for Generic.PHP.LowerCaseConstant.Found
* strip specials from file name in codeblock downloads FS#2757Andreas Gohr2013-04-19
|
* introduced http_status() for sending HTTP status code FS#1698Andreas Gohr2013-02-16
| | | | | | | It seems, some servers require a special Status: header for sending the HTTP status code from PHP (F)CGI to the server. This patch introduces a new function (adopted from CodeIgniter) for simplifying the status handling.
* replaced use of basename() with utf8_basename() FS#2015Andreas Gohr2012-07-28
|
* Input wrapper for html formsTom N Harris2012-06-28
|
* fixed filename support in <file> syntaxAndreas Gohr2009-07-26
| | | | | | Ignore-this: 59bec5f55f7d0eb26d454d76da750142 darcs-hash:20090726185025-7ad00-1577f684e585c849fda9505ccad98735f0c7bb76.gz
* enhanced <code> and <file> syntaxAndreas Gohr2009-07-26
Ignore-this: 80398f84222bec1fce56eee8f107d37a This patch enhances the code and file syntax with several new features. 1. code and file are now essentially the same and just differ in the class name. This means you now can use the file syntax with syntax highlighting as well. This also solves problems where the code to highlight already contains a <code> tag (FS#1493) 2. a filename can be given as label for the code or file block. It is specified as second parameter after the language: <code html myfile.html>...</code> If no highlighting is wanted, but a filename shall be given, you can use a dash as language: <code - somefile.foo>...</code> 3. when a filename was given (as shown above), the label links to a download of the code given in the code/file block. This is made possible by a new renderer in inc/parser/code.php. The basename of given filename is suggested as filename when downloading. darcs-hash:20090726175158-7ad00-969641a06ae1393a6d99207c3cd938fb67f23a71.gz