Commit Graph

135 Commits

Author SHA1 Message Date
Klaus Leithoff
e99af0dfd6 revert of the change in r28264 as it would allow crossside scripting 2009-11-05 09:06:41 +00:00
Klaus Leithoff
5a4f03cf7b fixing a problem regarding the activation of links encoded with htmlspecialchars 2009-11-05 08:40:57 +00:00
Ralf Becker
4e21b766b9 - reworked old browser class to use have only static methods
--> recogniced it's so old and dusty, it does not make sense any more
--> moved content_header() method to html class
- fixed calls of browser->content_header to use html::content_header
  instead
2009-10-11 11:37:46 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
7049fe4bc0 - implemented htmlpurifier also for sitemgr (only non site-admins) and
knowledgebase
- html::fckEditor() has optional parameter to NOT use htmlpurifier
2009-05-19 19:23:38 +00:00
Ralf Becker
8f797be836 Added HTMLPurifier (http://htmlpurifier.org/) Version 3.3.0
- can be used via html class like: 

        $clean_html = html::purify($html);

- using it now in eTemplate to remove malicious code from html:
  a) when displaying "formatted text"
  b) when "formatted text" get's input by the user
2009-05-19 17:32:06 +00:00
Klaus Leithoff
86f1dde06f configurable favicon, configurable vfs image store for images, logos, icons 2009-05-13 14:33:36 +00:00
Ralf Becker
bdcb10ea2d Enable etemplate to mark rows of a grid / table as part of the header or
footer to repeat them on each printed page.
2009-02-23 13:21:28 +00:00
Ralf Becker
f0a4de499b "fix for boolean options" 2008-11-12 18:40:10 +00:00
Klaus Leithoff
871116b6e1 if you pass the style to htmlarea, and the htmlarea is available, then style is used as switch for the fck editor-mode. If not passed extended is
used as default.
2008-08-11 09:28:37 +00:00
Stefan Becker
8727151c9a PNG Bugfix for IE 6 is working on IE 7 (browsercheck) 2008-07-21 14:40:54 +00:00
Ralf Becker
be2fa1c923 "update to fck 2.6" 2008-04-15 12:23:32 +00:00
Ralf Becker
501df49cbb stream wrapper interface is now eGW VFS interface
- if you already run the 1.5.003 update (AND modified anything in the VFS), you have to re-run it, to not loose your modifications or risk an inconsistent VFS (DB does not match filesystem)
- to re-run the 1.5.003 update (only if your version is already 1.5.003 or bigger!) run the following sql:
UPDATE egw_applications SET app_version=1.5.002 WHERE app_name=phpgwapi
- the new vfs supports now an extended ACL, if that is supported by the backend (sqlfs only currently)
- eacl allows to set separate recursive acl rights for different users or groups on a directory (and subdirs)
- former group grants of group dirs are converted to eacl, thought we only support read or read+write access (no extra add or delete)
- attachments via the links class now also use a stream wrapper interface (links_stream_wrapper) and WebDAV as download handler (which requires no longer filemanager run rights)
2008-04-14 05:52:24 +00:00
Ralf Becker
2912ec7c61 "fixed broken image title" 2008-03-20 08:32:29 +00:00
Ralf Becker
0da675bf6e made all methods from html class static and removed the unnecessary singleton 2008-03-09 14:35:48 +00:00
Nathan Gray
742ed962f5 Add a check on pngfix preference so the internal function doesn't always preempt pngfix.js settings 2008-01-09 18:15:42 +00:00
José Luis Gordo Romero
a70080a62a 2007-12-23 08:17:01 +00:00
José Luis Gordo Romero
91f90bb1af Enabling new admin/preferences options (fckeditor behavior/spellchecker) to felamimail 2007-12-23 07:39:56 +00:00
José Luis Gordo Romero
71d98434fe Enabling the new prefs & admin settings in fckeditor html class function 2007-12-20 06:15:56 +00:00
José Luis Gordo Romero
e0217cfabd 1. Enabling custom fckeditor config file (settings that can not be configured by the php object) and modified connector path
2. Enabling compatibility (ofically supported by fckeditor) to safari and opera
2007-12-17 18:00:48 +00:00
Ralf Becker
32b19397ae fix for bug 'etemplate tree widget does not work in IE6' reported on the developer list uwe.redecker-AT-t-online.de 2007-07-24 09:32:28 +00:00
Ralf Becker
9f1df33c74 first version of a tree widget (atm the whole tree need to be supplied, like for select) 2007-07-22 13:23:44 +00:00
Ralf Becker
8eda1028a3 "switching FCK's encoding as html entities off, as we correctly handle charsets and it messes up the wiki totally" 2007-06-13 08:35:13 +00:00
Ralf Becker
01f44ef311 "fix for konq, if multiselect is in a right-alinged table-cell or box" 2007-06-07 10:29:56 +00:00
Ralf Becker
852f8149b2 "fixed error in fmail compose under Konqueror: fallback textarea is only 4 lines high, not 400px, as FCK expects the heigt as number and adds px itself
also removed the commented out tinymce code"
2007-05-21 06:19:42 +00:00
Lars Kneschke
defef645e2 disabled context menu in simple view to enable FF2 and IE7 spellchecker 2007-05-09 15:37:25 +00:00
Ralf Becker
47763981e9 "missing default for last param or fckeditor" 2007-04-27 08:48:50 +00:00
Ralf Becker
dd45443d8e "fix for bug #486: InfoLog removes https from urls on display
and some other fixes in the activation of url's"
2007-04-26 12:32:03 +00:00
Ralf Becker
c5c317d9df "get image upload in fck working again" 2007-04-14 16:57:57 +00:00
Lars Kneschke
8e1dc4b5b1 another PHP 5.2 bugfix and an javascript fix from Sebastian 2007-02-28 06:06:35 +00:00
Lars Kneschke
7025c0d91a fix for Warning: Wrong parameter count for str_replace() in /usr/share/egroupware/phpgwapi/inc/class.html.inc.php on line 1061 2007-02-27 06:41:36 +00:00
Cornelius Weiß
d284974f9f patch #203 from sebastian ebling:
extendet submit_button() to also display <input type=button
 new type buttononly for eTemplate
