[svn r20048] Fixed bug in course description whereby edition of various items was unstable (by jhp1411)

skala
Yannick Warnier 16 years ago
parent 44cca91dae
commit 74dbece22a
  1. 31
      main/course_description/index.php

@ -1,28 +1,5 @@
<?php // $Id: index.php 20024 2009-04-23 16:52:51Z aportugal $
/*
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004 Dokeos SPRL
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) Bart Mollet, Hogeschool Gent
For a full list of contributors, see "credits.txt".
The full license can be read in "license.txt".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See the GNU General Public License for more details.
Contact address: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium
Mail: info@dokeos.com
==============================================================================
*/
<?php // $Id: index.php 20048 2009-04-23 23:13:33Z yannoo $
/* For licensing terms, see /dokeos_license.txt */
/**
==============================================================================
* This script edits the course description.
@ -313,8 +290,8 @@ if ($show_description_list) {
echo '</a> ';
//edit
echo '<a href="'.api_get_self().'?action=edit&amp;description_id='.$description->id.'">';
echo Display::return_icon('edit.gif', get_lang('Edit'), array('style' => 'vertical-align:middle;float:right;'));
echo '<a href="'.api_get_self().'?'.api_get_cidreq().'&amp;description_id='.$description->id.'">';
echo Display::return_icon('edit.gif', get_lang('Edit'), array('style' => 'vertical-align:middle;float:right; padding-right:4px;'));
echo '</a> ';
}
echo $description->title;

Loading…
Cancel
Save