Ralf Becker
2479d85c77
search etemplates first under /etemplates in vfs and then in real filesystem, allows to overwrite templates on a per instance base, stylite.merge stream-wrapper can be used to mount templates editable into vfs
2013-12-05 21:06:35 +00:00
Nathan Gray
1b4d6049f5
Allow app to change the DOM ID of the div etemplate is loaded into
2013-11-27 00:06:12 +00:00
Ralf Becker
0ab743cb81
allow to load template-set specific templates, eg. addressbook/templates/pixelegg/edit.xet instead of addressbook/templates/default/edit.xet, if user is on pixelegg template-set
2013-11-18 10:52:51 +00:00
Nathan Gray
fb2c103cef
Use current app to get around missing etemplate run rights
2013-11-13 23:57:49 +00:00
Nathan Gray
23f85e9763
Enable etemplate for multiple templates
2013-11-13 22:43:19 +00:00
Nathan Gray
d4be70de5a
- Use a hook for app's custom widgets to avoid scanning filesystem
...
- Use new hook to load importexport's filter widget
- Remove some typos & error_log()s
2013-11-04 17:23:58 +00:00
Ralf Becker
7e856af544
mark popups as such by enclosing there content in div#popupMainDiv and properly closing html markup for popups
2013-11-03 09:30:25 +00:00
Ralf Becker
12717741e4
load app translations on ajax-submit too
2013-10-10 09:32:25 +00:00
Ralf Becker
47c3495a86
appending modification time to eTemplate url
2013-10-10 08:19:20 +00:00
Ralf Becker
0bb8093426
fixed translations on client-side: server sends now currentapp and langRequire to client, which uses that to translate phrases, langRequire is only stored in egw object for matching app-name and window!
2013-10-07 17:00:03 +00:00
Nathan Gray
bc6acd4a3e
Mix preserved arrays replacing new arrays when new array is empty
2013-10-01 09:20:23 +00:00
Ralf Becker
1590d02816
new egw_framework::message($msg, $msg_type="success") method and fixing nextmatch filter-change to return app-header
2013-09-05 11:53:25 +00:00
Ralf Becker
9d29c16c3a
fixed no footer (eg. closing body and html tag) in jdots template, because etemplate2 (unneccessary) calls footer, but ignores its return value
2013-09-04 13:50:37 +00:00
Klaus Leithoff
3bc322690e
throw exception if no name is given for instanciation of template
2013-09-02 12:51:53 +00:00
Ralf Becker
1c4f65120c
new egw_framework methods refresh_opener and window_close to call egw_refresh on opener or close popup window in a content security save way
2013-08-20 12:06:41 +00:00
Nathan Gray
b74eec3d3f
Reset back to old etemplate
2013-08-09 19:19:31 +00:00
Nathan Gray
069325c89d
Do not center Filter. It had no effect on short lists, but chosen actually respected the setting
2013-08-09 19:18:58 +00:00
Nathan Gray
7085d4b51a
Still off by default
2013-07-20 14:33:17 +00:00
Nathan Gray
bd63529096
Rework etemplate2 loading to use JSON plugin when loading from regular request & AJAX. instead of inline script tag
2013-07-20 13:57:53 +00:00
Nathan Gray
b3bf5b734f
Make unique ID deterministic - use template name
2013-07-18 09:21:07 +00:00
Ralf Becker
792f1b26cc
replacing egw.LAB with egw_LAB, as egw object is shared by all iframes and popups, while LAB has to work on document
2013-07-17 12:47:21 +00:00
Nathan Gray
0bba8fd032
Strip out any javascript added by application and it properly to the AJAX response
2013-07-17 09:57:50 +00:00
Nathan Gray
ea104a9af5
Send any accumulated json responses after flushing etemplate - allows apps to use egw_json_response even when call is not an ajax call
2013-06-12 21:06:40 +00:00
Ralf Becker
f814b6077e
reverting accidently commited default to et2
2013-04-20 12:21:22 +00:00
Ralf Becker
cd024eef1b
add nice link overlay icon to vfsMime widget (for symlinks)
2013-04-20 12:19:27 +00:00
Nathan Gray
0ae58e39de
Load jquery-ui css before ours, so we can override it
2013-04-16 18:46:23 +00:00
Nathan Gray
41d34f84a2
Set a class for common CSS
2013-04-12 16:28:11 +00:00
Ralf Becker
abee7bc2a1
allow to permanently use etemplate_new for ported applications no longer supporting old etemplate, while still having etemplate default to etemplate_old
2013-04-12 09:50:27 +00:00
Nathan Gray
8a6bba9ffe
Give the et2 container an ID matching the loaded template name
2013-04-11 11:25:28 +00:00
Nathan Gray
d996a3445f
Fix et2_ready() when app called via ajax
2013-04-10 16:03:31 +00:00
Nathan Gray
fdada6c3c0
Fix typo in missing JS object warning
2013-04-10 10:10:14 +00:00
Nathan Gray
4de7d2f432
Add a warning if application js object was not loaded
2013-04-10 10:05:17 +00:00
Nathan Gray
978a90852c
Add a base object for application javascript code to contain it, and solve initialization timing issues
2013-04-09 08:45:59 +00:00
Nathan Gray
ef2a5d377d
Use LABjs throughout framework to load javascript - prevents a lot of undefined / timing errors
2013-04-01 19:14:52 +00:00
Ralf Becker
bfc0c48210
use egw.includeJS instead of egw.ready for ajax-exec, eg. used in mail
2013-02-13 16:30:30 +00:00
Nathan Gray
ecdf60bc29
Not yet...
2013-02-06 08:16:12 +00:00
Nathan Gray
6295f1a833
Link entry:
...
- Split application parameter into two, one for just one app, one for an app list
- Also return the contents of the search box in value (if not limited to just one app)
2013-02-06 08:06:11 +00:00
Nathan Gray
534ea00418
Make et2 load application js, if present
2013-02-05 14:38:16 +00:00
Nathan Gray
8fafb1414a
Do not change it just yet...
2013-02-05 12:55:39 +00:00
Nathan Gray
bbfcb19ab8
Fix so namespaces work even without content data
2013-02-05 12:55:01 +00:00
Ralf Becker
48d4d04b42
report template name, if template can not be displayed, because it was not found
...
removed old debug code making not much sense anymore
2013-02-05 12:36:37 +00:00
Nathan Gray
77ff3ca385
Do not change it just yet...
2013-02-05 09:36:09 +00:00
Nathan Gray
417b22e071
Make sure there's an action_var, use 'action' if not set
2013-02-05 09:34:54 +00:00
Nathan Gray
8a1386ecdb
Fix grid auto-repeat. It's always the last row that repeats, if there's data
2013-02-05 08:31:08 +00:00
Ralf Becker
e2d3c2ee29
fixed default parameters and type of etemplate::exec to match documentation
2013-02-04 12:56:08 +00:00
Nathan Gray
ec2d395a68
Initialize to empty array if not set
2013-02-04 12:47:46 +00:00
Nathan Gray
129601366e
Some extra debug for et2
2013-02-04 12:35:30 +00:00
Nathan Gray
fc253e2564
Scan for widgets, or they won't all be read. ex: a template with listbox will never know to read etemplate_widget_menupopup
2012-07-24 17:48:55 +00:00
Nathan Gray
60f474da12
Only create new request if it doesn't already exist. Fixes missing information when app constructor creates new template, and get_rows is called for the first time from a new instance
2012-07-23 20:06:54 +00:00
Nathan Gray
f198fb8f6e
Lets try this theme for a while, see how it looks
2012-07-18 16:50:49 +00:00