Commit Graph

341 Commits

Author SHA1 Message Date
Hadi Nategh
5467b3bdf4 Mobile theme W.I.P.:
- Activate SVGs in framework
2016-02-24 16:47:32 +00:00
Nathan Gray
6e98e917b6 Another attempt at properly caching image map without blowing up the cache. 2015-03-11 22:19:43 +00:00
Nathan Gray
a9af75f416 Only cache if there user has access to the image dir 2015-03-09 19:50:09 +00:00
Nathan Gray
131b19fc32 Fix for custom icons going missing by only caching for the session if no access to VFS 2015-02-23 17:24:09 +00:00
Ralf Becker
1df5500d28 * Admin/LDAP: LDAP extra attributes homedirector and loginshell were not stored (home set to /dev/null) 2014-10-21 08:58:08 +00:00
Ralf Becker
ada3b84386 fixed IDE errors and removed deprecated functions create_emailpreferences and check_owner 2014-07-05 07:58:48 +00:00
Ralf Becker
77579f364f fixe funny "Group, Name" label, should not contain a comma 2014-03-18 13:34:59 +00:00
Ralf Becker
11d77f3dab fixed a couple of problems with automatic switch to idots template from mobile browsers: csp-error, wrong icons 2014-03-03 17:35:48 +00:00
Ralf Becker
ca12321613 fixed sitemgr-links show no navbar icon in Stylite/Pixelegg template 2014-02-16 09:12:08 +00:00
Ralf Becker
436fe041e0 switching svg images off for everything but application icons in Stylite or Pixelegg template 2014-02-11 14:41:17 +00:00
Ralf Becker
55df2f5bb3 fix typo causing common::show_date to only work with default $adjust_to_usertime = true 2014-01-28 09:52:19 +00:00
Ralf Becker
f075452ee3 first try of svg support: prefer svg over other image type for all browsers but IE<9 2014-01-03 18:49:24 +00:00
Ralf Becker
1ee480eaa3 remove configurable image-type preference in favor to hardcoded one always prefering png over gif, also removed all .gif images which have a png counterpart 2013-12-05 02:04:59 +00:00
Ralf Becker
6ae755b1aa added pixelegg template, to also delete image cache of it 2013-11-12 09:29:44 +00:00
Nathan Gray
d0fa6110d1 Use CSS to style preference tabs 2012-12-03 18:36:00 +00:00
Klaus Leithoff
6b8a937977 fix the use of deprecated firstname/lastname; using account_firstname/account_lastname 2012-08-30 11:49:06 +00:00
Ralf Becker
cd2cc35b73 * InfoLog: icons to visualise entry has a parent or subs, using these icons (arrow left or up) in context-menu too 2012-03-20 11:18:33 +00:00
Ralf Becker
7d4b32f5af deprecating common::show_date($time,$format,$adjust_for_usertime=true) in favor of new egw_time::to($time,$format) or egw_time::server2user($time,$format), also using that two now for common::show_date() 2012-03-14 15:37:25 +00:00
Ralf Becker
54bf7a3d2d - fixed image map was empty created when not loged in (now directories are used and not $GLOBALS['egw_info']['apps'])
- fixed not working vfs-image-dir
- deleteing image-maps when:
  + apps get installed, updated or removed
  + admin >> register hooks
  + admin >> site configuration: vfs-image-dir get changed
- fixed not displayed validation errors (thought there were no validation) in admin >> site config
--> you need to register hooks, in order to get the admin >> site configuration validation hook ;-)
2011-08-31 10:16:12 +00:00
Ralf Becker
5d83c036e0 forgot to switch of error_log for not found images, as that happens regulary in some parts of EGroupware 2011-08-31 08:01:18 +00:00
Ralf Becker
19d167f5be fixed not working jerryr template set, needs image_on and previously not working template image dir 2011-08-31 07:52:19 +00:00
Ralf Becker
dce02a03cb re-added common::find_image() and common::image_on() as deprecated 2011-08-30 22:16:31 +00:00
Ralf Becker
a048840e44 use one instance specific image_map to translate between image-names and URLs, which can be transfered to the browser for etemplate2 (next commit) 2011-08-30 22:03:17 +00:00
Ralf Becker
92d861e712 give #account_id, if user not found 2011-06-24 10:28:08 +00:00
Ralf Becker
5507c32e4e fix common::get_body_attribs() (gave fatal error, because egw_framework::_get_body_attribs() was protected) and add body_attribs to Sitemgr Template3::get_meta() 2011-01-06 20:47:21 +00:00
Ralf Becker
26d4a5ef6c replace PHP5.3 deprecated ereg with preg_match 2010-11-27 09:41:16 +00:00
Ralf Becker
aa6b4adcc1 return default instead of referer containing "cd=yes", which causes a load of the framework inside the framework 2010-06-28 10:52:37 +00:00
Ralf Becker
907424a99b fixed deprecated comment in common::footer: user *echo* framework->footer() 2010-06-15 09:15:00 +00:00
Klaus Leithoff
b02ab88dcf change comment to egw_footer 2010-06-11 12:33:04 +00:00
Ralf Becker
e8c4786879 using framework->template_dir, instead of hardcoded phpgwapi based one 2010-06-02 21:36:16 +00:00
Ralf Becker
0150726c4b using framework->template_dir, instead of hardcoded phpgwapi based one 2010-06-02 21:28:51 +00:00
Ralf Becker
3a15cdcd6e Finding of templates and their themes, if they are packaged in dirs as
apps
2010-06-02 10:59:58 +00:00
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