Minor cosmetic updates

This commit is contained in:
Deon George 2011-04-28 11:53:40 +10:00
parent 75640ccc3e
commit b6500224d3
2 changed files with 9 additions and 4 deletions

View File

@ -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;">&nbsp;</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;">&nbsp;</td>';
printf('<td>%s</td>',$result);
echo '</td>';
echo '</tr></table>';
}

View File

@ -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&amp;type=8',$proto,$group_id);
return isset($_SESSION) && ! $_SESSION[APPCONFIG]->getValue('appearance','remoteurls') ? '' : sprintf('%s://sflogo.sourceforge.net/sflogo.php?group_id=%s&amp;type=10',$proto,$group_id);
case 'sf':
return sprintf('%s/projects/phpldapadmin',$sf);
case 'web':