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