* $header_sent
* $body_tag_js
* $shortBoxName
- * $sm_attribute_str
+ * $provider_link
* $frame_top
* $urlMailbox
* $startMessage
* $trash_folder
* $sent_folder
* $draft_folder
- * $thread_link_str
+ * $thread_link_uri
+ * $thread_name
* $php_self
* $mailbox
* $enablesort
* $this is the Template class object.
*/
$paginator_str = $this->fetch('paginator.tpl');
- echo $paginator_str . $thread_link_str ."\n"; ?>
+ echo $paginator_str . '<small>[<a href="' . $thread_link_uri
+ . '">' . $thread_name . '</a>]</small>'; ?>
<!-- end paginator and thread link string -->
</td>
<!-- message count string -->
<td>
<table class="table_empty" cellspacing="0">
<tr>
- <td class="links_paginator"><?php /* technically, should regenerate paginator but we know that the only things that change are these two field names, so str_replace should be faster */ echo str_replace(array('startMessage_1', 'paginator_submit_1'), array('startMessage_2', 'paginator_submit_2'), $paginator_str); ?></td>
+ <td class="links_paginator"><?php
+ /**
+ * The following line gets the output from a separate
+ * template altogether (called "paginator.tpl").
+ * $this is the Template class object.
+ */
+ $paginator_str = $this->fetch('paginator.tpl');
+ echo $paginator_str;
+ ?></td>
<td class="message_count"><?php echo $msg_cnt_str; ?></td>
</tr>
</table>
</td>
</tr>
<tr>
- <td>
+ <td align="right">
<?php if (!empty($plugin_output['mailbox_index_after'])) echo $plugin_output['mailbox_index_after']; ?>
</td>
</tr>
</table>
</form>
</div>
+
+<?php if (!$hide_sm_attributions): ?>
+<p class="sqm_squirrelcopyright">© 1999-2007 The SquirrelMail Project Team - <a href="about.php">About SquirrelMail</a></p>
+<?php endif; ?>