diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css
index 8838737cd8..17cf77267e 100644
--- a/app/Resources/public/css/base.css
+++ b/app/Resources/public/css/base.css
@@ -5840,12 +5840,14 @@ footer{
bottom: 0;
left: 0px;
margin-bottom: 0px;
- padding-top: 20px;
- padding-bottom: 10px;
+ padding: 10px 20px;
border-top: 1px solid #DCE4EC;
background: #ffffff;
width: 100%;
}
+.bottom_actions_fixed .btn-primary{
+ font-size: 12px;
+}
#toolshortcuts_horizontal{
padding-top: 15px;
padding-bottom: 15px;
@@ -6205,6 +6207,9 @@ a.panel-image{
#resource_tab #subtab #ul_subtab li a{
padding: 10px 15px;
}
+.feeback-form .form-group .form-control{
+ width: 100%;
+}
/* CSS NEW TOP ******************************************************************************/
/* CSS Responsive */
@media (min-width: 1025px) and (max-width: 1200px) {
diff --git a/main/admin/settings.lib.php b/main/admin/settings.lib.php
index 222cef6642..95f69c0322 100755
--- a/main/admin/settings.lib.php
+++ b/main/admin/settings.lib.php
@@ -240,8 +240,9 @@ function handlePlugins()
echo '';
echo '
';
- echo '';
+ echo '';
echo '
';
echo '';
}
diff --git a/main/dropbox/dropbox_functions.inc.php b/main/dropbox/dropbox_functions.inc.php
index 1a1b8a9666..73a1648af5 100755
--- a/main/dropbox/dropbox_functions.inc.php
+++ b/main/dropbox/dropbox_functions.inc.php
@@ -1099,13 +1099,13 @@ function store_add_dropbox($file = [], $work = null)
* @author Patrick Cool , Ghent University
* @version march 2006
*/
-function feedback($array)
+function feedback($array, $url)
{
$output = null;
foreach ($array as $value) {
$output .= format_feedback($value);
}
- $output .= feedback_form();
+ $output .= feedback_form($url);
return $output;
}
@@ -1134,16 +1134,26 @@ function format_feedback($feedback)
* @author Patrick Cool , Ghent University
* @version march 2006
*/
-function feedback_form()
+function feedback_form($url)
{
- $return = get_lang('AddNewFeedback').'
';
+ $return = '';
+ $return .= '';
+ $return .= '';
} else {
$return .= get_lang('AllUsersHaveDeletedTheFileAndWillNotSeeFeedback');
}
diff --git a/main/dropbox/index.php b/main/dropbox/index.php
index f08b249a2b..fcb1d47b7d 100755
--- a/main/dropbox/index.php
+++ b/main/dropbox/index.php
@@ -627,10 +627,11 @@ if ($action != 'add') {
// This is a hack to have an additional row in a sortable table
if ($action == 'viewfeedback' && isset($_GET['id']) && is_numeric($_GET['id']) && $dropbox_file->id == $_GET['id']) {
$action_icons .= "\n"; // ending the normal row of the sortable table
- $action_icons .= "";
- $action_icons .= "".
- get_lang('CloseFeedback')."";
- $action_icons .= " | ".feedback($dropbox_file->feedback2)." |
";
+ $action_icons .= "";
+ $url = api_get_path(WEB_CODE_PATH)."dropbox/index.php?".api_get_cidreq()."&view_received_category=".$viewReceivedCategory."&view_sent_category=".$viewSentCategory."&view=".$view.'&'.$sort_params;
+ $action_icons .= feedback($dropbox_file->feedback2, $url);
+ //$action_icons .= "";
+ $action_icons .= " |
";
}
$dropbox_file_data[] = $action_icons;
$dropbox_file_data[] = $lastUploadDate;