summaryrefslogtreecommitdiffstats
path: root/lib/private/template/functions.php
Commit message (Collapse)AuthorAgeFilesLines
* Remove OC_Helper::imagePath and use the proper public interfaceMorris Jobke2016-01-241-5/+5
|
* Happy new year!Thomas Müller2016-01-121-2/+3
|
* Removed deprecated OC_Helper::mimeTypeIcon functionRoeland Jago Douma2015-12-181-3/+1
|
* OC_Helper::linkTo is deprecatedRoeland Jago Douma2015-12-171-1/+1
| | | | Replaced with suggested (and calling body of)
* Use \OCP\Util::sanitizeHTML instead of \OC_Util::sanitizeHTMLLukas Reschke2015-12-081-2/+2
|
* Untangle the linkToDocs method in OC_HelperMorris Jobke2015-11-261-1/+1
| | | | | * now uses the proper URLGenerator interface * add comment about DI problems
* p() supports string as argumentMorris Jobke2015-11-231-1/+1
|
* Update license headersJenkins for ownCloud2015-03-261-4/+26
|
* Revert "Updating license headers"Morris Jobke2015-02-261-26/+9
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-9/+26
|
* Deprecate Util::formatDate()Joas Schilling2014-12-101-26/+6
| | | | Make DateTimeFormatter a service and adjust tests that have been inaccurate
* second parameter in template shortcuts script() and style() is optionalMorris Jobke2014-11-061-2/+2
|
* Make second argument optionalLukas Reschke2014-11-061-2/+2
| | | | Equivalent to addVendorScript und addScript from OC_Util
* fix shortcuts - underline instead of camelCaseMorris Jobke2014-11-041-2/+2
|
* ability to add bower resourcesMorris Jobke2014-11-031-0/+32
| | | | | | * add addVendorScript & addVendorStyle * refactoring of addScript and addStyle * add shortcuts vendorScript and vendorStyle
* Fix implementation of translation short cutThomas Müller2014-10-291-9/+2
|
* Added OC.L10N namespace with translation functionsVincent Petry2014-10-291-0/+16
| | | | | | | | | | | Added addTranslations and fixed de.js file Fixed de.js to use OC.L10N.register() and use to correct expected format. Added JS unit tests for OC.L10N class Include translations JS script for all apps
* more sugar for including lists of templatesBernhard Posselt2014-09-091-7/+29
|
* append .html since componets always use html filesBernhard Posselt2014-09-081-1/+1
|
* add template functions for html importsBernhard Posselt2014-09-081-0/+10
|
* add shortcut functions for style and scriptBernhard Posselt2014-09-061-0/+18
|
* Use public api for getting l10nRobin Appelman2014-08-311-1/+1
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-7/+7
| | | | * test case added to avoid adding them later
* Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-131-1/+1
|
* Replace @returns with @return, in /libRobin McCorkell2014-05-131-1/+1
|
* p() and print_unescaped() also take arrays as parameterLukas Reschke2014-04-131-4/+5
| | | This fixes some scrutinizer issues.
* polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-061-1/+4
|
* introduce OC_Helper::linkToDocs()Thomas Müller2013-10-211-2/+5
|
* introduce link_to_docs() and migrate linksThomas Müller2013-10-211-0/+5
|
* Fixed missing default valuesVincent Petry2013-10-031-2/+2
| | | | | Added default value for $fromTime to prevent missing argument errors and keep backward compatible.
* Added unit tests for relative_modified_date, changed method signatureVincent Petry2013-10-031-7/+13
| | | | | | | | Changed method signature of relative_modified_date template method to make it possible to add a fromTime to compare with, mostly to make it possible to test it. Added unit test for date and time cases.
* Removed stray debug log writeVincent Petry2013-10-021-1/+0
|
* Added dateOnly argument to relative_modified_dateVincent Petry2013-10-021-8/+32
| | | | | | Improved the template function relative_modified_date by adding an optional dateOnly argument which will output "today" or "yesterday" or "x days ago".
* move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-301-0/+134
Conflicts: lib/private/vcategories.php