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
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
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
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
Ralf Becker
3a479fd54c
importing the app.css file of the edited template
2005-04-14 22:08:25 +00:00
Ralf Becker
7a39be36b6
some bugfixes:
...
- date-time: empty date not recogniced
- date-timeonly, date-houronly: use only seconds, no timezone converstation between server-time and UTC (default for mktime())
2005-04-10 21:25:42 +00:00
Ralf Becker
f2be05f26f
added join parameter to the read too
2005-04-10 21:15:33 +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
20cacc2f1d
1) fixed not working inserts, if primary key (not auto-increment) where given
...
2) allow 0 to be written and not treated as null
3) added join feature for search
2005-04-08 18:30:32 +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
Ralf Becker
51a0ac0f80
fixed not displayed error-message: write failed (webserver has not write-rights). Before writes of tables for new created apps silently fail.
2005-04-04 08:50:45 +00:00
Ralf Becker
cb820c8ccf
only omit filter-column in search, if it's realy set to a value
2005-03-29 17:06:50 +00:00
Ralf Becker
88577483bd
fixed editing of versions other then the latest version
2005-03-29 14:16:42 +00:00
Ralf Becker
6c4843263f
the nextmatch callback can now change or add items to sel_options, eg. to set column-filter contents depending on other column-filters
2005-03-13 23:38:37 +00:00
Ralf Becker
4eb9a76c0b
search accepts now a string with column-names for the only_keys parameter, you can use eg. 'DISTINCT mycol'
2005-03-13 23:35:51 +00:00
Ralf Becker
3435f58d39
not calling CreateObject if class-file does not exist
2005-03-07 21:58:15 +00:00
Ralf Becker
c2bf8d30af
allow to specify a target for links on images
2005-03-07 21:56:30 +00:00
Ralf Becker
d238e9d9cd
added optional parameter to the constructor to pass a db-object, eg. for a connection to a different database/host
2005-03-06 21:39:46 +00:00
Ralf Becker
8c03c0999a
- allow to ignore validation-errors of certain fields (for the editor)
...
- allow to set and promote attributes for process_exec in extensions (needed for date)
- readonly removes file-uploads now
- readonly value for mulitselectbox is in multiple lines now
2005-03-05 14:59:33 +00:00
Ralf Becker
6b3eda15a6
fix to allow setting needed attribute for dates
2005-03-05 14:56:30 +00:00
Ralf Becker
89dadea91f
removing the pressed first, left, right and last button-values from the returned result, as we use them (only) internal
2005-03-05 14:55:38 +00:00
Ralf Becker
df847f6d8f
returning extra_cols in search
2005-03-05 14:54:14 +00:00
Ralf Becker
b3249095a3
only try instanciating get_rows object, it a non-empty name given, else we get an error-message in the editor
2005-03-05 09:25:17 +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