"Fossies" - the Fresh Open Source Software Archive

Member "openmailadmin-1.0.1/templates/setup/step3.tpl" (31 Jul 2006, 1727 Bytes) of package /linux/privat/old/openmailadmin-1.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <div class="setup_outer">
    2 <div class="setup_head_outer"><div class="setup_head">
    3 	<h1>Openmailadmin installation</h1>
    4 	<h2>Step 3 - table creation and configuration file</h2>
    5 </div></div>
    6 <div class="setup_body">
    7 	<h3>connection tests</h3>
    8 	<?php if(isset($failure)) { ?>
    9 		<p class="bad">DB: <?= $failure ?></p>
   10 	<?php } else { ?>
   11 		<p class="good">DB: Success.</p>
   12 
   13 		<h3>table and index creation</h3>
   14 		<table class="settings">
   15 		<tr><th>tablename</th><th>creation</th></tr>
   16 		<?php foreach($status as $row) { ?>
   17 		<tr>
   18 			<td><?= $row[0] ?></td>
   19 			<?php if($row[1] == 2) { ?>
   20 				<td class="good">successfull</td>
   21 			<?php } else if($row[1] == 1) { ?>
   22 				<td class="tolerated">partially failed - does table already exist?</td>
   23 			<?php } else { ?>
   24 				<td class="bad">failed</td>
   25 			<?php } ?>
   26 		</tr>
   27 		<?php } ?>
   28 		</table>
   29 		<?php if($_POST['admin_user'] == ''
   30 			|| ($_POST['imap_type'] != 'fake-imap' && ($_POST['imap_user'] == '')) ) { ?>
   31 		<p>You didn't provide all necessary data. Please hit 'back' on your browser.</p>
   32 		<?php } else { ?>
   33 			<h3>configuration file</h3>
   34 			<?php if($written) { ?>
   35 				<p>A configuration file has been created with this content:</p>
   36 			<?php } else { ?>
   37 				<p>Please create a configuration file <cite>inc/config.local.inc.php</cite> with this content:</p>
   38 			<?php } ?>
   39 			<div class="code"><pre><code><?= htmlspecialchars($config) ?></code></pre></div>
   40 			<h3>finished</h3>
   41 			<p>Congratulations! After that you can log in as superuser with:
   42 			<cite><?= $_POST['admin_user'] ?></cite>:<cite><?= htmlspecialchars($_POST['admin_pass']) ?></cite>
   43 			</p>
   44 			<div class="next_step"><a href="index.php" title="go to OMA">go ahead and log in</a></div>
   45 		<?php } ?>
   46 	<?php } ?>
   47 </div>