Commit Graph

82 Commits

Author SHA1 Message Date
Ralf Becker
343ff1d77d "fixed eTemplates garbage collection to work with new session class, and lowed timeout of not used sessions to 30min (was 1h)" 2008-11-13 17:20:53 +00:00
Ralf Becker
a921812095 "only supply extension data for non-readonly widgets or if it's already set
otherwise lists store >10k unnecessary data in each etemplate-session"
2008-11-13 16:49:44 +00:00
Ralf Becker
add5646e48 fixed a few errors in the etemplate editor 2008-03-20 18:43:11 +00:00
Ralf Becker
6e9829faf6 some more php5 and html static fixes 2008-03-10 15:49:46 +00:00
Ralf Becker
e90a3d3a83 reworked etemplate to have static methods and use the new features of egw_db- & html-class 2008-03-09 14:41:22 +00:00
Nathan Gray
c49d305932 If there is a format error on a tab, make sure that tab is visible so user can see the error 2007-10-22 20:24:54 +00:00
Ralf Becker
1055642df3 fixed not working autorepeated rows with , added id's to (content of) labels and images 2007-09-06 11:59:35 +00:00
Ralf Becker
32864e955a "calling the static method static seems to work more relyable in php5.2" 2007-05-12 10:12:41 +00:00
Ralf Becker
3630f964fb "fix for bug: can not unselect users from a multiple user selection (eg. InfoLog delegates), if the original value is in $preserv array" 2007-05-08 09:00:22 +00:00
Ralf Becker
f386d0480d reverted 2007-04-29 20:30:15 +00:00
Ralf Becker
e11b8e5e32 worked around stupid php5.2 empty haystack warnings 2007-04-29 14:25:19 +00:00
Ralf Becker
6bd5ac2da8 users can now switch every single column on or off in all nextmatch lists, admins can configure defaults (plus some bugfixes and other improvments) 2007-03-07 12:30:17 +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
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
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
Cornelius Weiß
8e647edc80 kill php5.2 warnings 2006-12-02 11:03:54 +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
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
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
Cornelius Weiß
69aa6abdec update docu to better run trough phpdocumentor 2006-04-20 17:12:30 +00:00
Ralf Becker
28fe36e769 typo 2005-12-19 04:26:34 +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
Ralf Becker
20d1b19c3c method to get a reference to a widget by it's name 2005-11-05 16:09:10 +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
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
5254c9690f *** empty log message *** 2005-07-30 12:45:54 +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
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
756062a477 disable_cells: new param $disable=true to also (re-)enable a cell 2005-04-24 17:13:44 +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
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
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
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
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
cff0ca3801 changed documentation to phpdoc standard 2004-10-07 21:53:10 +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
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
219c1db81e $col in name for $c == 0 triggered a use as index in content 2004-04-05 00:00:40 +00:00
Ralf Becker
3b5d09927e added htmlarea 2004-02-28 22:41:32 +00:00
Ralf Becker
b05fc623e2 some fixes for the improved nextmatch 2003-12-10 01:21:31 +00:00
Ralf Becker
2b7b9e388f sort- and filter-headers for the nextmatch widget 2003-12-09 00:03:41 +00:00
Ralf Becker
1713f946c9 fixed isset_array to deal with multiple sub-indices 2003-10-26 12:59:01 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
Ralf Becker
d0ef66a9c9 implemented disable_row/column for bjohnson 2003-04-21 20:29:18 +00:00
Ralf Becker
37bf419a10 added the deck 2003-03-27 23:47:03 +00:00
Ralf Becker
22407e6b33 some docu updates 2003-02-22 12:25:46 +00:00