replace ampersand separators with SEP
authorGreg Gay <info@atutor.ca>
Tue, 24 Aug 2010 20:04:35 +0000 (20:04 -0000)
committerGreg Gay <info@atutor.ca>
Tue, 24 Aug 2010 20:04:35 +0000 (20:04 -0000)
docs/include/sidemenus/my_courses.inc.php

index 1a0da5a..cdbe622 100644 (file)
@@ -50,12 +50,12 @@ if (!is_array($my_courses)) {
                }
                $output .= '    <a href="'. TR_BASE_HREF.'home/course/index.php?_course_id='. $row['course_id'].'"'.(($_course_id == $row['course_id']) ? ' class="selected-sidemenu"' : '').'>'.$row['title'].'</a>'."\n";
                if ($row['role'] == TR_USERROLE_VIEWER) {
-                       $output .= '    <a href="'. TR_BASE_HREF.'home/'. $caller_url.'action=remove&cid='. $row['course_id'].'">'."\n";
+                       $output .= '    <a href="'. TR_BASE_HREF.'home/'. $caller_url.'action=remove'.SEP.'cid='. $row['course_id'].'">'."\n";
             $output .= '      <img src="'. TR_BASE_HREF.'themes/'. $_SESSION['prefs']['PREF_THEME'].'/images/bookmark_remove.png" alt="'. htmlspecialchars(_AT('remove_from_list')).'" title="'. htmlspecialchars(_AT('remove_from_list')).'" border="0" />'."\n";
                        $output .= '    </a>'."\n";
                } 
                if ($row['role'] == NULL && $_SESSION['user_id']>0) {
-                       $output .= '    <a href="'. TR_BASE_HREF.'home/'. $caller_url.'action=add&cid='. $row['course_id'].'">'."\n";
+                       $output .= '    <a href="'. TR_BASE_HREF.'home/'. $caller_url.'action=add'.SEP.'cid='. $row['course_id'].'">'."\n";
                        $output .= '      <img src="'. TR_BASE_HREF.'themes/'. $_SESSION['prefs']['PREF_THEME'].'/images/bookmark_add.png" alt="'. htmlspecialchars(_AT('add_into_list')).'" title="'. htmlspecialchars(_AT('add_into_list')).'" border="0" />'."\n";
                        $output .= '    </a>'."\n";
                }