configuring plugin. Thanks to Peter Steiner.
- Fixed HttpOnly cookies again.
- Update for switch from CVS to Subversion.
+ - Default provider URI link fixed (was broken when on plugin options pages, etc)
Version 1.5.1 (branched on 2006-02-12)
--------------------------------------
$sm_attributes = '';
if (!$hide_sm_attributions) {
- $sm_attributes .= '<td class="sqm_providerInfo">' ."\n";
if (empty($provider_uri)) {
- $sm_attributes .= ' <a href="about.php">SquirrelMail</a>';
+ $sm_attributes .= create_hyperlink($base_uri . 'src/about.php', 'SquirrelMail');
} else {
- if (empty($provider_name)) $provider_name= 'SquirrelMail';
- $sm_attributes .= ' <a href="'.$provider_uri.'" target="_blank">'.$provider_name.'</a>'."\n";
+ if (empty($provider_name)) $provider_name = 'SquirrelMail';
+ $sm_attributes .= create_hyperlink($provider_uri, $provider_name, '_blank');
}
- $sm_attributes .= " </td>\n";
}
$oTemplate->assign('body_tag_js', $sBodyTagJs);
<?php echo $help_link; ?>
<?php /* FIXME: no hooks in templates!! */ global $null; do_hook('menuline', $null); ?>
</td>
- <?php echo $sm_attribute_str."\n"; ?>
+ <?php if (!empty($sm_attribute_str))
+ echo '<td class="sqm_providerInfo">'
+ . $sm_attribute_str
+ . "</td>\n"; ?>
</tr>
</table>
</div>