From cf6aa35ef03b91c9e88e069679fd373f13793b34 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 14 Oct 2009 13:14:17 -0500 Subject: [PATCH] Minor - changing action menu position --- main/coursecopy/copy_course_session.php | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/main/coursecopy/copy_course_session.php b/main/coursecopy/copy_course_session.php index 3223937aac..788c923eb0 100644 --- a/main/coursecopy/copy_course_session.php +++ b/main/coursecopy/copy_course_session.php @@ -27,14 +27,12 @@ $xajax = new xajax(); $xajax -> registerFunction('search_courses'); -if (!api_is_allowed_to_edit()) -{ +if (!api_is_allowed_to_edit()) { api_not_allowed(true); } //remove memory and time limits as much as possible as this might be a long process... -if(function_exists('ini_set')) -{ +if(function_exists('ini_set')) { ini_set('memory_limit','256M'); ini_set('max_execution_time',1800); } @@ -87,6 +85,13 @@ function display_form() { $html = ''; $sessions = SessionManager::get_sessions_list(); + // actions + $html .= '
'; + // link back to the documents overview + $html .= ''.Display::return_icon('back.png',get_lang('Back').' '.get_lang('To').' '.get_lang('PlatformAdmin'),array('style'=>'vertical-align:middle')).get_lang('Back').' '.get_lang('To').' '.get_lang('PlatformAdmin').''; + $html .= '
'; + + $html .= '
'; $html .= ''; @@ -112,11 +117,7 @@ function display_form() { $html .= '

'; $html .= ''; - // actions - $html .= ''; + $html .= '
'; @@ -407,4 +408,4 @@ if ((isset ($_POST['action']) && $_POST['action'] == 'course_select_form') || (i /* FOOTER */ -Display::display_footer(); \ No newline at end of file +Display::display_footer();