"Fossies" - the Fresh Open Source Software Archive

Member "openmailadmin-1.0.1/templates/shadow/mailboxes/admin.tpl" (1 Jun 2007, 4732 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 <?php
    2 	$input->arrProperties['text']	= array('style' => 'width: 98%');
    3 	$input->arrClass['text']		= 'textwhite';
    4 ?>
    5 <span class="quasi_btn" id="admin_show"><?= txt('30') ?> &raquo;</span>
    6 <div id="admin_panel">
    7 <table border="0" cellpadding="1" cellspacing="1">
    8 	<tr>
    9 		<td class="ed" width="180"><b><?= txt('20') ?></b></td>
   10 		<td class="ed" width="400">
   11 			<ul class="ed">
   12 				<li><?= $input->radio('action', 'new') ?> <?= txt('21') ?></li>
   13 				<?php if(count($mailboxes) > 0) { ?>
   14 				<li><?= $input->radio('action', 'change') ?><?= txt('59') ?></li>
   15 				<li><?= $input->radio('action', 'active') ?><?= txt('24') ?></li>
   16 				<li><?= $input->radio('action', 'delete') ?><?= txt('22') ?></li>
   17 				<?php } ?>
   18 			</ul>
   19 		</td>
   20 	</tr>
   21 	<tr>
   22 		<td class="ed">
   23 			<?php if(version_compare($imap->getversion(), '2.2.0') >= 0) { ?>
   24 				<?= $input->checkbox('change[]', 'mbox') ?>
   25 			<?php } ?>
   26 			<b><?= txt('83') ?></b>
   27 		</td>
   28 		<td class="ed"><?= $input->text('mbox', $cfg['mbox']['max_length']) ?></td>
   29 	</tr>
   30 	<?php if(count($selectable_paten) > 1) { ?>
   31 	<tr>
   32 		<td class="ed"><?= $input->checkbox('change[]', 'pate') ?><b><?= txt('9') ?></b></td>
   33 		<td class="ed"><?= $input->hidden('dummy2', 'pate') ?><?= $input->select('pate', $selectable_paten) ?></td>
   34 	</tr>
   35 	<?php } ?>
   36 	<tr>
   37 		<td class="ed"><?= $input->checkbox('change[]', 'person') ?><b><?= txt('84') ?></b></td>
   38 		<td class="ed"><?= $input->text('person', 100) ?></td>
   39 	</tr>
   40 	<tr>
   41 		<td class="ed"><?= $input->checkbox('change[]', 'canonical') ?><b><?= txt('7') ?></b></td>
   42 		<td class="ed"><?= $input->text('canonical', 100) ?></td>
   43 	</tr>
   44 	<tr>
   45 		<td class="ed"><?= $input->checkbox('change[]', 'domains') ?><b><?= txt('86') ?></b></td>
   46 		<td class="ed"><?= $input->text('domains', 100, $oma->current_user->domains) ?></td>
   47 	</tr>
   48 	<tr>
   49 		<td class="ed"><?= $input->checkbox('change[]', 'quota') ?><b><?= txt('87') ?></b></td>
   50 		<td class="ed"><?= $input->text('quota', 7) ?></td>
   51 	</tr>
   52 	<tr>
   53 		<td class="ed"><?= $input->checkbox('change[]', 'max_alias') ?><b><?= txt('88') ?></b></td>
   54 		<td class="ed"><?= $input->text('max_alias', 4) ?></td>
   55 	</tr>
   56 	<?php if($oma->authenticated_user->max_regexp > 0) { ?>
   57 	<tr>
   58 		<td class="ed"><?= $input->checkbox('change[]', 'max_regexp') ?><b><?= txt('89') ?></b></td>
   59 		<td class="ed"><?= $input->text('max_regexp', 4) ?></td>
   60 	</tr>
   61 	<?php } ?>
   62 	<?php if($oma->authenticated_user->a_super > 1 || $oma->authenticated_user->a_admin_user > 1 || $oma->authenticated_user->a_admin_domains > 1) { ?>
   63 	<tr>
   64 		<td class="ed" colspan="2">
   65 			<?= $input->hidden('dummy', 'rights') ?>
   66 			<table border="0" cellpadding="1" cellspacing="1">
   67 				<tr>
   68 					<td class="ed" width="180"><b><?= txt('77') ?></b></td>
   69 					<td class="ed" width="134"><?= txt('95') ?></td>
   70 					<td class="ed" width="133"><?= txt('73') ?></td>
   71 					<td class="ed" width="133"><?= txt('74') ?></td>
   72 				</tr>
   73 				<?php if($oma->authenticated_user->a_super > 0) { ?>
   74 				<tr>
   75 					<td class="ed"><?= $input->checkbox('change[]', 'a_super') ?><?= txt('68') ?></td>
   76 					<td class="ed"><?= $input->radio('a_super', '0') ?></td>
   77 					<td class="ed"><?= $input->radio('a_super', '1') ?></td>
   78 					<td class="ed">
   79 						<?php if($oma->authenticated_user->a_super > 1) { ?>
   80 						<?= $input->radio('a_super', '2') ?>
   81 						<?php } ?>
   82 					</td>
   83 				</tr>
   84 				<?php } ?>
   85 				<?php if($oma->authenticated_user->a_admin_domains > 0) { ?>
   86 				<tr>
   87 					<td class="ed"><?= $input->checkbox('change[]', 'a_admin_domains') ?><?= txt('50') ?></td>
   88 					<td class="ed"><?= $input->radio('a_admin_domains', '0') ?></td>
   89 					<td class="ed"><?= $input->radio('a_admin_domains', '1') ?></td>
   90 					<td class="ed">
   91 						<?php if($oma->authenticated_user->a_admin_domains > 1) { ?>
   92 						<?= $input->radio('a_admin_domains', '2') ?>
   93 						<?php } ?>
   94 					</td>
   95 				</tr>
   96 				<?php } ?>
   97 				<?php if($oma->authenticated_user->a_admin_user > 0) { ?>
   98 				<tr>
   99 					<td class="ed"><?= $input->checkbox('change[]', 'a_admin_user') ?><?= txt('70') ?></td>
  100 					<td class="ed"><?= $input->radio('a_admin_user', '0') ?></td>
  101 					<td class="ed"><?= $input->radio('a_admin_user', '1') ?></td>
  102 					<td class="ed">
  103 						<?php if($oma->authenticated_user->a_admin_user > 1) { ?>
  104 						<?= $input->radio('a_admin_user', '2') ?>
  105 						<?php } ?>
  106 					</td>
  107 				</tr>
  108 				<?php } ?>
  109 			</table>
  110 		</td>
  111 	</tr>
  112 	<?php } ?>
  113 	<tr>
  114 		<td class="ed"><span class="quasi_btn" id="admin_hide">&laquo; <?= txt('60') ?></span></td>
  115 		<td class="ed" align="right">
  116 			<?php if(count($selectable_paten) <= 1) { ?>
  117 			<?= $input->hidden('pate', $oma->current_user->mbox) ?>
  118 			<?php } ?>
  119 			<?= $input->hidden('frm', 'user') ?><?= $input->submit(txt('27'))?>&nbsp;
  120 		</td>
  121 	</tr>
  122 </table>
  123 </div>
  124 </form>
  125 <br />