Permalink
Browse files

Added course type "workshop"

  • Loading branch information...
1 parent 8587533 commit 915d4805013bed577e626685c29e7899bb3120eb @gregorczyk gregorczyk committed Mar 13, 2012
View
7 itm_courses/blocks/itm_course/common_edit.php
@@ -61,7 +61,12 @@
</div>
<div>
<label for="type3">
- <?= $form->radio('type', '2', $type) ?> <?= t('Practical Course') ?>
+ <?= $form->radio('type', '2', $type) ?> <?= t('Workshop') ?>
+ </label>
+ </div>
+ <div>
+ <label for="type4">
+ <?= $form->radio('type', '3', $type) ?> <?= t('Practical Course') ?>
</label>
</div>
</td>
View
4 itm_courses/blocks/itm_course/view.php
@@ -10,6 +10,10 @@
$typePlain = t('Seminar');
break;
+ case 2 :
+ $typePlain = t('Workshop');
+ break;
+
default :
$typePlain = t('Practical Course');
break;
View
2 itm_courses/blocks/itm_semester/view.php
@@ -11,7 +11,7 @@
$ch = Loader::helper('itm_courses', 'itm_courses');
$groupTitle = t($ch->getCourseGroupByHandle($groupName)->name);
-$typeMapping = array(t('Course'), t('Seminar'), t('Practical Course'));
+$typeMapping = array(t('Course'), t('Seminar'), t('Workshop'), t('Practical Course'));
echo '<h2>' . $groupTitle . '</h2>';

0 comments on commit 915d480

Please sign in to comment.