]> git.mjollnir.org Git - moodle.git/commitdiff
FIxed for duplicate icons MDL-6811
authormoodler <moodler>
Wed, 4 Oct 2006 04:37:40 +0000 (04:37 +0000)
committermoodler <moodler>
Wed, 4 Oct 2006 04:37:40 +0000 (04:37 +0000)
course/category.php

index 6c91af525f8746f533e106a429dd938dc96fa804..86f5abd46eda75c570149598d2334344921e25b4 100644 (file)
 
         foreach ($courses as $acourse) {
           
-              $context = get_context_instance(CONTEXT_COURSE, $acourse->id);
+            $context = get_context_instance(CONTEXT_COURSE, $acourse->id);
           
             $count++;
             $up = ($count > 1 || !$atfirstpage);
                                  '<img src="'.$CFG->pixpath.'/t/restore.gif" height="11" width="11" border="0" alt="" /></a> ';
                     }
 
-                    echo '<a title="'.$strbackup.'" href="../backup/backup.php?id='.$acourse->id.'">'.
-                         '<img src="'.$CFG->pixpath.'/t/backup.gif" height="11" width="11" border="0" alt="'.$strbackup.'" /></a> ';
-
-                    echo '<a title="'.$strrestore.'" href="../files/index.php?id='.$acourse->id.
-                         '&amp;wdir=/backupdata">'.
-                         '<img src="'.$CFG->pixpath.'/t/restore.gif" height="11" width="11" border="0" alt="'.$strrestore.'" /></a> ';
-
                     if ($up) {
                         echo '<a title="'.$strmoveup.'" href="category.php?id='.$category->id.'&amp;page='.$page.
                              '&amp;perpage='.$perpage.'&amp;moveup='.$acourse->id.'&amp;sesskey='.$USER->sesskey.'">'.