Ralf Becker
bdbc22dd98
reverted r46410 calling header explicitly before navbar, causing navbar no longer being able to add stuff to header, eg. include javascript
...
and fixing idots_framework::navbar() to still call header, if $navbar_done is set
2014-05-15 09:41:31 +00:00
Ralf Becker
1007f2ec7e
fixed idots not always loaded client-side configuration: now using egw_info[flags][nonavbar] === "popup" to let framework definitly know we dont want a navbar (need to know before navbar is called and can not use true, which is allways set by index.php)
2014-03-25 12:12:00 +00:00
Ralf Becker
fd7a180412
fixed IDE warnings
2014-03-23 08:51:28 +00:00
Hadi Nategh
e5b1c65045
Fix broken onmouseover|click prefs for extraApp and sidebox menus
2014-03-03 17:45:18 +00:00
Ralf Becker
11d77f3dab
fixed a couple of problems with automatic switch to idots template from mobile browsers: csp-error, wrong icons
2014-03-03 17:35:48 +00:00
Hadi Nategh
8d2018e8f9
Implement show more apps slider menu and sidebox slider menu in idots template with jQuery
2014-03-03 16:03:39 +00:00
Ralf Becker
876a14ff52
new 4th parameter to egw_framework::includeCSS() to tell framework NOT to load any default CSS and make send_headers public
2014-03-03 14:54:03 +00:00
Ralf Becker
f42c7be3e0
ignore menuOpened as it is always open on idots
2014-02-05 17:27:09 +00:00
Ralf Becker
bcba09973f
pass an id to _add_topmenu_info_item, so templates can use that to generate an id for each div
2014-01-17 09:23:23 +00:00
Ralf Becker
f8679b86ba
fix permanent reload on idots login screen caused by trying to show (on login page not existing) quick-add selectbox, now not loading idots javascript files at all for login page, as they are not needed
2014-01-16 08:56:23 +00:00
Ralf Becker
2a4c1c3813
renamed idots orange-ball.png to bullet.png, to use identical name in all templates
2013-11-18 16:12:50 +00:00
Ralf Becker
74dd9f0e02
allow templates packed as apps to replace login screen template by setting it as default template (without setting it in header.inc.php)
2013-11-14 13:52:50 +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
6e76361736
open all sidebox admin link in admin vi admin.admin_ui.index loader
2013-10-15 16:53:43 +00:00
Ralf Becker
6cfd7b22b7
using jQueryUI resizable to resize sidebox, getting it to work under CSP that way
2013-10-08 12:06:07 +00:00
Ralf Becker
43e1bfcc12
switching on Content-Security-Policy: script-src 'self' 'unsafe-eval' for all templates, old non-et2 apps can call egw_framework::csp_script_src_attrs('unsafe-inline') to enable inline scripts in their scope, et2 does it for CK editor which does not support CSP currently and old etemplate does it for all apps using it
2013-10-05 13:33:28 +00:00
Ralf Becker
65223eb80a
when displaying topmenu in sidebox as "General menu", use same code to display new topmenu items too
2013-10-04 11:56:47 +00:00
Ralf Becker
6f162f144e
add context sensitive link to ACL/grant access to top-menu, same is to be happen for cats and preferences itself and preferences in sidebox will be removed
2013-10-02 16:29:08 +00:00
Ralf Becker
b2ba685edd
remove inline javascript from idots and jerryr templates
2013-08-21 20:22:53 +00:00
Ralf Becker
5e3c0192d3
$extra parameter for framework->header()
2013-07-19 17:07:05 +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
Klaus Leithoff
b04ee25e07
wrap a set_preferences call in LAB.wait to avoid run time problems
2013-07-16 14:48:49 +00:00
Ralf Becker
ffceaf445a
prototype for an admin app using et2 and a navigation tree, need to set index url in database: UPDATE egw_applications SET app_index="admin.admin_ui.index&ajax=true" WHERE app_name="admin" (dont forget to clear cache)
2013-07-01 17:07:07 +00:00
Ralf Becker
4ef222e7ff
allow to use protocol independent url like "//host/path/to/logo.png" for logo in admin site configuration
2013-06-24 07:45:11 +00:00
Ralf Becker
fd276eb3b7
js stuff is not needed by login page and gives errors
2012-05-10 08:43:40 +00:00
Andreas Stöckel
dc017ed889
Now again using a local etemplate2 instance on the client
2012-03-12 12:05:14 +00:00
Andreas Stöckel
36314a077e
Fixed bug with etemplate2 not working properly especially in idots: JS files only get included if they really have not already been included; egw object gets included before 'lang' in idots
2012-03-12 09:20:24 +00:00
Andreas Stöckel
735b24fe9c
Always include egw.js, as determining whether the current window is a popup or not does not work properly when not running an etemplate2 application
2012-03-09 09:29:05 +00:00
Andreas Stöckel
df06f6657c
Now always including egw and etemplate2 javascript code if we are in the top window
2012-03-08 14:05:00 +00:00
Ralf Becker
000b74bded
framework->isTop($consider_navbar_not_yet_called_as_true=true): true if we are rendering the top-level EGroupware window
2012-03-07 08:45:57 +00:00
Ralf Becker
f676a23821
fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php)
2012-03-04 13:33:10 +00:00
Klaus Leithoff
a701566eda
* API/Login: using tabindex to control tab succession on/in loginscreen.
2012-01-26 11:57:17 +00:00
Ralf Becker
046c0919cc
make basic data of current user available via egw.user(_field)
2011-08-31 12:17:34 +00:00
Ralf Becker
7868b684cd
using php5 constructors
2011-08-31 07:50:28 +00:00
Ralf Becker
ea7ad6318d
new clientside image-name to url map: egw.image(_name, _app="phpgwapi")
...
eg. egw.image('favicon') returns '/egroupware/phpgwapi/templates/default/favicon.ico'
--> pondon to serverside common::image($app,$name) method
2011-08-30 22:19:38 +00:00
Ralf Becker
be6fd87783
- sending EGroupware configuration (non-sensible stuff) to browser and make it available via egw.config(_name, _app="phpgwapi")
...
- sending link-registry in the same file
- used javascript file uses etag to ensure there's no need to load it on each request
2011-08-26 16:27:57 +00:00
Ralf Becker
16c6a8d4f9
got clientside translations working for etemplate2 apps: egw.lang("%1 timesheet(s) %2", 5, egw.lang("deleted"))
2011-08-23 16:15:54 +00:00
Ralf Becker
24e34f7927
new clientside API object currently supporting the following methods:
...
- egw.preferences(_name, _app='common') return preference _name of _app (only common prefs loaded currently)
- egw.open() allowing to open app-entries utilising the link registry, deprecating egw_open from jsapi.js
- egw.lang(_msg, _arg1, ..., _argN) placeholders are not yet implemented
2011-08-23 14:29:56 +00:00
Ralf Becker
039288b06e
fixing the last fix, code was still needed ;-) and automatically hiding the location bar for mobile browsers
2011-07-10 12:05:20 +00:00
Ralf Becker
84727a4a49
fixed division by zero, by removing not longer needed mobile code
2011-07-09 16:53:24 +00:00
Ralf Becker
8e83e41263
- improved mobile template: calendar & email sidebox is showing now, removed most of the former css hidden stuff
...
- fixes jscalendar to work will in sliding sidebox
2011-07-09 16:35:18 +00:00
Ralf Becker
2acb6c7ab5
* Template for mobile browsers: only show application area, all apps are available via slideout menu
2011-07-06 07:19:54 +00:00
Andreas Stöckel
fd12dfc4ce
Fixed typo
2011-06-15 21:08:45 +00:00
Andreas Stöckel
9db8424e15
Implemented default focusing of objects in the tab manager, added new egw_getAppName function on js side, which returns the name of the currently active application - this is needed for the keyboard handler to pass the key events to the correct application object manager.
2011-06-15 20:54:58 +00:00
Ralf Becker
47e2764da0
new javascript method egw_open() to open egw_entries using there registered url and popup sizes from the link registry
2011-06-02 11:13:41 +00:00
Nathan Gray
40f8600bc5
Add new hook 'sidebox_all' to allow another app to add something to all other apps' sidebox instead of just adding in importexport stuff
2011-02-03 16:30:40 +00:00
Nathan Gray
d413936936
Add Import / Export links to sidebox for all apps, if there are definitions allowed.
2011-01-28 19:45:33 +00:00
Nathan Gray
90308f177c
Changes to work with registration rewrite
2011-01-25 17:30:47 +00:00
Ralf Becker
ddb621b49c
make NOT the default for cookie auth
2010-12-19 21:17:37 +00:00
Ralf Becker
c3bdb4c416
for some reason $this->tpl is no instanciated on the home page in 1.8
2010-11-18 08:08:58 +00:00