Code

Updated login
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 Mar 2008 06:55:57 +0000 (06:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 Mar 2008 06:55:57 +0000 (06:55 +0000)
-Display msg_dialog messages

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9330 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/index.php
gosa-core/ihtml/themes/default/login.tpl

index 347abae1b10c53ff235f6bdb004e379213dbd50c..35e773c3869e2c16a5fe89eb49b5620607073e69 100644 (file)
@@ -89,7 +89,7 @@ function displayLogin()
   } else {
     $smarty->assign("php_errors", "");
   }
-
+  $smarty->assign("msg_dialogs", msg_dialog::get_dialogs());
   $smarty->display (get_template_path('headers.tpl'));
   $smarty->display(get_template_path('login.tpl'));
   exit();
index 0c6beb35fd03a61d1b7c4ed090584271855c7db6..1c3865f8f299008b7fe17efa6059e6065ae13729 100644 (file)
@@ -1,4 +1,5 @@
 <body style="background-color:white;background-image:none;">
+
 {$php_errors}
 <div>
         <div class='setup_header'>
@@ -19,6 +20,7 @@
 <div style='float:left; width:50%; border:1px solid #AAAAAA;background-color:white'>
 <form action='index.php' method='post' name='mainform' onSubmit='js_check(this);return true;'>
 
+{$msg_dialogs}
        <div style='border-bottom:1px solid #AAAAAA'>
                <div style='padding:3px; background-color:#F8F8F8'>
                <p class="center" style="margin:0px 0px 0px 5px;padding:5px;font-size:24px;font-weight:bold;">
@@ -93,5 +95,7 @@
   nextfield= "{$nextfield}";
   focus_field("{$nextfield}");
   -->
+
+next_msg_dialog();
 </script>