diff --git a/root/portal/includes/functions_upload.php b/root/portal/includes/functions_upload.php index 14026952..e0eac582 100644 --- a/root/portal/includes/functions_upload.php +++ b/root/portal/includes/functions_upload.php @@ -73,6 +73,7 @@ class portal_upload { $this->directory_delete($mod_dir); } + $compress = new compress_zip('r', $file->destination_file); $compress->extract($mod_dir . '_tmp/'); $compress->close(); @@ -92,7 +93,7 @@ class portal_upload $this->directory_move($mod_dir . '_tmp/', $mod_dir); $new_mod_dir = $mod_dir; } - + $this->directory_delete($mod_dir . '_tmp/'); // make sure we set $mod_dir to the correct folder after the above step @@ -190,12 +191,12 @@ class portal_upload } private function directory_move($src, $dest) - { + { $src_contents = scandir($src); if (!is_dir($dest) && is_dir($src)) { - mkdir($dest . '/', octdec(0755)); + mkdir($dest . '/', 0755); } foreach ($src_contents as $src_entry) @@ -209,7 +210,7 @@ class portal_upload else if (is_file($src . '/' . $src_entry) && !is_file($dest . '/' . $src_entry)) { copy($src . '/' . $src_entry, $dest . '/' . $src_entry); - chmod($dest . '/' . $src_entry, octdec(0644)); + chmod($dest . '/' . $src_entry, 0644); } } } diff --git a/root/styles/subsilver2/template/portal/modules/main_menu_side.html b/root/styles/subsilver2/template/portal/modules/main_menu_side.html index 95a02caf..667dcdc5 100644 --- a/root/styles/subsilver2/template/portal/modules/main_menu_side.html +++ b/root/styles/subsilver2/template/portal/modules/main_menu_side.html @@ -10,7 +10,7 @@ - {portalmenu.links.LINK_TITLE} +  {portalmenu.links.LINK_TITLE} diff --git a/root/styles/subsilver2/template/portal/modules/user_menu_side.html b/root/styles/subsilver2/template/portal/modules/user_menu_side.html index c24e2716..9a1a776d 100644 --- a/root/styles/subsilver2/template/portal/modules/user_menu_side.html +++ b/root/styles/subsilver2/template/portal/modules/user_menu_side.html @@ -17,63 +17,63 @@ - {L_NEW_POSTS} +  {L_NEW_POSTS} - {L_UNREAD_POSTS} +  {L_UNREAD_POSTS} - {L_SELF_POSTS} +  {L_SELF_POSTS} - {L_UM_BOOKMARKS} +  {L_UM_BOOKMARKS} - {L_UM_MAIN_SUBSCRIBED} +  {L_UM_MAIN_SUBSCRIBED} - {PRIVATE_MESSAGE_INFO} +  {PRIVATE_MESSAGE_INFO} - {L_PROFILE} +  {L_PROFILE} - {L_MCP} +  {L_MCP} - {L_M_ACP}
+  {L_M_ACP}
- {L_LOGIN_LOGOUT} +  {L_LOGIN_LOGOUT} diff --git a/root/styles/subsilver2/template/portal/modules/whois_online_center.html b/root/styles/subsilver2/template/portal/modules/whois_online_center.html index 2f73ba70..c5f8f676 100644 --- a/root/styles/subsilver2/template/portal/modules/whois_online_center.html +++ b/root/styles/subsilver2/template/portal/modules/whois_online_center.html @@ -5,7 +5,7 @@ {L_WHO_IS_ONLINE} - {L_WHO_IS_ONLINE} + {L_WHO_IS_ONLINE} {TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})
{RECORD_USERS}

{LOGGED_IN_USER_LIST}