version 1.306, 2014/05/22 14:17:53
|
version 1.307, 2014/05/22 14:32:48
|
Line 1482 sub requestcourse_advice {
|
Line 1482 sub requestcourse_advice {
|
if (@reqdoms == 1 || @showtypes > 0) { |
if (@reqdoms == 1 || @showtypes > 0) { |
$requrl .= '&state=crstype&action=new'; |
$requrl .= '&state=crstype&action=new'; |
} |
} |
$r->print('<h3>'.&mt('Request creation of a course or community').'</h3>'. |
if ($output) { |
'<p>'.&mt('You have rights to request the creation of courses and/or communities in the following domain(s):').'<ul>'. |
$r->print('<h3>'.&mt('Request creation of a course or community').'</h3>'. |
$output. |
'<p>'. |
'</ul>'.&mt('Use the [_1]request form[_2] to submit a request for creation of a new course or community.','<a href="'.$requrl.'">','</a>').'</p>'); |
&mt('You have rights to request the creation of courses and/or communities in the following domain(s):'). |
|
'<ul>'. |
|
$output. |
|
'</ul>'. |
|
&mt('Use the [_1]request form[_2] to submit a request for creation of a new course or community.', |
|
'<a href="'.$requrl.'">','</a>'). |
|
'</p>'); |
|
} |
} |
} |
} elsif (!$env{'user.adv'}) { |
} elsif (!$env{'user.adv'}) { |
if ($inrole) { |
if ($inrole) { |