Commit Graph

555 Commits

Author SHA1 Message Date
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
Ralf Becker
2de0e0e79a added header-css to nextmatch_widget.header_only 2004-02-05 13:33:42 +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
Ralf Becker
3df6788a2f not needed, can be taken from the phpgwapi 2004-02-05 12:53:51 +00:00
reinerj
b01bf986dc change files from phpgw to egw 2004-01-27 16:58:19 +00:00
reinerj
8b9b26bde8 add jerryr template from Jerry Ruhe (aka jerry71) 2004-01-23 11:18:50 +00:00
Oscar Manuel Gómez Senovilla
fd95a1911b *** empty log message *** 2004-01-04 03:10:35 +00:00
Oscar Manuel Gómez Senovilla
0b8ecc7a8a *** empty log message *** 2004-01-03 00:04:16 +00:00
Oscar Manuel Gómez Senovilla
803a930a22 *** empty log message *** 2004-01-02 21:12:27 +00:00
Oscar Manuel Gómez Senovilla
fd68a4eddc *** empty log message *** 2003-12-28 00:41:17 +00:00
Oscar Manuel Gómez Senovilla
91e2dde838 *** empty log message *** 2003-12-26 00:51:21 +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
3511e9d103 update of the docs concerning the improved nextmatch-widget 2003-12-18 06:08:55 +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
Pim Snel
eb3f3d1e0c new crystal icons 2003-11-18 11:57:58 +00:00
reinerj
9745f65e6c fix Taiwan - Province og China 2003-11-18 08:38:12 +00:00
Pim Snel
c3e9353b53 new Dutch translations 2003-11-04 01:52:50 +00:00
Pim Snel
7701abb167 start new icons default template theme 2003-11-04 01:42:56 +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
07da6bbec9 phpGW --> eGW 2003-10-26 19:25:13 +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
Pim Snel
194f2dd843 and here are the new idots icons 2003-10-23 15:30:54 +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
reinerj
a5b1627506 add literati image to CVS 2003-10-14 23:51:53 +00:00
Ralf Becker
ca460b5aae added the optional link in the label-widget 2003-10-07 13:31:23 +00:00
Ralf Becker
3a4d3d3f52 fix for file-attachments, to not yet created entries 2003-10-04 16:58:09 +00:00
Ralf Becker
6c10e248d7 reverted the german lang-files to iso8859-1, as we want to make the conversation optional and while adding the files to the database 2003-10-03 11:47:09 +00:00
Lars Kneschke
e5373db2a2 moved german translation to UTF-8 2003-09-28 08:15:58 +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
cd1025f9cf 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:29:34 +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
a205036c1d *** empty log message *** 2003-06-29 16:59:41 +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
415faa58ed added 0.9.16 to api-version-dependece, the eTemplate wiki-page and droped the title 2003-06-14 13:48:50 +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
dc86d87cf8 Forgot this one. 2003-05-30 20:15:13 +00:00
Ralf Becker
089e3c2508 no translation for etemplate.link_widget.search's app-selectbox 2003-05-30 18:56:51 +00:00
Ralf Becker
00ef88da75 non-fixed tab-width 2003-05-30 18:45:33 +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
gugux
98972efd2d Added missing english phrases and french translations. 2003-05-26 19:35:34 +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
7f3b2161f8 new icon for eTemplate, more in the style of idots 2003-05-03 12:46:50 +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
b7b29aace8 use redirect_link now 2003-04-21 08:39:10 +00:00
Ralf Becker
349d66a4d3 update idots 2003-04-19 13:31:02 +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
3a8146064e added time and date+time to date_widget and select-number to select_widget 2003-04-13 19:21:25 +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
3bad474731 Initial Import of eTemplate port of Notes as a further example for the eTemplate docu 2003-04-03 01:02:31 +00:00
Ralf Becker
99094a97a4 a german translatons, title for et_media in all langs 2003-03-31 18:13:39 +00:00
Ralf Becker
cd8704a769 find an icon for et_media 2003-03-31 17:58:23 +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
6b0665f005 changed app title 2003-03-22 11:34:22 +00:00
Ralf Becker
56ac75c659 changed $GLOBALS['setup_info'] to $setup_info (it gets included within a function in setup)
remove step 2) as db-tools now show uninstalled apps to create tables for
2003-03-19 17:04:08 +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
d507c0dd47 changed all char-column to varchar, as pgSql fills the char's up with space 2003-03-18 00:47:05 +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
569c20966a some new phrases 2003-03-17 20:48:17 +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
83ef41b43c edit-icons for eTemplate search-list 2003-02-22 12:31:55 +00:00
Ralf Becker
f29995295e png version of navbar-icon 2003-02-22 12:30:20 +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
gugux
1c80c360cc New french translation file. 2003-01-13 23:11:49 +00:00
gugux
9e33e2c16e New french translation file. 2003-01-10 21:32:51 +00:00
Ralf Becker
264ed9b520 readded the title for .14 2002-11-24 21:26:31 +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
c1550c8638 added german translation and some english ones 2002-10-29 00:50:46 +00:00
Ralf Becker
25083c862e ubdate to new about-system (all infos are in setup.inc.php, no more hook_about) 2002-10-28 11:41:58 +00:00
Ralf Becker
cc8652e098 update 2002-10-28 01:27:34 +00:00
Ralf Becker
04daa72445 new lang-file with a lot not longer used messages deleted 2002-10-28 01:20:08 +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
b034a977dd ubdate to new about-system (all infos are in setup.inc.php, no more hook_about) 2002-10-28 00:18:04 +00:00
Ralf Becker
4ef9cd9399 ubdate to new about-system (all infos are in setup.inc.php, no more hook_about) 2002-10-27 18:09:12 +00:00
Ralf Becker
ca78e392f8 ubdate to new about-system (all infos are in setup.inc.php, no more hook_about) 2002-10-27 17:31:02 +00:00
Ralf Becker
b7dfc2ef9d etemplates send its output now for HEAD through the xslt-framework 2002-10-26 18:45:37 +00:00
ceb
587fa97db2 removed app_title plus update layout 2002-10-23 20:47:33 +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
87f812451a - changed the way so_sql is loaded
- modified writeLangFile to include the types and return the message
2002-10-19 11:15:23 +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
c74cecd2a3 update 2002-10-19 00:51:26 +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
ae1bd823f1 update 2002-10-17 22:19:16 +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
49169129f6 added a cvs-id 2002-10-16 00:25:54 +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
02ed6da227 added date_widget and corrected wrong widget-name integer to int 2002-10-12 23:01:21 +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
Ralf Becker
ec1ffc81be Many new stuff for the eTemplates:
- added vbox and hbox support: container to put widgets in one row or column
- complete rows and column can now be disabled (even with a simple comparison with a variable in content, eg. disabled if the var is empty)
- labels and helptexts from tpls with 'test' in there name, get no longer written to the lang-file
- update the documentation
2002-10-12 16:37:44 +00:00
Ralf Becker
a3aaf60ede implemented possibility to disable rows and cols,
disabling can depend on a value of $content
2002-10-10 11:29:36 +00:00
Ralf Becker
37bcfe1c5e changed Label from remark to comment 2002-10-09 11:55:05 +00:00
Ralf Becker
50e1a8236e improved handling of empty linklist 2002-10-09 11:50:46 +00:00
Ralf Becker
27e25a05d2 inital import of link_widget (former link_to and link_list from infolog) 2002-10-09 00:34:45 +00:00
Ralf Becker
5441331027 worked a bit on the design of the tabs 2002-10-09 00:32:04 +00:00
Ralf Becker
0a02c90ac7 made labels with accesskey work
changed name for html-widget from raw to html
fixed some error/warnings
2002-10-09 00:31:01 +00:00
Ralf Becker
3adb76644e added TITLE to link around img as submit-button 2002-10-08 00:08:40 +00:00
Ralf Becker
4b05104bd7 small fix on load_via for boetemplate constructor 2002-10-08 00:06:14 +00:00
Ralf Becker
270920c5c4 submit_button: added app for the image to search 2002-10-08 00:02:39 +00:00
Ralf Becker
2d2054b6ad some more to allow relative template-names not only for tabs but in general 2002-10-06 08:50:23 +00:00
Ralf Becker
9a577c887e update 2002-10-06 00:33:12 +00:00
Ralf Becker
0185039028 documented change of tab-widget 2002-10-06 00:25:50 +00:00
Ralf Becker
bda27e3125 load translation of the app we edit the template from 2002-10-06 00:21:52 +00:00
Ralf Becker
0bcaa1b8b3 - load translations for etemplate too, if called from other app
- added phpgw_footer for stable
- some checks for sel_options
2002-10-06 00:20:32 +00:00
Ralf Becker
e638e17ed3 useing soetemplate::set_rows_cols() 2002-10-06 00:17:15 +00:00
Ralf Becker
aba4105393 fix to get select-month accept a value like '02' for februar 2002-10-06 00:16:31 +00:00
Ralf Becker
ee4ac7ac0b new coded useing select-day, -month, -year 2002-10-06 00:15:14 +00:00
Ralf Becker
702e169b42 allow to write only a relative eTemplate-name for each tab:
relative means it contains no '.' and it will then be prefixed with the name of tpl it is used in (plus a '.')
eg. tpl-name 'etemplate.tab_widget.test' tab-names 'work|privat|note' will expand to 'etemplate.tab_widget.test.work', ...
2002-10-05 10:40:02 +00:00
Ralf Becker
18b0e6efe6 added schema_proc-classes to etemplate, to enable db_tools to work under 0.9.14 2002-10-04 23:53:00 +00:00
Ralf Becker
2c021a3be1 small fix to get $sel_options for the last name 2002-10-04 23:15:46 +00:00
Ralf Becker
912566fdec removed all eval to get a slight better performance 2002-10-03 23:47:14 +00:00
Ralf Becker
9b2ae24745 fixed 'cannot redifine var2xml', which ocurs if xslt already loaded xmltools
added name of base-tpl to contructor-call for embeded templates
2002-10-03 23:46:28 +00:00
Ralf Becker
3d9887ad01 its hard to get a cvs tag in the source, that should not be changed by CVS 2002-10-03 19:53:47 +00:00
Ralf Becker
07bec1fa34 documented the nextmatch-widget and the attrs/options for the predefined select's 2002-10-03 18:26:47 +00:00
Ralf Becker
d59e5aaebc added extra-row for single-line selectbox in options and ability to have select-options set by an extension and by $sel_options or $content["options-$name"
changed names of theme-css-styles to be compatible with ceb's changes, html::themeStyles is used for 0.9.14
2002-10-03 16:52:42 +00:00
Ralf Becker
402d5c67c5 added options for listbox too and allow comma-separated extra-attributs 2002-10-03 16:48:17 +00:00
Ralf Becker
8a541d29e8 added more error-messages and changed soetemplate::toTranslate to not write messages starting with '@' and do write extra-line of selection in options 2002-10-03 16:46:18 +00:00
Ralf Becker
84ef2380ee added / changed some parameter, got accounts working 2002-10-03 16:43:26 +00:00
Ralf Becker
a45f632221 made it 1 line 2002-10-03 16:40:21 +00:00
Ralf Becker
34b6bc6c14 update 2002-10-03 16:38:54 +00:00
Ralf Becker
92fef5cc31 changed ext of eTemplate-files to .xet 2002-10-03 15:38:41 +00:00
Ralf Becker
116511260d typo 2002-10-03 13:24:45 +00:00
Ralf Becker
87d1b56270 added an empty CVS-Id to the eTemplate xet- and distribution-file 2002-10-03 11:10:52 +00:00
Ralf Becker
d2cc9b2d7f changed name of hidden-input for current app 2002-10-03 10:31:24 +00:00
Ralf Becker
53da587f5b put all pre-defined select-boxes in an extension, dont need sbox-class any more 2002-10-02 00:44:33 +00:00
Ralf Becker
68f4bcc745 identstring added to constructor and inherited to children 2002-10-01 23:35:30 +00:00
Ralf Becker
4ca7787f9f update 2002-10-01 22:22:02 +00:00
Ralf Becker
fbd5f81c0e set indentstring to '' for var2xml and to "\t" for the rest 2002-10-01 22:13:09 +00:00
Ralf Becker
290ba0b094 completly rewritten uietemplate::process_show to not longer need to work recursively and be able to do input-checks later on 2002-10-01 18:26:30 +00:00
Ralf Becker
2137de5884 renamed eTemplates xml files from .xul to .xet and added support to load a xslt-file as a template 2002-09-30 19:06:29 +00:00
Ralf Becker
57d97a9fd4 renamed eTemplates xml files from .xul to .xet 2002-09-30 18:19:50 +00:00
Ralf Becker
c9170e138e added xslt_widget: renders html via Seek3r/ceb's xslt-templates
Example is the tpl etemplates.xslt_widget.test with the xslt-file etemplate/templates/default/test.xsl
2002-09-29 22:27:18 +00:00
Ralf Becker
b81315af45 added checks if the several functions in an extension are implemented 2002-09-29 22:24:33 +00:00
Ralf Becker
2dcb0ace3c removed a left-over debug-message 2002-09-29 22:23:30 +00:00
Ralf Becker
493c25bbf4 fixed a typo in the call of the render-function (extensions) 2002-09-29 22:21:29 +00:00
Ralf Becker
9da89960a9 added overflow handling via <div style="overflow: $overflow"> to etemplate, but it is very buggy and inconsistent implemented in the several browsers so i cant recomand using it 2002-09-29 16:35:54 +00:00
Ralf Becker
a2dcfae7b4 some more browser detection and using title instead of alt for images for all browsers but netscape 4.x 2002-09-29 16:33:47 +00:00
Ralf Becker
23cb3a3fe6 get rid of warning if try to read etemplate with empty name 2002-09-29 16:12:52 +00:00
Ralf Becker
f812fda881 template-options now in separate fields in the editor, made options/size field in the db bigger and added a modified to the db 2002-09-29 13:01:40 +00:00
Ralf Becker
9a88763149 added div 2002-09-29 12:59:24 +00:00
Ralf Becker
850a835f1c using include_once now to include the class we extend and exclusivly the etemplate.html class 2002-09-29 08:50:18 +00:00
seek3r
86032f02dd removed common->phpgw_exit() and fixed all references to it in the core apps and api 2002-09-28 20:01:44 +00:00
seek3r
8abf9fa1a5 Switched to using the register_exit_function() and added scrolling divs to a couple places for examples 2002-09-28 15:20:20 +00:00
Ralf Becker
147a2ba800 changed templates to use ceb's css-theme-files 2002-09-28 00:30:01 +00:00
Ralf Becker
6512e21af4 changed templates to use ceb's css-theme-files 2002-09-28 00:09:47 +00:00
Ralf Becker
ed81de3f86 big performance improvment by using references (droped php3 compatibility) 2002-09-27 16:17:39 +00:00
Ralf Becker
86f9c5ce6a forms are send now to /etemplate/process_exec.php, which sets the current_app from $HTTP_POST_VAR['app'] 2002-09-25 23:19:31 +00:00
Ralf Becker
37215bffa7 send app-name as get-var to process_exec to allow the changed /index.php to setup for the right app 2002-09-25 22:22:10 +00:00
Ralf Becker
ee31b85185 multiple tpls in file get are now automaticaly load, even if name != filename 2002-09-25 16:36:07 +00:00
Ralf Becker
730ce71b8b fixed a warning 2002-09-25 16:27:11 +00:00
Ralf Becker
b6e2ef8143 some more examples for xul-files 2002-09-24 22:45:02 +00:00
Ralf Becker
161ff221e3 dont write js-functions only if it is tested that js is disabled 2002-09-24 22:34:21 +00:00
Ralf Becker
3668f6e6dd fixed wrong order from rows,cols of the multiline textarea / xul textbox 2002-09-24 22:05:01 +00:00
Ralf Becker
7bd87b1180 changed interface for extensions to:
pre_process(&$cell,&$value,&$extension_data,&$readonlys)
post_process(&$cell,&$value,&$extension_data,&$loop)
2002-09-24 21:57:15 +00:00
Ralf Becker
19eef3f976 show values now preservs the values which are arrays 2002-09-24 21:55:16 +00:00
Ralf Becker
28618888da some fixes:
- listbox (multiline select) was not setting the type on export
- templates referenzed by nextmatch or tab-widget got not embeded on export
2002-09-24 19:21:56 +00:00
Ralf Becker
ede69c0a38 eTemplate extensions can now change the $readonlys-array.
nextmatch-widget uses this to allow get_rows to switch button on and off.
2002-09-24 17:28:45 +00:00
Ralf Becker
55793a448f fixed nextmatch not reporting the value of start, if not scrolled (one of the arrows used) 2002-09-24 12:44:03 +00:00
Ralf Becker
630a0a7cda this is an example for several templates in one file.
It includes all (nested) templates of the eTemplate editor.
2002-09-24 10:02:33 +00:00
Ralf Becker
43c5ce9318 improved the cache-handeling:
- works now with versioning (only via the db-storage, not files)
- removed a lot unnecessary db- and/or filesystem accesses
2002-09-24 10:00:58 +00:00
Ralf Becker
7751df9f39 fixed error messages if olny an other version of an eTemplate is found.
added message if an imported eTemplate/xul-file contains more than one template.
2002-09-24 09:58:07 +00:00
Ralf Becker
7e2f07bde1 using class.xmltool.inc.php from the api instead of Seek3r's old xmltools.php.
class.xmltool.inc.php is copied here til Seek3r aplied a patch in the api.
2002-09-24 08:42:51 +00:00
Ralf Becker
96111faf8f improved the detection, for the case the webserver is started manualy 2002-09-24 01:29:14 +00:00
Ralf Becker
74ffa874bd fix to jump back to the start, if search returns less items than acutal position is 2002-09-22 18:10:06 +00:00
Ralf Becker
f8e0994cfb nextmatch etemplate is in one file now 2002-09-22 18:07:32 +00:00
Ralf Becker
6dae3a369d etemplates xml/xul-files can have more than one template in a file now (the tpl coresponding to the name has to be the last one) 2002-09-22 17:56:48 +00:00
Ralf Becker
6d9566cfbe get rid of an errormsg: file not found 2002-09-22 17:55:17 +00:00
Ralf Becker
b98f9f2978 fixed the behavior of the right and last arrows,
added the parm 'no_cat' to disable the cats-selection
2002-09-22 09:30:29 +00:00
Ralf Becker
f6e5990487 reimplemented read+save in bo to implement caching of the etemplates via $GLOBALS[phpgw_info][etemplate][cache] 2002-09-22 08:05:17 +00:00
Ralf Becker
bf6581adeb a 2-line layout for nextmatch 2002-09-18 14:32:11 +00:00
Ralf Becker
25377a0679 set_cell_attributes searches now in sub-templates, which get automaticall loaded 2002-09-18 14:15:04 +00:00