Minor style changes

skala
Julio Montoya 14 years ago
parent 1bbe12a7d6
commit 35a1907e93
  1. 23
      main/admin/resume_session.php

@ -121,7 +121,7 @@ echo Display::page_header(Display::return_icon('session.png', get_lang('Session'
<!-- General properties --> <!-- General properties -->
<table class="data_table" width="100%"> <table class="data_table" width="100%">
<tr> <tr>
<th colspan="2"> <th align="center" colspan="2">
<?php echo get_lang('GeneralProperties'); ?> <?php echo get_lang('GeneralProperties'); ?>
<a href="session_edit.php?page=resume_session.php&id=<?php echo $id_session; ?>"> <a href="session_edit.php?page=resume_session.php&id=<?php echo $id_session; ?>">
<?php Display::display_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL); ?> <?php Display::display_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL); ?>
@ -208,9 +208,11 @@ if ($multiple_url_is_on) {
<!--List of courses --> <!--List of courses -->
<table class="data_table" width="100%"> <table class="data_table" width="100%">
<tr> <tr>
<th align="center" colspan="4"><?php echo get_lang('CourseList'); ?> <th align="center" colspan="4">
<a href="add_courses_to_session.php?page=resume_session.php&id_session=<?php echo $id_session; ?>"> <?php echo get_lang('CourseList'); ?>
<?php Display::display_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL); ?></a> <a href="add_courses_to_session.php?page=resume_session.php&id_session=<?php echo $id_session; ?>">
<?php Display::display_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL); ?>
</a>
</th> </th>
</tr> </tr>
<tr> <tr>
@ -233,7 +235,7 @@ if ($session['nbr_courses'] == 0){
ORDER BY title"; ORDER BY title";
$result=Database::query($sql); $result=Database::query($sql);
$courses=Database::store_result($result); $courses=Database::store_result($result);
foreach($courses as $course) { foreach ($courses as $course) {
//select the number of users //select the number of users
$sql = " SELECT count(*) FROM $tbl_session_rel_user sru, $tbl_session_rel_course_rel_user srcru $sql = " SELECT count(*) FROM $tbl_session_rel_user sru, $tbl_session_rel_course_rel_user srcru
@ -258,7 +260,6 @@ if ($session['nbr_courses'] == 0){
$coach = get_lang('None'); $coach = get_lang('None');
} }
if (count($coachs) > 0) { if (count($coachs) > 0) {
$coach = implode('<br />',$coachs); $coach = implode('<br />',$coachs);
} else { } else {
@ -288,13 +289,13 @@ if ($session['nbr_courses'] == 0){
<!--List of courses --> <!--List of courses -->
<table class="data_table" width="100%"> <table class="data_table" width="100%">
<tr> <tr>
<th colspan="4"><?php echo get_lang('UserList'); ?> <th align="center" colspan="4">
<a href="add_users_to_session.php?page=resume_session.php&id_session=<?php echo $id_session; ?>"> <?php echo get_lang('UserList'); ?>
<?php Display::display_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL); ?> <a href="add_users_to_session.php?page=resume_session.php&id_session=<?php echo $id_session; ?>">
</a></th> <?php Display::display_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL); ?>
</a>
</th> </th>
</tr> </tr>
</tr>
<?php <?php
if ($session['nbr_users']==0) { if ($session['nbr_users']==0) {

Loading…
Cancel
Save