Commit Graph

208 Commits

Author SHA1 Message Date
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
Cornelius Weiß
68077b49ac skiped two folders in new tinymce version 2006-08-21 19:40:16 +00:00
Lars Kneschke
1037ac7d7f added a shortcut function, to display a defined type of tinymce window. To have a equal looking tinymce window all over egw. 2006-08-21 02:59:35 +00:00
Ralf Becker
dfb2e85ed6 fixed bug TinyMCE destroys xml or html in content 2006-08-18 09:21:28 +00:00
Ralf Becker
82af1db4bd fix: title in checkbox_multiselect was (only) set for the checkbox, not the whole label 2006-07-08 20:18:36 +00:00
Ralf Becker
5acd64e429 further improved the detection of "real" links 2006-06-16 04:53:52 +00:00
Ralf Becker
0d9206e671 fixed html::a_href('mailto:First.Last@domain.com'), the mailto link was mistaken for a menuaction 2006-06-13 21:58:08 +00:00
Ralf Becker
73b00c865e Fixed bug introduced with the fix for the "no images" bug, thanks to John Thomas for letting me know 2006-06-06 05:33:10 +00:00
Ralf Becker
208a375928 fixed not shown images, if eGW is installed in the document root, with webserver_url empty 2006-06-01 03:48:06 +00:00
Ralf Becker
9adfc41c1e allow to create links pointing outside egw 2006-04-30 18:04:14 +00:00
Cornelius Weiß
d515ec7100 allow to configure more custom options for tinymce 2006-04-05 14:01:09 +00:00
Ralf Becker
37cb5095d5 improved printing: progressbar is now printed as percent value 2006-03-26 22:19:24 +00:00
Ralf Becker
a615cada89 added ability to specify some extra styles for the multiselectbox with checkboxes 2006-03-20 21:51:55 +00:00
Ralf Becker
383c45dad3 added tree method using dhtmlXTree version 1.2 2006-03-19 17:55:36 +00:00
Cornelius Weiß
896da3651e fix for bug #1446050 ( no font selection in htmlarea ) 2006-03-19 07:34:41 +00:00
Ralf Becker
57998e5827 fixed to small div in multiselectbox, this should be handeled by css (overflow) 2005-12-14 06:36:27 +00:00
Miles Lott
bcacc1ef46 phpgw->egw 2005-11-26 14:25:39 +00:00
Cornelius Weiß
81f918c8b6 fix: font tag was not allowed 2005-11-22 22:26:35 +00:00
Ralf Becker
96a2aad962 Adjusting the multi-selectbox width a bit 2005-11-14 21:35:55 +00:00
Cornelius Weiß
256deada9f fix, sorry 2005-11-14 21:27:11 +00:00
Cornelius Weiß
dd068c15c7 add a few more plugins to tinymce 2005-11-14 21:18:01 +00:00
Cornelius Weiß
e11fe7cd81 tinymce
- addoption: FontChooser
- align buttons left
2005-11-11 20:52:58 +00:00
Cornelius Weiß
f578c4f826 make tinymce call easier and provide some custom view 2005-10-13 20:43:06 +00:00
Cornelius Weiß
43c1115dbf switch to tinymce by default 2005-10-13 15:16:38 +00:00
Ralf Becker
8fd573db65 setting language, date- and timeformat for tinymce from the user prefs 2005-10-11 00:27:24 +00:00
Ralf Becker
9f0f20a4cf an other try to get the right size for the multiple selectbox with checkboxes 2005-10-05 12:40:59 +00:00
Ralf Becker
42e14d2cfd multiselectbox with checkboxes: calculated widths was far to much 2005-09-30 14:21:50 +00:00
Ralf Becker
8d4c01bf4b fixed missing escaping of double quotes in the title of wz_tooltips 2005-07-28 09:45:58 +00:00
petere78
73d74fa0f3 XHTML 1.0 cleanup for setup application 2005-07-11 18:02:19 +00:00
Pim Snel
15e32ce762 create tinymce init function so this can be optinaly run before the header is sent. 2005-06-30 09:10:15 +00:00
Pim Snel
210e5621be Add wrapper function for the TinyMCE WYSIWYG editor. This editor much cleaner then htmlarea 2005-06-21 19:46:56 +00:00
Ralf Becker
8f2420541a fixed generation of options in select-boxes: now 0 == '0' != '' when marking options as selected 2005-05-20 17:00:12 +00:00
Ralf Becker
f34b93e6ae implemented the possebility to specify the HTMLarea width and height via it's config (default is via the dimensions of the textarea). Needed if the HTMLarea is in a not displayed tab (style="display: none"). 2005-05-19 13:22:44 +00:00
Ralf Becker
658e1a78c9 form: empty action uses now PHP_SELF?QUERY_STRING 2005-05-03 14:55:24 +00:00
Ralf Becker
b1b41188ad - added possebility to specify titles for options
- fixed typo in class-var $wz_tooltip_included
- fixed left-alignment of inner div of progressbar
2005-04-12 16:30:16 +00:00
Ralf Becker
275b75be1a option to show selected items at the top of the multiselect-checkbox 2005-03-05 15:03:01 +00:00
Ralf Becker
feadf8459e implemented a multiselectbox with checkboxes:
- it looks nearly like a multiple selectbox, eg. scrolls for further lines
- it acts in the same way in forms
- it's NOT identical if using it via javascript
2005-02-24 21:01:13 +00:00
Ralf Becker
c0bed5e88e added escaping of onclick for buttons 2005-02-20 21:47:14 +00:00
Ralf Becker
c04582258f 1) big documentation update
2) image method accepts now:
- image name, search in given app
- URL
- vfs:/ pseudo protocol to access the vfs, eg. vfs:/home/ralf/pic.png
- array with get-vars passed to the link-function for '/index.php'
2005-02-16 13:04:14 +00:00
Ralf Becker
b1ed2f8d61 fixed bug [ 1106069 ] bad hypertext link creation when '&' is in the URL 2005-02-09 16:48:30 +00:00
Ralf Becker
c6d1a7e325 select: fixed quoting of option texts in selectbox,
htmlspecialchars: dont quote &nbsp; &lt; &gt; as they are already entities
2005-02-09 13:53:16 +00:00
Ralf Becker
48ada76f3f added html fieldset 2005-02-06 15:42:31 +00:00
Ralf Becker
fa70cfed73 reformatting acording to our standards - someone totaly screed it ;-) 2004-11-19 06:32:10 +00:00
Ralf Becker
54ed54807f fixed escaping of parameters for the wz_tooltips: single quotes in calendar titles caused all tooltips on that page not to appear 2004-11-17 14:21:43 +00:00
Pim Snel
e7f0d8a133 reorderded htmlarea so different htmlarea's can be configured seperately 2004-10-07 23:09:52 +00:00
bgigon
9d9643a9b5 Fix small display bug if webserver_url isn't set 2004-09-28 13:11:16 +00:00
bgigon
7e1a268980 Increase visual 2004-09-28 12:26:05 +00:00
bgigon
9cd4505562 Another major fixbug for macOS display :-)
Thanks to Omar Boumeddane
2004-09-22 15:33:10 +00:00
Ralf Becker
a52fa703a1 aplied benjamins fix 2004-09-22 15:12:04 +00:00
Pim Snel
8139a1c0f9 add custom_toolbar argument to htmlarea for more developer control 2004-09-21 12:21:24 +00:00
Ralf Becker
88f72fdd51 fix for bug [ 1006205 ] wiki editing broken with Safari
- safari gets now recogniced as browser by the html-class
- html::htmlarea show's a textarea if HTMLarea is not availible (suppresses error with safari)
- dont show button to convert to html if:
  * HTMLarea is not availible for the browser
  * admin disabled it in the wiki configuration
