Commit Graph

153 Commits

Author SHA1 Message Date
Ralf Becker
4794146748 removed / reverted some earlier fixes which caused other problems 2006-04-06 18:39:34 +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
Cornelius Weiß
d79ed4aa96 allow etemplate to use xajax 2006-03-29 19:25:00 +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
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
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
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
99ca767542 a bit more flexible parsing of confirm dialogs 2005-11-12 13:20:20 +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
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
69ff4a066f Manual widget, which open the online help from popups 2005-11-09 16:56:23 +00:00
Ralf Becker
a680d87a67 tabindex and accesskey 2005-11-05 17:07:29 +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
Cornelius Weiß
9cbf5c356b use tinymce for htmlareas 2005-10-10 15:43:45 +00:00
Ralf Becker
566d5ecbd5 added parameter for a popup in links 2005-07-30 12:49: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
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
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
e1df8ccd7f readonly checkboxes can now be disabled (not displayed), if they are unchecked 2005-06-14 21:38:49 +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
0cde45389d allow to override the id of a widget 2005-06-12 12:31:05 +00:00
Ralf Becker
6fd3abff3b initialised var to kill warning 2005-06-11 20:13:38 +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
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
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
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
e66fc40408 tab-widget can change now between the tabs without a reload 2005-05-19 13:16:52 +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
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
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
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
851439d0d9 using now class set in cells of a VBOX or HBOX 2005-04-14 22:35:24 +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
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