Commit Graph

779 Commits

Author SHA1 Message Date
Ralf Becker
0d0c9df4db some etemplate fixes:
- date-widget does no longer set extension-data if readonly (not used and can conflict with other widgets using the same name, as it was the problem in PM)
- select-widget: fix for "can not unselect the last category"
- red error-messages have now a "white-space: nowrap" for nice formatting
- confirm-message did not quote single quotes (') correct, which caused the complete confirm dialog to fail and allways execute the button
- readonly textarea's without column and row specification are rendered now as <pre></pre> to only take space needed
2006-08-12 06:14:28 +00:00
Ralf Becker
e19d53e870 widget to display the content of the historylog 2006-08-11 20:49:43 +00:00
Ralf Becker
325d849332 allow to use columns, which are not unique, for read 2006-07-08 00:38:06 +00:00
Ralf Becker
f0ee41230d - use country-class instead of sbox-class for country-names
- moved US state name to country class
- new param for select-country to optionaly use the country-name instead of the county-code
2006-07-06 22:55:30 +00:00
Cornelius Weiß
60c5bd673a fix not displayed actions found by Christophe Combelles 2006-07-01 05:28:40 +00:00
Ralf Becker
12e821b883 fixed date-widget for 12h timeformat:
- replaced extra am/pm radio buttons with single selectbox with times includeing am/pm (works much better with the existing layouts)
- fixed wired 12h clock: 12am,1am-11am,12pm,1pm-11pm (0-23h)
- added an select-hour widget to the select-widgets for the above
2006-06-22 16:14:08 +00:00
Ralf Becker
07df005b44 so_sql::search() was loosing filters, sql-strings (int keys) where writen with that key, instead with [] 2006-06-17 18:30:38 +00:00
Ralf Becker
d02c93748a added title for links option to label widget 2006-06-15 21:57:21 +00:00
Ralf Becker
5f35a0cf8b try using xet files if db is not availible (eg. early setup stage) 2006-06-15 21:52:40 +00:00
Ralf Becker
239bab8b28 fixed the wrong links and added links to the phpDocumentor doc Conny set up on egroupware.org 2006-06-08 14:56:52 +00:00
Oscar Manuel Gómez Senovilla
c7007dbca6 rest of massive update 2006-06-03 20:30:48 +00:00
Cornelius Weiß
3f168a0c60 me against php and svn :-(...
or make buttons work with php5.1.x
2006-05-19 18:10:02 +00:00
Cornelius Weiß
f7c9c18bb8 merge from 1.2 2006-05-18 16:19:50 +00:00
Ralf Becker
abf67e8471 fix for no colums given via $only_keys='' 2006-05-17 03:02:47 +00:00
Oscar Manuel Gómez Senovilla
a2c7927269 lang updates 2006-05-01 23:09:26 +00:00
Ralf Becker
c019eda361 fix for integer values 2006-04-30 16:42:33 +00:00
Ralf Becker
9d4a09f9ff doc-update: radio and nextmatch 2006-04-30 07:20:36 +00:00
Ralf Becker
e3ff7b9569 radio button allow now to set the displayed readonly values to something different then X and empty 2006-04-30 07:20:12 +00:00
Ralf Becker
fcfa0f81d5 giving the template name in the content precedence over the one supplied in the template 2006-04-30 07:10:42 +00:00
Ralf Becker
b4b6f62489 added accidently deleted etemplate.editor.values template again 2006-04-29 13:00:36 +00:00
Ralf Becker
c170b9a047 so_sql::search:
- you can use now "!''" (exclemation mark plus 2 single quotes) as value in $filter and $criteria to search for not empty columns
- only_keys (columns to retrieve) can additionally be an array of column-names
2006-04-24 20:48:18 +00:00
Ralf Becker
58cd8de0ce disabled check can now be done via (pearl) regular expressions, eg. /^(val1|val2)$/ to check for two values 2006-04-24 20:42:42 +00:00
Oscar Manuel Gómez Senovilla
55bfc4fac2 weekend lang updates 2006-04-24 09:44:22 +00:00
Ralf Becker
2a909066da nextmatch widget can have an (optional) lettersearch now 2006-04-23 14:44:44 +00:00
Ralf Becker
6a089fb606 some fixes 2006-04-23 14:42:41 +00:00
Ralf Becker
76ff2ee6d1 confirm-message in onchange got not translated 2006-04-22 12:54:36 +00:00
Cornelius Weiß
71743a2260 update docu to better run trough phpdocumentor 2006-04-21 10:31:06 +00:00
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