2004-09-19 21:19:00 +00:00
alpeb
e0d1912226 Wasn't finding htmlarea.css when not using /egroupware as base directory 2004-09-19 16:44:27 +00:00
Ralf Becker
fcddfff1d8 removed the HtmlTidy plugin from the defaults, as it breaks the source edit mode (<>) if tidy is not installed 2004-09-16 21:40:23 +00:00
Ralf Becker
df81dc93ab integrated the HTMLarea plugins into the eGW translation system
fixed bug [ 1006205 ] wiki editing broken with Safari
2004-08-29 01:26:42 +00:00
Ralf Becker
9a58928b81 fix for bug [ 1000255 ] Todo with progress screw formating in calender:
- partialy caused by a <div ... /> with no closing </div>
- a table around the icons and title, puts them in one line now
2004-08-07 18:32:03 +00:00
Ralf Becker
bfab7d5a46 changed quoting for wz_tooltips to allow linebreaks 2004-07-19 15:19:02 +00:00
Ralf Becker
c7280a44a9 created new colorpicker for eGW based on the one from htmlArea 2004-07-12 18:50:39 +00:00
Ralf Becker
9694c7e2ea fix for bug [ 954770 ] UTF-8 Support (in developer tools)
- regular htmlspecialchars translated &#([0-9a-f]{4}); to &amp;#\\1;
- which is not correct, at least for our purpose
==> we replace '&amp;#' after htmlspecialchars again with '&#'
==> now eg. persian language works correct in the TranslationTools
2004-07-03 11:41:51 +00:00
Ralf Becker
4ae1356b53 fix for [ 983949 ] Syntax error in phpgwapi/templates/idsociety/head.inc.php 2004-07-02 17:22:47 +00:00
Ralf Becker
5df1f31098 fix for select-box values containing commas, which are not ment as multiple comma-separated id's 2004-07-02 08:56:50 +00:00
Ralf Becker
d484a2227f - IE workaround only for IE
- phpgwapi as default app-name for image-buttons
2004-06-13 20:12:59 +00:00
Ralf Becker
1b5427cb5a using array internaly instead of commasep. string 2004-06-12 09:45:33 +00:00
Ralf Becker
2a311ca452 Added tigra color-picker Ver. 1.1 and some documentation updates (they are now phpdoc conform) 2004-05-26 07:23:31 +00:00
Ralf Becker
49a44154ce tooltip allows now to read it's content from the widget it's set as tooltip 2004-05-16 22:54:49 +00:00
Ralf Becker
e26850933c update tooltips 2004-05-08 21:09:44 +00:00
Ralf Becker
5a008e6768 - added function to create tooltips with the wz_tooltip class
- reformatted the file, it was totaly messed up
2004-05-07 21:21:20 +00:00
Ralf Becker
caefc24438 fixed htmlarea to not try to load a plugin for an empty plugin string
Pim: every param with a default value is set ;-)
2004-05-05 07:40:01 +00:00
Pim Snel
91eb7ee636 implement extra parameter to make use of the htmlarea plugins, olee 2004-04-20 17:19:14 +00:00
Ralf Becker
41f40155aa added function to check if browser supports htmlarea / richtext editor 2004-04-12 13:58:25 +00:00
Ralf Becker
1b4b338fb9 fixed wrong activation of mailto: addresses in in links 2004-04-11 10:10:51 +00:00
Ralf Becker
f6b1b8e03e fix to get IE and HTMLarea working together again, HTMLarea seems not to work in IE, if a <base href="..."> is set. This was done to get relative image-pathes working. 2004-04-04 19:31:30 +00:00
Ralf Becker
5594a20a3b added ability to set a base href, to get relative image-pathes working in htmlarea 2004-03-28 21:43:14 +00:00
Lars Kneschke
2583db40f0 fix for bug [ 923070 ] htmlspecialchars() 2004-03-26 16:24:08 +00:00
Ralf Becker
77fd33e471 1) fix for bug #905284, etemplate does not show images if webserver_url contains protocoll and domain
2) added a new progress-bar
2004-02-29 09:51:45 +00:00
Ralf Becker
1994b1c179 change default-param of htmlarea, to be used if no or empty style is given 2004-02-29 00:12:48 +00:00
Ralf Becker
d99afd7a11 new function activate_links to change url's into links and automaticaly create spam-saver mailto addresses 2004-02-26 15:32:34 +00:00
Ralf Becker
597f99375c fixed bug in image and submit-button, that caused names containing '.' to be truncated at the first dot 2004-02-19 22:35:38 +00:00
Ralf Becker
b7ee6ce75f workaround for idots and IE button prob (wrong/no cursor) 2004-02-16 09:27:37 +00:00
Ralf Becker
cb7fa13a6f 1) use images+links for image-buttons, as the IE png-fix does not work on image-buttons
2) for links instead of button (eg. tabs) only one hidden-var is used, not longer one per button
2004-02-14 18:48:53 +00:00
Pim Snel
c646b67eca fix some buttons and update the rest of the htmlarea tree 2004-01-29 21:50:00 +00:00
Pim Snel
e9ff05661c update and fix htmlarea when having more then on textbox in a form 2004-01-29 13:36:38 +00:00
Ralf Becker
a3a85a862d import htmlarea 3.0beta
eGW code to use it, is in phpgwapi/inc/class.html.inc.php the translations (via eGW standard translation system) are in phpgwapi/inc/htmlarea-lang.php
2004-01-08 09:03:17 +00:00
Ralf Becker
51b445e0fb make it a bit more xhtml compatible: lowercase tag- and attribute-names
added charset to htmlspecialchars (might fix some probs with chiniese charsets)
2003-12-26 21:00:00 +00:00
Miles Lott
4f612cbbde intval -> (int), replace gettype() and ereg_replace() where possible 2003-12-14 17:07:16 +00:00
Ralf Becker
1f4dad9ce2 sort- and filter-headers for the nextmatch widget 2003-12-09 00:26:22 +00:00
Ralf Becker
cf20f79d91 added the html-class to the API 2003-09-14 10:19:42 +00:00