Commit Graph

309 Commits

Author SHA1 Message Date
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
Lars Kneschke
898151a77b another short php opentags problem 2007-01-26 20:53:35 +00:00
Lars Kneschke
50d9156460 short open tags are not allowed 2007-01-25 05:59:38 +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
Oscar Manuel Gómez Senovilla
a1a5e3ad58 Fix tab preferences width for idots 2007-01-10 22:50:10 +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
ca5b5ecbc4 changed to allow resize image to be called from css so each theme can have custom resize images and placement 2007-01-06 06:32:12 +00:00
Jerry Ruhe
407e58a827 changed to allow resize image to be called from css so each theme can have custom resize images and placement 2007-01-06 06:30:14 +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
Christian Binder
db40bf6470 workaround to get resizeable sidebox and calendar dragdrop working together at the moment - we can remove this if we moved with sidebox to the dragdrop class 2007-01-05 21:49:36 +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
365352c323 moved idots templates to default 2006-12-13 11:33:28 +00:00
Ralf Becker
16ca5b64f5 not used anymore 2006-12-13 11:19:48 +00:00
Ralf Becker
6035da428e use one shared head.tpl from default 2006-12-13 09:28:51 +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
Christian Binder
497602b4de hide body background-image when printing - this makes it possible to activate printing of backgrounds generally (e.g. in Firefox, looks nice for calendar events), but leave background-white instead of grey (which made spooling very,very slow for some reason) 2006-11-22 21:52:56 +00:00
Ralf Becker
e0e16ab18d fixed not working forward of not loged in users after login to the original address 2006-11-13 11:06:42 +00:00
Pim Snel
941498004c new links for the changed registration app 2006-10-16 20:46:24 +00:00
Pim Snel
c9482613a8 Seperation of login.php into: login logic, template set specific logic, and template with HTML
The active files are now:
egroupware/login.php
egroupware/phpgwapi/templates/idots/login.inc.php
egroupware/phpgwapi/template/idots/login.tpl
2006-10-15 16:19:19 +00:00
Ralf Becker
7a167bcb6b fixing some css-bugs which fill the firefox javascript console 2006-08-19 07:08:52 +00:00
Lars Kneschke
e6ebaff6fb take "deny grant access" into account again 2006-07-20 06:53:45 +00:00
Ralf Becker
a018b89b84 make the sidebox entries consistently start with a capital letter 2006-06-20 18:22:40 +00:00
Cornelius Weiß
857c4bf685 add autologin for anonymous user as we need to have on community.egroupware.org 2006-06-07 18:15:50 +00:00
Cornelius Weiß
6623ad4b8a add autologin for anonymous user as we need to have on community.egroupware.org 2006-06-07 18:14:18 +00:00
Ralf Becker
b008703432 sidebox-handle (if sidebox hides automatic) was still printed 2006-03-27 12:58:58 +00:00
Ralf Becker
3af2e89e65 updated (c) to 2006 2006-03-27 12:58:09 +00:00
Ralf Becker
627e666c5c improved printing:
- all templates define now noPrint and onlyPrint css classes
- idots format (nextmatch) lists on print now a lot nicer
2006-03-26 22:21:22 +00:00
Ralf Becker
3282a61901 bugfix: application target was not used for extra-icons (manual opened in main-window and not in popup) 2006-01-06 04:55:10 +00:00
Ralf Becker
f1d7915da6 new print.css file, which disables navbar &
sidebox on printing under idots
2006-01-06 04:53:44 +00:00
Miles Lott
b9fa8c25a1 Remove unused template END tags 2005-12-27 23:24:16 +00:00
Ralf Becker
e92bd2b0fb not used 2005-11-24 15:03:10 +00:00
Ralf Becker
0a9adb0389 a new look for the 1.2 2005-11-24 15:01:27 +00:00
Ralf Becker
aea55f6b2d a new look for the 1.2 2005-11-24 14:29:37 +00:00
Ralf Becker
e676896faf not used 2005-11-23 23:09:31 +00:00
Lars Kneschke
365c891649 bring back the grey images 2005-11-23 12:25:23 +00:00
Lars Kneschke
549f63db9e use the KDE buttons 2005-11-21 15:03:06 +00:00
Lars Kneschke
9319151222 use the KDE icons 2005-11-21 15:02:41 +00:00
Pim Snel
af46eff15f - add style for the new button class
- made the sitebox menu a b ut wider
2005-09-02 12:30:16 +00:00
Miles Lott
2c2bc0beb3 Update of preferences app to work as a multi-tiered application and via xml-rpc 2005-07-23 09:44:46 +00:00
petere78
7d720dc5ea Set HTML document type to XHTML 1.0 Transitional everywhere (almost).
Correct various misspellings and other oddities in the document type
declarations.  Convert HTML tags to lower case in the affected files.
2005-07-07 20:09:52 +00:00
zhangweiwu
c241bb3416 enhancement to the narrow_column style class so that it makes a column as narrow as possible without line-breaking its content. This is a good replacement for simple WIDTH="1%" and also helps avoiding line-breaking Chinese, Japanese and Korean text incorrectly.
A similar method is explained in this message as reference:
http://lists.evolt.org/archive/Week-of-Mon-20021014/124859.html

Talked with Pim and tested on IE/gecko/opera8.0. for older browsers doesn't understand CSS2 it behave the same as WIDTH="1%".
2005-07-04 17:23:39 +00:00
zhangweiwu
de05de8d89 as I mensioned before the 1% width problem is all over egroupware and making CJK user interface ugly. A typical example is many tables are always two or three lines high for one <tr>. If you don't have a look at a CJK user interface you probably won't notice it at all.
I introduce a global style class 'narrow_column' to address this.
2005-07-01 03:24:29 +00:00
Pim Snel
a8959cc19b add new template setup files to store information and to make sure only template sets are choosable in preferences 2005-06-29 21:03:15 +00:00
Pim Snel
e459af407c add extra info about the current template set in the about screen 2005-06-15 10:36:58 +00:00
Cornelius Weiß
632a990cfb added support for authentication via cookie. NOTE: you have to enable this in setup if u want to use it. 2005-05-11 18:25:17 +00:00
Ralf Becker
71c1959c40 added language direction flag to the html tag for the idots and jerry template:
it can be set now by translating the phrase 'language_direction_rtl' to 'rtl' for a specific language
2005-03-30 16:16:07 +00:00
Ralf Becker
d7f1458d1a new header-template to:
1) correct the displayed page-generation-time for idots and jerry
2) use ob_start to get rid of "Header could not be sent, output started at ..." errors
3) changing from $GLOBALS['phpgw_info'] to $GLOBALS['egw_info'], the phpgw one is now a reference to the new egw one, to allow a soft migration
2005-03-03 10:45:52 +00:00