$current_folder_str = '';
-if ( $shortBoxName <> '' && strtolower( $shortBoxName ) <> 'none' ) {
+if ( $shortBoxName != '' ) {
$current_folder_str .= _("Current Folder") . ": <em>$shortBoxName </em>\n";
} else {
$current_folder_str .= ' ';
<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 /* FIXME: no hooks in templates!! */ global $null; do_hook('menuline', $null); ?>
+ <?php if (!empty($plugin_output['menuline'])) echo $plugin_output['menuline']; ?>
+ </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>