Added a quick fix for th gettext _ function as page_header.php3 is not needed in...
authororicn <oricn@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 27 Apr 2000 21:28:13 +0000 (21:28 +0000)
committeroricn <oricn@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 27 Apr 2000 21:28:13 +0000 (21:28 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@467 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/signout.php

index 6d3b8cb1876e0f3619dfb26e06ba93b6adb2a991..d3b542d8bde3f788c70953d536448b8d554c32a7 100644 (file)
@@ -7,7 +7,14 @@
         **  Clears the cookie, and logs them out.
         **
         **/
-       
+
+       // Quick Fix for Gettext in LogOut Screen
+if (!function_exists("_")) {
+      function _($string) {
+         return $string;
+      }
+   }
+
    // $squirrelmail_language is set by a cookie when the user
    // selects language
    if (isset($squirrelmail_language)) {