Minor cosmetic updates
This commit is contained in:
parent
75640ccc3e
commit
b6500224d3
@ -1992,13 +1992,18 @@ function fillRec(id,value) {
|
||||
protected function drawMenuAttribute($attribute) {
|
||||
if (DEBUGTMP) printf('<font size=-2>%s</font><br />',__METHOD__);
|
||||
|
||||
$result = '';
|
||||
$item = '';
|
||||
|
||||
echo '<table class="entry" border="0"><tr><td style="width: 25px;"> </td>';
|
||||
echo '<td>';
|
||||
foreach (array('add','modify','rename') as $action)
|
||||
if ($item = $this->get('MenuItem',$attribute,$action))
|
||||
printf('<div class="add_value">%s</div>',$item);
|
||||
$result .= sprintf('<div class="add_value">%s</div>',$item);
|
||||
|
||||
if (! $result)
|
||||
return;
|
||||
|
||||
echo '<table class="entry" border="0"><tr><td style="width: 25px;"> </td>';
|
||||
printf('<td>%s</td>',$result);
|
||||
echo '</td>';
|
||||
echo '</tr></table>';
|
||||
}
|
||||
|
@ -2555,7 +2555,7 @@ function get_href($type,$extra_info='') {
|
||||
else
|
||||
$proto = 'https';
|
||||
|
||||
return isset($_SESSION) && ! $_SESSION[APPCONFIG]->getValue('appearance','remoteurls') ? '' : sprintf('%s://sflogo.sourceforge.net/sflogo.php?group_id=%s&type=8',$proto,$group_id);
|
||||
return isset($_SESSION) && ! $_SESSION[APPCONFIG]->getValue('appearance','remoteurls') ? '' : sprintf('%s://sflogo.sourceforge.net/sflogo.php?group_id=%s&type=10',$proto,$group_id);
|
||||
case 'sf':
|
||||
return sprintf('%s/projects/phpldapadmin',$sf);
|
||||
case 'web':
|
||||
|
Loading…
Reference in New Issue
Block a user