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
Andreas Stöckel
1876a5faa1
Splitted the egw object into multiple files, added system for allowing a application specific client-side api (use 'egw' as a function)
2012-03-01 16:24:29 +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
f294a9274c
removed two css settings messing up existing eTemplate layouts:
...
- spans were different vertical aligned the prefixing text
- all nextmatch header were forced to left alignment
--> seems to have no negative effect, but fixes some ugly layout bugs
2011-07-13 12:51:33 +00:00
Ralf Becker
f8d62195a2
style for disabled buttons
2011-07-10 18:23:27 +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
Ralf Becker
9b26f95798
consolidating icons
2011-06-30 13:01:03 +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
Ralf Becker
9a6cffe3d8
using a single print icon (from fmail) now
2011-05-31 18:35:18 +00:00
Andreas Stöckel
2e84fb63e2
added clear function to egwActionObject, reverted change done by klaus leithoff in egw_action.js as it caused serveral problems, fixed problem with no actions being executable when all action objects were selected using the setSelectAll function, added iframeFix to egw_action_dragdrop.js, made draggedOver style working for all tables.
2011-05-28 15:24:31 +00:00
Christian Binder
a1b44f8df7
projectmanager: added a moreOptions dropdown list to the link add widget in elements view to be able to assign eRoles to added elements quick; added a preference to give a downloaded merge document a default name
2011-04-08 19:32:17 +00:00
Andreas Stöckel
ca7dfd3370
Added grid styles to the jerryr template (probably the CSS + the images should be kept in the default theme, but I'm not sure what's the best way to do this), added 'evenQueue' object to grid JS code, which allows you to cancle or postpone JS events connected to it.
2011-04-05 20:23:09 +00:00
Andreas Stöckel
a231863ed3
Implemented grid column sorting
2011-04-01 16:38:31 +00:00
Andreas Stöckel
151da7e0bd
Updated code for image overlay on grid entries
2011-04-01 12:49:14 +00:00
Andreas Stöckel
3be7eba007
Added .lettersearch css border-radius compatibility code for other browsers
2011-03-30 21:14:05 +00:00
Andreas Stöckel
4b23d7bca2
removed egwGridView_outer margin
2011-03-30 12:28:24 +00:00
Ralf Becker
c801bdf99e
identical lettersearch for etemplate and admin via central css file
2011-03-30 08:18:06 +00:00
Ralf Becker
89c30a557a
styles for nextmatch lettersearch
2011-03-30 07:34:17 +00:00
Ralf Becker
b5c3c90260
activated new table style and row selection for etemplate, not yet with contect menus
2011-03-27 16:14:08 +00:00
Andreas Stöckel
3c435bec9f
Added content of phpgwapi/js/egw_action/test/grid.css to traditional.css - styling of tables has to be actiated by giving the table containing the data rows the class 'egwGridView_grid'
2011-03-25 14:26:00 +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
Ralf Becker
af7a24eb9a
framework->navbar() now automatically calls framework->header(), this way navbar or sidebox can include JS or CSS, because header is called after
2010-10-18 10:46:47 +00:00
Nathan Gray
4517bafcb6
Attempt at a fix for error that prevented sidebox menu from sliding out in IE8
2010-09-16 20:06:48 +00:00
Klaus Leithoff
a4d3aca9e9
fix for Safari Padding-Bug
2010-09-15 08:28:16 +00:00
Klaus Leithoff
a7e0270be1
idots: IE8 Compatibility, reduce to 1pxpadding-left; resources select box was not shown in calendar sidebox
2010-09-06 15:50:50 +00:00
Klaus Leithoff
78862a1335
idots: fix for IE8 Compatibility; resources select box was not shown in calendar sidebox
2010-09-06 15:17:53 +00:00
Ralf Becker
a5ba32b8b6
allow to change password without run rights for preferences via a new password app (part of preferences app, but separate to install)
2010-07-27 14:29:20 +00:00
Ralf Becker
2b016955d9
remove border and use black color for nicer printing of input elements
2010-07-17 15:52:16 +00:00
Ralf Becker
dba87a90cf
setting vars empty, which get only conditionally set
2010-06-10 15:37:47 +00:00
Ralf Becker
5443acbb21
allow json in body on(Load|Unload|Resize) tags
2010-06-10 14:31:30 +00:00
Ralf Becker
055f1ebe1c
making template name a parameter
2010-06-09 11:03:02 +00:00
Ralf Becker
8b49db5a57
new framework method to return javascript to call manual
2010-06-07 22:06:35 +00:00
Ralf Becker
6ecb981cb5
Moved after_navbar hook into a egw_framework method
2010-06-07 17:31:43 +00:00
Ralf Becker
601289343c
moved top menu logic from idots_framework class to egw_framework,
...
to be able to use it from other templates too
2010-06-07 11:49:16 +00:00
Ralf Becker
9f4c145f22
"removed double declaration of new prompt styles (idots.css includes traditional.css)"
2010-05-01 06:17:28 +00:00
Klaus Leithoff
8fbb39aded
use more stylish dialog for prompt action on edit-series; translations provided by mkk
2010-04-28 13:42:10 +00:00
Klaus Leithoff
7304df7dcd
fix for a problem with IE7 and IE8(Compatibilitymode) displaying Icons and text in Navbar
2010-02-19 14:53:24 +00:00
Ralf Becker
4600c7cb38
Imported latest version of wz_tooltips (5.31) as they no longer need to
...
process the whole dom tree to enable the tooltips.
(Also made the changed from r23372 again)
2010-01-17 03:20:45 +00:00
Nathan Gray
b94bf0c8a0
Completely revert changes from rev 28826.
...
Now using a seperate array to hold additional topmenu entries from hooks to prevent occasional duplication of info items. Apps should now be able to call ['egw']->framework->add_topmenu_item('name', 'url', 'title') to add an additional entry to the topmenu.
2009-12-17 18:07:59 +00:00
Klaus Leithoff
95540c3fa7
revert n.gray s rev 28826, as it clutters the topmenu occasionaly
2009-12-17 14:48:19 +00:00
Nathan Gray
77c889f907
Don't clear items, it will erase anything added by apps in topmenu_info hook
2009-12-09 23:15:46 +00:00
Ralf Becker
221473ce0f
make dynamic resizable sidebox width app specific
2009-11-18 20:00:26 +00:00
Klaus Leithoff
01c8f7a221
fix the overlapping of the sidebox content into listviews (e.g. projectmanager) when content is too wide for current size
2009-11-11 14:28:20 +00:00
Ralf Becker
20e655c466
Default and forced preferences for nearly all apps
2009-10-19 17:04:11 +00:00
Nathan Gray
9ec105b3ca
Implement close button for homepage boxes. Still needs a little work to hide the close icon when the box is forced by admin.
2009-09-21 21:29:39 +00:00
Ralf Becker
1e90070d36
"removed unnecessary loading of prefs on each request"
2009-08-09 14:40:01 +00:00
Ralf Becker
aaab800d80
"removed css to capitalize first letter of sidebox menu items
...
It makes problemes (hides first letter) with following browsers:
- Konqueror (Linux)
- Safari (Mac & Windows)"
2009-06-10 12:51:26 +00:00
Ralf Becker
232252475f
patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
...
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
8651288b97
"fixed sometimes double displayed header and/or navbar"
2009-05-01 07:55:18 +00:00
Ralf Becker
a9b1d29575
"allow other apps to hook into sidebox menu of an app, hook-name: sidebox_$app"
2009-04-18 17:34:40 +00:00
Ralf Becker
81e0a77461
"run \"after_navbar\" hook for all apps, not only the ones the user has rights to"
2009-04-01 09:34:37 +00:00
Christian Binder
b3b7487ad1
eGroupWare popup: Complete re-style of css and markup (nearly no visible changes but a lot of cleanup). eGWpopup now has a scrollbar for long messages. Changed non-validating color lightgray of idots to its numeric value. Renamed notificationwindow completely to egwpopup.
2009-02-23 20:45:31 +00:00
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
2b14c3de30
nicer login and got anon tabs working again
2008-11-17 20:28:09 +00:00
Ralf Becker
aad4117be2
bit nicer login sreen with new default theme
2008-11-16 07:16:19 +00:00
Ralf Becker
e0d7ea6c14
New default theme for idots template set for the 1.6 release
2008-11-15 20:05:55 +00:00
Klaus Leithoff
7b023713b8
fix for a fatal error when application home is not available for the user
2008-08-11 07:27:30 +00:00
Ralf Becker
38bb1c75ca
"fixed topmenu to not query every info again"
2008-08-06 07:33:36 +00:00
Stefan Becker
134692b51c
fixed that IE 6 Bug, that selectboxes are shown in the left Menu with a frame workaround. Sponsored by Karl Knauber Holding
2008-07-25 14:48:06 +00:00
Stefan Becker
c9fda6abcf
"fix for IE 6 pngbugfix, some images where not displayed after turning on the Bugfix. E. g. in the clander oder infolog. Sponsored by Karl Knauber Holding "
2008-07-25 10:24:20 +00:00
Stefan Becker
ffd9cdd47f
"Patch for IE 6/7 style setting for textarea (default Style), description Tab is not too Big and geratingscrollbars "
2008-07-22 11:55:54 +00:00
Ralf Becker
ed5db11312
show session restore time
2008-03-22 16:22:11 +00:00
Ralf Becker
3bf9ad5efa
dynamically autoloading sub-object of egw-object, moved __wakeup methods to concerned classes and other "modernsations" ;-)
2008-03-21 20:11:59 +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
Christian Binder
40a68b6cfd
little re-design of notifications: cleaned up relation between main class and backends. main class is responsible for notification routing. backends are responsible for sending one message to one user. relocated ajax functions to a separate file.
2007-12-18 15:53:38 +00:00
Christian Binder
1fdebc6582
display font-size in notificationwindow smaller
2007-12-05 09:07:22 +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
José Luis Gordo Romero
9e174d99c6
Adding print image
2007-11-21 05:50:40 +00:00
José Luis Gordo Romero
58976112e9
Forgot added new icon (copy of move.gif without left space)
2007-11-20 20:31:15 +00:00
Ralf Becker
379236da4e
removed background under app-header on printing
2007-07-08 10:14:55 +00:00
Ralf Becker
1baadcddcb
"fixed border around popup while printing"
2007-05-18 17:35:12 +00:00
Ralf Becker
b29095430d
fix for bug #484 : Unable to 'Search new phrases'
2007-05-17 12:31:18 +00:00
Ralf Becker
1b10333979
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:52:04 +00:00
Ralf Becker
6a990be520
worked around stupid php5.2 empty haystack warnings
2007-04-30 05:42:05 +00:00
Ralf Becker
335b0eb97a
"- fixed off-by-one error in extra-icons (gave an empty box)
...
- make topmenu return it's content, not echo it"
2007-04-29 11:06:44 +00:00
Ralf Becker
01e3fe657e
"bugfix: topmenu shows just the orange ball, if there's no url/label, eg. because the anon use has no right to see that menu item"
2007-04-06 07:37:15 +00:00
Ralf Becker
fb4b851d3b
fixed printing to not print the new topmenu
2007-03-12 11:19:38 +00:00
Lars Kneschke
8e1dc4b5b1
another PHP 5.2 bugfix and an javascript fix from Sebastian
2007-02-28 06:06:35 +00:00
Lars Kneschke
48c12d2ef9
really, really, really ugly hack, to fix the not displayed js calendar.
...
The calendar disapears, when the image for second select box above the gets replaced. I added a class(sideboxstar) to the balls in the sidebox. Only when the images does not match this class, it get's replaced by the span. Otherwise it stays untouched.
If someone finds a better solution or finds the real source for the problem, feel free to fix it! :-)
2007-02-15 11:18:34 +00:00
Christian Binder
b8e46525f3
remove inclusion of wz_dragdrop here. This is handled by the dragdrop object cause idots template uses the dragdrop class now
2007-02-12 19:32:24 +00:00
Christian Binder
59a5ebe73a
added real Minimum and Maximum values to the resizeable sidebar
2007-02-05 20:22:01 +00:00
Christian Binder
0d9ed45db1
migrated resizeable sidebar to common dragdrop class. This prevents breaking jscalendar on internet explorer and other DHTML incompatible browsers
2007-02-05 19:28:38 +00:00