Commit 5c6e98cd authored by François Jacquet's avatar François Jacquet
Browse files

Add line break before Submit button

parent cf7d1df4
......@@ -149,7 +149,7 @@ if(empty($_REQUEST['modfunc']))
// ListOutput($LO_ret,$LO_columns,'.','.',$link,array(),array('count'=>false,'download'=>false,'search'=>false));
ListOutput($LO_ret,$LO_columns,'.','.',$link,array(),$LO_options);
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
}
......
......@@ -235,7 +235,7 @@ else
ListOutput($stu_RET,$LO_columns,'Student','Students',false,array(),$LO_options);
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
function _makeRadio($value,$title)
......
......@@ -178,7 +178,7 @@ else
//modif Francois: add translation
ListOutput($events_RET,$LO_columns,$singular,$plural,array(),array(),$extra);
echo '<span class="center">'.SubmitButton(_('Save'),'submit[save]').'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save'),'submit[save]').'</span>';
echo '</FORM>';
}
......
......@@ -209,12 +209,14 @@ if(empty($_REQUEST['modfunc']))
$extra = array('save'=>false,'search'=>false,
'header'=>WrapTabs($tabs,'Modules.php?modname='.$_REQUEST['modname'].'&tab_id='.$_REQUEST['tab_id']));
if($_REQUEST['tab_id']!='new')
ListOutput($LO_ret,$LO_columns,$singular,$plural,$link,array(),$extra);
else
//modif Francois: add translation
ListOutput($LO_ret,$LO_columns,'Meal Item','Meal Items',$link,array(),$extra);
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
}
......
......@@ -168,7 +168,7 @@ if(empty($_REQUEST['modfunc']))
//modif Francois: add translation
ListOutput($LO_ret,$LO_columns,'Meal','Meals',$link,array(),$extra);
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
}
......
......@@ -150,7 +150,8 @@ if(UserStudentID() && empty($_REQUEST['modfunc']))
echo '</TR></TABLE>';
PopTable('footer');
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
}
?>
......@@ -151,7 +151,8 @@ if(UserStaffID() && empty($_REQUEST['modfunc']))
echo '</TR></TABLE>';
PopTable('footer');
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
}
?>
......@@ -716,9 +716,12 @@ if(count($categories_RET) && GetMP($_REQUEST['mp'],'DOES_COMMENTS')=='Y')
if($categories_RET[$_REQUEST['tab_id']][1]['COLOR'])
$LO_options['header_color'] = $categories_RET[$_REQUEST['tab_id']][1]['COLOR'];
}
echo '<BR />';
ListOutput($stu_RET,$LO_columns,'Student','Students',false,array(),$LO_options);
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
function _makeLetterPercent($student_id,$column)
......
......@@ -222,13 +222,14 @@ if(empty($_REQUEST['modfunc']))
$LO_options = array('save'=>false,'search'=>false,'header_color'=>$categories_RET[$_REQUEST['tab_id']][1]['COLOR'],
'header'=>WrapTabs($tabs,'Modules.php?modname='.$_REQUEST['modname'].'&subject_id='.$_REQUEST['subject_id'].'&course_id='.$_REQUEST['course_id'].'&tab_id='.$_REQUEST['tab_id']));
//ListOutput($LO_ret,$LO_columns,$singular,$plural,$link,array(),$LO_options);
if($_REQUEST['tab_id']=='new')
ListOutput($LO_ret,$LO_columns,'Category','Categories',$link,array(),$LO_options);
else
ListOutput($LO_ret,$LO_columns,'Comment','Comments',$link,array(),$LO_options);
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
}
......
......@@ -179,9 +179,10 @@ if(empty($_REQUEST['modfunc']))
$LO_options = array('search'=>false,
'header'=>WrapTabs($tabs,'Modules.php?modname='.$_REQUEST['modname'].'&tab_id='.$_REQUEST['tab_id']));
ListOutput($LO_ret,$LO_columns,$singular,$plural,$link,array(),$LO_options);
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
}
......
......@@ -198,7 +198,7 @@ else
PopTable('footer');
if(AllowEdit())
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
}
......
......@@ -393,7 +393,8 @@ if(UserStudentID() || $_REQUEST['student_id']=='new')
}
}
echo PopTable('footer');
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
}
elseif ($can_use_RET['Students/Student.php&category_id='.$_REQUEST['category_id']])
......
......@@ -414,7 +414,8 @@ if((UserStaffID() || $_REQUEST['staff_id']=='new') && $_REQUEST['modfunc']!='del
}
PopTable('footer');
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
}
?>
......@@ -68,7 +68,8 @@ if ($_REQUEST['modname'] == 'School_Setup/Configuration.php' && $RosarioPlugins[
echo '</TABLE></FIELDSET>';
PopTable('footer');
echo '<span class="center">'.SubmitButton(_('Save')).'</span>';
echo '<BR /><span class="center">'.SubmitButton(_('Save')).'</span>';
echo '</FORM>';
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment