Skip to content

Commit

Permalink
Show site name at top when selecting courses.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethem committed Nov 3, 2006
1 parent 87753e7 commit 1ab5019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enrol/authorize/locallib.php
Expand Up @@ -54,7 +54,7 @@ function authorize_print_orders($courseid, $userid)
}
$sql .= "ORDER BY c.sortorder, c.fullname";
if ($popupcrs = get_records_sql_menu($sql)) {
$popupcrs[$SITE->id] = $SITE->fullname;
$popupcrs = array($SITE->id => $SITE->fullname) + $popupcrs;
echo "<table border='0' width='100%' cellspacing=0 cellpadding=3 class='generaltable generalbox'>";
echo "<tr>";
echo "<td width='5%'>$strs->status: </td><td width='10%'>";popup_form($baseurl.'&amp;course='.$courseid.'&amp;status=',$statusmenu,'statusmenu',$status,'','','',false);echo"</td>\n";
Expand Down

0 comments on commit 1ab5019

Please sign in to comment.