diff -Naur --exclude=filestorage --exclude=config.inc.php --exclude=install --exclude=install.bak --exclude=log bh21z/administrator/index.php htdocs.patch/administrator/index.php
--- bh21z/administrator/index.php 2009-07-22 23:55:12.000000000 -0500
+++ htdocs.patch/administrator/index.php 2009-10-07 14:04:32.000000000 -0500
@@ -95,4 +95,4 @@
# The End.
-?>
\ No newline at end of file
+?>
diff -Naur --exclude=filestorage --exclude=config.inc.php --exclude=install --exclude=install.bak --exclude=log bh21z/administrator/layout/filelinks.inc.php htdocs.patch/administrator/layout/filelinks.inc.php
--- bh21z/administrator/layout/filelinks.inc.php 2009-07-22 23:55:12.000000000 -0500
+++ htdocs.patch/administrator/layout/filelinks.inc.php 2009-10-07 14:04:32.000000000 -0500
@@ -32,7 +32,7 @@
foreach ($codearray as $filecode=>$filearray) {
$filepath = $filearray['filepath'];
$expiresin = $filearray['expires']-time();
- $filelink = bh_folderdz_uri($filecode);
+ $filelink = bh_filelink_uri($filecode);
$str .= "
| | $email | $filepath | ".bh_humanise_time($expiresin)." | ".$bhlang['button:link']." ".$bhlang['button:delete']." |
";
}
}
@@ -54,4 +54,4 @@
";
-?>
\ No newline at end of file
+?>
diff -Naur --exclude=filestorage --exclude=config.inc.php --exclude=install --exclude=install.bak --exclude=log bh21z/administrator/layout/folderDZ.inc.php htdocs.patch/administrator/layout/folderDZ.inc.php
--- bh21z/administrator/layout/folderDZ.inc.php 2009-07-22 23:55:12.000000000 -0500
+++ htdocs.patch/administrator/layout/folderDZ.inc.php 2009-10-07 14:04:32.000000000 -0500
@@ -33,7 +33,7 @@
$filepath = $filearray['filepath'];
$expiresin = $filearray['expires']-time();
$filelink = bh_folderdz_uri($filecode);
- $str .= "| | $email | $filepath | ".bh_humanise_time($expiresin)." | ".$bhlang['button:link']." ".$bhlang['button:delete']." |
";
+ $str .= "| | $email | $filepath | ".bh_humanise_time($expiresin)." | ".$bhlang['button:link']." ".$bhlang['button:delete']." |
";
}
}
@@ -54,4 +54,4 @@
";
-?>
\ No newline at end of file
+?>
diff -Naur --exclude=filestorage --exclude=config.inc.php --exclude=install --exclude=install.bak --exclude=log bh21z/administrator/layout/main.inc.php htdocs.patch/administrator/layout/main.inc.php
--- bh21z/administrator/layout/main.inc.php 2009-07-22 23:55:12.000000000 -0500
+++ htdocs.patch/administrator/layout/main.inc.php 2009-10-07 14:04:32.000000000 -0500
@@ -203,4 +203,4 @@
}
}
-}
\ No newline at end of file
+}
diff -Naur --exclude=filestorage --exclude=config.inc.php --exclude=install --exclude=install.bak --exclude=log bh21z/administrator/modules/adduser.inc.php htdocs.patch/administrator/modules/adduser.inc.php
--- bh21z/administrator/modules/adduser.inc.php 2009-07-22 23:55:12.000000000 -0500
+++ htdocs.patch/administrator/modules/adduser.inc.php 2009-10-07 14:04:32.000000000 -0500
@@ -93,7 +93,7 @@
$groups = explode(",", $signup['groups']);
foreach ($groups as $group) {
$group = trim($group);
- insert_bhdb("groups", array("username"=>$signup['username'], "group"=>$group, "status"=>"1"));
+ insert_bhdb("groupusers", array("username"=>$signup['username'], "group"=>$group, "status"=>"1"));
}
}
@@ -109,4 +109,4 @@
$layout->title = $bhlang['title:add_user'];
$layout->display();
-}
\ No newline at end of file
+}
diff -Naur --exclude=filestorage --exclude=config.inc.php --exclude=install --exclude=install.bak --exclude=log bh21z/filelink.php htdocs.patch/filelink.php
--- bh21z/filelink.php 2009-07-22 23:32:57.000000000 -0500
+++ htdocs.patch/filelink.php 2009-10-07 14:04:31.000000000 -0500
@@ -109,9 +109,9 @@
else { $dstr = $fullname." [".$emailfrom."]"; }
# Display a page with information
- $str = "".$bhlang['title:file_download']."
- ".$bhlang['title:file_download']."
| ".$bhlang['label:from']." | ".$dstr." |
| ".$bhlang['label:filename']." | ".$filename." |
| ".$bhlang['label:filesize']." | ".bh_humanise_filesize($fileobj->fileinfo['filesize'])." |
| ".$bhlang['label:md5']." | ".$fileobj->md5()." |
".$bhlang['explain:filelink_download']."
".bh_parse_logvars($bhlang['button:download_file'])."