Commit Graph

43 Commits

Author SHA1 Message Date
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
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
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
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
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
Ralf Becker
1e90070d36 "removed unnecessary loading of prefs on each request" 2009-08-09 14:40:01 +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
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
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
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
b29095430d fix for bug #484: Unable to 'Search new phrases' 2007-05-17 12:31:18 +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
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
Pim Snel
f2c57020a5 re-enabled after_navbar hook
don't create a link in topmenu notifiy when link is not given
2007-01-23 23:38:09 +00:00
Cornelius Weiß
8aa8cd4e2a applied patch #280 from Sebastian Ebling: * removed the "About ..." menu entry from top and sidebox menu
* mostly rewritten the about.php page (added application list)
* changed footer eGroupWare link to about.php
* moved manual from application menu to top and sidebox menu preserving its special link target
2007-01-17 17:51:47 +00:00
Pim Snel
65e30cac8e display current users in topmenu when topmenu is enabled 2007-01-09 23:15:00 +00:00
Pim Snel
bfe1e5b04a - make topmenu default pref setting now
- fix bugs and wrong implementation of topmenu
- introduce new hook: topmenu_info for adding content to the topmenu see messenges as example
2007-01-09 22:44:30 +00:00
Jerry Ruhe
2db34b6cc3 changed to allow resize image to be called from css so each theme can have custom resize images and placement 2007-01-06 06:29:43 +00:00
Ralf Becker
1793dd8899 as agreed in the devel-days: no more CreateObject in new code, also fixes problems with the session restore 2007-01-05 18:13:33 +00:00
Pim Snel
60b9285d71 add topmenu to the egw framework
implement topmenu in idots template set
add idots preference to enable topmenu
add idots preference to disable general sidebox menu
some cleanups in idots framework class
some cleanups in egw_framework
2007-01-05 14:06:34 +00:00
Pim Snel
e95007db37 new more egw-conform calling of xajax 2007-01-04 16:34:23 +00:00
Pim Snel
498fd3be96 add wz_dragdrop code to resize the sidebox menu. It uses ajax to store the new size 2007-01-02 14:08:32 +00:00
Ralf Becker
da45740c4b fixed not completly removed domain-selection, when disabled 2006-12-27 15:37:37 +00:00
Ralf Becker
c9377bfc61 new login page using the framework class(es) 2006-12-25 11:05:44 +00:00
Ralf Becker
6cb939d3f5 - fixed sometimes not rendered footer (eg. in the general prefs)
- closing body&html tags for popups (no navbar, but header)
2006-12-20 09:24:38 +00:00
Ralf Becker
7389a7a2cb some more refracturing of the template code 2006-12-17 13:14:16 +00:00
Ralf Becker
b13cf65101 fixed fatal error when saving (not applying) the prefs and session-type is php-restore:
The way the old Template class works, does not work together with restoring from the session.
2006-12-14 15:17:33 +00:00
Ralf Becker
a166bb0f57 reworked and refractured the way template sets work in eGW:
- virtual baseclass egw_framework in the API which each template extends
- replaces $api/footer.inc.php, $tpl/head.inc.php & $tpl/navbar.inc.php
- all existing phplib template sets just inherit the idots_framework, but can have own templates
- moved most html from navbar.inc.php into the navbar.tpl
--> idots & jerryr are reworked and working, all other template sets are disabled at the moment
--> The rework was done to add a selectbox to add all sorts of entries without the need to change to the app first. This is now implemented in the egw_framework class using the link-registry.
2006-12-10 23:44:18 +00:00