From 63d3e2789bc2d8d3eccd51932c2de377c58f34c9 Mon Sep 17 00:00:00 2001 From: aragonc Date: Fri, 27 Mar 2015 18:52:11 -0500 Subject: [PATCH] fix button admin --- main/admin/access_url_edit_courses_to_url.php | 16 +++++++++----- .../access_url_edit_usergroup_to_url.php | 12 +++++++--- main/admin/access_url_edit_users_to_url.php | 13 ++++++++--- main/admin/add_courses_to_usergroup.php | 14 ++++++++---- main/admin/add_many_session_to_category.php | 10 ++++++--- main/admin/add_sessions_to_promotion.php | 14 ++++++++---- main/admin/add_sessions_to_usergroup.php | 14 ++++++++---- main/admin/add_users_to_usergroup.php | 2 +- main/admin/dashboard_add_courses_to_user.php | 10 ++++++--- main/admin/dashboard_add_sessions_to_user.php | 14 ++++++++---- main/admin/event_type.php | 22 +++++++++---------- main/admin/session_course_user.php | 10 ++++++--- main/inc/lib/AnnouncementManager.php | 8 +++---- main/social/group_invitation.php | 8 +++---- main/user/add_users_to_session.php | 12 ++++++---- 15 files changed, 119 insertions(+), 60 deletions(-) diff --git a/main/admin/access_url_edit_courses_to_url.php b/main/admin/access_url_edit_courses_to_url.php index 9f0ffc0c69..cd6d2ff61b 100755 --- a/main/admin/access_url_edit_courses_to_url.php +++ b/main/admin/access_url_edit_courses_to_url.php @@ -224,13 +224,19 @@ $url_list = UrlManager::get_url_data(); - + - +

- + @@ -254,9 +260,9 @@ $url_list = UrlManager::get_url_data();
'.get_lang('AddCoursesToURL').''; + echo ''; else - echo ''; + echo ''; ?> diff --git a/main/admin/access_url_edit_usergroup_to_url.php b/main/admin/access_url_edit_usergroup_to_url.php index 9dc2dc2f77..93f4622215 100755 --- a/main/admin/access_url_edit_usergroup_to_url.php +++ b/main/admin/access_url_edit_usergroup_to_url.php @@ -218,13 +218,19 @@ if (!empty($errorMsg)) { - + - +

- + diff --git a/main/admin/access_url_edit_users_to_url.php b/main/admin/access_url_edit_users_to_url.php index 8ed43baaad..a199d4c59d 100755 --- a/main/admin/access_url_edit_users_to_url.php +++ b/main/admin/access_url_edit_users_to_url.php @@ -272,11 +272,18 @@ if (!empty($errorMsg)) { - + - +

- +





diff --git a/main/admin/add_courses_to_usergroup.php b/main/admin/add_courses_to_usergroup.php index f5bf4d13fb..2778dc56c0 100755 --- a/main/admin/add_courses_to_usergroup.php +++ b/main/admin/add_courses_to_usergroup.php @@ -271,13 +271,19 @@ if (!empty($errorMsg)) { - + - +

- + @@ -294,7 +300,7 @@ if (!empty($errorMsg)) {
'.get_lang('SubscribeClassToCourses').''; + echo ''; ?> diff --git a/main/admin/add_many_session_to_category.php b/main/admin/add_many_session_to_category.php index 95f6879d61..adc47ec6b1 100755 --- a/main/admin/add_many_session_to_category.php +++ b/main/admin/add_many_session_to_category.php @@ -230,12 +230,16 @@ if(!empty($OkMsg)) { - +

- +





'.get_lang('SubscribeSessionsToCategory').''; + echo ''; ?> diff --git a/main/admin/add_sessions_to_promotion.php b/main/admin/add_sessions_to_promotion.php index d5ff7a8bfe..884da89011 100755 --- a/main/admin/add_sessions_to_promotion.php +++ b/main/admin/add_sessions_to_promotion.php @@ -231,13 +231,19 @@ if (!empty($errorMsg)) { - + - +

- + @@ -260,7 +266,7 @@ if (!empty($errorMsg)) {
'.get_lang('SubscribeSessionsToPromotion').''; + echo ''; ?> diff --git a/main/admin/add_sessions_to_usergroup.php b/main/admin/add_sessions_to_usergroup.php index 2019aa0e54..d814845e16 100755 --- a/main/admin/add_sessions_to_usergroup.php +++ b/main/admin/add_sessions_to_usergroup.php @@ -276,13 +276,19 @@ if(!empty($errorMsg)) { - + - +

- + @@ -299,7 +305,7 @@ if(!empty($errorMsg)) {
'.get_lang('SubscribeClassToSessions').''; + echo ''; ?> diff --git a/main/admin/add_users_to_usergroup.php b/main/admin/add_users_to_usergroup.php index be58bf505a..b337a2ed31 100755 --- a/main/admin/add_users_to_usergroup.php +++ b/main/admin/add_users_to_usergroup.php @@ -431,7 +431,7 @@ if (!empty($errorMsg)) { '. + echo ''; ?> diff --git a/main/admin/dashboard_add_courses_to_user.php b/main/admin/dashboard_add_courses_to_user.php index 9b0d76bf51..db4fbde051 100755 --- a/main/admin/dashboard_add_courses_to_user.php +++ b/main/admin/dashboard_add_courses_to_user.php @@ -265,12 +265,16 @@ if(!empty($msg)) { - +

- +





'.$tool_name.''; + echo ''; ?> diff --git a/main/admin/dashboard_add_sessions_to_user.php b/main/admin/dashboard_add_sessions_to_user.php index 1f921c68b9..9d7c0234bb 100755 --- a/main/admin/dashboard_add_sessions_to_user.php +++ b/main/admin/dashboard_add_sessions_to_user.php @@ -263,21 +263,27 @@ $result = Database::query($sql); - + - +

- +





'.$tool_name.''; + echo ''; ?> diff --git a/main/admin/event_type.php b/main/admin/event_type.php index da4721cc8e..0674597575 100755 --- a/main/admin/event_type.php +++ b/main/admin/event_type.php @@ -306,9 +306,9 @@ echo Display::actions($action_array);
-
+

- $config) { echo ''; @@ -317,21 +317,21 @@ echo Display::actions($action_array);
-
+

-
+
- +

- +
-
+

- +
@@ -362,7 +362,7 @@ echo Display::actions($action_array); - +

@@ -375,7 +375,7 @@ echo Display::actions($action_array);
- @@ -384,7 +384,7 @@ echo Display::actions($action_array);


- + - +

- +





'.get_lang('EditSessionCourses').''; + echo ''; ?>
- diff --git a/main/user/add_users_to_session.php b/main/user/add_users_to_session.php index 9125d68c3d..e511cee49b 100755 --- a/main/user/add_users_to_session.php +++ b/main/user/add_users_to_session.php @@ -515,13 +515,17 @@ if($_configuration['allow_tutors_to_assign_students_to_session'] == 'true') { - + - +

- + '.get_lang('FinishSessionCreation').''; + echo ''; } else { //@todo see that the call to "valide()" doesn't duplicate the onsubmit of the form (necessary to avoid delete on "enter" key pressed) echo '';