applied this type for addressbook.index.right_add buttons
 applied this type for tracker.index.right button
2007-01-20 08:54:56 +00:00
Cornelius Weiß
a90f81b8f4 compat for other browsers 2007-01-19 08:00:09 +00:00
Cornelius Weiß
8cf37ad18b upps, this function is used by wiki 2007-01-19 06:58:38 +00:00
Cornelius Weiß
9e2b2b780f complete transition to fck
changed etemplate apps: resources, wiki, projectmanager, infolog, news_admin
infolog now has a fck w.o. toolbar by defaut. This helps for mails from mail2infolog
compability function htmlarea in class.html now points to fck
deactivated old tiny code in class.html
2007-01-18 19:18:44 +00:00
Cornelius Weiß
1eb9dbe961 applay path #298 from Jose Luis Gordo Romero: sitmgr, api tiny->fck 2007-01-18 17:59:28 +00:00
Ralf Becker
fe7ad0a549 always comparing options as strings 2007-01-12 01:24:05 +00:00
Pim Snel
f957bdfa83 add option custom image path parameter for tree menu to enable custom icons 2007-01-02 23:26:53 +00:00
Ralf Becker
e6dd37c326 quitened 2 of these stupid php5.2 warnings 2006-12-19 07:09:59 +00:00
Ralf Becker
ce2a7c918f fixed warning introduced by strstr --> strpos conversation 2006-12-07 19:17:25 +00:00
Cornelius Weiß
4421d6cf09 strstr -> strpos fix by thomas koch 2006-12-07 12:46:08 +00:00
Cornelius Weiß
56fb1e7052 killed a php5.2 warning 2006-12-02 07:55:09 +00:00
Ralf Becker
084b53971c fixing the fix: explicitly disallowing "javascript:" url's to be used as menuaction: fixes not working add email links in the addressbook popup for FMail 2006-11-13 11:59:59 +00:00
Lars Kneschke
6173df6f48 * reworked api call for fckeditor 2006-11-08 08:06:27 +00:00
Lars Kneschke
8a0f08b54f * initial import of fckeditor
* added function to add fckeditor instead of tinymce
2006-11-07 18:18:22 +00:00
Ralf Becker
45fa4d0c1c fix for Nathan to allow again ':' in the links 2006-10-31 16:50:39 +00:00
Lars Kneschke
268d434501 fix IE only javascript problem 2006-10-25 13:40:38 +00:00
Ralf Becker
4586e3c267 fix for bug #9 2006-10-13 15:55:00 +00:00
Ralf Becker
bb9fb665c9 - tinymce use absolute url's again (as in the previous release)
- docu update
- remove double cursor css-attribute, which gave a lot warnings in ff's javascrip console
2006-08-30 14:47:56 +00:00
Lars Kneschke
698c0d9416 ad font tag as valid html tag 2006-08-24 09:49:38 +00:00