1.8 * @date 02/12/2007 * * From for showing element list */ if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden.'); /// It must be included from view.php in mod/tracker } $id = optional_param('id', 0, PARAM_INT); // Course Module ID, or $a = optional_param('a', 0, PARAM_INT); // course ID print_simple_box_start('center', '100%', '', '', 'generalbox', 'description'); ?>
:
id}\" />"; echo ""; $types = tracker_getelementtypes(); foreach($types as $type){ $elementtypesmenu[$type] = get_string($type, 'tracker'); } choose_from_menu($elementtypesmenu, 'type', ''); ?>
$element){ if (in_array($element->id, array_keys($used))){ unset($elements[$id]); } } /// make list foreach ($elements as $element){ ?>
description); echo '
'; echo ''; echo $element->name; echo ''; if ($element->hasoptions() && empty($element->options)){ echo ' ('.get_string('nooptions', 'tracker').')'; } ?>
course == $COURSE->id){ ?>