Ralf Becker
bdcb10ea2d
Enable etemplate to mark rows of a grid / table as part of the header or
...
footer to repeat them on each printed page.
2009-02-23 13:21:28 +00:00
Ralf Becker
38aa29a852
"making process_show public again, as requested by Raphael Alla
...
(there was no real reason to make it private, beside hiding it from public interfaces, as I thought noone else is using it)"
2009-02-16 08:36:56 +00:00
Nathan Gray
346f749219
Improve readonly handling when a link is specified
2009-02-04 17:17:40 +00:00
Klaus Leithoff
964e28a3d8
adapting regex for emailvalidation to accept single letter subdomains
2009-02-04 07:57:30 +00:00
Ralf Becker
3b962e7064
Allow to set an explicit name for a tab_widget: "tabs=one|two|three"
...
In the example the tab itself is named "tabs", with tabs "one", "two"
and "three". Therefore the name of the tab-widget (where the select tab
gets reported and used to disable a single tab) does no longer depend on
the available tabs. This allows for a deeper customization.
Examples on how to use it are in the next two commits: tracker and pm
2009-01-29 18:31:40 +00:00
Nathan Gray
d3d47af015
Fix bug where if there are multiple nextmatches on a page, and your default num_rows is not in the list (ex: 15), and you cause a nextmatch to submit (by changing a filter or num_rows), the num_rows of the next nextmatch to be processed will be cleared
2009-01-23 19:33:19 +00:00
Nathan Gray
4c5d771cde
Don't use htmlspecialchars, it causes issues with mixed quotes.
2009-01-22 15:05:54 +00:00
Ralf Becker
1b4d236d4a
New class extending so_sql handing all custom fields needs: reading,
...
saving, searching, ordering and filtering
Makeing a full custom field implementation like in addressbook very easy
and quick
2009-01-17 03:36:58 +00:00
Nathan Gray
db48c553ab
Fix # more... line at the bottom when there are more results that are not displayed
2009-01-07 16:47:00 +00:00
Nathan Gray
66bb41b065
Check to see if the value is a string before we try to lowercase it, strtolower() doesn't like arrays.
2008-12-09 16:02:01 +00:00
Nathan Gray
dd749ffa6e
Add special handling for query values of 'false' (the string) to convert them to false (boolean)
2008-12-05 21:27:12 +00:00
Ralf Becker
340e369e04
"fixed changed constructor name"
2008-11-27 10:31:19 +00:00
Ralf Becker
d4a01c41f3
"fix not working nextmatch widget in tracker, readonly detection was uncomplete ($readonlys can be an array!)"
2008-11-17 10:41:33 +00:00
Ralf Becker
aa4d4c3d0f
"fixed typo prefenting sel_options set in get_rows to be displayed"
2008-11-16 07:20:23 +00:00
Ralf Becker
343ff1d77d
"fixed eTemplates garbage collection to work with new session class, and lowed timeout of not used sessions to 30min (was 1h)"
2008-11-13 17:20:53 +00:00
Ralf Becker
33d617aa8f
"stop storing rows content in session by using an empty new var $rows in calling the get_rows funktion:
...
get_rows($value,$rows,$readonlys) instead get_rows($value,$value['rows'],$readonlys)
because $values['rows'] as reference would be stored in the session, when apps store $query parameter in the session
"
2008-11-13 16:55:03 +00:00
Ralf Becker
d61c1af60f
"dont set unneeded extension data"
2008-11-13 16:50:05 +00:00
Ralf Becker
a921812095
"only supply extension data for non-readonly widgets or if it's already set
...
otherwise lists store >10k unnecessary data in each etemplate-session"
2008-11-13 16:49:44 +00:00
Ralf Becker
d28f6f672c
- fixed url recreation for links (use ? for get-params, if no ? in the
...
link)
- made bo_tracking abstract
- added default return null to bo_tracking::get_config and removed it
from extensions implementing no config
- fixed signature of get_config($name,$data,$old=null)
2008-11-08 10:37:52 +00:00
Ralf Becker
f713c095b2
"fixed link_widget to link-entry widgets and application type custom fields working again"
2008-10-27 13:26:43 +00:00
Ralf Becker
fa6ab9b7a1
"fixed lost right align in nextmatch sort headers, if they are active"
2008-10-22 07:06:45 +00:00
Ralf Becker
e54f9ee079
Fixed encoding problems in WebDAV and vfs:
...
- egw_vfs::download_url as not encoding + or ' ' in pathes
- HTTP_WebDAV_Server was urldecoding $_SERVER[PATH_INFO], which is
wrong, as it is NOT encoded
- HTTP_WebDAV_Server was NOT urlencoding the pathes in PROPFIND
responses, causing eg. cadaver not to be able to use dirs containing
+ or space
2008-10-21 11:57:26 +00:00
Ralf Becker
a749233461
"removed call to depricated bolink class"
2008-10-21 08:08:56 +00:00
Ralf Becker
273bd722e2
fix for bug #1739 : config for CSV export for non-admins is not working.
...
Reworked it not in the following way:
- numerical limit or total disabling (setting "no"), are only valid for
non-admins
- addressbook has it's own value, but uses now the global one, if no
addressbook specific limit is set
2008-10-16 11:17:49 +00:00
Ralf Becker
4520f9e9ce
"fix from Regis Leroy to allow to set some extra query parms from the calling application"
2008-10-10 07:58:59 +00:00
Ralf Becker
bb1ed52c7f
updating version and dependencies for 1.6
2008-10-07 18:04:59 +00:00
Ralf Becker
9e85c8e343
renamed uietemplate to etemplate, to save unnecessary include, as gtk isnt used in a long time
2008-10-07 09:14:17 +00:00
Stefan Becker
858485ad30
"fixed Bug #1663 'More News' not visible in sitemgr when limit is 1, -> so_sql, is now giving back the numbers of total"
2008-10-07 08:17:09 +00:00
Ralf Becker
071fb06b8a
no translation and no word-wrap for vfs (filename) widget
2008-10-07 05:33:27 +00:00
Ralf Becker
0218ffb751
- new vfs-widget to encapsulate common vfs/file related stuff
...
+ path with clickable components
+ human readable size, mode, ...
+ mime icon with integrated thumbnail creation
- link widget uses now vfs-mime for it's icons
- thumbnail creation is now switched on with size 32px by default, it can
be switched of by the admin or user, in doing so explicitly
- mime-icons are moved from filemanager to etemplate, as not everyone
installs filemanager
- filemanager has now 3 display modi:
+ Current directory (with subdirs always on top)
+ Subdirs sorted in
+ Files from subdirs (shows recursive all files and you
can click on the path components thanks to new vfs widget)
2008-10-06 17:43:42 +00:00
Ralf Becker
d6693b27ab
"formatting"
2008-10-06 10:05:56 +00:00
Ralf Becker
f64c51778b
"nextmatch filter- or sort-headers can now made to nextmatch-headers (label only), by making them readonly"
2008-10-05 16:56:37 +00:00
Ralf Becker
0e62b50197
Ok, found thumbnail problem:
...
- size need to be configured in admin >> site config
--> disable no pref to display thumbnail if admin did not configure size
--> fixed last commit to use configured size for thumbnails
2008-10-04 07:59:43 +00:00
Ralf Becker
62d7b78c45
Removed an (unnecessary) table from the link list and removed direct
...
html stuff.
@Nathan: there's a problem with the thumbnail generation
2008-10-04 07:36:26 +00:00
Ralf Becker
a603c8bb2e
"correctly quoting the id's in ajax_search, as single quotes otherwise mess up the javascript in the ajax response (eg. caused by single quotes in Wiki Page Names)"
2008-09-24 11:16:26 +00:00
Ralf Becker
a1a3ed0d35
"use egw_db::select instead of self::search in so_sql::not_unique() as it does NOT set this->data"
2008-09-22 16:00:45 +00:00
Ralf Becker
9d9fc41658
"hopefully last fix for Raphaels patch ;-)
...
if readonlys[__ALL__] is set, also set readonlys[$name] (but only then as for extensions (eg. tabs) $readonlys[$name] can be an array!)"
2008-09-22 09:28:01 +00:00
Nathan Gray
c1e89c5f0a
Keep the returned readonly value from the extension
2008-09-19 13:35:29 +00:00
Nathan Gray
7b01f31d7d
Readonly parameter is pass-by-reference, can't be an expression
2008-09-17 14:47:47 +00:00
Ralf Becker
74d78f5dbe
"1. two patches from Raphael Alla:
...
- expand onchange before calling extensions pre_process method
- additionl evaluate $readonlys['__ALL__'] in calling extensions pre_process method
2. replaced {} as array-operator in string with []"
2008-09-16 05:41:33 +00:00
Ralf Becker
b195ac76e2
refractured infolog code to create links to custom field link types
2008-09-11 14:57:20 +00:00
Ralf Becker
0f0b5c9639
fixed old "'%1' is NOT allowed ('%2')!" error:
...
the ajax search now opens the pending eTemplate request and stores the
new allowed id's from this search
2008-08-30 11:17:04 +00:00
Nathan Gray
044cc0f679
Last piece needed for multiple nextmatches / page.
2008-08-21 18:09:20 +00:00
Ralf Becker
037704a801
"php5.1 seems to have a bug: array_slice($parts,$offeset) != array_slice($parts,$offeset,null)"
2008-08-16 07:40:04 +00:00
Klaus Leithoff
ab37be5fba
fix for php warning empty haystack ... in line 967
2008-08-08 09:26:36 +00:00
Ralf Becker
e3c60d8243
"only check if $name is a string"
2008-08-01 15:36:31 +00:00
Ralf Becker
3fa1859f70
"- input fields can be now also made readony by specifying the parent ($readonlys['set'] make eg. $readonlys['set[whatever]'] r/o)
...
- allow extensions to re-enable readonly widgets by setting $cell[readonly] = false "
2008-08-01 15:34:13 +00:00
Ralf Becker
32eb1bafa6
"fix for bug #1643 : %t in phone numbers (telephony intergration) does not work"
2008-07-30 11:08:51 +00:00
Ralf Becker
c1c52cf797
reworked the size limitation for displaying email or url again a bit
2008-07-14 06:29:57 +00:00
Nathan Gray
98eb1f18cc
Escape ID field as well, in case there's something special in there too
2008-07-02 19:43:50 +00:00
Ralf Becker
70052c8355
fixed SyncML and accounts problem reported by Phillip Herbert <pherbert-at-knauber.de>: update set all but the updated fields to NULL, instead of just updating the given fields
2008-07-02 15:25:54 +00:00
Ralf Becker
b17df8df9b
fixed not working imagemap (clickable milestones and bars in ganttchart) for firefox3 and ie, thanks to ae275-at-CAM.AC.UK from the English user list
2008-06-30 14:35:51 +00:00
Klaus Leithoff
7921ef5767
# support for size options in url customfield
...
# support for size options in url-phone customfield
# support for size options in url-email customfield
# allowing additional parameters to be passed to the link created from the url-email
2008-06-30 14:30:16 +00:00
Ralf Becker
b3b53c2f87
"treat (space separated) words in search as or'ed search for them individually"
2008-06-26 16:08:47 +00:00
Ralf Becker
5679bdd5f6
"allow to overwrite readonly settings of a cell"
2008-06-26 11:38:31 +00:00
Ralf Becker
eb290477dd
"get the new url, email or phone cf's working"
2008-06-24 09:56:39 +00:00
Ralf Becker
a4133ab894
"temporary disabled additional nextmatch row on the bottom of the list for php5.2.6, until I find time to fix it"
2008-06-23 06:46:58 +00:00
Ralf Becker
03d9baf5c6
"fixed warning under php5.2.6"
2008-06-22 08:51:38 +00:00
Ralf Becker
f66e2e4004
fixed php5.2.6 problem: unknown type ''
2008-06-22 07:16:40 +00:00
Ralf Becker
23c473690e
"removed accidently commited 2. patch"
2008-06-19 16:07:57 +00:00
Ralf Becker
b89e7b46a1
"fixed not working install (segfault) caused by account creation in sitemgr's default_records and the new uid code in addressbook_sql::save() going into an invinit recureing, because so_sql::update calls $this->save() instead of self::save()"
2008-06-18 19:56:26 +00:00
Klaus Leithoff
09abb185f9
# improving of the negated search criteria behavior
2008-06-17 07:28:35 +00:00
Ralf Becker
2b6f25b7f3
added popup size for phone integration and better sanitizing of phone numbers
2008-06-11 07:18:29 +00:00
Ralf Becker
c0ec512113
new widget for urls, email-addresses and phone numbers (displaying them r/o as links like in addressbook)
2008-06-11 06:29:41 +00:00
Ralf Becker
2e77c2a4c6
"a little bit nicer implementation"
2008-06-11 04:20:39 +00:00
Ralf Becker
c57b02c59f
"allow to have more then one nextmatch widget on a page, for nathan and pERP :-)"
2008-06-11 04:05:10 +00:00
Ralf Becker
6b74d6ad88
"switched permanent debug message off again"
2008-06-04 05:26:52 +00:00
Ralf Becker
20fe4703ab
"removed 1.2 compatibility code"
2008-06-03 06:22:35 +00:00
Ralf Becker
c34dc55633
"fixing the fix: only add primary key, if it's NOT an auto id"
2008-05-30 08:20:06 +00:00
Ralf Becker
b6be2fb249
"bugfix: not_unique() method was not working with unique indexes over multiple columns and was not testing the primary keys, with is also unique"
2008-05-28 12:17:06 +00:00
Ralf Becker
ae044a9a08
allow to instanciate the historylog with a given user or 0 for
...
changes by the system itself (eg. async service). bo_tracking passes on
it's user param of the constructor.
2008-05-27 09:25:25 +00:00
Ralf Becker
78dd1cdf03
missed new $no_clone parameter
2008-05-26 08:32:27 +00:00
Ralf Becker
83a250e085
php5 __construct plus old old class-name method calling the new constructor, added non_db_cols to __get() and __set()
2008-05-26 08:27:24 +00:00
Ralf Becker
1f144e4670
"colspan='all' was only working in the first grid of the template"
2008-05-24 08:42:43 +00:00
Ralf Becker
c45e0ee9fe
"- fixed sometimes not working delete of a column (seems to be php5 related, as it was working before)
...
- removed one idention from tables_{current|update}.inc.php
- removed closing ?> tag"
2008-05-24 06:39:05 +00:00
Ralf Becker
6c1dcb430d
"unit was missing for readonly values"
2008-05-20 12:21:53 +00:00
Ralf Becker
b69b8085e6
Fixed some problems with the etag handling, causing an SQL error on
...
merging contacts, as reported by Johannes Gorschlüter from Stylite
2008-05-17 06:44:17 +00:00
Ralf Becker
c74789fc2c
"removed unnecessary instanciation of old bolink class"
2008-05-15 12:41:20 +00:00
Ralf Becker
31f71a54e2
"fixed syntax error reported by uwe.redecker(at)hspl.de"
2008-05-13 05:56:00 +00:00
Ralf Becker
4885518b88
autoloading of addressbook classes
2008-05-10 12:06:15 +00:00
Ralf Becker
d58ddd9999
"allow to insert rows with the auto-id specified"
2008-04-27 20:05:04 +00:00
Ralf Becker
163b795d45
"extra where condition, eg. to check etag on writing"
2008-04-26 07:49:01 +00:00
Ralf Becker
4048c304d7
"using the configured temp directory for uploaded files"
2008-04-24 13:59:47 +00:00
Ralf Becker
f40cfd935d
"using the configured temp directory for uploaded files"
2008-04-24 13:55:12 +00:00
Ralf Becker
0cdfc90f61
"using egw_vfs::mime_icon()"
2008-04-22 20:33:42 +00:00
Stefan Becker
82e4a81bc8
""
2008-04-22 08:42:31 +00:00
Ralf Becker
ea7ea8deb6
modifications for the links via the new vfs/links stream wrapper
2008-04-16 19:53:20 +00:00
Ralf Becker
5fd2d8def8
removed unnecessary instancations and using static methods of html and egw_link class
2008-03-25 16:42:23 +00:00
Ralf Becker
b550aeecf5
"fixed typo"
2008-03-22 09:31:23 +00:00
Ralf Becker
84c1ac74f0
removed unnecessary instanciations
2008-03-21 20:54:28 +00:00
Ralf Becker
add5646e48
fixed a few errors in the etemplate editor
2008-03-20 18:43:11 +00:00
Nathan Gray
186d0ad967
Fix missing readonly parameter reported by randy houlahan, and pass it to the template
2008-03-20 16:18:15 +00:00
Ralf Becker
ef43425f7f
allow to use global db-object (and no clone&set_app), if told so via a separate parameter to the constructor (not by default as the app using so_sql might not be ready for it)
2008-03-13 11:08:54 +00:00
Ralf Becker
694dbc443b
some more php5 and html static fixes
2008-03-10 15:54:21 +00:00
Ralf Becker
6e9829faf6
some more php5 and html static fixes
2008-03-10 15:49:46 +00:00
Ralf Becker
9993be3eed
"make etemplate::_sel_options() public again, as it's used by other widgets (eg. tree_widget), thank to webmaster-at-kmu-tools.de "
2008-03-10 06:50:02 +00:00
Ralf Becker
e6d99f37e9
"but test_import and import_dump is ..."
2008-03-09 15:54:52 +00:00
Ralf Becker
4b60cbf95f
"UPPS compress_array is NOT static"
2008-03-09 15:48:21 +00:00
Ralf Becker
e90a3d3a83
reworked etemplate to have static methods and use the new features of egw_db- & html-class
2008-03-09 14:41:22 +00:00
Ralf Becker
0da675bf6e
made all methods from html class static and removed the unnecessary singleton
2008-03-09 14:35:48 +00:00
Ralf Becker
37c3933e0b
using new egw_link class with static methods
2008-03-08 21:41:59 +00:00
Nathan Gray
09556f8fb0
Preserve ajax_select_widget options across a loop
2008-03-07 17:47:06 +00:00
Ralf Becker
60a65bb560
Added an id tag to templates, contact and infolog widget
...
New js_pseudo_function to fetch the styles of a template:
template::styles('template.name')
2008-03-05 18:38:46 +00:00
Ralf Becker
c1647bfcbf
added a get-parameter "empty_post=1" if process_exec redirects to the app, because the _POST array is completly empty. That happens if post_max_size <= max_upload_size and is neccessary to give an adequte error-message about the failed upload in filemanager.
2008-03-04 16:56:19 +00:00
Ralf Becker
233875a181
"using ungreeded search for egw::lang()"
2008-03-03 05:47:12 +00:00
Klaus Leithoff
5f9104250b
fix for the optgroupfeature, which messed up some callback checking (validation) of the selected values.
...
This is since the assumption of being an array as value of the selectkey is a sufficient marker to recognize an optgroup
does not always match for optgroups only. Projectmember roles dialog employs select options with label/title arrays as value
2008-02-27 15:48:52 +00:00
Klaus Leithoff
d349ffed88
ouch, forgot a closing bracket, ...
2008-02-14 07:46:18 +00:00
Klaus Leithoff
ee3377d1f2
small bugfix for a bug/phpwarning (empty haystack...) appearing occasionally while building up templates
2008-02-14 07:40:16 +00:00
Ralf Becker
ea2c699f5c
allow the link-query method of an app to set further attributes of the option used to display the entry, eg. a title (tooltip) of a certain entry: instead of id => title pairs, you return eg id => array(label=>title,title=>tooltip) like for html::select or the select widget
2008-02-07 02:54:11 +00:00
Klaus Leithoff
09612e4f58
documented the feature (week+dow) accordingly
2008-02-05 15:41:41 +00:00
Klaus Leithoff
20fccf9bf6
prepare the date widget to output a very long dateformat (week + dow)
2008-02-05 15:34:07 +00:00
Christian Binder
5b699573e4
enabled class autoloading for notifications, let admins enable or disable notification backends, security fixes for email and egwpopup backend, unified link arrays used for notifications
2008-01-30 18:58:00 +00:00
Ralf Becker
3f3954440d
"fix for optgroup's, eg. used in addressbook now"
2008-01-26 01:24:42 +00:00
Ralf Becker
ced6adf23f
reworked and generalised Klaus new custom field header feature, to use it in the addressbook too, easy to addapt for the other apps now, only requires the get_rows/search method to understand filter and order_by with cfs
2008-01-19 05:36:20 +00:00
Ralf Becker
1d54ae791c
ability to specify a comma-sep. list of cat_ids as row-class, to color the rows by the color of the cat, first match used
2008-01-19 05:34:14 +00:00
Ralf Becker
e40d73091b
new time-since sub-widget
2008-01-09 01:57:45 +00:00
Ralf Becker
21465c8c93
some more js pseudo functions and docu
2008-01-09 01:56:42 +00:00
Ralf Becker
4d4d66ea9c
Allow 00:00 times or 0h in date-(time|hour)only widgets, by differing
...
between 0 and ''/null
2007-12-20 03:08:07 +00:00
Ralf Becker
18790b1362
ability to specifiy a suffix for select-numbers, to eg. add "h" to the label of each option
2007-12-16 23:13:32 +00:00
Klaus Leithoff
e72c783fd4
pre_process_cf_header -> created by Ralf Becker!!!
...
function to display the customfields in a nextmatch table-header with the functionality of sorting and selecting
by customfields. Of cource you need to adapt the source of your get_rows or search functionality to do the
actual sorting and selecting. We try to do some additional documentation in codecorner
You can pass the allowed/wanted fields to the header by passing an array of the wanted fields to the widget
through the options parameter (see the eTemplate editor for fields/cells). This array is passed on through
$cell['size']. By now the array passed through is only working, if it is the only entry in the optionsparameter.
The allowed fields array assumes an numerical indexed array of (an) array(s) with ['name'] tag(s) set.
The name provided assumes a preceding #. (e.g.: $allowed_fields[x]['name']='#MyCustomField')
2007-12-13 15:36:44 +00:00
Christian Binder
bfff821e18
notification-app is now ready for non-eGW users as sender and recipients. deleted the old-style sending part from bo_tracking. this is not needed anymore.
2007-12-10 08:26:29 +00:00
Ralf Becker
cbf94ab243
mark required input fields visually (darker border and light yellow background)
2007-12-09 08:11:55 +00:00
Ralf Becker
e13da61106
"fixed single field display of customfields, was creating an extra grid and array level in the result"
2007-12-07 07:52:14 +00:00
Ralf Becker
03f786390d
"fix to display readonly link-entry without id empty (showed text search)"
2007-12-06 22:17:08 +00:00
Christian Binder
15e9c36ca6
removed option for sending html mails or not cause this is decided now by the notification backends (as discussed on the list)
2007-12-05 09:05:57 +00:00
José Luis Gordo Romero
e74c6debaa
Reverting the not working (sorry) fix till notifications gets updated to recieve non-accounts in the sender
2007-12-04 17:35:17 +00:00
José Luis Gordo Romero
f7255ea33c
Fix sender in bo_tracking (was using this->user not ->get_sender)
2007-12-04 05:12:20 +00:00
Ralf Becker
33b2504316
"Added code to convert timestamps to so_sql.
...
If you want to use it, you only need to set the timestamps to be converted from user to servertime in so_sql::timestamps AND dont reimplemnt db2data/data2db (or call the default implementation)"
2007-12-04 01:13:53 +00:00
Christian Binder
18cfa84d00
make tracking class aware of possibly missing notification app. if notification app is missing, send a mail, like we did it the old-style before. this behaviour gets changed if notification app is ready for sending notifications to external users.
2007-11-29 18:38:17 +00:00
Ralf Becker
510d1e786e
"marking auto columns automatic as primary key and not null"
2007-11-29 06:50:25 +00:00
Ralf Becker
fb9d6db5be
"fixed so_sql::get_rows to return an empty array() instead of array(false) if nothing found"
2007-11-27 21:24:50 +00:00
José Luis Gordo Romero
b675c2b65b
Fix regresion introduced by r24154 (the send object is newly created for ever
...
mail, til this get fixed in PHPMailer)
2007-11-27 15:05:14 +00:00
Klaus Leithoff
2a498cae0a
Merge of Ralfs customfield commit, with the customfield changes for 1.4: to display only fields with values in listview and to have an info icon to
...
identify which customfield is displayed (onmouseover), a click on the icon of the customfield opens the description of that field as
alertbox. Also added the possibility to set an textfield/textarea to readonly with the option readonly=readonly, so users may not be able to change
values of e.g.: external keys
2007-11-27 15:03:54 +00:00
José Luis Gordo Romero
43d3ee1cf3
Little change to allow mixed (ascii & html) widget, all controll by htmlarea
...
parameters
2007-11-27 05:49:25 +00:00
Ralf Becker
1258b12e91
"small improvment of the last commit:
...
- also lookup the custom fields from the app mentioned in the template, if there no cfs for the current app, eg. sitemgr contactform
- forward the needed attribute to the cf
- alignment (no spacing, padding) if there are no labels"
2007-11-26 17:35:29 +00:00
José Luis Gordo Romero
3d9111ff69
Fix notify_current_user action in send_notifications (set by pref in botracker)
2007-11-25 08:14:50 +00:00
Ralf Becker
d623adab6a
"allow cancel buttons (no validation) to be named eg. button[cancel], instead only cancel"
2007-11-24 18:59:46 +00:00
Christian Binder
c03db413c3
let the backend at the very end enclose HTML-messages in <html> and <body> tags and not get_body. We do not want to lock out further html.
2007-11-24 14:45:03 +00:00
Christian Binder
5a7319417e
get tracker (and infolog) notifications working again with HTML-formatted messages as implemented before.
2007-11-24 14:01:27 +00:00
Christian Binder
bcec4c6dbc
fixed bug in new notifications: wrong function name and signature of get_body
2007-11-24 11:31:04 +00:00
Ralf Becker
93457ceac4
"- new cf type \"custom fields without label\"
...
- ability to specify a single custom field (name = #fieldname)
- show the cf's in the eTemplate editor too"
2007-11-22 20:08:58 +00:00
Christian Binder
e72ec7185e
Extended notification-app and egwpopup. Added winpopup-backend and email-backend. PHP5.1+ is now mandatory in trunk. For more infos look at the egw-developers list.
2007-11-22 08:29:16 +00:00
Ralf Becker
a453c389e5
"new widget to display a clickable email address:
...
- if the regular value is empty the value of options is used
- the link either opens fmail or is a mailto-link
- complete email addess is shown as tooltip
- \"Ralf Becker <ralf@egroupware.org>\" displays \"Ralf Becker\" with \"ralf@egroupware.org as tooltip"
2007-11-22 00:46:54 +00:00
Ralf Becker
b0677b31e3
"fixed not working return value for a single selection"
2007-11-17 13:50:51 +00:00
Pim Snel
fab981c160
prevent compile error in translation tools when searching new phrases
2007-11-12 01:05:11 +00:00
Ralf Becker
3938faeb19
"enhanced link widgets 'link' subwidget, to allow to specify the application via the options (value is just the id then)"
2007-10-31 08:16:34 +00:00
Ralf Becker
a696057734
fixed typo reported by Daniel Lüken <lueken-AT-via-ev.de> on the german list
2007-10-30 06:28:40 +00:00
Nathan Gray
c49d305932
If there is a format error on a tab, make sure that tab is visible so user can see the error
2007-10-22 20:24:54 +00:00
Ralf Becker
c0159b5466
"ability to specify account to not show in the select-account widget"
2007-10-19 05:37:23 +00:00
Nathan Gray
a0201fd941
Fix link thumbnailing, accidentally used include() instead of readfile() for cached images
2007-10-15 21:04:40 +00:00
Nathan Gray
073e5fdc81
Fix thumbnailing of linked jpegs
2007-10-15 19:46:47 +00:00
Nathan Gray
d3b838e13a
Fix link thumbnail caching so it actually caches
2007-10-15 19:34:49 +00:00
Nathan Gray
33d8386f27
Add mime type icons and thumbnail previews to link list
2007-10-15 17:29:46 +00:00
Nathan Gray
4bf66e6f89
Add mime type icons and thumbnail previews to link list
2007-10-15 17:27:25 +00:00
Ralf Becker
336784d74e
fixed only partcial csv export in timesheet, get_rows was not using the num_rows parameter
2007-10-07 13:29:24 +00:00
Nathan Gray
b43a9982e3
Ajax select widget fixes:
...
- Remove the need for the user to have access to the eTemplate app
- Fix some settings being lost, and inability to clear the widget
2007-09-26 17:21:36 +00:00
Ralf Becker
3beb483c09
CSV Export for all eTemplate applications using the nextmatch widget to list their entries. The column names, labels and types can be set by the application or get autodetected by eTemplate. Admins can configure an export limit (max. number of entries to export) or disable the functionality completly for non-admins. The charset for the csv export can be configured in the common prefs. Applications can and have to turn the export explicitly off by setting ['nm']['csv_fields']=false. I only made a column-definition for InfoLog, which includes translated column-names.
2007-09-22 14:58:10 +00:00
Ralf Becker
4cdf282644
allow to specify and extra title (tooltip) for the link widget
2007-09-14 10:07:18 +00:00
Ralf Becker
0fbb7ef5f4
"new account template subwidget for the contact widget: allows to select a templated based on some contact data, eg. a form-header based on the organisation unit"
2007-09-13 13:50:48 +00:00
Ralf Becker
0cfe754826
new custom field types:
...
- button to execute javascript
- selectbox values can be read from a file
2007-09-13 12:43:58 +00:00
Ralf Becker
1055642df3
fixed not working autorepeated rows with , added id's to (content of) labels and images
2007-09-06 11:59:35 +00:00
Ralf Becker
f21e357253
fixed not working direct sql-updates (eg. 'etag=etag+1') via so_sql::save's parameter
2007-09-06 11:56:37 +00:00
Ralf Becker
cb5e205d66
"added missing \"None\" label for contact-type"
2007-09-06 11:14:12 +00:00
Cornelius Weiß
372c2b4b28
fix: onchange of date selector was not working
2007-08-28 13:02:33 +00:00
Ralf Becker
ee022cd40d
fixed bug reported by Raphael Alla: registered javascript files get lost if etemplate loops
2007-08-24 06:15:27 +00:00
Ralf Becker
fde08a961d
fixed not working/existing custom fields and widget-types for dates, accounts and cats
2007-08-20 07:51:49 +00:00
Ralf Becker
0714f41b63
docu update for link widget from aleksander.adamowski-AT-olo.org.pl
2007-08-06 13:52:17 +00:00
Ralf Becker
fbeb8318d7
remove not (longer) existing or inaccessible cats
2007-07-23 09:02:51 +00:00
Ralf Becker
9f1df33c74
first version of a tree widget (atm the whole tree need to be supplied, like for select)
2007-07-22 13:23:44 +00:00
Ralf Becker
edc5dc9db5
fixed not working value display of arrays
2007-07-22 13:12:21 +00:00
Ralf Becker
a0ff70602a
fix for bug #1058 : FATAL ERROR: class.customfields_widget.inc.php on line 168
2007-07-16 16:55:13 +00:00
Ralf Becker
2699258f07
fixed double displayed label
2007-07-12 07:53:21 +00:00
Ralf Becker
7e577e22c4
fixed not working type specific customfields in infolog
2007-07-12 07:30:20 +00:00
Ralf Becker
eadc1c7b38
fix for bug #658 : Custom Fields - added user in list comes up as ID (number)
...
Unfortunatetly this bugfix requires some corrections in the way the customfield widget is called in the templates of other apps
2007-07-11 15:39:41 +00:00
Ralf Becker
2224267a7e
"fixed infinit loop in the select-number widget, if start and end value are identical, also fixing the code with should protect from showing more then 100 items in the selectbox"
2007-07-05 07:48:56 +00:00
Ralf Becker
548858e074
"some bugfixes:
...
- two etemplate on one page (eg. infolog under the addressbook view) is working halfway again
- fixed not working vars in onclick on grid-cells
- disabled cells keep there css-class now
Also calling some of the static methods now static, while trying to make process_exec static (which it is not at the moment)"
2007-07-05 04:57:31 +00:00
Ralf Becker
d255c15248
"new so_sql2 class: adding magic __get() and __set() methods, to be able to work more object oriented with so_sql (just a first step)
...
you can now use $so_sql_obj->my_col = 15 instead of $so_sql_obj->data['my_col']=15; (be aware, that does NOT work with var-parameters of functions and probably references)
$so_sql_obj->id alwas references the auto-id, independent of it's name (id is a bad choice of a column-name, because it's a reserved word in some dbms)"
2007-07-05 04:50:53 +00:00
Ralf Becker
c5ac764580
"- bugfix: data_merge was not merging null values (isset instead of array_key_exists)
...
- new update function, which write just the given cols and not the whole row"
2007-07-05 04:46:49 +00:00
Ralf Becker
c28a1babff
"fixed some bugs, wrong function or method names (it was'nt used so far)"
2007-07-05 04:44:18 +00:00
Ralf Becker
dcb8c7c80c
"removed wrong/old constructor "
2007-07-05 04:42:20 +00:00
Ralf Becker
5d9ff65391
- fixed not being able to switch off notification for responsible
...
- new preference for htmlmail with larger fontsize
- new preference for notification of responsible: only when I get assigned or removed
- notifications are now suppressed, if no changes made (according to save_history)
2007-06-21 16:25:08 +00:00
Ralf Becker
1735a53f85
"fixed bug #946 : Nextmatch last ( >| ) button goes to start
...
also fixed number-of-rows selection, which worked only on the 2. go
--> both problems were introduced by the memory saving fix applied after the last RC"
2007-06-21 09:59:53 +00:00
Ralf Becker
e8b71231f3
"fix for problem discovered by José Luis Gordo Romero <jgordor-AT-gmail.com>"
2007-06-20 20:53:54 +00:00
Ralf Becker
9e49e8c50d
History for InfoLog (incl. the ability to disable real deletes) and delete notifications
2007-06-13 21:37:05 +00:00
Ralf Becker
39dd374379
"notifications were not send to assigned users"
2007-06-11 13:43:12 +00:00
Ralf Becker
fc3c7a40ad
bugfixes and some enhancements to support async notifications (infolog)
2007-06-10 08:50:03 +00:00
Ralf Becker
af5804129f
"two fixes for the num_rows in the next-match widget:
...
- use a default of 15 rows, if user&group has no pref set
- use what's stored in the extension data, if value not set (nm-header not shown)"
2007-06-08 08:51:05 +00:00
Ralf Becker
e5dd7f8122
email for the contactform
2007-06-06 08:22:39 +00:00
Ralf Becker
381d421466
email for the contactform
2007-06-06 08:18:45 +00:00
Ralf Becker
86870ce4d7
"modified to use the non-prefered sender-address if the prefered one is not set/existing"
2007-06-03 11:31:01 +00:00
Cornelius Weiß
8afb0cf003
adopt to static function
2007-06-01 11:53:49 +00:00
Ralf Becker
f2fb5fad4b
2007-05-28 21:17:15 +00:00
Ralf Becker
915e5f74f2
"fixed now working saving of column-selection after the memory-saving-fix"
2007-05-26 07:51:17 +00:00
Ralf Becker
77a318ae69
newest ajax-select-widget from Nathan Gray
2007-05-25 22:13:26 +00:00
Ralf Becker
75c797d0f2
fixed exec to save the include_xajax flag too (looping)
2007-05-25 18:13:13 +00:00
Ralf Becker
1e9b08d510
fixed problems pointed out by Janosch Machowinski <scotch-AT-tzi.de>
2007-05-25 12:18:00 +00:00
Ralf Becker
196046f66c
"fix to drastically reduce the memmory used by eTemplate sessions (accidently the whole eTemplate object was stored incl. db-object with all table definitions and the returned rows)"
2007-05-23 18:06:21 +00:00
Ralf Becker
c2bb34cd4e
fixed missing translation of monthnames after removing the asterisk prefix for untranslated phrases
2007-05-22 18:02:41 +00:00
Ralf Becker
94dced8024
"fix for bug #747 : Postgres SQL error searching tracker items"
2007-05-21 04:49:57 +00:00
Cornelius Weiß
116f97e59c
fix: remove forgotten debug message
2007-05-19 15:59:58 +00:00
Ralf Becker
cb7eb66434
"fixed php5 only foreach syntax, as we still support php4"
2007-05-18 13:49:46 +00:00
Ralf Becker
c60811c353
missing date/time customfield type
2007-05-17 06:04:24 +00:00
Ralf Becker
314beb70b2
"bugfix: for date/time storage formats without separators, eg. Ymd"
2007-05-16 13:02:31 +00:00
Lars Kneschke
f6b3216085
use egw_openWindowCentered2 instead of plain windows.open to open popup windows centered to the screen
2007-05-15 06:44:09 +00:00
Ralf Becker
4921902293
"fix for bug #514 : \"needed\" not working with \"select entry\" widget"
2007-05-14 14:51:32 +00:00
Ralf Becker
aa1a87f328
"fix for bug #622 : 'XML Import' doesn't work right"
2007-05-14 10:41:11 +00:00
Ralf Becker
9b61188549
"fix for bug #727 : can not edit widgets below an embeded template"
2007-05-13 11:24:12 +00:00
Ralf Becker
b07f9f9704
"fix for bug #478 : Invalid argument supplied for foreach() when no nexmatch *headers in rows"
2007-05-13 06:19:11 +00:00
Ralf Becker
32864e955a
"calling the static method static seems to work more relyable in php5.2"
2007-05-12 10:12:41 +00:00
Ralf Becker
e41602efa2
"fixed typo, used german \"Mai\" instead of english \"May\""
2007-05-11 15:56:33 +00:00
Ralf Becker
f40e6d5b5d
fix for bug #275 : tree of projects is only one line high in IE, plus removing the margin arround the mainDiv and saving some space around the navbar
2007-05-08 16:54:07 +00:00
Ralf Becker
f0c9a45803
patch #25 : AJAX Select widget from Nathan Gray
2007-05-08 12:20:38 +00:00
Ralf Becker
3630f964fb
"fix for bug: can not unselect users from a multiple user selection (eg. InfoLog delegates), if the original value is in $preserv array"
2007-05-08 09:00:22 +00:00
Ralf Becker
9748cf96be
fix for bug #700 : Date format d-M-Y not working in Infolog list display
2007-05-08 07:38:36 +00:00
Ralf Becker
2ed91ce075
fix for bug #674 : no more simple multiple participant selection
2007-05-07 19:03:33 +00:00
Ralf Becker
b67a8934e3
"an other fix for bug #645 : Error with apostrophes in organisation's fields"
2007-05-04 13:29:50 +00:00
Ralf Becker
ec4db98936
sitemgr module was not loading eTemplates javascript file
2007-05-03 19:16:32 +00:00
Ralf Becker
a119c5301e
"fix for bug #645 : Error with apostrophes in organisation's fields
...
--> changed the regular expr for egw::link() in js_pseudo_funcs
--> dont add submitit() call to image buttons with onclick action"
2007-05-03 06:38:36 +00:00
Ralf Becker
f386d0480d
reverted
2007-04-29 20:30:15 +00:00
Ralf Becker
c81097ab13
worked around stupid php5.2 empty haystack warnings
2007-04-29 14:26:28 +00:00
Ralf Becker
e11b8e5e32
worked around stupid php5.2 empty haystack warnings
2007-04-29 14:25:19 +00:00
Ralf Becker
d1d4e02aad
"fix: suppresed php5.2's stupid emty haystack warning"
2007-04-29 14:18:08 +00:00
Ralf Becker
8ab5ef92a2
bugfix: new 'buttononly' widget was registered to be processed
2007-04-18 10:34:26 +00:00
Ralf Becker
cb45908892
Class to repressent etemplate requests. It will be used in etemplate in the future and it can be used already to register further form-variables or their options via AJAX.
2007-04-16 20:46:55 +00:00
Ralf Becker
2abd66293e
"docu update for fck"
2007-04-14 16:48:05 +00:00
Ralf Becker
edd2585f78
"docu update for fck"
2007-04-14 16:44:37 +00:00
Ralf Becker
a95813bd5d
"fix for bug #385 : Problem with HTML specialchars in addressbook"
2007-04-06 12:11:21 +00:00
Ralf Becker
82258373e2
"fixed problem reported in the users list/forum: viewing an addressbook entry gives a second navbar and other errors"
2007-04-05 07:27:41 +00:00
Ralf Becker
0eac6dd897
"killed a warning"
2007-03-16 12:20:19 +00:00
Ralf Becker
b7645ea2da
"- improved handling of multiple etemplates on one page (eg. home)
...
- fixed not working validation error for selectboxes"
2007-03-13 13:46:50 +00:00
Ralf Becker
3a8cf8dba3
moved styles of nextmatch- & tab-widget into etemplate's app.css file, which gets now loaded by every eT app. Allows template designers to modify the look of theses widgets too
2007-03-09 11:25:08 +00:00
Ralf Becker
41a7e43d1b
date widget can now prefix (readonly) dates with the week-number
2007-03-09 11:23:26 +00:00
Ralf Becker
dcc669af74
"link-string can now display links to a given app/id/only_app"
2007-03-09 11:21:56 +00:00
Ralf Becker
6bd5ac2da8
users can now switch every single column on or off in all nextmatch lists, admins can configure defaults (plus some bugfixes and other improvments)
2007-03-07 12:30:17 +00:00
Ralf Becker
389b6d0a7c
"small fix to display eg. 0h32 correct"
2007-03-06 15:33:46 +00:00
Ralf Becker
4646fed791
an other small fix for the readonly time
2007-02-19 06:06:08 +00:00
Ralf Becker
928ddd4912
"Fixed not working ignoring of validation errors via regular expressions (eg. forced fields in the etemplate editor)"
2007-02-19 05:29:17 +00:00
Ralf Becker
4e49113cc1
"removed debug-message"
2007-02-14 07:22:15 +00:00
Ralf Becker
e844de99cd
"fixed previous php5.2 fix, which caused readonlys set in the get_rows function not to work"
2007-02-14 07:11:42 +00:00
Ralf Becker
41f10cd5cc
"fixed previous commit: day&month are displayed again with leading 0 plus some other fixes"
2007-02-14 07:09:17 +00:00
Ralf Becker
6ffdbb01a1
"read: prefix column with table-name, if used in join, to prevent ambigous col-name"
2007-02-14 07:07:58 +00:00
Ralf Becker
147240aa07
"treat $ignoare_validation param of validation_errors() only as regular expression, if it starts with a slash"
2007-01-27 04:02:21 +00:00
Lars Kneschke
3d259ec31a
patch from sebastian to removed some forgotten debug output
2007-01-25 14:48:54 +00:00
Ralf Becker
f53c68f94d
php5.2 fix and ability to return something from the get_rows function
2007-01-22 07:06:15 +00:00
Cornelius Weiß
d32b3ef8e8
patch #203 from sebastian ebling:
...
extendet submit_button() to also display <input type=button
new type buttononly for eTemplate
applied this type for addressbook.index.right_add buttons
applied this type for tracker.index.right button
2007-01-20 08:55:26 +00:00
Cornelius Weiß
7478fa159f
complete transition to fck
...
changed etemplate apps: resources, wiki, projectmanager, infolog, news_admin
infolog now has a fck w.o. toolbar by defaut. This helps for mails from mail2infolog
compability function htmlarea in class.html now points to fck
deactivated old tiny code in class.html
2007-01-18 19:19:01 +00:00
Ralf Becker
b3640356f3
"fix for bug #282 , hour and minute < 10 were not selected"
2007-01-14 03:14:11 +00:00
Ralf Becker
0315d30672
revert last commit, as it gives a fatal error with php5.0
2007-01-08 21:23:02 +00:00
Ralf Becker
08aadb56cf
quitened a warning
2007-01-08 15:58:32 +00:00
Ralf Becker
e64e3e06b1
so_sql::init() returns now $this->data as eg. so_sql::read()
2007-01-08 15:57:58 +00:00
Ralf Becker
6387f19cae
fixed isset_array using array_key_exists, to return also null values:
...
eg. $arr = array('x' => null); boetemplate::isset_array($arr,'x') returned false, as isset($arr['x']) === false, now it returns true like array_key_exists('x',$arr)
2007-01-08 15:57:09 +00:00
Ralf Becker
0aa9dffc1d
- optional sprintf format for float and int widget
...
- grid rows can have further classes then row (has to be the first!)
2007-01-08 15:53:27 +00:00
Ralf Becker
4c1b672b72
fix for bug #41 : etemplate generates empty images <img src="">
2006-12-29 06:50:49 +00:00
Ralf Becker
e06b0462c1
render readonly textareas without size as div with the content run through nl2br, former <pre> did NOT wrap lines
2006-12-26 07:21:54 +00:00
Ralf Becker
a999bb4ef4
render only text-widgets with size < 0 as readonly input
2006-12-25 17:43:59 +00:00
Ralf Becker
5bc9ca3a7d
use js_pseudo_func also for onclick
2006-12-19 13:36:54 +00:00
Ralf Becker
7e9852a028
some more stupid php5.2 fixes
2006-12-19 13:36:14 +00:00
Cornelius Weiß
21ae4691b0
fix: strange behaviour on traditional posts in etemplate apps, caused by my ajax feature:"only process what is given". This freature allowes more flexibility in custom templates, but is now only applayed to xajax requests
2006-12-17 14:15:10 +00:00
Ralf Becker
f4238614f3
new egw_db::capabilities['case_insensitive_like']=='LIKE' ('ILIKE' for Postgres) used for all so_sql search and the lettersearch in addressbook
2006-12-17 08:44:05 +00:00
Ralf Becker
be12e577e9
use now capabilities 'query' and 'add_app' instead of '' and 'add', to be more specific about what's needed
2006-12-12 14:38:52 +00:00
Ralf Becker
806cc84b1e
- changed name of app in link-add widget to add_app, to be able to set it idependent of the other link-widgets
...
- added the ability to specify a default app for link-add
2006-12-11 07:53:16 +00:00
Ralf Becker
297690b22c
added php4.3 compatibility function stripos, to get back php4.3 compatibility after the recent replacement of stristr with stripos
2006-12-09 14:20:10 +00:00
Ralf Becker
9e5ba08ecb
fixed warning introduced by strstr --> strpos conversation
2006-12-07 19:05:40 +00:00
Ralf Becker
21f473137e
killed a warning
2006-12-07 19:00:16 +00:00
Ralf Becker
9a96320225
display readonly text widgets with a given length as readonly input and not just as text
2006-12-07 18:59:53 +00:00
Cornelius Weiß
4338f6726b
strstr -> strpos fix by thomas koch
2006-12-07 12:46:46 +00:00
Cornelius Weiß
be0bce8b40
add types passwd and select-lang
2006-12-06 20:09:22 +00:00
Ralf Becker
8c6cb48d85
fix for bug #87 : Infolog - Addressbook categories mixed in 1.2.x
...
The select_widget allways used the cats of the current application. That's still the default, but it can be overwritten now via an option. The nextmatch_widget has now and optional parameter 'cat_app', which defaults to the app of the get_rows method.
2006-12-04 14:39:22 +00:00
Cornelius Weiß
8e647edc80
kill php5.2 warnings
2006-12-02 11:03:54 +00:00
Ralf Becker
efb218c924
we can have multiple comma-separated types now
2006-11-23 13:52:56 +00:00
Ralf Becker
2151ad6579
ability to limit the app selectbox to certain apps
2006-11-07 18:04:33 +00:00
Ralf Becker
76ac8d4381
php5.2 fix: Catchable fatal error: Object of class etemplate could not be converted to string
2006-11-07 14:22:49 +00:00
Ralf Becker
fa3a9da379
enhanced the select-widget to preserv cats added to an entry, which are unavailible for the current user (eg. because they are private cats of an other user or user-cats added the an address in the group-addressbook)
2006-11-03 10:56:40 +00:00
Ralf Becker
e9cc37b01c
link-entry widget returned wrong value, if value was preset and never changed, eg. InfoLogs created from PM or Addressbook
2006-10-27 10:48:29 +00:00
Ralf Becker
5bb1444e90
Need to load etemplate translation for the error-message
2006-10-26 12:11:11 +00:00
Ralf Becker
62bb270e0f
added sub-type 'Account contactdate'
2006-10-26 11:09:34 +00:00
Ralf Becker
890cbb87e6
added sub-type 'Account contactdate'
2006-10-26 10:57:47 +00:00
Cornelius Weiß
40181f7d5c
ups
2006-10-24 20:14:47 +00:00
Cornelius Weiß
cc0705e83a
cleanup
2006-10-24 20:12:33 +00:00
Ralf Becker
dae2c126df
fixed not working (resetable) checkboxes
2006-10-24 14:15:28 +00:00
Ralf Becker
c02a67c9af
allow to specify multiple, comma-speparated id's for the link-entry widget
2006-10-23 11:22:15 +00:00
Ralf Becker
e339994538
removed unnecessary reset of the loop var, so one can use it to detect if etemplate is looping
2006-10-22 11:37:38 +00:00
Cornelius Weiß
8d7bca0d8f
start with reimplementation of advanced search
2006-10-21 20:16:25 +00:00
Ralf Becker
73cfd5e7cc
fixed error-message in the editor: method is no string
2006-10-19 19:05:48 +00:00
Ralf Becker
9ab93a73a2
fix for bug #24 : Contact widget displays contact_id if contact not found
2006-10-19 18:19:11 +00:00
Ralf Becker
c461da0bbd
fixed an off by one problem
2006-10-17 17:27:15 +00:00
Ralf Becker
0d1c4664c3
fixed after some recent updates not working file-upload in etemplate
2006-10-16 20:01:31 +00:00
Cornelius Weiß
d0a7a9aaf4
fix: etemplate does not like my previous patch, don't know why :-(
2006-10-10 18:03:27 +00:00
Cornelius Weiß
4648c5025e
don't set items witch are not submitted from UA in content array on callback.
...
This is usefull if u want to process just subsets of a form e.g. by xajax
2006-10-10 15:10:07 +00:00
Cornelius Weiß
e4d865e365
adopetd ajax-loader to ralfs new namespace concept
2006-10-09 17:36:40 +00:00
Ralf Becker
dbe9270c1b
allow to call etemplate widgets via xajax:
...
- "etemplate" handler replaces the appname with etemplate
- uietemplate::js_pseudo_funcs() replace xajax_doXMLHTTP('etemplate.xyz_widget.method', with xajax_doXMLHTTP('currentapp.xyz_widget.method.etemplate',
--> fixes the not working new link-widgets in trunc (not working for non-admins / no etemplate run rights)
2006-04-06 05:10:32 +00:00
Ralf Becker
c1b1453108
- for extensions also trying an extension-specific template-name
...
- fixed not correct set template after a type change
2006-10-05 08:49:09 +00:00
Ralf Becker
d2ad639d3e
- syntax of link-entry widget (addressbook:id instead of just id)
...
- fixed loading of field translations
2006-10-05 08:05:25 +00:00
Ralf Becker
0cb2c831ec
translations for widget names
2006-10-05 06:36:47 +00:00
Ralf Becker
8ccab4e7cc
widget to show a field from a contact (used for forms in infolog)
2006-10-04 20:23:44 +00:00
Ralf Becker
532264b3fa
new customfield types to select entry of other apps, eg. a contact
2006-10-04 17:10:05 +00:00
Ralf Becker
f68c173c30
- link widgets uses now ajax to search
...
- new sub-type to search and select an entry of a selectable or given app
- more to come
2006-09-29 19:55:00 +00:00
Ralf Becker
2d2a18959f
- allow to set id for box, hbox, vbox and grid
...
- new function js_pseudo_funcs used for onchange and onclick:
+ form::name('name'): translates name in hirashical form-name used by etemplate
+ egw::link('url','vars'): calls $egw->link()
+ confirm('message'): translates 'message'
2006-09-29 19:47:29 +00:00
Cornelius Weiß
f90337fae8
place ajax loader icon over manual
2006-09-28 05:01:01 +00:00
Ralf Becker
b22627c2f2
fixed typo (custom help-message of the link-widget was ignored)
2006-09-27 13:41:51 +00:00
Ralf Becker
79b302aae5
- empty cells in a box can now be kept (not optimized away)
...
- fixed not used ro-image for buttons, if set via the content-array
2006-09-27 13:09:28 +00:00
Ralf Becker
f378683cab
fixed type causing the box-options to be in the orient
2006-09-27 13:01:34 +00:00
Ralf Becker
9cbbf9bef9
classes for filterheaders and fixed the way the *active_sortcolum class is applied
2006-09-25 13:11:00 +00:00
Ralf Becker
eb02bbde24
fixed infolog customfields show regardless of type
2006-09-20 17:49:15 +00:00
Ralf Becker
03630766ad
show readonly cats without indention and global cat marker
2006-09-20 13:32:47 +00:00
Ralf Becker
c49f73a400
moved to the api before 1.2, removing now the compatibility class
2006-09-20 04:48:59 +00:00
Ralf Becker
03a7efb8a0
new sub-type for the nextmatch widget: custom filter. It allows to use any (select-)widget (specified as 1. option) as filterheader for the nextmatch widget. The accountfilter is now only a special case for the customfilter or filterheader.
2006-09-12 15:14:39 +00:00
Ralf Becker
aeb51ceee2
- make the validation-error interface public availible via the set_validation_error() and validation_errors() method
...
- fixed error in validation: a multiselect widget (using checkboxes) got a validation error, if no option was selected
2006-09-12 15:12:39 +00:00
Ralf Becker
80138def68
small docu update
2006-09-12 07:32:34 +00:00
Ralf Becker
6499fb37f2
some fixes:
...
- class of select-widgets is now correctly geneated as attr class
- killed warning generated for boxes (array passed to htmlentities)
- class-vars now just set (not in the constructor, as required by php3)
2006-09-12 07:31:03 +00:00
Ralf Becker
998d51bef4
- fixed bug reported by Deti Fliegl: [ 1548175 ] Pictures in Addressbook cannot be deleted
...
- docu update
2006-08-29 04:19:38 +00:00
Ralf Becker
ad2c99f11e
ability to pass arguments to the etemplate method
2006-08-17 05:36:19 +00:00
Ralf Becker
1f0d4797aa
validation for selectboxes
2006-08-15 12:14:05 +00:00
Ralf Becker
74001bd3ab
sitemgr module was not including the eTemplate javascript file
2006-08-13 18:06:10 +00:00
Ralf Becker
0d0c9df4db
some etemplate fixes:
...
- date-widget does no longer set extension-data if readonly (not used and can conflict with other widgets using the same name, as it was the problem in PM)
- select-widget: fix for "can not unselect the last category"
- red error-messages have now a "white-space: nowrap" for nice formatting
- confirm-message did not quote single quotes (') correct, which caused the complete confirm dialog to fail and allways execute the button
- readonly textarea's without column and row specification are rendered now as <pre></pre> to only take space needed
2006-08-12 06:14:28 +00:00
Ralf Becker
e19d53e870
widget to display the content of the historylog
2006-08-11 20:49:43 +00:00
Ralf Becker
325d849332
allow to use columns, which are not unique, for read
2006-07-08 00:38:06 +00:00
Ralf Becker
f0ee41230d
- use country-class instead of sbox-class for country-names
...
- moved US state name to country class
- new param for select-country to optionaly use the country-name instead of the county-code
2006-07-06 22:55:30 +00:00
Cornelius Weiß
60c5bd673a
fix not displayed actions found by Christophe Combelles
2006-07-01 05:28:40 +00:00
Ralf Becker
12e821b883
fixed date-widget for 12h timeformat:
...
- replaced extra am/pm radio buttons with single selectbox with times includeing am/pm (works much better with the existing layouts)
- fixed wired 12h clock: 12am,1am-11am,12pm,1pm-11pm (0-23h)
- added an select-hour widget to the select-widgets for the above
2006-06-22 16:14:08 +00:00
Ralf Becker
07df005b44
so_sql::search() was loosing filters, sql-strings (int keys) where writen with that key, instead with []
2006-06-17 18:30:38 +00:00
Ralf Becker
d02c93748a
added title for links option to label widget
2006-06-15 21:57:21 +00:00
Ralf Becker
5f35a0cf8b
try using xet files if db is not availible (eg. early setup stage)
2006-06-15 21:52:40 +00:00
Cornelius Weiß
3f168a0c60
me against php and svn :-(...
...
or make buttons work with php5.1.x
2006-05-19 18:10:02 +00:00
Cornelius Weiß
f7c9c18bb8
merge from 1.2
2006-05-18 16:19:50 +00:00
Ralf Becker
abf67e8471
fix for no colums given via $only_keys=''
2006-05-17 03:02:47 +00:00
Ralf Becker
c019eda361
fix for integer values
2006-04-30 16:42:33 +00:00
Ralf Becker
e3ff7b9569
radio button allow now to set the displayed readonly values to something different then X and empty
2006-04-30 07:20:12 +00:00
Ralf Becker
fcfa0f81d5
giving the template name in the content precedence over the one supplied in the template
2006-04-30 07:10:42 +00:00
Ralf Becker
c170b9a047
so_sql::search:
...
- you can use now "!''" (exclemation mark plus 2 single quotes) as value in $filter and $criteria to search for not empty columns
- only_keys (columns to retrieve) can additionally be an array of column-names
2006-04-24 20:48:18 +00:00
Ralf Becker
58cd8de0ce
disabled check can now be done via (pearl) regular expressions, eg. /^(val1|val2)$/ to check for two values
2006-04-24 20:42:42 +00:00
Ralf Becker
2a909066da
nextmatch widget can have an (optional) lettersearch now
2006-04-23 14:44:44 +00:00
Ralf Becker
6a089fb606
some fixes
2006-04-23 14:42:41 +00:00
Ralf Becker
76ff2ee6d1
confirm-message in onchange got not translated
2006-04-22 12:54:36 +00:00
Cornelius Weiß
71743a2260
update docu to better run trough phpdocumentor
2006-04-21 10:31:06 +00:00
Cornelius Weiß
69aa6abdec
update docu to better run trough phpdocumentor
2006-04-20 17:12:30 +00:00
Ralf Becker
2261ca5419
- dont write columns not set in $this->data
...
- read used internal name of primary key, instead of db name (only matters if they differ)
- param column_prefix of constructor and setup_table, to automatic setup a conversation from internal name (without prefix) to the db-name with the prefix
--> I will commit this bugfixes after a short testing period to 1.2 too
2006-04-19 08:03:28 +00:00
Ralf Becker
0d9a26e224
fixed not working arrow-navigation (grids) in the editor: php5.1 does not assign by reference if a function returns no reference
2006-04-09 08:16:12 +00:00
Ralf Becker
4794146748
removed / reverted some earlier fixes which caused other problems
2006-04-06 18:39:34 +00:00
Ralf Becker
f4ee3a80db
- fixing the fix: uninitialised ...
...
- additional alignment, caused some space behind the arrow in an active nextmatch header, in a right aligned cell - complicated ;-)
2006-04-05 15:28:48 +00:00
Ralf Becker
435a8ee099
fixed disapearing addressbook view if changing something in the hooked in infolog. Caused by one etemplate app hooking an other one, was not working.
2006-04-05 15:24:46 +00:00
Ralf Becker
85a9bfb5d3
For a union-query call search for each query with $start=='UNION' and one more with only $order_by and $start set to run the union-query
2006-04-05 15:22:50 +00:00
Cornelius Weiß
821f206962
fix: advsearch in cat
2006-04-05 13:53:37 +00:00
Cornelius Weiß
d79ed4aa96
allow etemplate to use xajax
2006-03-29 19:25:00 +00:00
Ralf Becker
c18b81ffbf
fixed old nextmatch-widget problem, which cause the first click on a button in the list got not registered, because of an uninitialised filter
2006-03-27 15:08:47 +00:00
Ralf Becker
4a98fcd281
fixed default to be hours (not minutes)
2006-03-27 12:46:21 +00:00
Ralf Becker
54f423b6cf
added minutes as input unit to the duration / date widget
2006-03-27 12:22:12 +00:00
Ralf Becker
ddde44ea3c
added precision to the float widget
2006-03-27 12:21:29 +00:00
Ralf Becker
9a6649a931
- fixed not working buttons in nextmatch-list, if pressed before direct after login
...
- improved printing:
+ disabled unnecessary UI-elements in nextmatch
+ nextmatch has now selection for the number of rows to display
+ nextmatch-filters (selectboxes) are now printed as text
2006-03-26 22:17:55 +00:00
Ralf Becker
23f5d80380
enabled so_sql::search to use UNION
2006-03-26 22:09:02 +00:00
Cornelius Weiß
f8443b7c19
insert id in <div> tag
2006-03-22 13:04:17 +00:00
Cornelius Weiß
71d59ec6cb
fix forgotten </div> tag if empty content
2006-03-21 22:59:03 +00:00
Ralf Becker
fc5c2baa45
added ablity to set onchange via content
2006-03-21 22:13:46 +00:00
Ralf Becker
9dfb3f5629
fixed return of "<b></b>" for empty textfields
2006-03-21 17:11:57 +00:00
Ralf Becker
84b36865e1
dont give a required error if there's a blur content
2006-03-21 14:00:50 +00:00
Ralf Becker
a615cada89
added ability to specify some extra styles for the multiselectbox with checkboxes
2006-03-20 21:51:55 +00:00
Ralf Becker
c751dee313
fix to allow 2 eTemplate's in one request (eg. addressbook.view)
2006-03-16 14:20:57 +00:00
Cornelius Weiß
300b9b1070
addressbook extension:
...
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Ralf Becker
bd8dab6477
ability to set the onchange attribute
2006-03-07 23:44:21 +00:00
Ralf Becker
51c43c997f
docu update and make the content array globaly availible for eg. extensions
2006-01-11 05:25:49 +00:00
Ralf Becker
1f3f5651ee
bugfix: suppressing numeric attributes
2006-01-06 04:50:56 +00:00
Ralf Becker
68f2b987ce
bugfix: link-widget did not reset remark after an attachment/link
2006-01-06 04:50:11 +00:00
Ralf Becker
a1f055d42d
allow to use a constant for the app-name
2005-12-19 04:27:19 +00:00
Ralf Becker
28fe36e769
typo
2005-12-19 04:26:34 +00:00
Ralf Becker
e73c48f794
fixed some bugs and missing things:
...
- subs are closed (set to done) too, if an entry is set to done via the close action
- infolog stays now in the subs view, if you add or edit an entry there
- entries created from the projectmanager go a set category
- times can optionaly be shown in the list
2005-12-06 07:11:14 +00:00
Cornelius Weiß
ac8eb8bf72
fix: wildcard search
2005-12-01 17:16:04 +00:00
Ralf Becker
8fa2337beb
fixed prob. with the new sub-types of the link-widget, they returned null content because of the postprocess function, setting the cell to readonly fixed that
2005-11-12 13:22:05 +00:00
Ralf Becker
99ca767542
a bit more flexible parsing of confirm dialogs
2005-11-12 13:20:20 +00:00
Ralf Becker
b795d8172b
two minor enhancements:
...
- style editor gives now a msg, if the CSS file has been written
- the message new version exists contains now a link to load that version
2005-11-12 06:59:34 +00:00
Ralf Becker
090dc5c1da
shorten the category names, by not appending <Global [App]> anymore, instead we use a symbol (diamond) to indicate a non-user cat
2005-11-11 23:05:35 +00:00
Ralf Becker
b51c7496e6
not returning labes containing $row or $cont for translating
2005-11-11 08:49:42 +00:00
Ralf Becker
434431727a
taking $GLOBALS['egw_info']['flags']['params']['manual'] into account too
2005-11-11 08:49:06 +00:00
Ralf Becker
b668ae7f1a
editor was inserting one comma to much in case the popup target was _blank
2005-11-11 08:48:03 +00:00
Ralf Becker
9f1ef5c546
a bit bigger popup for the widgets-editor
2005-11-10 14:52:13 +00:00
Ralf Becker
9de22c86f2
1) label, html & image image widget now fully supporting link, target and popup (size of a popup to open, if link gets clicked)
...
2) several imporvments for the link-widget
- it uses now popups, if the link-registry says so for a given app
- new widget to add an already linked entry of an other app (used in PM so far)
- new widget to display a single link to view a linked entry
2005-11-10 14:51:12 +00:00
Ralf Becker
36a683642c
phpgw_setup --> egw_setup
2005-11-10 12:27:04 +00:00
Ralf Becker
96fd5ccfbd
fix for Lanfile to not add phrases which are variables
2005-11-10 12:26:16 +00:00
Cornelius Weiß
b57aaf28af
allow NOT in customfield search of type select
2005-11-10 12:10:17 +00:00
Ralf Becker
8237b88c41
small phpDoc updates
2005-11-10 05:42:28 +00:00
Ralf Becker
f21f778800
small phpDoc updates
2005-11-10 05:15:06 +00:00
Ralf Becker
7a4a18ec0a
phpgw --> egw
...
from this revision eTemplate requires a 1.0.1/1.2 API, the last working version for 1.0.0 has been taged "last_working_1_0_0"
2005-11-09 20:50:45 +00:00
Cornelius Weiß
b67562d721
added row actions
2005-11-09 19:13:51 +00:00
Ralf Becker
69ff4a066f
Manual widget, which open the online help from popups
2005-11-09 16:56:23 +00:00
Ralf Becker
d871b17bc9
valign top and other minor stuff
2005-11-08 14:33:16 +00:00
Cornelius Weiß
ffd9fec8c8
fix: searching in customfields of type select was not working
...
fix: hadle search actions if they are no button
2005-11-07 23:09:49 +00:00
Ralf Becker
a680d87a67
tabindex and accesskey
2005-11-05 17:07:29 +00:00
Ralf Becker
20d1b19c3c
method to get a reference to a widget by it's name
2005-11-05 16:09:10 +00:00
Cornelius Weiß
0c82e07152
fixed bug reported by lutz falkenberg
...
killed warnig if no customfields are present
2005-11-04 12:11:50 +00:00
Ralf Becker
9835bb0fdb
sort the apps alphabetic
2005-11-02 20:02:27 +00:00
Ralf Becker
1618a67d7e
duration can now (optional) differ between 0 and empty values, which get returned as null
2005-11-02 19:59:58 +00:00
Cornelius Weiß
10ff4dd436
cleaned op logic
...
added action support for result_sets
still some layout stuff to do
2005-11-02 16:49:45 +00:00
Cornelius Weiß
fba9f65ae3
add option "dosn't matter" to selectboxes in search-mode
2005-11-02 16:48:24 +00:00
Cornelius Weiß
519e6875d6
added option to supress search filed
2005-11-02 16:46:34 +00:00
Ralf Becker
b254fdaeaf
allow to use !patter as value in the criteria array to invert the query (NOT LIKE instead of LIKE)
2005-11-01 10:13:28 +00:00
Cornelius Weiß
ad5c21fca1
new widget for advanced search (needs still some work)
2005-10-31 17:49:19 +00:00
Cornelius Weiß
e3e75bc70d
fixing the fix :-)
2005-10-31 09:33:15 +00:00
Ralf Becker
968c1d41a5
fixed fatal error when calling soetemplate::add_cell with the template itself
2005-10-31 09:06:24 +00:00
Cornelius Weiß
202611ea0d
clean up code
...
bugfix for type radio
2005-10-28 21:05:56 +00:00
Cornelius Weiß
2afcf77024
advanced custiomfield widget moved from infolog
2005-10-28 18:29:05 +00:00
Ralf Becker
8bfbbd96ae
allow extending classes to use numerical and string debug-levels, so_sql only reacts on debug=4
2005-10-16 11:45:59 +00:00
Cornelius Weiß
f578c4f826
make tinymce call easier and provide some custom view
2005-10-13 20:43:06 +00:00
Cornelius Weiß
c5d434332c
make both (htmlarea / tinymce) pluging arguments styles working in etemplate
2005-10-13 15:13:58 +00:00
Ralf Becker
e76a77cce9
Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
...
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 12:17:38 +00:00
Cornelius Weiß
9cbf5c356b
use tinymce for htmlareas
2005-10-10 15:43:45 +00:00
Ralf Becker
cb59056b85
fixed wrong unit-label
2005-08-17 11:04:21 +00:00
Ralf Becker
a962d8cbf7
fixed (maybe PHP5 related error) that caused the selection of multiple cats to fail
2005-08-02 08:52:47 +00:00
Ralf Becker
566d5ecbd5
added parameter for a popup in links
2005-07-30 12:49:11 +00:00
Ralf Becker
e03b9a8a67
fixed double <global> in cat-selection for application global cats
2005-07-30 12:48:27 +00:00
Ralf Becker
5254c9690f
*** empty log message ***
2005-07-30 12:45:54 +00:00
Ralf Becker
b68fb24b25
nextmatch sortheader can specify a default sort now: default is ASC and can now be set to DESC
2005-07-17 21:42:11 +00:00
Ralf Becker
4b97e9463c
new output mode for home: first-time return content (to create the protalbox), next time use echo as we run alone
2005-07-17 21:40:31 +00:00
Ralf Becker
7378a3b898
fixed spelling
2005-07-14 06:56:56 +00:00
Ralf Becker
608d5131a4
implemented "Nextmatch Accountfilter", a nextmatch filterheader to filter by accounts using the perfered account-selection method
2005-07-14 06:47:14 +00:00
Ralf Becker
5803c3a7c7
1) extensions can now use other extensions - thought only the post_process function of the topmost/first extension is called (this need a bit more work)
...
2) grid and template now only temporary set $readonlys['__ALL__'] if they are readonly (before that was permanently set and made all further widgets readonly)
2005-07-14 06:42:39 +00:00
Ralf Becker
55b65ed240
saving the widget type more compatible with other extensions
2005-07-14 06:31:05 +00:00
Ralf Becker
50ab75e58a
option to never hide the nextmatch line (if less then max-matches entries
2005-07-13 08:39:42 +00:00
Ralf Becker
1e3124d099
fixed readonly display of select-dow and add a new option if and where the summaries (workday, weekend) should be displayed
2005-06-19 11:10:38 +00:00
Ralf Becker
76ff6260c2
allow to set class and align for boxes (incl. the template itself)
2005-06-19 08:31:11 +00:00
Ralf Becker
215ab71516
added javascrpt values2url function to transmit selected runtime values via the url to a popup, which can use etemplate::process_values2url to retrieve the values from the url as content-array (incl. $preserv from exec())
2005-06-16 21:44:51 +00:00
Ralf Becker
fd13a74162
quitent a warning, which happens if readonly
2005-06-16 21:32:07 +00:00
Ralf Becker
e1df8ccd7f
readonly checkboxes can now be disabled (not displayed), if they are unchecked
2005-06-14 21:38:49 +00:00
Ralf Becker
d5d43df995
fixed wrong message about not writable dir
2005-06-14 21:36:52 +00:00
Ralf Becker
7d5686a55c
fixed wrong id in label of checkbox
2005-06-14 08:40:39 +00:00
Ralf Becker
74b50f5dea
added multiple checkboxes with identical names ending []
2005-06-12 15:58:22 +00:00
Ralf Becker
8ef28951a8
added form::name() pseudo function for onclick events to find out the name used in the form
2005-06-12 13:22:47 +00:00
Ralf Becker
6a4ff5d1d1
allow to specify the app-name in which a widget is defined in the widgets name: list($app) = explode('_',$name)
2005-06-12 12:32:59 +00:00
Ralf Becker
0cde45389d
allow to override the id of a widget
2005-06-12 12:31:05 +00:00
Ralf Becker
2c8193ab05
do not disable data-line if rows-template has only one row
2005-06-11 20:15:02 +00:00
Ralf Becker
6fd3abff3b
initialised var to kill warning
2005-06-11 20:13:38 +00:00
Cornelius Weiß
7679d73df0
update documentation
2005-06-11 10:49:50 +00:00
Cornelius Weiß
ea424535df
update documentation
2005-06-11 10:09:34 +00:00
Ralf Becker
ba459fdfcd
fixed link to DeveloperDocs
2005-06-11 10:08:08 +00:00
Ralf Becker
84c06483f0
show groups allways as lang('Group').' '.
2005-06-07 08:45:53 +00:00
Ralf Becker
ef3e6bc4f4
New widget for durations: floating point input with an optional selectbox to specify a unit (hours or days). The storage format is configurabe and can be either minutes (integer) or hours or days as float
2005-06-02 22:43:44 +00:00
Ralf Becker
e233ade4c9
- extension can now use name_expansion in their options
...
- remove some unnecessary / doubled code
2005-06-02 22:26:41 +00:00
Ralf Becker
d037789e1f
allow help-text (in status line of browser) for labels too (shown via onmouseover of the surrounding table-cell)
...
=> dom tabs show the help-texts again
2005-06-02 14:44:49 +00:00
Ralf Becker
00408f24cb
- applied fix from Joao Martins: extra_link_target without help
...
- fixed a double translation on the help text of the extra_link
- running the help-text through expand_name now to allow eg. row specific helptexts in nextmatch rows
2005-06-01 08:09:33 +00:00
Ralf Becker
c555299592
fixed typo, that prevented a css class on a single cell of a box to be used
2005-05-31 21:29:49 +00:00
Ralf Becker
266949f632
small fix to not set the css class of templates or grids in a cell twice, it is not good for border
2005-05-25 15:09:47 +00:00
Ralf Becker
e435c63ad7
two problems fixed:
...
- tab-widget was not always submitting AND restoreing the selected tab
- now you can use the short, relative name to select a tab too
2005-05-25 14:10:27 +00:00
Ralf Becker
e19da05e52
fixed problem on home-page: set_app(etemplate) was missing
2005-05-23 08:00:54 +00:00
Ralf Becker
90e7bd7595
2 small bugfixes:
...
- default values for readonly checkboxes (x) get set now, even if checked and unchecked values are specified (but no readonly values)
- fixed readonly case of option values for selectboxes with label+title (value is an array with keys label+title)
2005-05-21 18:21:55 +00:00
Ralf Becker
fc5d6daee4
- query_list can now return arrays with customizable keys, eg. for option-lists incl. title
...
- save works now for tables which have no columns beside the primary key
2005-05-21 18:17:21 +00:00
Ralf Becker
ef7fa4813c
re-enabled the 1.0.0 compatibility of the HEAD version of eTemplate: allows to use HEAD eTemplate in an 1.0.0 install, eg. to use the improved tab-widget (no reload anymore)
2005-05-21 07:56:02 +00:00
Ralf Becker
7cc61c1ba4
for embeded templates propagate the CSS class to the template, helps the extension a lot, as one can specify a class for the extension and the extension automatic use it in the template used to render the extension
2005-05-21 07:41:09 +00:00
Ralf Becker
0793450251
own template to edit grids: has now separate fields and helptexts for the diverse values comulated in size/options
2005-05-20 16:56:16 +00:00
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
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
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
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. ü) 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
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
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
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
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
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
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
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
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
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
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
25377a0679
set_cell_attributes searches now in sub-templates, which get automaticall loaded
2002-09-18 14:15:04 +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
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
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
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
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
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
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
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
d5b0ea54d5
changed HTML to GTK in the title
2002-06-02 21:14:11 +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
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
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
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
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
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
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