Code

Added template for setup step 2
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Feb 2007 06:13:46 +0000 (06:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Feb 2007 06:13:46 +0000 (06:13 +0000)
Added setup headers doctype is different from normal headers

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

ihtml/themes/default/setup_headers.tpl [new file with mode: 0644]
setup/setup_step2.tpl [new file with mode: 0644]

diff --git a/ihtml/themes/default/setup_headers.tpl b/ihtml/themes/default/setup_headers.tpl
new file mode 100644 (file)
index 0000000..95605b4
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+
+<head>
+  <title>{if isset($title)}{$title}{else}GOsa{/if}</title>
+
+  <meta name="generator" content="my hands">
+  <meta name="description" content="GOsa - Login">
+  <meta name="author" lang="de" content="Cajus Pollmeier">
+
+  <meta http-equiv="Expires" content="Mon, 26 Jul 1997 05:00:00 GMT">
+  <meta http-equiv="Last-Modified" content="{$date} GMT">
+  <meta http-equiv="Cache-Control" content="no-cache">
+  <meta http-equiv="Pragma" content="no-cache">
+  <meta http-equiv="Cache-Control" content="post-check=0, pre-check=0">
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+  <style type="text/css">@import url('themes/default/style.css');</style>
+  <link rel="shortcut icon" href="favicon.ico">
+
+  <script language="javascript"src="include/png.js" type="text/javascript"></script>
+  <script language="javascript"src="include/calendar.js" type="text/javascript"></script>
+  <script language="javascript"src="include/focus.js" type="text/javascript"></script>
+  <script language="javascript"src="include/warning.js" type="text/javascript"></script>
+</head>
diff --git a/setup/setup_step2.tpl b/setup/setup_step2.tpl
new file mode 100644 (file)
index 0000000..4722bf1
--- /dev/null
@@ -0,0 +1,34 @@
+<div style='float:left;'> 
+       <div class='default' style='margin:10px;'>
+               <h2>{t}PHP module and extension checks{/t}</h2>
+               {foreach from=$basic item=val key=key}
+                       <div class='default' style='float:left'>
+                               {$basic[$key].NAME}
+                       </div>
+                       <div class='default' style='text-align:right; '>
+                       {if $basic[$key].RESULT}
+                               <font color='green'>{t}Success{/t}</font>
+                       {else}
+                               <font color='red'>{t}Failed{/t}</font>
+                       {/if}
+                       </div>
+               {/foreach}
+       </div>
+</div>
+<div>
+       <div class='default' style='margin:10px; float:left;'>
+               <h2>{t}PHP setup configuration{/t}</h2>
+               {foreach from=$config item=val key=key}
+                       <div class='default' style='float:left'>
+                               {$config[$key].NAME}
+                       </div>
+                       <div class='default' style='text-align:right; '>
+                       {if $config[$key].RESULT}
+                               <font color='green'>{t}Success{/t}</font>
+                       {else}
+                               <font color='red'>{t}Failed{/t}</font>
+                       {/if}
+                       </div>
+               {/foreach}
+       </div>
+</div>