subjects; if (!empty($subjects)) { if (is_string($subjects)) { $subjects = array($subjects); } $i = 0; foreach ($subjects as $key => $subject_id) { $subject = getSubject($subject_id); echo "wwwroot ."pg/waramu/subjects/". $subject_id ."\" title=\"{$subject->title}\">{$subject->title}"; if ($i < sizeof($subjects)) { echo "
"; } } } else { /*translation:No subjects selected.*/ echo ""; } ?>