Commit Graph

388 Commits

Author SHA1 Message Date
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
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
Ralf Becker
930db9f0c0 all days, weekdays, weekend only for mutiple rows 2004-10-07 22:09:02 +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
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
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
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
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
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
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
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
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
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
917c0aada9 fixed Call-time pass-by-reference 2004-03-09 21:46:25 +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
594154f2c9 select-account widget: if readonly read only the needed account and not all 2004-02-05 21:22:39 +00:00
Ralf Becker
a60285870b 1) preserving app_header if widget loops / reloads
2) size or options field gets now expaned, one can use eg "$row_content[blah]" in it
3) killed a warning in handling of readonly
2004-02-05 13:31:54 +00:00
Ralf Becker
bd460d0ea1 fixed readonly display 2004-02-05 13:27:20 +00:00
reinerj
b01bf986dc change files from phpgw to egw 2004-01-27 16:58:19 +00:00
Ralf Becker
db6808f3b3 fixed a bug the the labels got not included if one generated a new lang-file 2003-12-19 02:20:59 +00:00
Ralf Becker
b05fc623e2 some fixes for the improved nextmatch 2003-12-10 01:21:31 +00:00
Ralf Becker
db4fe046f5 killed a debug message 2003-12-09 00:22:27 +00:00
Ralf Becker
2b7b9e388f sort- and filter-headers for the nextmatch widget 2003-12-09 00:03:41 +00:00
Ralf Becker
e6fdb028ab fix for file-upload off (in php.ini) 2003-12-02 08:02:31 +00:00
reinerj
9745f65e6c fix Taiwan - Province og China 2003-11-18 08:38:12 +00:00
Ralf Becker
e5f6a0ae08 applied tbsky's so_sql patch:
1. remove a redundant line (var $non_db_cols = array();)
2. make read function process scalar value, as ur comment say.
3. make search function work on "NULL" values
2003-11-03 16:19:48 +00:00
Ralf Becker
0d40fed412 fix for bug #816612: a spaned first row leads to less columns on reading a tmpl 2003-11-03 15:43:55 +00:00
Ralf Becker
5d922e91f1 fixed jscalendar to work with date-format 'd-M-Y', for multibyte charsets this needs mbstring and mbstring_overload & 2 (!) to work fully, thought it is usable without 2003-11-03 12:03:17 +00:00
Ralf Becker
830197249f enhanced db-tools to deal with the new mulitcolum-index-syntax and to define these indices 2003-10-26 19:28:08 +00:00
Ralf Becker
554a3e93bb - fixed problem with auto-repeated rows not working everytime
- allow for first name-parts for select-options
2003-10-26 19:26:58 +00:00
Ralf Becker
1713f946c9 fixed isset_array to deal with multiple sub-indices 2003-10-26 12:59:01 +00:00
Ralf Becker
8ca325184d fixed translationTools link if not enabled for user 2003-10-26 10:01:38 +00:00
Ralf Becker
e01691fdcc added a sidebox-menu 2003-10-26 08:56:17 +00:00
Ralf Becker
3c7811e45a fixed translation of the date-widget's label 2003-10-25 21:02:16 +00:00
Ralf Becker
297447b421 synchroniced it with the developer_tools::class.solangfile.inc.php 1.19 2003-10-16 19:51:56 +00:00
Ralf Becker
3a4d3d3f52 fix for file-attachments, to not yet created entries 2003-10-04 16:58:09 +00:00
Ralf Becker
f9206f08f7 db-tools: corrected default for nullable to true and displaying now sql-conform NOT NULL and not nullable 2003-09-25 01:25:46 +00:00
Ralf Becker
ee7ec2bcd3 moved the html-class to the API 2003-09-14 10:25:05 +00:00
Ralf Becker
6cf8bd573f removed get_var, its in the .16 API now 2003-09-14 10:24:43 +00:00
Ralf Becker
195d12e131 a (hopefully) more windows-compatible way to add the missing slash in the docroot of some webservers 2003-09-14 07:56:07 +00:00
Ralf Becker
49ddd048eb fix for not show images in infolog 2003-09-13 21:57:20 +00:00
Ralf Becker
9c19f4d33c fix to work with version 0.9.99 2003-09-13 21:07:27 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
Ralf Becker
940249850e added the jsCalendar to the date_widget 2003-08-18 23:15:59 +00:00
Ralf Becker
01f9a86272 1) partialy undoing gugux changes (label use '%s' if they want to place the widget within the label!)
2) useing a regular lang()-call with parameters instead of a message array, which got translated by the constructor
2003-08-08 16:20:16 +00:00
Ralf Becker
3fcb565374 added a unlink before each rename for windows systems 2003-07-21 16:09:33 +00:00
Ralf Becker
f19c4d7904 fix for pgsql 7.3 2003-07-09 00:00:37 +00:00
Ralf Becker
aa22cef37d added parameter to exec to return the html, used for hook_home 2003-07-06 20:07:19 +00:00
Ralf Becker
db98ed31a1 replaced htmlentities with htmlspecialchars 2003-07-06 11:01:40 +00:00
Ralf Becker
1589da187d fixed handling of links with params containing '&', replaced htmlentities with htmlspecialchars 2003-07-06 11:01:16 +00:00
Ralf Becker
7073ae95c2 nextmatch_widget:
- 2 header-templates left and right from the range-display
- optional nextmatch-line with arrows, search, cats, ... after the rows
link_widget:
- new sub-type link-string
Updateted the documenations and lang-files.
2003-06-29 17:00:05 +00:00
Ralf Becker
2d3a58b86d removed the schema_proc files as they are from .16 on in the API, this breaks .14 compatibility 2003-06-29 16:48:25 +00:00
Ralf Becker
17ea20cbcc some htmlentities against XSS 2003-06-26 19:16:12 +00:00
Ralf Becker
0aa813b7bf some changes for register globals off and one more htmlentities for image-tiltle 2003-06-26 19:15:20 +00:00
Ralf Becker
6ce761812e added some htmlspecialchars() to the values of input and textarea, to allow transparent use of " and ' 2003-06-14 13:47:41 +00:00
gugux
741db6ce7b Changed all %d's and %s's into %x's in lang calls and lang files, added missing english phrases and french translations. 2003-05-26 21:03:15 +00:00
Ralf Becker
9825930cd4 implemented new phpgw-pref account_display as default for select-account 2003-05-04 09:18:56 +00:00
Ralf Becker
2f282b71ca update for calling the footer for .16 2003-04-27 23:21:27 +00:00
Ralf Becker
99c2ae7f92 added readonly-display for date-time and date-only_time 2003-04-27 08:50:20 +00:00
Ralf Becker
6a1b96229c load schema_proc from api for .16 2003-04-27 08:27:50 +00:00
Ralf Becker
363936013e new version of solangfile for the .16 developer_tools 2003-04-27 08:19:59 +00:00
Ralf Becker
191ac458fc splitted up themeStyles in theme2css, style and themeStyles 2003-04-27 08:18:53 +00:00
Ralf Becker
c7c3ba3e66 fix for HEAD, find_image does no longer lock in the api for not found images 2003-04-22 23:59:21 +00:00
Ralf Becker
1e678173e0 some fixes:
- content / code after the table_definition in tables_current.inc.php (like in phpgwapi) is now preserved
- $setup_info[<app>]['tables'][] = <table>; syntaxt in setup.inc.php is now supported on adding tables, cause the other syntax with one array still works
- hiting [write table] without any change does no longer give u an empty table
- moved all reset($arr); while (list($k,$v) = each($arr)) to foreach
2003-04-22 23:22:57 +00:00
Ralf Becker
d0ef66a9c9 implemented disable_row/column for bjohnson 2003-04-21 20:29:18 +00:00
Ralf Becker
fbebdd7bcc use new facility to include java_script in the html head-tag 2003-04-21 08:43:20 +00:00
Ralf Becker
28362cbdaa added possibility to use a sql query-string to so_sql::search 2003-04-16 14:32:15 +00:00
Ralf Becker
5da28cbdb2 1min steps for minutes via parameter or fallback vi value is not in 5min steps 2003-04-14 21:59:24 +00:00
Ralf Becker
a9d53deafb translate the monthnames and contries like the sbox-class 2003-04-13 21:47:35 +00:00
Ralf Becker
38c7e3d145 fix for the date-widget of the today button and javascript 2003-04-13 21:47:03 +00:00
Ralf Becker
3e73fa66d8 added time and date+time to date_widget and select-number to select_widget 2003-04-13 19:14:50 +00:00
Ralf Becker
36ed2608fd sbox2 now calls the constructor of sbox 2003-04-13 16:02:32 +00:00
Ralf Becker
565199d6e1 fix to let html::select difference between '' and 0 2003-04-13 16:01:29 +00:00
Ralf Becker
37bf419a10 added the deck 2003-03-27 23:47:03 +00:00
Ralf Becker
f7e3a07b05 added a debug-message for the search 2003-03-27 23:43:37 +00:00
Ralf Becker
3d394c5b50 added some trim's around name, template and lang so that whitespace gets not saved 2003-03-27 23:42:28 +00:00
Ralf Becker
4bbae0e6f7 change behavior on auto-increment columns, they are not written for new entries
some formatting and droped the aliases
2003-03-27 17:21:58 +00:00
Ralf Becker
802d6c62cc db-tools now show uninstalled apps to, thanks to new select-application widget 2003-03-18 13:06:27 +00:00
Ralf Becker
027cfe7207 fix for postgreSql's AddColumn, to allow to set a default and a not null contraint, they are not allowed in add column in pgSQL 2003-03-18 00:07:17 +00:00
Ralf Becker
eb3178426a included the db-tools messages on createing the lang-file 2003-03-17 20:58:54 +00:00
Ralf Becker
f46a1919bd some fixes:
- new table-names are added now to setup.inc.php (was only done if tables_update.inc.php was updated)
- fixed prob. with empty tables_current if [write Table] was hit and no changes made
- added some defaults for the precision, as setup does not install the tables if precision not set for int, float, char, varchar
2003-03-17 20:54:05 +00:00
Ralf Becker
fe64fbbb17 enabled translation of the title-tag of images as submit-buttons 2003-02-22 15:03:27 +00:00
Ralf Becker
7d836e4c53 some docu updates and cleaned up some debug-code 2003-02-22 12:29:04 +00:00
Ralf Becker
22407e6b33 some docu updates 2003-02-22 12:25:46 +00:00
Ralf Becker
498ef1b870 changed behavior of no_lang on extra labels (labels in front of input-fields, not buttons), the get now always translated if they are longer than 1 char and do not contain variable content (via @ or $) 2002-10-29 00:52:59 +00:00
Ralf Becker
5e0c8277af 1) only the newest version of a tpl is used for creating the lang-file
2) added the possebility to select multiple tpls from the search-list to delete them
3) added the developer_tools solangfile class to etemplate to be able to write lang-files, even if the developer-tools are not installed
2002-10-28 01:17:32 +00:00
Ralf Becker
b7dfc2ef9d etemplates send its output now for HEAD through the xslt-framework 2002-10-26 18:45:37 +00:00
Ralf Becker
466c33e3b0 Got fileattachments working as links:
- link-widget and infolog/link-class can attach files now
- changed the value of the file-widget (it's an array now)
2002-10-20 15:06:52 +00:00
Ralf Becker
510dbb355e - improved caching of extensions (previously a reload was made if delete/show/list was called)
- call the writeLangFile function of the apps ui-layer if it exists
2002-10-19 11:03:00 +00:00
Ralf Becker
95f9ac8504 fix to distinguish between entities (eg. &uuml;) and accesskeys lik &Delete 2002-10-18 21:33:39 +00:00
Ralf Becker
6e17b96dd9 some fixes to get the links working in case the entry is not yet created 2002-10-18 20:20:35 +00:00
Ralf Becker
d63e2607f8 some fixed to enable infolog with etemplates to run in 0.9.14 2002-10-17 23:34:28 +00:00
Ralf Becker
ee4894e01e added 2. attr. for nextmatch 2002-10-17 22:13:18 +00:00
Ralf Becker
0666aebaba made more attributes loadable from the content-array 2002-10-17 22:10:12 +00:00
Ralf Becker
f994c57a1f image shows title if image is not found 2002-10-17 22:07:00 +00:00
Ralf Becker
56acf9ae94 fixed an error msg 2002-10-17 22:05:53 +00:00
Ralf Becker
91138a3a10 update 2002-10-16 16:41:17 +00:00
Ralf Becker
653bdc9658 - no empty data-line shown, if no data
- added option to disable nextmatch, if total entries <= nextmatch-max and no search, filter or cat set
2002-10-16 15:22:06 +00:00
Ralf Becker
01e13c81ea - no empty data-line shown, if no data
- added option to disable nextmatch, if total entries <= nextmatch-max and no search, filter or cat set
2002-10-16 14:11:36 +00:00
Ralf Becker
bf9c214c49 added support for hooks written with etemplates 2002-10-16 00:19:36 +00:00
Ralf Becker
4fe754d9a9 changed categories::formated_list to formatted_list 2002-10-15 13:32:32 +00:00
Ralf Becker
e7048b5fb5 lots of fixes and additions:
- load_via works now in boetemplate::read
- included templates are relative to the includeing tpl, if they contain no '.'
- xul_io is alway writing the comple/absolute name
- HBox gets width=100% if alignment other then left set (new!)
- added links as 2. option to label
- added header function to uietemplate
2002-10-14 00:39:47 +00:00
Ralf Becker
932d814f7a type need to be taken from the popup and not from the menulist on import 2002-10-12 22:39:01 +00:00
Ralf Becker
61aa0d4c58 set post_process for an extension only if the extension has a post_process funktion, else it might overwright the normal post_process 2002-10-12 22:37:29 +00:00
Ralf Becker
74248930c5 date_widget has now an option to show an input for the year instead a select-box, datefield_widget is no longer used 2002-10-12 22:34:50 +00:00
Ralf Becker
31825455e7 update for change in class.categories.inc.php, id --> cat_id 2002-10-12 20:40:18 +00:00
Ralf Becker
7a07eef5b5 if date_widget is readonly: just generate a label with the Date in the form spec. in the user-prefs 2002-10-12 16:39:10 +00:00