mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:49:10 +01:00
Update to accounts->membership (), a few tiny changes
This commit is contained in:
parent
89fbd4e755
commit
e8bf8cbf0c
@ -9,8 +9,9 @@ function html_form_begin ($action, $method = "post", $enctype = NULL, $string =
|
||||
$action = $sep . $action;
|
||||
$action = html_link ($action, NULL, 1, 0, 1);
|
||||
|
||||
if ($method != NULL && $method)
|
||||
$method = "method=$method";
|
||||
if ($method == NULL)
|
||||
$method = "post";
|
||||
$method = "method=$method";
|
||||
if ($enctype != NULL && $enctype)
|
||||
$enctype = "enctype=$enctype";
|
||||
$rstring = "<form action=$action $method $enctype $string>";
|
||||
|
@ -215,7 +215,7 @@ $help_info = array
|
||||
array ("file_stats", "Various statistics on the number and size of the files in the current directory. In some situations, these reflect different statistics. For example, when in / and the base directory."),
|
||||
array ("upload_file", "The full path of the local file to upload. You can type it in or use the Browse.. button to select it. The file will be uploaded to the current directory."),
|
||||
array ("upload_comment", "The inital comment to use for the newly uploaded file. Totally optional and completely arbitrary."),
|
||||
array ("update", "Sync the database with the filesystem for the current directory. This is useful if you use another interface to access the same files. Any new files or directories in the current directory will be read in, and the attributes for the other files will be updated to reflect any changes to the filesystem. Update is run automatically every few page loads (currently every 20 page load as of this writing, but that may have changed by now)."),
|
||||
array ("update", "Sync the database with the filesystem for the current directory. This is useful if you use another interface to access the same files. Any new files or directories in the current directory will be read in, and the attributes for the other files will be updated to reflect any changes to the filesystem. Update is run automatically every few page loads (currently every 20 page loads as of this writing, but that may have changed by now)."),
|
||||
array ("upload_files", "This will upload the files listed in the input boxes above, and stored them in the current directory."),
|
||||
);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
if ($download || $op == "view" || $op == "history" || $op == help)
|
||||
if ($noheader || $download || $op == "view" || $op == "history" || $op == help)
|
||||
{
|
||||
$noheader = True;
|
||||
}
|
||||
@ -105,7 +105,7 @@ if ($phpwh_debug)
|
||||
# Get their memberships to be used throughout the script
|
||||
###
|
||||
|
||||
$memberships = $phpgw->accounts->memberships ($userinfo["username"]);
|
||||
$memberships = $phpgw->accounts->membership ($userinfo["username"]);
|
||||
|
||||
while (list ($num, $group_array) = each ($memberships))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user