Commit Graph

286 Commits

Author SHA1 Message Date
Ralf Becker
6a990be520 worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
Cornelius Weiß
63ee37b29c fix wrong old_defaut imagedir 2007-04-26 23:23:05 +00:00
Lars Kneschke
4fe75764bc make sure that we are really working with a object. That's not always true, when using SyncML for example. 2007-01-24 16:38:46 +00:00
Pim Snel
4e26206909 remove topmenu code from framework again 2007-01-09 22:42:01 +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
Ralf Becker
9172cf3fa9 fix for bug #72: 'Group' is not translated in calendar popup (and many other places) 2006-12-25 12:38:37 +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
Ralf Becker
88d5a016e0 caching the link-titles in the session 2006-10-04 08:23:28 +00:00
Cornelius Weiß
0144a3aa92 xajax check for upcomming notification module 2006-09-06 08:16:22 +00:00
Ralf Becker
3c0e159798 - fixed not stored email-address-policy
- removing quotes and space from email-addresses
2006-08-24 06:23:23 +00:00
Lars Kneschke
46d29b527d search also in idots as default image path
that would allow us to remove default completly in the future
2006-08-16 03:30:23 +00:00
Ralf Becker
2c87623e9b renamed ldap::ldapAddslashes to ldap::quote, like in db::quote or preg_quote 2006-06-13 04:22:24 +00:00
Ralf Becker
29f83cba19 calling now Lars new class to open ldap connections, so we detect ldap version 3 now automatic (no more config option necessary) 2006-06-07 22:59:42 +00:00
Ralf Becker
515a22be1a function to create email addresses after a configurable policy 2006-04-16 12:25:11 +00:00
Ralf Becker
a9988cc72a fixed wrong referer if url contains webserver_url more then once, eg. "http://egroupware.org/egroupware/index.php" and "/egroupware" 2006-04-05 14:55:57 +00:00
Ralf Becker
23ea4159ef documentation update and extra param to show_date, to disable time-zone-conversation 2006-03-03 09:32:47 +00:00
Ralf Becker
cde95cd926 fixed bug in common::get_referer, which gives a warning and wrong result if eGW is installed in the docroot 2005-11-21 08:21:11 +00:00
Ralf Becker
1b17b82ca8 phpgw_nextid --> egw_nextid 2005-11-13 10:13:16 +00:00
Ralf Becker
3bae8c3a00 fix for referer under etemplate 2005-11-11 23:06:34 +00:00
Ralf Becker
515b8c0630 hopefully now all possebilities to construct an eGW URL are covered 2005-11-09 13:27:49 +00:00
Ralf Becker
988b7c1bc5 new method common::get_referer(), to get an eGW conformat referer from $_SERVER['HTTP_REFERER'], suitable for direct use in the link function 2005-11-09 12:45:48 +00:00
Ralf Becker
335cef9104 display_fullname and get_account_name replace now an empty firstname with the lid and an empty lastname with group or user 2005-11-02 20:43:04 +00:00
Ralf Becker
c85d34c0fe changed the following table-names:
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Ralf Becker
1784637cff Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 14:14:01 +00:00
zhangweiwu
0ec0bc7654 add a bit of phpdoc explanation. 2005-10-11 02:00:23 +00:00
Lars Kneschke
e2f6eb9b06 always include some common javascript functions 2005-08-28 20:31:36 +00:00
Carsten Wolff
d61920a22b fix the handling of charsets in the contacts_ldap class and provide admins with a script, that helps to fix old, corrupted eGW-LDAP-addressbooks. For a description of why and when this is necessary, please read the header of the fix-ldap-charset-for-egw1.1.pl script. This should appear in the release-notes for eGW 1.1. 2005-08-13 21:01:14 +00:00
Ralf Becker
ef7bff339e commit for Lars:
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:12:21 +00:00
Ralf Becker
b495b33d0a commit for Lars:
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:07:47 +00:00
Ralf Becker
f99f2ef4e8 1) eGW enviroment (egw_info-array and egw-object) can now be stored in a php-session and restored from there. It is no longer necessary to create it on every page-request.
At the moment you need to log out to activate any changes in the config, preferences or the apps enabled for a user. This can be changed easily by invalidating the cache.
2) New way to create an anoymous session: you can specify a callback function, which gets called if the session could not be verified. The callback can use the DB or instanciate a config object to get the account-date, which it returns. A new session get then created.
2005-07-17 21:00:49 +00:00
Pim Snel
014aa6ca67 only show template set that contain a setup.inc.php 2005-06-29 21:06:52 +00:00
Lars Kneschke
b3ecd8456d generate a smaller guid 2005-06-20 11:14:40 +00:00
viniciuscb
0a28f3812e Some changes:
- Inclusion of the following javascript directories:
  * Connector: javascript object to interface xmlhttprequest object. This object allows
      asynchronous posts and support for messages while this post is being done, such as
      "wait, contacting server", etc.
  * JsAPI: general javascript functions and methods
  * jsolait: performs conversion from a xmlrpc message to a javascript object
  * xmlRpcMsgCreator: performs conversion from a javascript object to a xmlrpc message
  * dynapi: cross-browser class to draw layers

