version 1.160.6.30, 2013/12/27 16:40:08
|
version 1.160.6.31, 2014/01/03 19:53:47
|
Line 4526 sub print_serverstatuses {
|
Line 4526 sub print_serverstatuses {
|
sub serverstatus_pages { |
sub serverstatus_pages { |
return ('userstatus','lonstatus','loncron','server-status','codeversions', |
return ('userstatus','lonstatus','loncron','server-status','codeversions', |
'checksums','clusterstatus','metadata_keywords','metadata_harvest', |
'checksums','clusterstatus','metadata_keywords','metadata_harvest', |
'takeoffline','takeonline','showenv','toggledebug','ping','domconf'); |
'takeoffline','takeonline','showenv','toggledebug','ping','domconf', |
|
'uniquecodes'); |
} |
} |
|
|
sub coursecategories_javascript { |
sub coursecategories_javascript { |
Line 9278 sub active_dc_picker {
|
Line 9279 sub active_dc_picker {
|
' value="'.$domcoord[$i].'"'.$check.' />'.$user; |
' value="'.$domcoord[$i].'"'.$check.' />'.$user; |
if ($user ne $dcname.':'.$dcdom) { |
if ($user ne $dcname.':'.$dcdom) { |
$table .= ' ('.$dcname.':'.$dcdom.')'. |
$table .= ' ('.$dcname.':'.$dcdom.')'. |
'</label></span></td>'; |
|
} |
} |
|
$table .= '</label></span></td>'; |
} |
} |
$table .= '</tr></table>'; |
$table .= '</tr></table>'; |
} elsif ($numdcs == 1) { |
} elsif ($numdcs == 1) { |
if ($inputtype eq 'radio') { |
if ($inputtype eq 'radio') { |
$table .= '<input type="hidden" name="'.$name.'" value="'.$domcoord[0].'" />'; |
$table .= '<input type="hidden" name="'.$name.'" value="'.$domcoord[0].'" />'.$user; |
|
if ($user ne $dcname.':'.$dcdom) { |
|
$table .= ' ('.$dcname.':'.$dcdom.')'; |
|
} |
} else { |
} else { |
my $check; |
my $check; |
if (exists($currhash{$domcoord[0]})) { |
if (exists($currhash{$domcoord[0]})) { |
$check = ' checked="checked"'; |
$check = ' checked="checked"'; |
} |
} |
$table .= '<input type="checkbox" name="'.$name.'" '. |
$table .= '<span class="LC_nobreak"><label>'. |
'value="'.$domcoord[0].'"'.$check.' />'; |
'<input type="checkbox" name="'.$name.'" '. |
|
'value="'.$domcoord[0].'"'.$check.' />'.$user; |
|
if ($user ne $dcname.':'.$dcdom) { |
|
$table .= ' ('.$dcname.':'.$dcdom.')'; |
|
} |
|
$table .= '</label></span>'; |
$rows ++; |
$rows ++; |
} |
} |
} |
} |