diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index 8ce290d3a6..b03d199630 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -4278,7 +4278,11 @@ ul.holder li.bit-box{ padding-top: 2em; padding-bottom: 2em; } -#multiple-add-session .control-course{ +.code-course{ + padding-left: 10px; + padding-right: 10px; +} +.control-course{ text-align: center; } .data_table tr td .form-control{ diff --git a/main/admin/dashboard_add_courses_to_user.php b/main/admin/dashboard_add_courses_to_user.php index a67e566915..27e90f3689 100755 --- a/main/admin/dashboard_add_courses_to_user.php +++ b/main/admin/dashboard_add_courses_to_user.php @@ -170,13 +170,13 @@ if (isset($_POST['formSent']) && intval($_POST['formSent']) == 1) { Display::display_header($tool_name); // actions -echo '
- -'.Display::return_icon('add_user_big.gif', get_lang('AssignUsers'), array('style'=>'vertical-align:middle')).' '.get_lang('AssignUsers').' -'.Display::return_icon('view_more_stats.gif', get_lang('AssignSessions'), array('style'=>'vertical-align:middle')).' '.get_lang('AssignSessions').' -
'; -echo Display::page_header(sprintf(get_lang('AssignCoursesToX'), api_get_person_name($user_info['firstname'], $user_info['lastname']))); +$actionsLeft = ''.Display::return_icon('add-user.png', get_lang('AssignUsers'), null, ICON_SIZE_MEDIUM).''; +$actionsLeft .= ''.Display::return_icon('session-add.png', get_lang('AssignSessions'), null, ICON_SIZE_MEDIUM).''; + +echo $html = Display::toolbarAction('toolbar-dashboard', array($actionsLeft)); + +echo Display::page_header(sprintf(get_lang('AssignCoursesToX'), api_get_person_name($user_info['firstname'], $user_info['lastname'])), null, 'h3'); $assigned_courses_to_hrm = CourseManager::get_courses_followed_by_drh($user_id); $assigned_courses_code = array_keys($assigned_courses_to_hrm); @@ -218,23 +218,57 @@ $result = Database::query($sql); ?>
- + - - - - - - - - - - - - - - - - - - - - - - -
 
:  - +
+
:
+ +
+ +
+ +
+
+
+ +

:

+ + +
+
+
+ +
+
+ +
+
+ '.$tool_name.''; ?> +
+
+ + + +
+
+
- :
- : - - 
-
-
-
- -

- -





- '.$tool_name.''; - ?> -
-
+ ?>: + + + +
'; + if ($user_info['status'] != SESSIONADMIN) { - echo ' - '.Display::return_icon('add_user_big.gif', get_lang('AssignUsers'), array('style'=>'vertical-align:middle')).' '.get_lang('AssignUsers').' - '.Display::return_icon('course_add.gif', get_lang('AssignCourses'), array('style'=>'vertical-align:middle')).' '.get_lang('AssignCourses').' - '; + $actionsLeft = '' . Display::return_icon('add-user.png', get_lang('AssignUsers'), null, ICON_SIZE_MEDIUM ) . ''; + $actionsLeft .= '' . Display::return_icon('course-add.png', get_lang('AssignCourses'), null, ICON_SIZE_MEDIUM) . ''; } -echo ''; -echo Display::page_header(sprintf(get_lang('AssignSessionsToX'), api_get_person_name($user_info['firstname'], $user_info['lastname']))); + + +echo Display::toolbarAction('toolbar-dashboard', array( 0 => $actionsLeft, 1 => '')); + +echo Display::page_header(sprintf(get_lang('AssignSessionsToX'), api_get_person_name($user_info['firstname'], $user_info['lastname'])), null, 'h3'); $assigned_sessions_to_hrm = SessionManager::get_sessions_followed_by_drh($user_id); $assigned_sessions_id = array_keys($assigned_sessions_to_hrm); @@ -206,84 +207,79 @@ $result = Database::query($sql); ?>
> - - - - - - - - - - - - - - - - - - - - - - -
 
:  - + +
+
+
:
+ +
+
- : - -  
-
-
-
- " > + + + + + + +
+
+ +

:

+ + +
+
+ - +
+ +
- -

-
+
+ +
+ -





+ '.$tool_name.''; + echo ''; ?> -
- -
+ + + +
- -
- -
- -
-
- - - - +
@@ -443,22 +427,41 @@ if(!empty($msg)) {
+
+ +

+ + +
+
- +
+ +
- -

-
+
+ + +
+ - + '.$tool_name.''; ?> +
+
image/svg+xml - + @@ -42,8 +42,8 @@ id="namedview114" showgrid="false" inkscape:zoom="2.6074563" - inkscape:cx="171.65395" - inkscape:cy="42.817392" + inkscape:cx="75.199793" + inkscape:cy="41.28333" inkscape:window-x="0" inkscape:window-y="0" inkscape:window-maximized="1" @@ -154,23 +154,6 @@ offset="1" style="stop-color:#001c36;stop-opacity:1" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + transform="matrix(1.2744868,0,0,1.2744868,-74.589703,-414.89768)" + id="layer1-8" + inkscape:label="Layer 1" + inkscape:export-filename="/var/www/chamilo/main/img/icons/32/course-add.png" + inkscape:export-xdpi="22.5" + inkscape:export-ydpi="22.5"> + + +