Robin Appelman
48306a3c4f
fix unused variables
14 years ago
Bjoern Schiessle
f11e4d7cd6
removing sanitizeHTML() function from template.php since I moved it to util.php
to make it more generic.
14 years ago
Bjoern Schiessle
089ae980c4
use new sanitize HTML function
14 years ago
Brice Maron
cfb3b633f5
Force sanitize function to use UTF8 (for php lower than 5.4)
14 years ago
Bart Visscher
180243d92a
Move page layout handling to its own class
14 years ago
Bart Visscher
332603a263
Move formfactor code to OC_Template
14 years ago
Thomas Tanghus
89464721c7
Added JSON methods for CSRF prevention. Make request token accessible from template and add js var.
14 years ago
Lukas Reschke
2b22c538c8
Make some apps compatible
14 years ago
Lukas Reschke
6d68b7620c
Check for string
14 years ago
Lukas Reschke
18e44ba2f3
Some updates...
14 years ago
Lukas Reschke
b63795ccb8
Handling arrays
14 years ago
Lukas Reschke
c009bc4b87
Revert
14 years ago
Lukas Reschke
6817a6b102
First try of implementing assignHTML
14 years ago
Brice Maron
9ec68c819b
Change parameter 'web' to 'url' and take array of array in config instead of : separated values
14 years ago
Brice Maron
5c2b2fc842
Change app path logic in templates
14 years ago
Brice Maron
6a250d0d20
Correct css file inclusion
14 years ago
Brice Maron
cc494259d3
Unit path and webpath, correct some more
14 years ago
Brice Maron
b6c5ca126b
First almost working version
14 years ago
Frank Karlitschek
a945fa10a6
update copyright
14 years ago
Bart Visscher
c645a7d0f8
Fix empty jsfiles and cssfiles in layout template
14 years ago
Bart Visscher
2faae817f1
Template: Fix var name
14 years ago
Bart Visscher
6d20fe4012
Template: Make getFormFactorExtension function public
14 years ago
Thomas Mueller
bda2dbec1f
Prevent Clickjacking by adding additional headers:
header('X-Frame-Options: Sameorigin');
header('X-XSS-Protection: 1; mode=block');
header('X-Content-Type-Options: nosniff');
Thanks to Lukas Reschke for reporting this issue (and many more).
14 years ago
Georg Ehrke
ebcaa46482
fix loading of css files that are core related
14 years ago
Georg Ehrke
3f64eb25ab
some fixes fore movable apps
14 years ago
Jan-Christoph Borchardt
7ddd043427
renamed extention to extension, also now only showing lowercase
14 years ago
Robin Appelman
b1bcc60d83
reuse OC_L10N objects
14 years ago
Bart Visscher
632b3cbbbb
Cleanup the template code for redundant code
14 years ago
Frank Karlitschek
5e9d268c21
never try to load an non existing template,css,img.
do propper checking, error reporting and motivate the developerto fix it ;-)
14 years ago
Frank Karlitschek
5943af17e7
spaces -> tabs
Thanks to Jakob for reminding me
14 years ago
Frank Karlitschek
ab96fa67c8
first part of the abstraction work of the apps folder. more to come
14 years ago
Frank Karlitschek
a62e109e8c
make the location of the 3rdparty folder flexible.
It´s automatically search in the owncloud folder and in the parent folder.
override with an option in config.php is also possible
14 years ago
Bart Visscher
a25bda8e41
Add application name to title
14 years ago
Frank Karlitschek
340b6bf3ad
add themeing support and support for autoselection of mobile/tablet and standalone css/jss files and templates
14 years ago
Tom Needham
dd7a411f9a
Disable save button while saving. Streamlined code.
14 years ago
Bart Visscher
43911d9a6f
Template: output better html for select options
14 years ago
Bart Visscher
ef124c3e21
Use a function to generate select options
15 years ago
Robin Appelman
595b13f1e0
prevent the remaining ob_clean related errors
15 years ago
Bart Visscher
82c7598861
Remove global vars and use the OC static version.
Removed global vars are DOCUMENTROOT, SERVERROOT, SUBURI, WEBROOT and CONFIG_DATADIRECTORY
15 years ago
Côme BERNIGAUD
b92603b3fd
Translation for date column
15 years ago
Jan-Christoph Borchardt
d9aae20003
more valid HTML, alt attributes, refactored pagenavi etc.
15 years ago
Jan-Christoph Borchardt
05f3910718
moved search box directly to template
15 years ago
Jakob Sack
4b967a9414
Minor improvements
15 years ago
Robin Appelman
d1d47eb5eb
do proper styling for settings pages
15 years ago
Robin Appelman
e6f6d3dabc
dont use a different navigation page for settings stuff
15 years ago
Jakob Sack
d9ccbe96dd
fix template.php ;-)
15 years ago
Jakob Sack
5f7c040ec0
Add principals, minor changes in base.php
15 years ago
Robin Appelman
faf6c0e8e1
fix some forgotten quotes around strings
15 years ago
Jan-Christoph Borchardt
6d5cb13018
fixed relative time calculation
15 years ago
Jakob Sack
bafd684eb6
Renaming classes :-)
15 years ago