Lars Kneschke
3d259ec31a
patch from sebastian to removed some forgotten debug output
2007-01-25 14:48:54 +00:00
Ralf Becker
f53c68f94d
php5.2 fix and ability to return something from the get_rows function
2007-01-22 07:06:15 +00:00
Cornelius Weiß
d32b3ef8e8
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:55:26 +00:00
Cornelius Weiß
7478fa159f
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:19:01 +00:00
Ralf Becker
b3640356f3
"fix for bug #282 , hour and minute < 10 were not selected"
2007-01-14 03:14:11 +00:00
Ralf Becker
0315d30672
revert last commit, as it gives a fatal error with php5.0
2007-01-08 21:23:02 +00:00
Ralf Becker
08aadb56cf
quitened a warning
2007-01-08 15:58:32 +00:00
Ralf Becker
e64e3e06b1
so_sql::init() returns now $this->data as eg. so_sql::read()
2007-01-08 15:57:58 +00:00
Ralf Becker
6387f19cae
fixed isset_array using array_key_exists, to return also null values:
...
eg. $arr = array('x' => null); boetemplate::isset_array($arr,'x') returned false, as isset($arr['x']) === false, now it returns true like array_key_exists('x',$arr)
2007-01-08 15:57:09 +00:00
Ralf Becker
0aa9dffc1d
- optional sprintf format for float and int widget
...
- grid rows can have further classes then row (has to be the first!)
2007-01-08 15:53:27 +00:00
Ralf Becker
4c1b672b72
fix for bug #41 : etemplate generates empty images <img src="">
2006-12-29 06:50:49 +00:00
Ralf Becker
e06b0462c1
render readonly textareas without size as div with the content run through nl2br, former <pre> did NOT wrap lines
2006-12-26 07:21:54 +00:00
Ralf Becker
a999bb4ef4
render only text-widgets with size < 0 as readonly input
2006-12-25 17:43:59 +00:00
Ralf Becker
5bc9ca3a7d
use js_pseudo_func also for onclick
2006-12-19 13:36:54 +00:00
Ralf Becker
7e9852a028
some more stupid php5.2 fixes
2006-12-19 13:36:14 +00:00
Cornelius Weiß
21ae4691b0
fix: strange behaviour on traditional posts in etemplate apps, caused by my ajax feature:"only process what is given". This freature allowes more flexibility in custom templates, but is now only applayed to xajax requests
2006-12-17 14:15:10 +00:00
Ralf Becker
f4238614f3
new egw_db::capabilities['case_insensitive_like']=='LIKE' ('ILIKE' for Postgres) used for all so_sql search and the lettersearch in addressbook
2006-12-17 08:44:05 +00:00
Ralf Becker
be12e577e9
use now capabilities 'query' and 'add_app' instead of '' and 'add', to be more specific about what's needed
2006-12-12 14:38:52 +00:00
Ralf Becker
806cc84b1e
- changed name of app in link-add widget to add_app, to be able to set it idependent of the other link-widgets
...
- added the ability to specify a default app for link-add
2006-12-11 07:53:16 +00:00
Ralf Becker
297690b22c
added php4.3 compatibility function stripos, to get back php4.3 compatibility after the recent replacement of stristr with stripos
2006-12-09 14:20:10 +00:00
Ralf Becker
9e5ba08ecb
fixed warning introduced by strstr --> strpos conversation
2006-12-07 19:05:40 +00:00
Ralf Becker
21f473137e
killed a warning
2006-12-07 19:00:16 +00:00
Ralf Becker
9a96320225
display readonly text widgets with a given length as readonly input and not just as text
2006-12-07 18:59:53 +00:00
Cornelius Weiß
4338f6726b
strstr -> strpos fix by thomas koch
2006-12-07 12:46:46 +00:00
Cornelius Weiß
be0bce8b40
add types passwd and select-lang
2006-12-06 20:09:22 +00:00
Ralf Becker
8c6cb48d85
fix for bug #87 : Infolog - Addressbook categories mixed in 1.2.x
...
The select_widget allways used the cats of the current application. That's still the default, but it can be overwritten now via an option. The nextmatch_widget has now and optional parameter 'cat_app', which defaults to the app of the get_rows method.
2006-12-04 14:39:22 +00:00
Cornelius Weiß
8e647edc80
kill php5.2 warnings
2006-12-02 11:03:54 +00:00
Ralf Becker
efb218c924
we can have multiple comma-separated types now
2006-11-23 13:52:56 +00:00
Ralf Becker
2151ad6579
ability to limit the app selectbox to certain apps
2006-11-07 18:04:33 +00:00
Ralf Becker
76ac8d4381
php5.2 fix: Catchable fatal error: Object of class etemplate could not be converted to string
2006-11-07 14:22:49 +00:00
Ralf Becker
fa3a9da379
enhanced the select-widget to preserv cats added to an entry, which are unavailible for the current user (eg. because they are private cats of an other user or user-cats added the an address in the group-addressbook)
2006-11-03 10:56:40 +00:00
Ralf Becker
e9cc37b01c
link-entry widget returned wrong value, if value was preset and never changed, eg. InfoLogs created from PM or Addressbook
2006-10-27 10:48:29 +00:00
Ralf Becker
5bb1444e90
Need to load etemplate translation for the error-message
2006-10-26 12:11:11 +00:00
Ralf Becker
62bb270e0f
added sub-type 'Account contactdate'
2006-10-26 11:09:34 +00:00
Ralf Becker
890cbb87e6
added sub-type 'Account contactdate'
2006-10-26 10:57:47 +00:00
Cornelius Weiß
40181f7d5c
ups
2006-10-24 20:14:47 +00:00
Cornelius Weiß
cc0705e83a
cleanup
2006-10-24 20:12:33 +00:00
Ralf Becker
dae2c126df
fixed not working (resetable) checkboxes
2006-10-24 14:15:28 +00:00
Ralf Becker
c02a67c9af
allow to specify multiple, comma-speparated id's for the link-entry widget
2006-10-23 11:22:15 +00:00
Ralf Becker
e339994538
removed unnecessary reset of the loop var, so one can use it to detect if etemplate is looping
2006-10-22 11:37:38 +00:00
Cornelius Weiß
8d7bca0d8f
start with reimplementation of advanced search
2006-10-21 20:16:25 +00:00
Ralf Becker
73cfd5e7cc
fixed error-message in the editor: method is no string
2006-10-19 19:05:48 +00:00
Ralf Becker
9ab93a73a2
fix for bug #24 : Contact widget displays contact_id if contact not found
2006-10-19 18:19:11 +00:00
Ralf Becker
c461da0bbd
fixed an off by one problem
2006-10-17 17:27:15 +00:00
Ralf Becker
0d1c4664c3
fixed after some recent updates not working file-upload in etemplate
2006-10-16 20:01:31 +00:00
Cornelius Weiß
d0a7a9aaf4
fix: etemplate does not like my previous patch, don't know why :-(
2006-10-10 18:03:27 +00:00
Cornelius Weiß
4648c5025e
don't set items witch are not submitted from UA in content array on callback.
...
This is usefull if u want to process just subsets of a form e.g. by xajax
2006-10-10 15:10:07 +00:00
Cornelius Weiß
e4d865e365
adopetd ajax-loader to ralfs new namespace concept
2006-10-09 17:36:40 +00:00
Ralf Becker
dbe9270c1b
allow to call etemplate widgets via xajax:
...
- "etemplate" handler replaces the appname with etemplate
- uietemplate::js_pseudo_funcs() replace xajax_doXMLHTTP('etemplate.xyz_widget.method', with xajax_doXMLHTTP('currentapp.xyz_widget.method.etemplate',
--> fixes the not working new link-widgets in trunc (not working for non-admins / no etemplate run rights)
2006-04-06 05:10:32 +00:00
Ralf Becker
c1b1453108
- for extensions also trying an extension-specific template-name
...
- fixed not correct set template after a type change
2006-10-05 08:49:09 +00:00