$current_folder_str = '';
-if ( $shortBoxName <> '' && strtolower( $shortBoxName ) <> 'none' ) {
+if ( $shortBoxName != '' ) {
$current_folder_str .= _("Current Folder") . ": <em>$shortBoxName </em>\n";
} else {
$current_folder_str .= ' ';
}
// Define our default link text.
-$signout_link_default = _('Sign Out');
-$compose_link_default = _('Compose');
-$address_link_default = _('Addresses');
-$folders_link_default = _('Folders');
-$options_link_default = _('Options');
-$search_link_default = _('Search');
-$help_link_default = _('Help');
+$signout_link_default = _("Sign Out");
+$compose_link_default = _("Compose");
+$address_link_default = _("Addresses");
+$folders_link_default = _("Folders");
+$options_link_default = _("Options");
+$search_link_default = _("Search");
+$help_link_default = _("Help");
/*
* Create strings to use for links. If tempalte authors
<body <?php echo $body_tag_js; ?>>
<div id="page_header">
<a name="pagetop"></a>
+<?php if (!empty($plugin_output['page_header_top'])) echo $plugin_output['page_header_top']; ?>
<!-- Begin Header Navigation Table -->
<table class="table_empty" cellspacing="0">
<tr>
</td>
</tr>
<tr>
- <td class="sqm_topNavigation"<?php echo ($hide_sm_attributions ? ' colspan="2"' : ''); ?>>
+ <td class="sqm_topNavigation">
<?php echo $compose_link; ?>
<?php echo $address_link; ?>
<?php echo $folders_link; ?>
<?php echo $options_link; ?>
<?php echo $search_link; ?>
<?php echo $help_link; ?>
- <?php do_hook('menuline'); ?>
+ <?php /* FIXME: no hooks in templates!! */ global $null; do_hook('menuline', $null); ?>
+ </td>
+ <td class="sqm_providerInfo">
+ <?php
+ if (!empty($plugin_output['provider_link_before']))
+ echo $plugin_output['provider_link_before'];
+ if (!empty($provider_link))
+ echo $provider_link;
+ if (!empty($plugin_output['provider_link_after']))
+ echo $plugin_output['provider_link_after'];
+ ?>
</td>
- <?php echo $sm_attribute_str."\n"; ?>
</tr>
</table>
</div>