[svn r21044] space managment

form title
actions bar
skala
Patrick Cool 16 years ago
parent cc3cf64ab6
commit edb71733b6
  1. 9
      main/group/group_category.php
  2. 3
      main/group/group_edit.php

@ -1,5 +1,5 @@
<?php
// $Id: group_category.php 20293 2009-05-04 19:28:21Z iflorespaz $
// $Id: group_category.php 21044 2009-05-28 14:45:04Z pcool $
/*
==============================================================================
Dokeos - elearning and course management software
@ -96,6 +96,7 @@ if (isset ($_GET['id']))
// Update settings of existing category
$action = 'update_settings';
$form = new FormValidator('group_category', 'post', '?id='.$category['id']);
$form->addElement('header','',$nameTools);
$form->addElement('hidden', 'id');
}
else
@ -220,6 +221,12 @@ if ($form->validate())
}
// Else display the form
Display :: display_header($nameTools, "Group");
// actions bar
echo '<div class="actions">';
echo '<a href="group.php">'.Display::return_icon('back.png').' '.get_lang('BackTo').' '.strtolower(get_lang('GroupOverview')).'</a>';
echo '</div>';
$defaults = $category;
$defaults['action'] = $action;
if( $defaults['max_student'] == MEMBER_PER_GROUP_NO_LIMIT)

@ -313,8 +313,7 @@ Display :: display_header($nameTools, "Group");
<div class="actions">
<a href="group_space.php"><?php echo Display::return_icon('back.png').get_lang('Back').' '.get_lang('To').' '.get_lang('GroupSpace') ?></a>
</div>
<br/>
<br/>
<?php
if (isset($_GET['show_message'])) {

Loading…
Cancel
Save