version 1.428, 2017/01/02 19:44:06
|
version 1.429, 2017/01/18 21:00:05
|
Line 7446 ENDJS
|
Line 7446 ENDJS
|
foreach my $item (sort {$a <=> $b } (keys(%ordered))) { |
foreach my $item (sort {$a <=> $b } (keys(%ordered))) { |
push(@roles_by_num,$ordered{$item}); |
push(@roles_by_num,$ordered{$item}); |
} |
} |
$r->print('<p>'.$lt{'tfh'}.': <b>'.join('</b>, <b>',map { $description{$_}; } @roles_by_num).'</b>.'); |
$r->print('<p>'.$lt{'tfh'}.': <i>'.join('</i>, <i>',map { $description{$_}; } @roles_by_num).'</i>.'); |
if ($permission->{'owner'}) { |
if ($permission->{'owner'}) { |
$r->print('<br />'.$lt{'aco'}.'</p><p>'); |
$r->print('<br />'.$lt{'aco'}.'</p><p>'); |
$r->print('<input type="hidden" name="state" value="process" />'. |
$r->print('<input type="hidden" name="state" value="process" />'. |
Line 7572 ENDJS
|
Line 7572 ENDJS
|
&role_priv_table($role,$permission,$crstype,\%full,\%levels,\%levelscurrent,$overridden{$role}). |
&role_priv_table($role,$permission,$crstype,\%full,\%levels,\%levelscurrent,$overridden{$role}). |
'</fieldset></div><div style="padding:0;clear:both;margin:0;border:0"></div>'); |
'</fieldset></div><div style="padding:0;clear:both;margin:0;border:0"></div>'); |
} |
} |
|
if ($permission->{'owner'}) { |
|
$r->print('<p><input type="submit" value="'.&mt('Save changes').'" /></p>'); |
|
} |
} else { |
} else { |
$r->print(&mt('Helpdesk roles have not yet been created in this domain.')); |
$r->print(&mt('Helpdesk roles have not yet been created in this domain.')); |
} |
} |