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
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
c84e492e91
documentation update:
...
- fixed wrong / not working popup javascript
- updated xet-file example to include <template> tags
- updated the describtion: a (nested) widget tree is allowed in HEAD now and not just one grid as in the 1.0.0
2005-04-10 13:39: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
37fbde58da
fixed wrong link
2005-04-07 12:08:59 +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
Oscar Manuel Gómez Senovilla
f2a93fa910
*** empty log message ***
2005-03-26 22:00:50 +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
Ralf Becker
9627814ab2
killed a debug-message
2005-02-27 21:32:43 +00:00
Ralf Becker
6874870274
silently fixing 0 based array
2005-02-27 21:32:06 +00:00
Ralf Becker
450de4d93f
reworked so_sql class with new db-methods db::select, db::insert, db::update, db::delete and added get_rows method for the nextmatch widget
2005-02-27 21:31:10 +00:00
Oscar Manuel Gómez Senovilla
60ae406c63
*** empty log message ***
2005-02-27 10:20:49 +00:00
Ralf Becker
9f525747b4
bugfixes and using the checkbox version for the mutiple selectbox
2005-02-24 21:02:24 +00:00
Ralf Becker
717f53ece2
some bugfixes:
...
- tab-widgets can be edited (new editor lost template content and onclick_handler, if looping)
- select widgets accept again options via $sel_options[$name] $name is the name of the widget and not the form_name
- grid-options get loaded again via the old editor
2005-02-23 14:33:00 +00:00
Ralf Becker
e47230d451
fix to allow session-id in the url too
2005-02-23 09:36:46 +00:00
Ralf Becker
ac060de053
docu update
2005-02-22 22:11:00 +00:00
Ralf Becker
8c34e1e04e
- style popup is working now: allows to edit the embeded styles of an eTemplate as well of the apps app.css file
...
- some bugfixes in the editor
- popups can now directly called by a button and you can pass params via the content array
2005-02-22 21:02:26 +00:00
Ralf Becker
59a356048a
fixed errors in the conversation from grids to boxes and the insert-behind for boxes
2005-02-21 12:26:20 +00:00
Ralf Becker
f5133fa9d5
allowing to set no_lang attribute for filter and filter2 via the content-array (as needed by Cornelius Weiss)
2005-02-21 09:21:48 +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
fea797c2cb
fixed cat-selection after removal of depricated class-var
2005-02-14 15:05:11 +00:00
Ralf Becker
bc13c208fe
fixed inline documentation, works very nice now
2005-02-13 13:03:36 +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
ab02fe9ee0
fix for bug [ 1120676 ] Date&Linking Probs in InfoLog:
...
caused by error in handling of array's when magic_quotes_gpc was on
2005-02-12 13:59:08 +00:00
Ralf Becker
f520cbb004
updated dependencies
2005-02-10 14:16:02 +00:00
Ralf Becker
22f7aaf56c
fix for bug [ 1049574 ] Windows does not support dates prior 1970-01-01
...
using adodb's datelibary instead of the regular php-functions: date, mktime, ...
also added input-validation for dates
2005-02-09 10:15:49 +00:00
Ralf Becker
482156d7b5
fix for bug [ 1019398 ] s/Referenz/Reference/
2005-02-08 18:22:18 +00:00
Ralf Becker
a9ea2f8cf9
using clone() to create copies of the db-object for php5 compatibility
2005-02-08 18:21:07 +00:00
Ralf Becker
ebf6ab3262
Sending "... is no valid method" error now as validation error, instead just echoing it
2005-02-08 17:46:34 +00:00
Ralf Becker
7645b3f0c5
Step #3 : xml export now with any tree too.
...
Editing still need to be reworked.
More to come ...
2005-02-08 14:59:41 +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
7c0bce63ed
reworked a bit the UI:
...
- more idots conform (app_header)
- showing im-/exported xml (fixed old debug output)
- return works not in the name-field
2005-02-06 18:12:26 +00:00
Ralf Becker
472733589f
fixed translation of groupbox caption
2005-02-06 17:52:43 +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
60a34f34fc
Fixed disapearing backslashes if magic_quotes_gpc=Off. Now stripslashes is only run if it's On.
2005-02-04 13:40:56 +00:00
Oscar Manuel Gómez Senovilla
29997ba72f
bug 1112125
2005-01-29 19:36:06 +00:00
Oscar Manuel Gómez Senovilla
a06003edef
*** empty log message ***
2005-01-29 13:05:52 +00:00
reinerj
459ddd8997
lang file update Swedish from Marko
2005-01-17 13:14:01 +00:00
reinerj
7c82e51a44
update the slovenian lang file from orb_ter
2004-11-30 16:27:34 +00:00
Ralf Becker
930db9f0c0
all days, weekdays, weekend only for mutiple rows
2004-10-07 22:09:02 +00:00
Ralf Becker
95375f467c
added two new widgets:
...
- hour with 12/24 preference
- day of week
2004-10-07 22:08:19 +00:00
Ralf Becker
33f5cb30c8
added two new widgets:
...
- hour with 12/24 preference
- day of week
2004-10-07 21:58:33 +00:00
Ralf Becker
72140f4425
changed documentation to phpdoc standard and added a new output-mode for popups (no navbar)
2004-10-07 21:53:41 +00:00
Ralf Becker
cff0ca3801
changed documentation to phpdoc standard
2004-10-07 21:53:10 +00:00
Ralf Becker
7a28a6bcd0
fix for problem reported by Julius Wehrmann, a single date-picker (no other widgets) does not work
2004-09-20 18:51:31 +00:00
Ralf Becker
ae69a000b5
new french translations from Antoine Theytaz
2004-09-02 07:58:25 +00:00
Ralf Becker
ff47845902
added option to suppress time in the readonly display if it's 0h0
2004-08-28 17:57:44 +00:00
Ralf Becker
2f7c4cb8fc
removed tz-converstation:
...
- to fix tz-probs in infolog
- in my belive tz-conversation should always be done in the bo-layer and not in ui (eTemplate)
2004-08-28 17:56:27 +00:00
Ralf Becker
9e1dcb9a78
fixed double translation of extra options in selectboxes
2004-08-28 15:52:32 +00:00
dragob
65feffc4d4
New/updated Slovenian translations (by Matev� Bokal).
2004-08-23 14:11:00 +00:00
Ralf Becker
8da9e0fa41
not used in etemplate (anymore)
2004-08-21 15:14:08 +00:00
Ralf Becker
c7e6cb74fa
ability to specify plugins for htmlarea
2004-08-21 08:04:23 +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
03f1739205
using schema_proc's new GetTableDefintion method if availible
2004-08-15 20:58:12 +00:00
reinerj
1e781c1033
replace the crap
2004-08-09 10:57:00 +00:00
Ralf Becker
5e9dbe95c5
fix for mbstring.func_overload 7: ereg_* where looping infinit, changed to preg_*
2004-08-08 09:18:04 +00:00
Ralf Becker
3eeac95008
added 1.0.1 dependency for the api
2004-08-03 08:03:04 +00:00
Ralf Becker
ee1eaa2130
added 1.0.1 dependency for the api
2004-08-03 08:03:04 +00:00
Ralf Becker
00d45abcfe
always use the charset param for htmlspecialchars (via html::htmlspecialchars)
2004-08-02 07:24:44 +00:00
Ralf Becker
6368a36d2c
1) fixed missing translation in validation messages
...
2) validation only loops now, if a button (not cancle) is pressed, selectboxes with onchange dont get stoped by validation errors ==> fix for bug [ 1001568 ] status is not updated
2004-08-01 19:26:33 +00:00
reinerj
d42c51fb2b
fix some wrong tabs in file which produce error messages
2004-07-31 14:47:38 +00:00
shrykedude
ff34378a1e
Fixed app dependencies for api-1.0.1 version change
2004-07-30 19:06:35 +00:00
Oscar Manuel Gómez Senovilla
ae31c0db04
*** empty log message ***
2004-07-26 19:48:49 +00:00
Ralf Becker
c591c2c221
fixed / added mssql support for egw and fixed some other Windows probs on the way ;-)
...
- knowledgebase is not working: select distinct is not possible with text-columns
- fudforum is not working: is does not use ADOdb and has no own db-layer for mssql
- other apps seem to work, everthing needs through testing - incl. our "old" db's
2004-07-25 01:41:37 +00:00
Oscar Manuel Gómez Senovilla
6666325a1e
*** empty log message ***
2004-07-14 08:12:56 +00:00
Ralf Becker
d6bc8096ac
*** empty log message ***
2004-07-09 18:21:27 +00:00
Ralf Becker
0c2155f270
using eGW's new account-selection widget
2004-07-09 18:21:01 +00:00
Ralf Becker
6b72df97ec
added charset to htmlspecialchars for multibyte chars
2004-07-02 22:44:19 +00:00
Ralf Becker
f6c07ba556
pushing all versions to 1.0.0
2004-07-02 22:32:53 +00:00
Ralf Becker
ac25e32010
added a white-space:nowrap; to the style of the tabs of the tab-widget
2004-07-02 08:54:34 +00:00
Ralf Becker
2cef87570c
setting table-cells without align to left, to fix wired inheritance in IE
2004-06-23 15:47:36 +00:00
Ralf Becker
baa212c22a
centralised 2-digit iso country codes in phpgwapi/inc/class.country.inc.php
...
Other classes can use them, as there are atm:
- etemplate/inc/class.select_widget.inc.php
- phpgwapi/inc/class.sbox.inc.php
2004-06-15 07:50:58 +00:00
zhangweiwu
17f64562ad
from kiang, to workaround 'the slash bug':
...
Translation of Traditional Chinese in UTF-8 version
I've tested it with the version RC5. Somebody in taiwan
who offered a series of functions to convert the
encoding from big5 to utf-8. It works fine~ Should I also
upload it for anyone who would like to understand the
big5 encoding??
2004-05-24 02:46:24 +00:00
Oscar Manuel Gómez Senovilla
699a260689
*** empty log message ***
2004-05-19 15:02:27 +00:00
reinerj
95cae3b6ec
new langfile Catalan from Xavier Navarro
2004-05-04 15:03:04 +00:00
reinerj
7f7d275b15
update Traditional Chinese langfiles from Finjon Kiang
2004-04-27 10:33:26 +00:00
reinerj
be72681b62
update images to jerryr template from Jerry Ruhe
2004-04-26 21:31:27 +00:00
mila76
cc11712210
Update to 0.9.99.015
2004-04-20 21:36:10 +00:00
Pim Snel
6c80ad8431
update dutch translations
2004-04-20 13:39:21 +00:00
Ralf Becker
6e0b23d3d6
made eT app-name common
2004-04-13 07:55:43 +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
20e1983d37
using htmlspecialchars from the html-class
2004-04-12 12:28:35 +00:00
Ralf Becker
a7666da37f
fixed missing app-name in most phrases, not sure how it got missing
2004-04-09 12:32:38 +00:00
Ralf Becker
ec1cf301b2
added input-validation:
...
- needed (= not to be empty) fields are enforced now
- min and max values and format of int and float fields
- validator for text-fields (perl regular expression)
The input-validation is handled completly withing eTemplate, the application dont need to implement any code, just set the right attributes in the template. Validation-errors are displayed in red behind the concerning field, try the template 'etemplate.validation-test' in the editor.
2004-04-05 01:33:23 +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
4ad8d84609
fixed typo, which prevented app-name in cats to be shown
2004-04-04 21:45:15 +00:00
petere78
67375d4da1
Change all paths to php binary to /usr/bin/php.
2004-04-01 16:04:58 +00:00
reinerj
2deefe45f7
update to the next version from egw
2004-03-28 12:46:09 +00:00
Carsten Wolff
56aa7e6eb3
removed some files that don't belong into cvs
2004-03-24 08:56:03 +00:00
Ralf Becker
d29ea406c2
fixed not translated help-messages if no_lang was checked
2004-03-24 01:20:00 +00:00
Ralf Becker
be80b4fb09
fixed typo
2004-03-21 17:32:07 +00:00
Ralf Becker
45df07162b
removed the es translation, as es-es is used now
2004-03-21 10:59:53 +00:00
Ralf Becker
a13ab26527
fixed error, thanks to drago
2004-03-13 09:58:25 +00:00
Ralf Becker
917c0aada9
fixed Call-time pass-by-reference
2004-03-09 21:46:25 +00:00
reinerj
8320fcefe0
jerryr template changes commited
2004-03-07 22:22:16 +00:00
Ralf Becker
345db0ee59
use new progressbar for image/buttons with names like xx%
2004-02-29 09:55:48 +00:00
Ralf Becker
3b5d09927e
added htmlarea
2004-02-28 22:41:32 +00:00
Ralf Becker
5e237d6a8e
fixed typo
2004-02-28 22:31:15 +00:00
Ralf Becker
1e1fa5f457
new parameter to label-widget, to activate the links
2004-02-26 15:33:33 +00:00
Ralf Becker
a7779f4c5a
added link to the api-docs
2004-02-23 00:47:39 +00:00
Ralf Becker
6c06141cdc
support for changed indices
2004-02-20 15:38:47 +00:00
Ralf Becker
cb7fa13a6f
1) use images+links for image-buttons, as the IE png-fix does not work on image-buttons
...
2) for links instead of button (eg. tabs) only one hidden-var is used, not longer one per button
2004-02-14 18:48:53 +00:00
Ralf Becker
626be11f90
bringing the xet-files up-to-date
2004-02-06 12:49:05 +00:00
Ralf Becker
594154f2c9
select-account widget: if readonly read only the needed account and not all
2004-02-05 21:22:39 +00:00