Ralf Becker
472a420231
allow to package templates like applicatons in an own directory, cleand up index.php a bit
2010-06-02 09:20:55 +00:00
Ralf Becker
0b38159c94
"using mt_rand() instead of rand() and not longer seeding it explicitly (as recommened on php.net)"
2010-04-23 18:41:01 +00:00
Ralf Becker
0c5e495994
fixed common::setLocal() to fallback to en_US, not en_EN (which does not exist) and then de_DE (giving german)
2010-01-24 01:07:26 +00:00
Ralf Becker
734a9f6947
HTTP_REFERER seems NOT to get urldecoded, causing url already containing
...
a comma in calendar got double encoded, which stalls the calendar
(no access to calendar of "1%2C2"!)
2009-11-27 12:35:57 +00:00
Klaus Leithoff
2dc68b1c8d
added the option allfirst for account display to show [username] firstname lastname, as the option all displayed [username] firstname lastname and not [username] lastname, firstnamne as advertised
2009-09-28 15:10:02 +00:00
Klaus Leithoff
5e7b1d3fd6
little bugfix for the retrieval of images configured to load from vfs (vfs_imagedir)
2009-06-24 15:13:19 +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
Klaus Leithoff
ba88fcbd9a
fixing caching of images, if image is an array
2009-05-18 12:02:45 +00:00
Ralf Becker
44ce028592
"fixed not always displayed icons (eg. old nextmatch in translation-tools) and some more caching"
2009-05-16 10:22:56 +00:00
Ralf Becker
65e53bd1e8
"fixed wrong webdav.php urls, if no vfs_image_dir set"
2009-05-14 06:41:28 +00:00
Klaus Leithoff
86f1dde06f
configurable favicon, configurable vfs image store for images, logos, icons
2009-05-13 14:33:36 +00:00
Ralf Becker
646931dc8a
fix for bug #1838 : problem with utf-8 data in all csv imports
...
- fgetcsv only works correct, if setlocal is called with an existing and
correct local
- improved projectmanager method guess_local and moved it to
common::setlocal, which takes now the charset, lang and country of the
user into account
- csv-import also displays now the conversation done and reads usernames
in brackets
- added some missing fields
2009-04-03 12:26:32 +00:00
Ralf Becker
97126e417f
Make all methods of common class static, to allow an easiert use.
...
eg: $owner_label = common::grab_owner_name($uid);
2009-03-16 12:49:31 +00:00
Ralf Becker
3b5d46022d
"common::email_address() dont add @domain, if not domain (mail_suffix) specified"
2008-09-11 07:48:49 +00:00
Klaus Leithoff
1d48d7d217
define/declare randomstring as static function
2008-08-29 13:31:33 +00:00
Ralf Becker
9d2016ebf6
- php5 static and protected for egw_framework
...
- new feature allowing apps to specify with index-page and icon to use
--> allows to install sitemgr-link icon without an extra application
(which was a symlink and got lost in every version upgrade)
2008-08-18 09:00:19 +00:00
Régis Leroy
b68e7f0041
missing closedir, can lead to Too many open files bugs
2008-07-02 07:57:13 +00:00
Ralf Becker
a8b924696f
removed some depricated and as far as I know nowhere used methods and make many functions static
2008-04-25 18:52:33 +00:00
Ralf Becker
8a9e4d3d9d
"removing unnecessary instancations"
2008-03-25 17:05:08 +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
Ralf Becker
015180cd06
"fixed bug introduced by my commit r24522: egw could not deal with LDAP Ids"
2007-10-17 14:40:02 +00:00
Oscar Manuel Gómez Senovilla
b018b25a15
API changes to handle egw_ prefix in lang files
2007-10-14 16:12:39 +00:00
Ralf Becker
e024ecd870
"Patch #1149 from JF B: get_egwId could not deal with dashes in the Id, which can happen with LDAP"
2007-10-12 05:52:57 +00:00
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