Commit Graph

4209 Commits

Author SHA1 Message Date
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
Ralf Becker
0b958e08e3 neues layout f�r nextmatch 2002-09-18 14:03:51 +00:00
ceb
c3c5a9786b update 2002-09-18 01:15:54 +00:00
Ralf Becker
4cbd6807c4 showing the range of shown entries like eg. '1 - 20 of 100' 2002-09-17 22:54:43 +00:00
Ralf Becker
c01f429724 allow attr-values of '0' as the default is sometimes not 0 2002-09-17 22:52:24 +00:00
Ralf Becker
29ec804531 first version of the nextmatch-widget 2002-09-17 21:31:45 +00:00
Ralf Becker
a611b55d4c suppressed an error-msg and try reading the template from the filesystem if it is not found in the db 2002-09-17 15:38:34 +00:00
Ralf Becker
5f99e6de5c suppressed an error-msg 2002-09-17 14:35:43 +00:00
Ralf Becker
9286ba944f reimport after name-change 2002-09-17 13:33:20 +00:00
Ralf Becker
e92cd51521 named changed 2002-09-17 13:29:17 +00:00
Ralf Becker
34c963535a read eTemplates from filesystem if
$GLOBALS['phpgw_info']['server']['eTemplate-source'] == 'files'
2002-09-17 13:27:37 +00:00
Ralf Becker
4214452471 added <button image=".." ro_image=".."/> to have an image instead of a button
updated referenz.html
2002-09-17 12:29:01 +00:00
Ralf Becker
93f54049cc corrected typo 'Select Category' 2002-09-17 12:26:08 +00:00
Ralf Becker
7cbe3e734b added <listbox> tag for multiline-selects,
moved attributs from <menupopup> to <menulist> (execpt options and id)
added several options for the predefined phpgw selects like cats or accounts
renamed size to options
2002-09-17 09:36:55 +00:00
Ralf Becker
c51cbb2ae3 added <listbox> tag for multiline-selects,
moved attributs from <menupopup> to <menulist> (execpt options and id)
added several options for the predefined phpgw selects like cats or accounts
changed the referenz.html accourdingly
2002-09-17 09:13:29 +00:00
Ralf Becker
401685cb1d small fix for missed default-attributes on export, created eg:
<textbox ="" ...>
when exporting a textarea
2002-09-16 23:07:33 +00:00
Ralf Becker
e04b602f4a some installation instructions 2002-09-16 20:49:22 +00:00
Ralf Becker
dc2c34ce10 as a placeholder and example of a xml-template 2002-09-16 20:37:11 +00:00
Ralf Becker
5cb3240b0f changed <label/> to <description/> 2002-09-12 21:53:03 +00:00
Ralf Becker
b09efe7676 allow <label ...> to be imported as well as <description ...> 2002-09-12 21:46:11 +00:00
Ralf Becker
c4f5c280da added tab and image import/export
the label's get now exported as <description ...>
2002-09-12 21:43:41 +00:00
Ralf Becker
21d8665717 added the referenz-docu for the eTemplates and the new xml/xul-interface to them 2002-09-12 19:32:53 +00:00
Ralf Becker
78da482f5e some changes to be closer to XUL:
<overlay> now root-node of each eTemplate xul-file
<template> is replaced by <grid id="app.template" ...>
2002-09-12 18:03:49 +00:00
Ralf Becker
ea32918291 some changes to be closer to XUL:
<overlay> now root-node of each eTemplate xul-file
<template> is replaced by <grid id="app.template" ...>
2002-09-12 17:57:27 +00:00
Ralf Becker
732ab01e79 corrected a small typo 2002-09-12 12:21:27 +00:00
Ralf Becker
2a68b73668 some improvements fixes in the exitor:
- editor warns now if newer version of template exists
- import xml is not longer Show-template page (etemplate.editor.buttons splitted in 2 templates one for show and one for edit)
2002-09-12 10:58:20 +00:00
Ralf Becker
42c5d97ee3 added UI to import eTemplates from xml / xul-files 2002-09-12 10:04:22 +00:00
Ralf Becker
d927ce6f07 added eTemplate widget file / FileUpload
added options param to html.form
2002-09-12 08:40:57 +00:00
Ralf Becker
849a0e3835 first version of xml/xul import & export of etemplates 2002-09-12 00:35:20 +00:00
Ralf Becker
ea6a01b045 changed $setup_info to $GLOBALS['setup_info'] and included the gtk-screenshot 2002-09-03 23:26:20 +00:00
Ralf Becker
94fb1f402d new function to search for or list existing eTeamplates 2002-09-03 22:59:47 +00:00
Ralf Becker
b977162613 going back to the old way of showing content, before Seek3r's change in the templates.
Showing the content via set_var('phpgw_body',$html) removes '{something}' from the html and expressions like that are needed as variable names.
2002-09-03 10:27:23 +00:00
Ralf Becker
c819768349 editor now reports the loaded extensions 2002-09-03 10:21:44 +00:00
Ralf Becker
536b4e1d7a fixed problem with new 3-tier projects-class 2002-09-02 21:34:07 +00:00
Ralf Becker
a995cf89ef fixed problem when loading an extension from an other app-dir 2002-09-02 17:09:49 +00:00
Ralf Becker
569a3672b0 some corrections for the inline-doc-parser 2002-09-02 11:14:30 +00:00
Ralf Becker
a333b2bedb corrected bug in tables_update: return of update-function used 'phpgwapi' instead of app-name 2002-09-01 21:12:21 +00:00
Ralf Becker
bd8aba2246 1) correct update_script for more than one droped column
2) updates tables_names in $app/setup/setup.inc.php
3) suggest new version-number
2002-09-01 19:54:47 +00:00
ldw
56f7eae5eb - Definitely splitted the Debian source package, adding the needed files to
each module.
2002-07-22 07:17:58 +00:00
Ralf Becker
2a28cf1fff button can be just a link now, if you set onChange for the button and javascript is enabled.
Added a test for javascript and removed all javascript from the output if javascript is not enabled.
2002-06-15 19:59:07 +00:00
Ralf Becker
d789e876a5 make the datefield widget/extension use the helptext of the field 2002-06-15 13:04:19 +00:00
Ralf Becker
281ee78459 The tab widget is now completly templatized, using the templates 'etemplate.tab_widget.*'.
There is an example / test now under 'etemplate.tab_widget.test'.
2002-06-15 12:54:38 +00:00
Ralf Becker
fc64b09b05 added functions get_cell_attribute and set_cell_attribute to get and set an attribute in a named cell.
changed disable_cell to use set_cell_attribute
2002-06-15 12:52:33 +00:00
Ralf Becker
fd6c630234 changed argument-order of isset_array to be the same as in set_array and get_array: isset_array($arr,$idx) 2002-06-15 09:21:55 +00:00
Ralf Becker
ec4cb122e4 changed some labels in the editor and added some templates for the tab_widget 2002-06-10 21:37:31 +00:00
Ralf Becker
8ea623c23a started to templatize the tab-widget.
each element of the widget should be constructed from an eTemplate to allow template-sets to costomize the look
2002-06-10 21:36:22 +00:00
Ralf Becker
b4967da945 a lot of new stuff, to give the extensions more freedome:
- label and help-texts can contain '@<index>' to reference a variable in the content array
- content changed by an extension is now handled correct in all cases of sub-arrays
- added CELLSPACEING and CELLPADDING options for the template / table
2002-06-10 21:34:58 +00:00
Ralf Becker
0728068416 changed writeLangFile to cope with multiple messages in one field (separated by '|') 2002-06-10 21:30:09 +00:00
Ralf Becker
36ef7dec78 some changes to get the tab-widget working:
- the template is saved in the app_session for process_exec and not read again from the db
- extensions can request (trough $templ->loop = True) to have an other loop through exec process_exec (e.g. to show an other tab)
- extensions can have persitant data (via app_session) in $GLOBALS[phpgw_info][etemplate][extension_data][<extension-name>]
2002-06-09 21:40:06 +00:00
Ralf Becker
d30ca9d95a inital import of Tab-Widget 2002-06-09 21:36:37 +00:00
Ralf Becker
370eb1a638 change in the params of the extension-interface 2002-06-09 21:36:06 +00:00
Ralf Becker
93adafc624 splitt save_appsession in appsession_id and save_appsession
added function complete_array_merge
2002-06-09 21:34:21 +00:00
Ralf Becker
02bcae219a removed manual process_show, as it is no longer necessary 2002-06-09 21:33:07 +00:00
Ralf Becker
2ac9898a76 changed init to be used to set complete template data, has to be as array in $name 2002-06-09 21:31:01 +00:00
Ralf Becker
24319f7ad1 destroy the session if window get closed 2002-06-07 21:56:34 +00:00
Ralf Becker
1d492f8078 added image fieldtype to gtk ui 2002-06-07 21:26:38 +00:00
Ralf Becker
e6c8635555 this enables the eTemplates to run in 0.9.14 as well as HEAD 2002-06-07 21:26:05 +00:00
Ralf Becker
3060ddf630 added empty function process_show, to be compatible with the HTML ui
It's called by etemplates->show_values
2002-06-05 21:36:30 +00:00
Ralf Becker
1af318fbba small documentation update for function process_show 2002-06-05 21:34:55 +00:00
Ralf Becker
e94fc7ca21 now creating a session for <login> <passwd> supplied on the commandline 2002-06-03 22:27:26 +00:00
Ralf Becker
1a8bab5e44 changed for new standard of index.php file 2002-06-02 22:07:47 +00:00
Ralf Becker
172100db95 integrated a screenshot of phpGroupWare as Gtk-app 2002-06-02 21:20:07 +00:00
Ralf Becker
d5b0ea54d5 changed HTML to GTK in the title 2002-06-02 21:14:11 +00:00
Ralf Becker
ed98ea28e0 a first test for phpGroupWare (only eTemplate apps) under Gtk 2002-06-02 21:13:04 +00:00
Ralf Becker
a642084e99 gtk-ui handls know buttons like the html-ui 2002-06-02 21:10:24 +00:00
Ralf Becker
b4b697f0f1 some minor changes to be compatible with the gtk ui 2002-06-02 20:47:38 +00:00
Ralf Becker
31a8e9f34d some changes to be compatible with seek3r new template-system 2002-06-01 12:38:51 +00:00
Ralf Becker
9e6f3ac7aa Added interface to extend eTemplates with new widgets.
The widget got automaticaly loaded from the app's inc dir (or etemplate's inc dir).
Two examples ilustrate how to use the interface:
 - date: class.date_widget.inc.php reads dates via sbox.getDate
 - datefield: class.datefield_widget.inc.php reads dates via 3 textfields