- Update in setup version: now is 1.0.1.008; Update your versions. There was made a
  change in phpgw_vfs2_files table in handling of modified files.

- Upgrade of vfs2 classes and PclZip class

- Changes in javascript object and common object to allow the javascript backend to
  applications to work (now just filescenter will use it...)
2005-06-18 20:43:14 +00:00
Pim Snel
1d68ccb070 replace hardcoded links to home.php with links to home/index.php 2005-06-15 11:16:27 +00:00
Ralf Becker
e82027d0cb changing from
1) $GLOBALS['phpgw_info'] to $GLOBALS['egw_info'],
2) $GLOBALS['phpgw'] to $GLOBALS['egw'],
3) PHPGW_ to EGW_ constants
The phpgw ones ars now a reference to the new egw ones, to allow a soft migration
2005-03-03 10:47:28 +00:00
Lars Kneschke
ffc98ddd1f add 2 function sto handle global UIDs 2005-02-27 23:27:36 +00:00
mgalgoci
18221503b6 - re-write display_fullname to be more readable and suck much less
- add support for Lastname, Firstname username account views
2004-08-26 18:47:29 +00:00
alpeb
0a566e4635 Added translation of 'Logout' 2004-08-09 21:18:35 +00:00
reinerj
febeab4d8d replace the crap 2004-08-09 13:46:03 +00:00
Ralf Becker
ce2045bae1 fix for bug [ 1002325 ] Manual error:
if session.use_trans_sid was enabled, we created a wrong link for the manual
2004-08-07 13:15:06 +00:00
Ralf Becker
0d5a7357ec workaround for IE prob, it does not set a HTTP_REFERER if a link gets opened in a popup window, which is needed by manual to determine context-sensitive which page to show 2004-06-30 10:40:48 +00:00
Ralf Becker
dc2d527ba4 add a content-type header to overwrite an existing default charset in apache (AddDefaultCharset directiv) 2004-06-10 07:13:37 +00:00
Carsten Wolff
bc140271bc added escape-function for ldap-queries - will be used by contacts soon 2004-05-12 09:55:30 +00:00
Ralf Becker
5631d6a830 implemented caching in the session, thought its only activated for LDAP atm. 2004-05-05 13:49:32 +00:00
Ralf Becker
7aae6434e5 posibility to pass arguments to the links of the icons in the navbar: used atm. to set a specific manual page, if the automatic generation of the page-name is not sufficent, eg.
$GLOBALS[phpgw_info][flags][params][manual] = array('page' => 'ManualInfologAdd');
2004-04-13 15:53:25 +00:00
Ralf Becker
066722cb9b implemented enble == 4 type apps - opened in a popup window - for the manual 2004-04-13 08:18:06 +00:00
Ralf Becker
b495aa7a0f implemented enble == 4 type apps - opened in a popup window - for the manual 2004-04-13 07:54:25 +00:00
alpeb
894ed06c06 priority between gif and png first search in chosen template dir 2004-02-13 15:09:22 +00:00
alpeb
56309597dd priority between gif and png as set in config is now working 2004-02-13 01:25:30 +00:00
Pim Snel
e9ff05661c update and fix htmlarea when having more then on textbox in a form 2004-01-29 13:36:38 +00:00