$base_uri = sqm_baseuri();
- list($junk, $errString, $errTitle) = do_hook('logout_error', $errString, $errTitle);
+ $login_link = array (
+ 'URI' => $base_uri . 'src/login.php',
+ 'FRAME' => $frame_top
+ );
+
+ list($junk, $errString, $errTitle, $login_link)
+ = do_hook('logout_error', $errString, $errTitle, $login_link);
if ( $errTitle == '' ) {
$errTitle = $errString;
_("By the SquirrelMail Project Team")."<br />\n";
}
- $login_link = array (
- 'URL' => $base_uri . 'src/login.php',
- 'FRAME' => $frame_top
- );
-
$oTemplate->assign('logo_str', $logo_str);
$oTemplate->assign('sm_attribute_str', $sm_attribute_str);
$oTemplate->assign('login_link', $login_link);
* if any
* $login_link - Array containing details needed to generate link to login
* page. Elements are:
- * $login_link['URL'] - URL target for link
+ * $login_link['URI'] - URI target for link
* $login_link['FRAME'] - Frame target for link
* $errorMessage - Translated string containing error message to be
* displayed.
</tr>
<tr>
<td class="error_header">
- <?php echo '<a href="'.$login_link['URL'].'" target="'.$login_link['FRAME'].'">'. _("Go to the login page") .'</a>'; ?>
+ <?php echo '<a href="'.$login_link['URI'].'" target="'.$login_link['FRAME'].'">'. _("Go to the login page") .'</a>'; ?>
</td>
</tr>
</table>
</tr>
</table>
</div>
-</div>
\ No newline at end of file
+</div>