2002-05-13 21:42:55 +00:00
Ralf Becker
daceac54ad Added interface to extend eTemplates with new widgets.
The widget got automaticaly loaded from the app's inc dir (or etemplate's inc dir).
Two examples ilustrate how to use the interface:
 - date: class.date_widget.inc.php reads dates via sbox.getDate
 - datefield: class.datefield_widget.inc.php reads dates via 3 textfields
2002-05-13 21:30:46 +00:00
Ralf Becker
905c960a5a corrected some leftover from the last change (app_session and not more HTTP_POST_VARS) in the template-test function show 2002-05-13 18:17:44 +00:00
Ralf Becker
3c0e0a06ca use sbox2-class in the api 2002-05-11 21:05:13 +00:00
Ralf Becker
0a0815caa9 added fields for apps.phpgroupware.org 2002-05-11 21:01:43 +00:00
Ralf Becker
00d4ce72a0 add functionality to write/update the setup/tables_update.inc.php file 2002-05-11 20:56:12 +00:00
Ralf Becker
80bced0f01 add function disable_cells 2002-05-11 15:16:23 +00:00
Ralf Becker
13685a647e read db_type from $GLOBALS[phpgw_info][server]
corrected behavior for column-default 0
2002-05-11 13:01:31 +00:00
Ralf Becker
227885f046 new style for (old) index.php 2002-05-11 10:36:08 +00:00
Miles Lott
254e9087ba *** empty log message *** 2002-04-29 03:59:11 +00:00
Miles Lott
cc0809fb36 Fix annoying spelling problem 2002-04-28 15:54:11 +00:00
Miles Lott
88ca7694a6 Now using api version of schema_proc classes 2002-03-03 21:49:56 +00:00
Ralf Becker
d9c78866ac horzi. & vertical alignment of widgets, size of Text-fields 2002-02-20 21:34:52 +00:00
Ralf Becker
8344eff5fa Got a nice persistent main-window with automatic scrollbars now.
Deleted a lot of stuff not needed for GTK.
2002-02-20 10:04:22 +00:00
Ralf Becker
e9be751ce7 initial import of gtk user-interface 2002-02-20 01:26:03 +00:00
Ralf Becker
e360e82365 function test_import($app) return if !$app 2002-02-19 18:04:46 +00:00
Ralf Becker
14a5e4dbc5 using navbar.gif now 2002-02-18 23:03:16 +00:00
Ralf Becker
faf77d788e an icon hopfully showing that the etemplate app consists of more developer-tools 2002-02-18 23:01:43 +00:00
Ralf Becker
68a2451cfb removed the not working cvs ID 2002-02-18 22:46:01 +00:00
Ralf Becker
b4dbd33c49 some small changes and some formatting for netscape 2002-02-18 22:44:11 +00:00
Ralf Becker
20c24e6ef6 inital import 2002-02-18 21:56:47 +00:00
Ralf Becker
26c6543895 lots of explanation and some formatting added 2002-02-18 21:56:00 +00:00
Ralf Becker
eae3c3984c some formatting 2002-02-18 17:39:25 +00:00
Ralf Becker
306160dd1e hope that gets the id in 2002-02-18 16:12:11 +00:00
Ralf Becker
893e4db501 hope that gets the id in 2002-02-18 16:10:49 +00:00
Ralf Becker
28faa7a146 inital import: example app et_media of the tutorial 2002-02-18 16:05:07 +00:00
Ralf Becker
92063df450 inital import of the etemplate tutorial and the examplte app et_media 2002-02-18 16:03:19 +00:00
Ralf Becker
b7418f98ba changed last_insert_id() to get_last_insert_id($table,$field) 2002-02-18 13:51:04 +00:00
Ralf Becker
002545067e killed debug-message for empty fieldname 2002-02-18 13:50:24 +00:00
Ralf Becker
f6c6249fd2 function write: do is_writable for the dir and not for the nonexisting file now 2002-02-18 11:24:38 +00:00
Ralf Becker
fec8b59825 inital import: generalised so-layer working on the tables_current file 2002-02-18 06:52:33 +00:00
Ralf Becker
50c595ff8b session->app_session used now for the sessiondata (not longer hidden vars)
the content of the form is now the first param. to the callback (no longer in HTTP_POST_VARS)
2002-02-17 19:09:15 +00:00
Ralf Becker
46a635b73c some changes in the db-tools 2002-02-17 19:06:45 +00:00
Ralf Becker
4dd2bd4dc8 messages for the db-tools 2002-02-17 19:05:18 +00:00
Ralf Becker
3d0eaa4b7e added check if webserver has write-permission for dumping $app/setup/etemplates.inc.php and renaming file to old first. 2002-02-15 05:27:30 +00:00
Ralf Becker
bc406008c4 Patched in the changes of Revision 1.10 of the version in phpgwapi.
Changed from class projects to boprojects + some checks if class is availible.
2002-02-15 05:26:08 +00:00
Ralf Becker
c8f67dacf9 some size-adjustments in the editor-fields 2002-02-15 05:22:17 +00:00
Ralf Becker
4746eac65d new fieldtypes: int, float
db_tools: import of existing db-tables via schema proc (needs some modification in the schema proc-class to allow calls from regular app !!!)
lots of other changes and improvments
2002-02-14 14:06:53 +00:00
Miles Lott
0731c2f111 Initial revision 2002-02-06 09:03:11 +00:00