Commit Graph

14185 Commits

Author SHA1 Message Date
Ralf Becker
2a03d32d81 Automatic import labels into the content of an edited template via a
callback: ${app}_bo::labels(). They are set as $content['labels']
2009-05-14 17:45:00 +00:00
Ralf Becker
a94586bad4 New syntax (@@name) to access values absolute to the content array ofs
the request. Here's an example:
$content['my-label'] = $id ? 'Edit' : 'Add';
You can use it now in the template of an nextmatch row for the label:
@@my-label 
Saved the need to import these kind of data in the get_rows function
into the rows.
2009-05-14 17:42:48 +00:00
Ralf Becker
5d7b9133f1 using is_readable 2009-05-14 17:38:09 +00:00
Ralf Becker
e8b8d2859b "- opening popup centered
- using static egw::link()"
2009-05-14 17:11:17 +00:00
Ralf Becker
697b2b613c "fixed not saving option to show only the date (not year) of birthdays from contacts " 2009-05-14 11:09:55 +00:00
Ralf Becker
31cb95989e "allow static get_rows callbacks, eg. 'app_ui::get_rows':
- on php5.3+ they get directly called via a variable: $callback($query,$rows,$readonlys)
- on php < 5.3 we instancate the class, an call the method non-static: $obj->$method($query,$rows,$readonlys)
--> allows application code to be prepared for static callbacks
Note:
- we can not use call_user_func, as it does NOT support passing by reverence, which is required for $rows and $readonlys parameter
- static callbacks allow to NOT instanciate the class again for the callback (without current dirty methods like placing the object in $GLOBALS[$class])"
2009-05-14 10:22:13 +00:00
Ralf Becker
fe03b91b54 "- 5th option for select-cat: parent category
- adding category desciption (if available) as option title"
2009-05-14 08:02:56 +00:00
Ralf Becker
c133b4b106 "- docu update
- using public and private for class vars
- __construct()"
2009-05-14 07:59:51 +00:00
Ralf Becker
65e53bd1e8 "fixed wrong webdav.php urls, if no vfs_image_dir set" 2009-05-14 06:41:28 +00:00
Ralf Becker
b8cfd7f85d "allow to use same names for add() and edit() as returned by read_single() or return_array" 2009-05-13 21:21:46 +00:00
Klaus Leithoff
86f1dde06f configurable favicon, configurable vfs image store for images, logos, icons 2009-05-13 14:33:36 +00:00
Klaus Leithoff
cf5fe6a101 making sure the apps for ACL Management are sorted in Group-view 2009-05-13 13:52:54 +00:00
Ralf Becker
95168d28bb "method to access comments in schema definition" 2009-05-13 09:58:21 +00:00
Ralf Becker
51284255c1 Edit and set comment field for colums in eGW's schema files 2009-05-13 07:39:58 +00:00
Ralf Becker
6617bec9ef Creating an own column (fs_link) for symlinks, as fs_content is a BLOB
and therefore not aware of charsets
2009-05-12 07:21:57 +00:00
Ralf Becker
5b2da78e32 "ignore hidden files" 2009-05-11 20:58:53 +00:00
Ralf Becker
d27a63033c special handling for favorites 2009-05-11 20:48:09 +00:00
Ralf Becker
09c0854173 "$stat[url] contains the reloved symlink" 2009-05-11 20:45:29 +00:00
Ralf Becker
ff50938aa7 "special handling for favorites" 2009-05-11 20:43:18 +00:00
Ralf Becker
85def60ffa "option to ignore hidden files (name starts with a '.' or is 'Thumbs.db'),
default is now to ignore them"
2009-05-11 20:42:23 +00:00
Ralf Becker
4cd23bd2e4 "fixed filemanger bug: deleting a symlink to an directory, deletes not just the symlink but the whole directory" 2009-05-11 14:43:34 +00:00
Ralf Becker
1585a36fdf used&planned time or used,planned&replanned time incl. icons 2009-05-11 09:19:16 +00:00
Ralf Becker
7209eac430 calling translation class static and remove (unnecessary) extra utf-8 charset 2009-05-11 08:11:08 +00:00
Ralf Becker
fc141457cf added translated languages and visible charset to charset selection 2009-05-11 08:10:05 +00:00
Ralf Becker
25368c1ca3 many missing German translations 2009-05-11 08:08:06 +00:00
Ralf Becker
0220e3a99a - added filemanager icon to index
- named tabs in edit 'tabs'
2009-05-11 06:47:38 +00:00
Ralf Becker
21a85af3d6 "fix for bug #2072: usergroups invisible after last svn update" 2009-05-10 15:02:04 +00:00
Ralf Becker
4634465bb8 addressbook maintenance: set full name and file as in contacts of all
users
2009-05-09 07:58:16 +00:00
Ralf Becker
c84a6fd78a "- search($criterial,...) was removing critera with numerical key 0
- pending postgres bugfix (got no feedback from list)"
2009-05-09 07:57:25 +00:00
Ralf Becker
701fe5661b - icon linking to filemanager of entry
- configurable limit of height of describtion in list
2009-05-08 16:01:33 +00:00
Ralf Becker
e5ffe827f6 "extend readonly handling of button to images (images with a link have a similar function)
setting their name in $readonlys, removes the image completly"
2009-05-08 15:51:57 +00:00
Ralf Becker
4c6b076c97 filemanager runs now for projectmanager with PM's sidebox menu 2009-05-06 15:15:39 +00:00
Ralf Becker
9e202e10f6 "fix for bug #2070" 2009-05-06 10:13:43 +00:00
Ralf Becker
772c9e57e8 "docu update" 2009-05-06 09:11:37 +00:00
Ralf Becker
0d28eb4cea "egw_vfs::find() always use name as second sort criteria" 2009-05-06 09:00:36 +00:00
Ralf Becker
7ba0af7f28 "only add total automatically, if $only_keys === false or show_sums" 2009-05-06 08:12:51 +00:00
Ralf Becker
0923f55a9d "fixed messed up formatting" 2009-05-06 07:04:29 +00:00
Ralf Becker
065e1dde5a - two new parameters to search(): cols and append
- docu update
2009-05-05 12:49:15 +00:00
Ralf Becker
7bc380fab9 Moved filter labels to BO 2009-05-05 12:48:38 +00:00
Ralf Becker
272817b1c7 "added cols and append parameter from calendar_so::search to calendar_bo::search too" 2009-05-04 22:52:48 +00:00
Ralf Becker
2845873bae - docu update
- 2 new (optional) parameters for calendar_so::search()
2009-05-04 22:39:27 +00:00
Ralf Becker
6468dc8d77 "setting the value to 7, after reports on the user list, thought MySQL 5.0.51 with MyISAM engine works up to 10" 2009-05-04 16:47:21 +00:00
Ralf Becker
bc65324a7c new type F for egw_vfs::find to return only files or symlinks to files
--> dont show symlinks to dirs as attachements / link-widget
2009-05-04 16:37:10 +00:00
Ralf Becker
24bbec6df1 Adding a scrollbar to path in file select dialog, if it gets too long. 2009-05-03 20:45:34 +00:00
Ralf Becker
aef4125146 "- using an ordered list to get a count of dir entries
- caching the current path in session, for easier debugging"
2009-05-03 18:48:36 +00:00
Ralf Becker
5a22640c82 - changed return value of search() to NULL instead false, if nothing
found, as this can be simply casted with (array) to work in foreach
- documentation update
2009-05-03 18:36:38 +00:00
Ralf Becker
34e9825a91 "'class::method' is php5.2+, array('class','method') works in php5.1+ " 2009-05-02 16:45:38 +00:00
Ralf Becker
0cd2993504 "'class::method' as php5.2+, array('class','method') works in php5.1+ " 2009-05-02 16:12:20 +00:00
Ralf Becker
9e88b1ba9d "using lstat in find and check type 'd' directly against mode from lstat for better performance" 2009-05-02 14:15:31 +00:00
Ralf Becker
287131565f Fixed follow option in find():
- if base is a symlink to a dir, this one is listed anyway
- symlinks to dirs (beside the base) are only descended, if
  $options['follow'] is specified
- links are returned for type 'f'
--> removed follow option from find() in filemanager_ui::get_rows()
--> no more infinit symlink loops in filemanager GUI
2009-05-02 14:00:31 +00:00