Commit Graph

902 Commits

Author SHA1 Message Date
Oscar Manuel Gómez Senovilla
b78613e0f7 missing files 2006-04-20 23:19:32 +00:00
Cornelius Weiß
69aa6abdec update docu to better run trough phpdocumentor 2006-04-20 17:12:30 +00:00
Ralf Becker
fe025e3bd3 typo 2006-04-19 18:08:59 +00:00
Ralf Becker
2261ca5419 - dont write columns not set in $this->data
- read used internal name of primary key, instead of db name (only matters if they differ)
- param column_prefix of constructor and setup_table, to automatic setup a conversation from internal name (without prefix) to the db-name with the prefix
--> I will commit this bugfixes after a short testing period to 1.2 too
2006-04-19 08:03:28 +00:00
Ralf Becker
0d9a26e224 fixed not working arrow-navigation (grids) in the editor: php5.1 does not assign by reference if a function returns no reference 2006-04-09 08:16:12 +00:00
Ralf Becker
4794146748 removed / reverted some earlier fixes which caused other problems 2006-04-06 18:39:34 +00:00
Ralf Becker
f4ee3a80db - fixing the fix: uninitialised ...
- additional alignment, caused some space behind the arrow in an active nextmatch header, in a right aligned cell - complicated ;-)
2006-04-05 15:28:48 +00:00
Ralf Becker
435a8ee099 fixed disapearing addressbook view if changing something in the hooked in infolog. Caused by one etemplate app hooking an other one, was not working. 2006-04-05 15:24:46 +00:00
Ralf Becker
85a9bfb5d3 For a union-query call search for each query with $start=='UNION' and one more with only $order_by and $start set to run the union-query 2006-04-05 15:22:50 +00:00
Cornelius Weiß
821f206962 fix: advsearch in cat 2006-04-05 13:53:37 +00:00
Cornelius Weiß
d79ed4aa96 allow etemplate to use xajax 2006-03-29 19:25:00 +00:00
Oscar Manuel Gómez Senovilla
3e19646bc1 *** empty log message *** 2006-03-28 22:08:01 +00:00
Ralf Becker
c18b81ffbf fixed old nextmatch-widget problem, which cause the first click on a button in the list got not registered, because of an uninitialised filter 2006-03-27 15:08:47 +00:00
Ralf Becker
4a98fcd281 fixed default to be hours (not minutes) 2006-03-27 12:46:21 +00:00
Ralf Becker
54f423b6cf added minutes as input unit to the duration / date widget 2006-03-27 12:22:12 +00:00
Ralf Becker
ddde44ea3c added precision to the float widget 2006-03-27 12:21:29 +00:00
Ralf Becker
9a6649a931 - fixed not working buttons in nextmatch-list, if pressed before direct after login
- improved printing:
  + disabled unnecessary UI-elements in nextmatch
  + nextmatch has now selection for the number of rows to display
  + nextmatch-filters (selectboxes) are now printed as text
