Convert plugin output on signout page to new template system; plugins previously...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 4 Nov 2006 10:11:01 +0000 (10:11 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 4 Nov 2006 10:11:01 +0000 (10:11 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11948 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/signout.tpl

index 0d90d89836008c83337c207e9839d7a035d82de4..2689f8ba2415f4d408610e1f6840970f99d4239e 100644 (file)
@@ -23,7 +23,7 @@ $plugin_message = concat_hook_function('logout_above_text');
 <tr width="100%"><th class="sqm_signoutBar">
   <?php echo _("Sign Out"); ?>
 </th></tr>
-<?php echo $plugin_message; ?>
+<?php if (!empty($plugin_output['signout_message'])) echo $plugin_output['signout_message']; ?>
 <tr width="100%"><td>
   <?php echo _("You have been successfully signed out."); ?><br />
   <a href="<?php echo $login_uri; ?>" target="<?php echo $frame_top; ?>"><?php echo _("Click here to log back in."); ?></a><br />