2006-03-26 22:17:55 +00:00
Ralf Becker
23f5d80380 enabled so_sql::search to use UNION 2006-03-26 22:09:02 +00:00
Oscar Manuel Gómez Senovilla
a6a7b0b7d5 catalan and other updates 2006-03-25 10:49:56 +00:00
Cornelius Weiß
f8443b7c19 insert id in <div> tag 2006-03-22 13:04:17 +00:00
Cornelius Weiß
71d59ec6cb fix forgotten </div> tag if empty content 2006-03-21 22:59:03 +00:00
Ralf Becker
fc5c2baa45 added ablity to set onchange via content 2006-03-21 22:13:46 +00:00
Ralf Becker
9dfb3f5629 fixed return of "<b></b>" for empty textfields 2006-03-21 17:11:57 +00:00
Ralf Becker
84b36865e1 dont give a required error if there's a blur content 2006-03-21 14:00:50 +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
Oscar Manuel Gómez Senovilla
0f4c6ed22b portuguese update 2006-03-17 23:10:11 +00:00
Ralf Becker
17006213e6 fixed to big edit popup 2006-03-17 21:14:31 +00:00
Oscar Manuel Gómez Senovilla
f84be88515 *** empty log message *** 2006-03-16 22:32:12 +00:00
Oscar Manuel Gómez Senovilla
79e7e246f9 *** empty log message *** 2006-03-16 19:06:10 +00:00
Ralf Becker
c751dee313 fix to allow 2 eTemplate's in one request (eg. addressbook.view) 2006-03-16 14:20:57 +00:00
Cornelius Weiß
300b9b1070 addressbook extension:
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Oscar Manuel Gómez Senovilla
97e05c8645 *** empty log message *** 2006-03-13 11:38:53 +00:00
Ralf Becker
c1722f0bf9 adding 1.3 api to dependencies 2006-03-08 21:41:25 +00:00
Ralf Becker
bd8dab6477 ability to set the onchange attribute 2006-03-07 23:44:21 +00:00
Ralf Becker
d342357b4c to 1.2 updated eTemplate, thanks to Raphael Alla <raphael-AT-olineopensolutions-DOT-com> 2006-03-07 15:17:35 +00:00
Ralf Becker
01264851fd to 1.2 updated eTemplate, thanks to Raphael Alla <raphael-AT-olineopensolutions-DOT-com> 2006-03-07 15:17:35 +00:00
Ralf Becker
f5e5bdb1ed fix for eg. freetimesearch: non multiple selectboxes got wrongly a [] appended to the name 2006-02-28 17:02:58 +00:00
Ralf Becker
51c43c997f docu update and make the content array globaly availible for eg. extensions 2006-01-11 05:25:49 +00:00
Ralf Becker
1f3f5651ee bugfix: suppressing numeric attributes 2006-01-06 04:50:56 +00:00
Ralf Becker
68f2b987ce bugfix: link-widget did not reset remark after an attachment/link 2006-01-06 04:50:11 +00:00
Oscar Manuel Gómez Senovilla
36f4261835 chinese updates 2005-12-30 16:07:29 +00:00
Oscar Manuel Gómez Senovilla
e3da589d1e *** empty log message *** 2005-12-20 01:47:35 +00:00
Ralf Becker
a1f055d42d allow to use a constant for the app-name 2005-12-19 04:27:19 +00:00
Ralf Becker
28fe36e769 typo 2005-12-19 04:26:34 +00:00
Oscar Manuel Gómez Senovilla
255e863d05 several language updates 2005-12-06 11:23:12 +00:00
Ralf Becker
e73c48f794 fixed some bugs and missing things:
- subs are closed (set to done) too, if an entry is set to done via the close action
- infolog stays now in the subs view, if you add or edit an entry there
- entries created from the projectmanager go a set category
- times can optionaly be shown in the list
2005-12-06 07:11:14 +00:00
Oscar Manuel Gómez Senovilla
cbbd5866de updates for late RC4 :( 2005-12-03 01:01:27 +00:00
Ralf Becker
0f9c892d96 fixed freetime-search: used only the first participant 2005-12-02 16:43:23 +00:00
Ralf Becker
0e57eee003 adjusted position of manual icon in popups to the reduced size of the 1.2 idots template 2005-12-02 15:55:15 +00:00
Cornelius Weiß
ac8eb8bf72 fix: wildcard search 2005-12-01 17:16:04 +00:00
Oscar Manuel Gómez Senovilla
87eefcca34 lang updates 2005-11-18 11:44:28 +00:00
Oscar Manuel Gómez Senovilla
0e6d8054f2 slovenian update 2005-11-13 23:23:16 +00:00
Ralf Becker
56ce0aee48 make the link-to widget a bit smaller 2005-11-13 17:47:43 +00:00
Oscar Manuel Gómez Senovilla
5c9dcc3194 Traditional chinese (Taiwan) completion 2005-11-13 10:38:23 +00:00
Ralf Becker
8fa2337beb fixed prob. with the new sub-types of the link-widget, they returned null content because of the postprocess function, setting the cell to readonly fixed that 2005-11-12 13:22:05 +00:00
Ralf Becker
99ca767542 a bit more flexible parsing of confirm dialogs 2005-11-12 13:20:20 +00:00
Oscar Manuel Gómez Senovilla
545d77784c spanish completion 2005-11-12 09:49:39 +00:00
Ralf Becker
b795d8172b two minor enhancements:
- style editor gives now a msg, if the CSS file has been written
- the message new version exists contains now a link to load that version
2005-11-12 06:59:34 +00:00
Ralf Becker
090dc5c1da shorten the category names, by not appending <Global [App]> anymore, instead we use a symbol (diamond) to indicate a non-user cat 2005-11-11 23:05:35 +00:00
Ralf Becker
b51c7496e6 not returning labes containing $row or $cont for translating 2005-11-11 08:49:42 +00:00
Ralf Becker
434431727a taking $GLOBALS['egw_info']['flags']['params']['manual'] into account too 2005-11-11 08:49:06 +00:00
Ralf Becker
b668ae7f1a editor was inserting one comma to much in case the popup target was _blank 2005-11-11 08:48:03 +00:00
Ralf Becker
1b78b1eed8 documentation update: link-targets & -popups, manual & custom fields widgets 2005-11-11 07:04:36 +00:00
Ralf Becker
9f1ef5c546 a bit bigger popup for the widgets-editor 2005-11-10 14:52:13 +00:00
Ralf Becker
9de22c86f2 1) label, html & image image widget now fully supporting link, target and popup (size of a popup to open, if link gets clicked)
2) several imporvments for the link-widget
- it uses now popups, if the link-registry says so for a given app
- new widget to add an already linked entry of an other app (used in PM so far)
- new widget to display a single link to view a linked entry
2005-11-10 14:51:12 +00:00
Ralf Becker
36a683642c phpgw_setup --> egw_setup 2005-11-10 12:27:04 +00:00
Ralf Becker
96fd5ccfbd fix for Lanfile to not add phrases which are variables 2005-11-10 12:26:16 +00:00
Cornelius Weiß
b57aaf28af allow NOT in customfield search of type select 2005-11-10 12:10:17 +00:00
Oscar Manuel Gómez Senovilla
04f215beee *** empty log message *** 2005-11-10 10:50:31 +00:00
Ralf Becker
8237b88c41 small phpDoc updates 2005-11-10 05:42:28 +00:00
Ralf Becker
f21f778800 small phpDoc updates 2005-11-10 05:15:06 +00:00
Ralf Becker
358c88d786 removed et_notes example from the 1.2 release of eTemplate as it's not a good example anymore, we have now many well writen eTemplate apps 2005-11-09 20:53:49 +00:00
Ralf Becker
7a4a18ec0a phpgw --> egw
from this revision eTemplate requires a 1.0.1/1.2 API, the last working version for 1.0.0 has been taged "last_working_1_0_0"
2005-11-09 20:50:45 +00:00
Cornelius Weiß
b67562d721 added row actions 2005-11-09 19:13:51 +00:00
Ralf Becker
69ff4a066f Manual widget, which open the online help from popups 2005-11-09 16:56:23 +00:00
Ralf Becker
80938c0aa7 added accesskey and tabindex 2005-11-09 16:54:36 +00:00
Oscar Manuel Gómez Senovilla
24844f2972 norwegian updates 2005-11-09 16:53:36 +00:00
Oscar Manuel Gómez Senovilla
9680c1e76b *** empty log message *** 2005-11-09 01:28:03 +00:00
Ralf Becker
d871b17bc9 valign top and other minor stuff 2005-11-08 14:33:16 +00:00
Cornelius Weiß
ffd9fec8c8 fix: searching in customfields of type select was not working
fix: hadle search actions if they are no button
2005-11-07 23:09:49 +00:00
Oscar Manuel Gómez Senovilla
a3a5746186 spanish completion 2005-11-07 22:13:23 +00:00
Oscar Manuel Gómez Senovilla
71cfbad789 misc lang updates 2005-11-07 08:32:02 +00:00
Ralf Becker
a680d87a67 tabindex and accesskey 2005-11-05 17:07:29 +00:00
Ralf Becker
20d1b19c3c method to get a reference to a widget by it's name 2005-11-05 16:09:10 +00:00
Oscar Manuel Gómez Senovilla
49d548dd25 bug 1240675: removing old phpgw_zt.lang files 2005-11-05 14:22:46 +00:00
Cornelius Weiß
eefc099fad minor updates regarding addressbook 2005-11-05 13:56:18 +00:00
Oscar Manuel Gómez Senovilla
b68272942e bug 1240675, from zt -> zh-tw. First part, just add new files 2005-11-05 13:45:37 +00:00
Cornelius Weiß
0c82e07152 fixed bug reported by lutz falkenberg
killed warnig if no customfields are present
2005-11-04 12:11:50 +00:00
Oscar Manuel Gómez Senovilla
f5cbe1e7ca several updates 2005-11-04 00:39:00 +00:00
Ralf Becker
9835bb0fdb sort the apps alphabetic 2005-11-02 20:02:27 +00:00
Ralf Becker
1618a67d7e duration can now (optional) differ between 0 and empty values, which get returned as null 2005-11-02 19:59:58 +00:00
Cornelius Weiß
10ff4dd436 cleaned op logic
added action support for result_sets
still some layout stuff to do
2005-11-02 16:49:45 +00:00
Cornelius Weiß
fba9f65ae3 add option "dosn't matter" to selectboxes in search-mode 2005-11-02 16:48:24 +00:00
Cornelius Weiß
519e6875d6 added option to supress search filed 2005-11-02 16:46:34 +00:00
Ralf Becker
b254fdaeaf allow to use !patter as value in the criteria array to invert the query (NOT LIKE instead of LIKE) 2005-11-01 10:13:28 +00:00
Cornelius Weiß
ad5c21fca1 new widget for advanced search (needs still some work) 2005-10-31 17:49:19 +00:00
Cornelius Weiß
e3e75bc70d fixing the fix :-) 2005-10-31 09:33:15 +00:00
Ralf Becker
968c1d41a5 fixed fatal error when calling soetemplate::add_cell with the template itself 2005-10-31 09:06:24 +00:00
Cornelius Weiß
202611ea0d clean up code
bugfix for type radio
2005-10-28 21:05:56 +00:00
Cornelius Weiß
2afcf77024 advanced custiomfield widget moved from infolog 2005-10-28 18:29:05 +00:00
Oscar Manuel Gómez Senovilla
7ddeb1010f norwegian updates 2005-10-26 22:37:44 +00:00
Oscar Manuel Gómez Senovilla
26a9fed831 *** empty log message *** 2005-10-26 00:54:00 +00:00
Oscar Manuel Gómez Senovilla
2f4259dfd0 *** empty log message *** 2005-10-23 22:49:01 +00:00
Oscar Manuel Gómez Senovilla
7e86c7ef6f *** empty log message *** 2005-10-21 19:33:39 +00:00
wnz_gh05t
8fdee9e625 make function toggle_all work with sub-grid 2005-10-18 21:22:46 +00:00
Ralf Becker
8bfbbd96ae allow extending classes to use numerical and string debug-levels, so_sql only reacts on debug=4 2005-10-16 11:45:59 +00:00
Oscar Manuel Gómez Senovilla
fea8c1660d bug 1294588 and lang setup fixes 2005-10-15 21:52:37 +00:00
Cornelius Weiß
f578c4f826 make tinymce call easier and provide some custom view 2005-10-13 20:43:06 +00:00
Cornelius Weiß
c5d434332c make both (htmlarea / tinymce) pluging arguments styles working in etemplate 2005-10-13 15:13:58 +00:00
Ralf Becker
e76a77cce9 Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 12:17:38 +00:00
Cornelius Weiß
9cbf5c356b use tinymce for htmlareas 2005-10-10 15:43:45 +00:00
Ralf Becker
edbb4bfa9c added function to set a style property in a given element-type and css-class 2005-10-05 13:45:08 +00:00
Oscar Manuel Gómez Senovilla
82e8d1ff7c bug 1004437 2005-09-17 16:35:53 +00:00
Cornelius Weiß
868ce950cb extend js-proxy to handle ":" septerated values 2005-09-13 21:44:36 +00:00
Oscar Manuel Gómez Senovilla
49ce0ce185 Various italian updates 2005-08-23 08:25:03 +00:00
Ralf Becker
cb59056b85 fixed wrong unit-label 2005-08-17 11:04:21 +00:00
Ralf Becker
6c6540ba82 added parameter for a popup in links 2005-08-02 08:56:37 +00:00
Ralf Becker
a962d8cbf7 fixed (maybe PHP5 related error) that caused the selection of multiple cats to fail 2005-08-02 08:52:47 +00:00
Ralf Becker
566d5ecbd5 added parameter for a popup in links 2005-07-30 12:49:11 +00:00
Ralf Becker
e03b9a8a67 fixed double <global> in cat-selection for application global cats 2005-07-30 12:48:27 +00:00
Ralf Becker
5254c9690f *** empty log message *** 2005-07-30 12:45:54 +00:00
Ralf Becker
b68fb24b25 nextmatch sortheader can specify a default sort now: default is ASC and can now be set to DESC 2005-07-17 21:42:11 +00:00
Ralf Becker
4b97e9463c new output mode for home: first-time return content (to create the protalbox), next time use echo as we run alone 2005-07-17 21:40:31 +00:00
Ralf Becker
3d5ec14b75 implemented "Nextmatch Accountfilter", a nextmatch filterheader to filter by accounts using the perfered account-selection method 2005-07-14 07:02:50 +00:00
Ralf Becker
7378a3b898 fixed spelling 2005-07-14 06:56:56 +00:00
Ralf Becker
19fd5c4970 implemented "Nextmatch Accountfilter", a nextmatch filterheader to filter by accounts using the perfered account-selection method 2005-07-14 06:53:19 +00:00
Ralf Becker
608d5131a4 implemented "Nextmatch Accountfilter", a nextmatch filterheader to filter by accounts using the perfered account-selection method 2005-07-14 06:47:14 +00:00
Ralf Becker
5803c3a7c7 1) extensions can now use other extensions - thought only the post_process function of the topmost/first extension is called (this need a bit more work)
2) grid and template now only temporary set $readonlys['__ALL__'] if they are readonly (before that was permanently set and made all further widgets readonly)
2005-07-14 06:42:39 +00:00
Ralf Becker
55b65ed240 saving the widget type more compatible with other extensions 2005-07-14 06:31:05 +00:00
Ralf Becker
50ab75e58a option to never hide the nextmatch line (if less then max-matches entries 2005-07-13 08:39:42 +00:00
petere78
7d720dc5ea Set HTML document type to XHTML 1.0 Transitional everywhere (almost).
Correct various misspellings and other oddities in the document type
declarations.  Convert HTML tags to lower case in the affected files.
2005-07-07 20:09:52 +00:00
Ralf Becker
1e3124d099 fixed readonly display of select-dow and add a new option if and where the summaries (workday, weekend) should be displayed 2005-06-19 11:10:38 +00:00
Ralf Becker
76ff6260c2 allow to set class and align for boxes (incl. the template itself) 2005-06-19 08:31:11 +00:00
Ralf Becker
215ab71516 added javascrpt values2url function to transmit selected runtime values via the url to a popup, which can use etemplate::process_values2url to retrieve the values from the url as content-array (incl. $preserv from exec()) 2005-06-16 21:44:51 +00:00
Ralf Becker
fd13a74162 quitent a warning, which happens if readonly 2005-06-16 21:32:07 +00:00
Ralf Becker
e1df8ccd7f readonly checkboxes can now be disabled (not displayed), if they are unchecked 2005-06-14 21:38:49 +00:00
Ralf Becker
d5d43df995 fixed wrong message about not writable dir 2005-06-14 21:36:52 +00:00
Ralf Becker
7d5686a55c fixed wrong id in label of checkbox 2005-06-14 08:40:39 +00:00
Ralf Becker
74b50f5dea added multiple checkboxes with identical names ending [] 2005-06-12 15:58:22 +00:00
Ralf Becker
8ef28951a8 added form::name() pseudo function for onclick events to find out the name used in the form 2005-06-12 13:22:47 +00:00
Ralf Becker
6a4ff5d1d1 allow to specify the app-name in which a widget is defined in the widgets name: list($app) = explode('_',$name) 2005-06-12 12:32:59 +00:00
Ralf Becker
0cde45389d allow to override the id of a widget 2005-06-12 12:31:05 +00:00
Ralf Becker
2c8193ab05 do not disable data-line if rows-template has only one row 2005-06-11 20:15:02 +00:00
Ralf Becker
6fd3abff3b initialised var to kill warning 2005-06-11 20:13:38 +00:00
Ralf Becker
68074ad82e fixed proxy to to add options to a selectbox, needed by IE ;-) 2005-06-11 20:11:41 +00:00
Ralf Becker
4693d2c6b4 added proxy to to add options to a selectbox, needed by IE 2005-06-11 19:06:38 +00:00
Cornelius Weiß
7679d73df0 update documentation 2005-06-11 10:49:50 +00:00
Cornelius Weiß
ea424535df update documentation 2005-06-11 10:09:34 +00:00
Ralf Becker
ba459fdfcd fixed link to DeveloperDocs 2005-06-11 10:08:08 +00:00
Ralf Becker
84c06483f0 show groups allways as lang('Group').' '. 2005-06-07 08:45:53 +00:00
Ralf Becker
ef3e6bc4f4 New widget for durations: floating point input with an optional selectbox to specify a unit (hours or days). The storage format is configurabe and can be either minutes (integer) or hours or days as float 2005-06-02 22:43:44 +00:00
Ralf Becker
e233ade4c9 - extension can now use name_expansion in their options
- remove some unnecessary / doubled code
2005-06-02 22:26:41 +00:00
Ralf Becker
d037789e1f allow help-text (in status line of browser) for labels too (shown via onmouseover of the surrounding table-cell)
=> dom tabs show the help-texts again
2005-06-02 14:44:49 +00:00
Ralf Becker
00408f24cb - applied fix from Joao Martins: extra_link_target without help
- fixed a double translation on the help text of the extra_link
- running the help-text through expand_name now to allow eg. row specific helptexts in nextmatch rows
2005-06-01 08:09:33 +00:00
Ralf Becker
c555299592 fixed typo, that prevented a css class on a single cell of a box to be used 2005-05-31 21:29:49 +00:00
Ralf Becker
266949f632 small fix to not set the css class of templates or grids in a cell twice, it is not good for border 2005-05-25 15:09:47 +00:00
Ralf Becker
e435c63ad7 two problems fixed:
- tab-widget was not always submitting AND restoreing the selected tab
- now you can use the short, relative name to select a tab too
2005-05-25 14:10:27 +00:00
Ralf Becker
e19da05e52 fixed problem on home-page: set_app(etemplate) was missing 2005-05-23 08:00:54 +00:00
Ralf Becker
90e7bd7595 2 small bugfixes:
- default values for readonly checkboxes (x) get set now, even if checked and unchecked values are specified (but no readonly values)
- fixed readonly case of option values for selectboxes with label+title (value is an array with keys label+title)
2005-05-21 18:21:55 +00:00
Ralf Becker
fc5d6daee4 - query_list can now return arrays with customizable keys, eg. for option-lists incl. title
- save works now for tables which have no columns beside the primary key
2005-05-21 18:17:21 +00:00
Ralf Becker
ef7fa4813c re-enabled the 1.0.0 compatibility of the HEAD version of eTemplate: allows to use HEAD eTemplate in an 1.0.0 install, eg. to use the improved tab-widget (no reload anymore) 2005-05-21 07:56:02 +00:00
Ralf Becker
7cc61c1ba4 for embeded templates propagate the CSS class to the template, helps the extension a lot, as one can specify a class for the extension and the extension automatic use it in the template used to render the extension 2005-05-21 07:41:09 +00:00
Ralf Becker
0793450251 own template to edit grids: has now separate fields and helptexts for the diverse values comulated in size/options 2005-05-20 16:56:16 +00:00
Ralf Becker
c59b7c4aca - using the styles for htmlarea for the readonly version (div) too
- autom. adding px to numerical width and height values for the table
2005-05-20 16:49:54 +00:00
Ralf Becker
db148b55bc - fix_set_onclick was not called, if one navigated to a widget with the arrows
- onclick of a button was not reset, when a button was converted to a box
2005-05-20 12:01:15 +00:00
Ralf Becker
e66fc40408 tab-widget can change now between the tabs without a reload 2005-05-19 13:16:52 +00:00
Ralf Becker
3c8f31fcf7 some bug-fixes plus using the new mysql >= 4.0 feature to count the total number of rows in a limited query 2005-05-19 13:15:19 +00:00
Ralf Becker
e38b703f77 fixed: saving of imported templates was not working 2005-05-19 06:56:04 +00:00
Ralf Becker
ba85974cef new method query_list to return an array with one column as key and an other one as value, eg. for option-lists 2005-05-10 14:44:34 +00:00
Ralf Becker
dee6d75828 re-added exidently removed swap method 2005-05-10 14:43:42 +00:00
Ralf Becker
f5da559e25 fixed typo in last commit 2005-05-08 17:54:05 +00:00
Ralf Becker
5fe6577033 widget-popup: changed version lead to empty template 2005-05-08 07:25:58 +00:00
Ralf Becker
42d7504d30 file contained the "wrong" editor.list_result template 2005-05-08 07:24:58 +00:00
Ralf Becker
be91927a2b file contained the "wrong" editor.list_result template 2005-05-08 07:12:46 +00:00
Ralf Becker
27c12ddf2c 1) many bug-fixes
2) old editor removed
2005-05-07 14:05:10 +00:00
Ralf Becker
31aec3834b 1) width of browser-window is not permanently tracked in etemplate::innerWidth (on each submision of a form and stored in the session, default of 1018 is uses on first time)
2) images can have an imagemap (3. option)
2005-05-07 14:00:06 +00:00
Ralf Becker
f7573b9235 using db::select for read and search, search uses now *,? as wildcard 2005-05-07 13:55:19 +00:00
Oscar Manuel Gómez Senovilla
1cc693567b *** empty log message *** 2005-05-04 22:52:06 +00:00
Ralf Becker
434a91f041 allow to use etemplate apps as sitemgr modules:
- extend etemplate's sitemgr_module class and set the $etemplate_method class-var to a method/menuaction of the app
- the app need to return etemplate::exec() (otherwise the content is empty)!!!
- the app need to avoid redirects or links, as this would leave sitemgr!!!
2005-05-02 15:07:37 +00:00
Ralf Becker
72aa737bc4 search: allow aliases in the retrived columns 2005-05-01 11:38:59 +00:00
Ralf Becker
3de0d563ca - fixed horizontal alignment of all box-types
- allow to re-enable (by default) disabled cells, via setting the value for their name in $readonlys to false
- class attribute can be a reference into the content (@) and/or contain vars like $row or $col
2005-04-27 20:53:17 +00:00
Ralf Becker
0476bb0032 fixed not working (first) selection of a filter 2005-04-27 20:48:53 +00:00
Ralf Becker
fa95917fba - get_rows functions now allows to pass a join to the select-function
- fixed the counting of not-left joins (we cant ignore them, nor can we use count(*), we make an unlimited query now and retrive the number of rows with num_rows())
2005-04-27 20:47:34 +00:00
Ralf Becker
1b53dc172b if no left or right header is specified, disable the cell to not create an empty (1 row, 1colum) table 2005-04-24 17:14:41 +00:00
Ralf Becker
756062a477 disable_cells: new param $disable=true to also (re-)enable a cell 2005-04-24 17:13:44 +00:00
Ralf Becker
40526f9b2b - read use now only the unique keys, if no primary key specified
- search: allow to specify the number of rows to return (only the offset was possible before)
- improved hadling of table.*
2005-04-24 17:11:34 +00:00
Ralf Becker
a713f8afac 1) autorepeated colums: only check if the max. column-number, reached so far, is exeeded, otherwise the rows have a differen number of cells and it saved a lot check
2) no <label> tags of readonly widgets or label-widgets
2005-04-22 13:51:59 +00:00
Ralf Becker
9d43446af2 fixed 2 join-related bugs 2005-04-22 13:49:36 +00:00
Ralf Becker
5f05d9cae9 search:
- returns reference now
- $order_by param can contain a GROUP BY clause too
- $extra_cols param can contain comma-sep. string now
- fixed reg-expr. to detect column-aliases (was not requiring a space after AS before)
2005-04-20 17:27:48 +00:00
Ralf Becker
7231175d90 added missing overflow attribut for grids 2005-04-20 17:25:06 +00:00
Ralf Becker
658fe2f4c9 allow to pass (already quoted) query-parts as filter 2005-04-19 13:54:55 +00:00
Ralf Becker
33d296114f Finnish langfiles from Jussi Siponen - jusiponen-at-users.sf.net 2005-04-15 15:21:52 +00:00
Ralf Becker
94202f6581 Croation translations from Mladen Novosel <mnovosel-AT-info-sol.net> 2005-04-15 10:18:20 +00:00
Ralf Becker
2b1c2a359c small documentation update 2005-04-14 22:36:05 +00:00
Ralf Becker
851439d0d9 using now class set in cells of a VBOX or HBOX 2005-04-14 22:35:24 +00:00
Ralf Becker
3f0a208c6a fixed select-percent: if an extra-label was given (eg. None) it used 0% even if the value was empty or unset, now the extra-label is used 2005-04-14 22:34:13 +00:00
Ralf Becker
046291100a - possebility to disable file-attachments
- allow to overwrite some of the label
2005-04-14 22:14:01 +00:00
Ralf Becker
e2df899c59 - if no content-rows, hiding the last line not the 2.
- removed $loop=false, as it is already intialised and evtl. unsets loops set by other widgets
2005-04-14 22:13:42 +00:00
Ralf Becker
7f74e935bb small fix count(*) in get_rows uses no LIMIT 2005-04-14 22:09:40 +00:00
Ralf Becker
3a479fd54c importing the app.css file of the edited template 2005-04-14 22:08:25 +00:00
Ralf Becker
7a39be36b6 some bugfixes:
- date-time: empty date not recogniced
- date-timeonly, date-houronly: use only seconds, no timezone converstation between server-time and UTC (default for mktime())
2005-04-10 21:25:42 +00:00
Ralf Becker
f2be05f26f added join parameter to the read too 2005-04-10 21:15:33 +00:00
Ralf Becker
c84e492e91 documentation update:
- fixed wrong / not working popup javascript
- updated xet-file example to include <template> tags
- updated the describtion: a (nested) widget tree is allowed in HEAD now and not just one grid as in the 1.0.0
2005-04-10 13:39:33 +00:00
Ralf Becker
da8ccaa6bb allow to specify the app of an image by giving <app>/<name> instead just a <name> 2005-04-08 18:31:55 +00:00
Ralf Becker
20cacc2f1d 1) fixed not working inserts, if primary key (not auto-increment) where given
2) allow 0 to be written and not treated as null
3) added join feature for search
2005-04-08 18:30:32 +00:00
Ralf Becker
37fbde58da fixed wrong link 2005-04-07 12:08:59 +00:00
Ralf Becker
af01149810 fixed to bugs:
1) cat-selection in nextmatch does not switch back to all, after a cat has been selected
2) error when using internal widget type deck
2005-04-06 06:31:27 +00:00
Ralf Becker
51a0ac0f80 fixed not displayed error-message: write failed (webserver has not write-rights). Before writes of tables for new created apps silently fail. 2005-04-04 08:50:45 +00:00
Ralf Becker
cb820c8ccf only omit filter-column in search, if it's realy set to a value 2005-03-29 17:06:50 +00:00
Ralf Becker
88577483bd fixed editing of versions other then the latest version 2005-03-29 14:16:42 +00:00
Oscar Manuel Gómez Senovilla
f2a93fa910 *** empty log message *** 2005-03-26 22:00:50 +00:00
Ralf Becker
6c4843263f the nextmatch callback can now change or add items to sel_options, eg. to set column-filter contents depending on other column-filters 2005-03-13 23:38:37 +00:00
Ralf Becker
4eb9a76c0b search accepts now a string with column-names for the only_keys parameter, you can use eg. 'DISTINCT mycol' 2005-03-13 23:35:51 +00:00
Ralf Becker
3435f58d39 not calling CreateObject if class-file does not exist 2005-03-07 21:58:15 +00:00
Ralf Becker
c2bf8d30af allow to specify a target for links on images 2005-03-07 21:56:30 +00:00
Ralf Becker
d238e9d9cd added optional parameter to the constructor to pass a db-object, eg. for a connection to a different database/host 2005-03-06 21:39:46 +00:00
Ralf Becker
8c03c0999a - allow to ignore validation-errors of certain fields (for the editor)
- allow to set and promote attributes for process_exec in extensions (needed for date)
- readonly removes file-uploads now
- readonly value for mulitselectbox is in multiple lines now
2005-03-05 14:59:33 +00:00
Ralf Becker
6b3eda15a6 fix to allow setting needed attribute for dates 2005-03-05 14:56:30 +00:00
Ralf Becker
89dadea91f removing the pressed first, left, right and last button-values from the returned result, as we use them (only) internal 2005-03-05 14:55:38 +00:00
Ralf Becker
df847f6d8f returning extra_cols in search 2005-03-05 14:54:14 +00:00
Ralf Becker
b3249095a3 only try instanciating get_rows object, it a non-empty name given, else we get an error-message in the editor 2005-03-05 09:25:17 +00:00
Ralf Becker
887e71e57e 1) fixed lost egw object if register_globals=On: was caused by the identicaly named session-variable used for php4-sessions (now renamed to egw_session)
2) $GLOBALS['phpgw{_info}'] ==> $GLOB ALS['egw{_info}']
2005-03-04 11:33:44 +00:00
Ralf Becker
9627814ab2 killed a debug-message 2005-02-27 21:32:43 +00:00
Ralf Becker
6874870274 silently fixing 0 based array 2005-02-27 21:32:06 +00:00
Ralf Becker
450de4d93f reworked so_sql class with new db-methods db::select, db::insert, db::update, db::delete and added get_rows method for the nextmatch widget 2005-02-27 21:31:10 +00:00
Oscar Manuel Gómez Senovilla
60ae406c63 *** empty log message *** 2005-02-27 10:20:49 +00:00
Ralf Becker
9f525747b4 bugfixes and using the checkbox version for the mutiple selectbox 2005-02-24 21:02:24 +00:00
Ralf Becker
717f53ece2 some bugfixes:
- tab-widgets can be edited (new editor lost template content and onclick_handler, if looping)
- select widgets accept again options via $sel_options[$name]  $name is the name of the widget and not the form_name
- grid-options get loaded again via the old editor
2005-02-23 14:33:00 +00:00
Ralf Becker
e47230d451 fix to allow session-id in the url too 2005-02-23 09:36:46 +00:00
Ralf Becker
ac060de053 docu update 2005-02-22 22:11:00 +00:00
Ralf Becker
8c34e1e04e - style popup is working now: allows to edit the embeded styles of an eTemplate as well of the apps app.css file
- some bugfixes in the editor
- popups can now directly called by a button and you can pass params via the content array
2005-02-22 21:02:26 +00:00
Ralf Becker
59a356048a fixed errors in the conversation from grids to boxes and the insert-behind for boxes 2005-02-21 12:26:20 +00:00
Ralf Becker
f5133fa9d5 allowing to set no_lang attribute for filter and filter2 via the content-array (as needed by Cornelius Weiss) 2005-02-21 09:21:48 +00:00
Ralf Becker
21c6ebd17e next step to a new eTemplate editor:
- new editor has now everything the old one had, beside editing of embeded stylesheets
- new possibility to define a confirmation for buttons via javascript
- finetuned the garbadge collection for php4 sessions
2005-02-20 21:45:24 +00:00
Ralf Becker
dfd35114a5 next step to a new eTemplate editor:
- widget editor works quite nice
- beware it can create Templates the old editor cant understand and destroy if you save or export them from the old editor!
=> need to move the other functionality (import, export, dump, ..) of the old editor to the new one, so the old editor can retire ;-)
2005-02-18 22:44:42 +00:00
Ralf Becker
e0a0cfc9fe first step to a new eTemplate editor:
- based on existing show function the template can be edited in place
- dblclicked widgets will be edited in a popup
- new editor supports not only one grid, but a hirachical tree of widgets
still missing:
- editing and operations of grid rows and columns
- type-specific templates for the popup, to make the options more intuitiv
In the meantime the old editor is still functional
2005-02-15 23:22:10 +00:00
Ralf Becker
fea797c2cb fixed cat-selection after removal of depricated class-var 2005-02-14 15:05:11 +00:00
Ralf Becker
bc13c208fe fixed inline documentation, works very nice now 2005-02-13 13:03:36 +00:00
Ralf Becker
f2e0fda75d - new function widget_tree_walk, which aplies a given function to all widgets or a template, used now by soetemplate::getToTranslate() and boetemplate::set_cell_attribute()
- fixed inline documentation, works very nice now
2005-02-13 13:03:01 +00:00
Ralf Becker
ab02fe9ee0 fix for bug [ 1120676 ] Date&Linking Probs in InfoLog:
caused by error in handling of array's when magic_quotes_gpc was on
2005-02-12 13:59:08 +00:00
Ralf Becker
f520cbb004 updated dependencies 2005-02-10 14:16:02 +00:00
Ralf Becker
22f7aaf56c fix for bug [ 1049574 ] Windows does not support dates prior 1970-01-01
using adodb's datelibary instead of the regular php-functions: date, mktime, ...
also added input-validation for dates
2005-02-09 10:15:49 +00:00
Ralf Becker
482156d7b5 fix for bug [ 1019398 ] s/Referenz/Reference/ 2005-02-08 18:22:18 +00:00
Ralf Becker
a9ea2f8cf9 using clone() to create copies of the db-object for php5 compatibility 2005-02-08 18:21:07 +00:00
Ralf Becker
ebf6ab3262 Sending "... is no valid method" error now as validation error, instead just echoing it 2005-02-08 17:46:34 +00:00
Ralf Becker
7645b3f0c5 Step #3: xml export now with any tree too.
Editing still need to be reworked.
More to come ...
2005-02-08 14:59:41 +00:00
Ralf Becker
84e89d31be Step #2: Redering and importing (xml) are working now with any tree.
Export and editing still need to be reworked.
More to come ...
2005-02-08 12:29:06 +00:00
Ralf Becker
7c0bce63ed reworked a bit the UI:
- more idots conform (app_header)
- showing im-/exported xml (fixed old debug output)
- return works not in the name-field
2005-02-06 18:12:26 +00:00
Ralf Becker
472733589f fixed translation of groupbox caption 2005-02-06 17:52:43 +00:00
Ralf Becker
52b42e13bb 1) added GroupBox (HTML: fieldset) to group widgets by a frame with an optional caption
2) Step #1 of removing eTemplate's limitation on allowing only a grid as root element of the widget tree (which can NOT directly contain further grids, thought references to other templates/grids are ok). The storage layer allows now a real tree. Redering and editing only works on the old data variable, which is now a reference to the first grid in the tree.
More to come ...
2005-02-06 15:49:50 +00:00
Ralf Becker
60a34f34fc Fixed disapearing backslashes if magic_quotes_gpc=Off. Now stripslashes is only run if it's On. 2005-02-04 13:40:56 +00:00
Oscar Manuel Gómez Senovilla
29997ba72f bug 1112125 2005-01-29 19:36:06 +00:00
Oscar Manuel Gómez Senovilla
a06003edef *** empty log message *** 2005-01-29 13:05:52 +00:00
reinerj
459ddd8997 lang file update Swedish from Marko 2005-01-17 13:14:01 +00:00
reinerj
7c82e51a44 update the slovenian lang file from orb_ter 2004-11-30 16:27:34 +00:00
Ralf Becker
930db9f0c0 all days, weekdays, weekend only for mutiple rows 2004-10-07 22:09:02 +00:00
Ralf Becker
95375f467c added two new widgets:
- hour with 12/24 preference
- day of week
2004-10-07 22:08:19 +00:00
Ralf Becker
33f5cb30c8 added two new widgets:
- hour with 12/24 preference
- day of week
2004-10-07 21:58:33 +00:00
Ralf Becker
72140f4425 changed documentation to phpdoc standard and added a new output-mode for popups (no navbar) 2004-10-07 21:53:41 +00:00
Ralf Becker
cff0ca3801 changed documentation to phpdoc standard 2004-10-07 21:53:10 +00:00
Ralf Becker
7a28a6bcd0 fix for problem reported by Julius Wehrmann, a single date-picker (no other widgets) does not work 2004-09-20 18:51:31 +00:00
Ralf Becker
ae69a000b5 new french translations from Antoine Theytaz 2004-09-02 07:58:25 +00:00
Ralf Becker
ff47845902 added option to suppress time in the readonly display if it's 0h0 2004-08-28 17:57:44 +00:00
Ralf Becker
2f7c4cb8fc removed tz-converstation:
- to fix tz-probs in infolog
- in my belive tz-conversation should always be done in the bo-layer and not in ui (eTemplate)
2004-08-28 17:56:27 +00:00
Ralf Becker
9e1dcb9a78 fixed double translation of extra options in selectboxes 2004-08-28 15:52:32 +00:00
dragob
65feffc4d4 New/updated Slovenian translations (by Matev� Bokal). 2004-08-23 14:11:00 +00:00
Ralf Becker
8da9e0fa41 not used in etemplate (anymore) 2004-08-21 15:14:08 +00:00
Ralf Becker
c7e6cb74fa ability to specify plugins for htmlarea 2004-08-21 08:04:23 +00:00
Ralf Becker
a9e80505a6 using the app_sessions function from the actual sessions-class again, instead of always the db-sessions one, it seems to work now for php4 2004-08-15 20:59:49 +00:00
Ralf Becker
03f1739205 using schema_proc's new GetTableDefintion method if availible 2004-08-15 20:58:12 +00:00
reinerj
1e781c1033 replace the crap 2004-08-09 10:57:00 +00:00
Ralf Becker
5e9dbe95c5 fix for mbstring.func_overload 7: ereg_* where looping infinit, changed to preg_* 2004-08-08 09:18:04 +00:00
Ralf Becker
3eeac95008 added 1.0.1 dependency for the api 2004-08-03 08:03:04 +00:00
Ralf Becker
ee1eaa2130 added 1.0.1 dependency for the api 2004-08-03 08:03:04 +00:00
Ralf Becker
00d45abcfe always use the charset param for htmlspecialchars (via html::htmlspecialchars) 2004-08-02 07:24:44 +00:00
Ralf Becker
6368a36d2c 1) fixed missing translation in validation messages
2) validation only loops now, if a button (not cancle) is pressed, selectboxes with onchange dont get stoped by validation errors ==> fix for bug [ 1001568 ] status is not updated
2004-08-01 19:26:33 +00:00
reinerj
d42c51fb2b fix some wrong tabs in file which produce error messages 2004-07-31 14:47:38 +00:00
shrykedude
ff34378a1e Fixed app dependencies for api-1.0.1 version change 2004-07-30 19:06:35 +00:00
Oscar Manuel Gómez Senovilla
ae31c0db04 *** empty log message *** 2004-07-26 19:48:49 +00:00
Ralf Becker
c591c2c221 fixed / added mssql support for egw and fixed some other Windows probs on the way ;-)
- knowledgebase is not working: select distinct is not possible with text-columns
- fudforum is not working: is does not use ADOdb and has no own db-layer for mssql
- other apps seem to work, everthing needs through testing - incl. our "old" db's
2004-07-25 01:41:37 +00:00
Oscar Manuel Gómez Senovilla
6666325a1e *** empty log message *** 2004-07-14 08:12:56 +00:00
Ralf Becker
d6bc8096ac *** empty log message *** 2004-07-09 18:21:27 +00:00
Ralf Becker
0c2155f270 using eGW's new account-selection widget 2004-07-09 18:21:01 +00:00
Ralf Becker
6b72df97ec added charset to htmlspecialchars for multibyte chars 2004-07-02 22:44:19 +00:00
Ralf Becker
f6c07ba556 pushing all versions to 1.0.0 2004-07-02 22:32:53 +00:00
Ralf Becker
ac25e32010 added a white-space:nowrap; to the style of the tabs of the tab-widget 2004-07-02 08:54:34 +00:00
Ralf Becker
2cef87570c setting table-cells without align to left, to fix wired inheritance in IE 2004-06-23 15:47:36 +00:00
Ralf Becker
baa212c22a centralised 2-digit iso country codes in phpgwapi/inc/class.country.inc.php
Other classes can use them, as there are atm:
- etemplate/inc/class.select_widget.inc.php
- phpgwapi/inc/class.sbox.inc.php
2004-06-15 07:50:58 +00:00
zhangweiwu
17f64562ad from kiang, to workaround 'the slash bug':
Translation of Traditional Chinese in UTF-8 version
I've tested it with the version RC5. Somebody in taiwan
who offered a series of functions to convert the
encoding from big5 to utf-8. It works fine~ Should I also
upload it for anyone who would like to understand the
big5 encoding??
2004-05-24 02:46:24 +00:00
Oscar Manuel Gómez Senovilla
699a260689 *** empty log message *** 2004-05-19 15:02:27 +00:00
reinerj
95cae3b6ec new langfile Catalan from Xavier Navarro 2004-05-04 15:03:04 +00:00
reinerj
7f7d275b15 update Traditional Chinese langfiles from Finjon Kiang 2004-04-27 10:33:26 +00:00
reinerj
be72681b62 update images to jerryr template from Jerry Ruhe 2004-04-26 21:31:27 +00:00
mila76
cc11712210 Update to 0.9.99.015 2004-04-20 21:36:10 +00:00
Pim Snel
6c80ad8431 update dutch translations 2004-04-20 13:39:21 +00:00
Ralf Becker
6e0b23d3d6 made eT app-name common 2004-04-13 07:55:43 +00:00
Ralf Becker
c8e57526d2 fixed set_cell_attribute, get_cell_attribute and disable_cells to search [vh]box for its contained cells too 2004-04-12 12:29:40 +00:00
Ralf Becker
20e1983d37 using htmlspecialchars from the html-class 2004-04-12 12:28:35 +00:00
Ralf Becker
a7666da37f fixed missing app-name in most phrases, not sure how it got missing 2004-04-09 12:32:38 +00:00
Ralf Becker
ec1cf301b2 added input-validation:
- needed (= not to be empty) fields are enforced now
- min and max values and format of int and float fields
- validator for text-fields (perl regular expression)
The input-validation is handled completly withing eTemplate, the application dont need to implement any code, just set the right attributes in the template. Validation-errors are displayed in red behind the concerning field, try the template 'etemplate.validation-test' in the editor.
2004-04-05 01:33:23 +00:00