mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 14:41:59 +01:00
52 lines
2.2 KiB
Smarty
52 lines
2.2 KiB
Smarty
|
|
<?php if(isset($errorstring)){ ?><p class="loginfailed"><?php print $text_error; ?>: <?php print $errorstring; ?></p><?php } ?>
|
|
|
|
<?php if(isset($group)) { ?>
|
|
|
|
<form action="index.php?route=group/edit" name="addgroup" method="post" autocomplete="off">
|
|
<input type="hidden" name="id" value="<?php print $id; ?>" />
|
|
|
|
<div id="ss1">
|
|
|
|
<div class="domainrow">
|
|
<div class="domaincell"><?php print $text_groupname; ?>:</div>
|
|
<div class="domaincell"><input type="text" name="groupname" id="groupname" value="<?php print $group['groupname']; ?>" class="text" /></div>
|
|
</div>
|
|
|
|
<div class="domainrow">
|
|
<div class="domaincell"><?php print $text_search_emails; ?>*:</div>
|
|
<div class="domaincell"><input type="text" id="s_piler_email" name="s_piler_email" value="<?php print $text_search_email_to_add; ?>" class="autocompletetext" onfocus="javascript:toggle_hint('s_piler_email', '<?php print $text_search_email_to_add; ?>', 1);" onblur="javascript:toggle_hint('s_piler_email', '<?php print $text_search_email_to_add; ?>', 0);" /></div>
|
|
</div>
|
|
|
|
<div class="domainrow">
|
|
<div class="domaincell"><?php print $text_email_addresses; ?>**:</div>
|
|
<div class="domaincell"><textarea style="height:280px;" name="email" id="email" class="domain"><?php if(isset($email)){ print $email; } ?></textarea></div>
|
|
</div>
|
|
|
|
<div class="domainrow">
|
|
<div class="domaincell"> </div>
|
|
<div class="domaincell">*: <?php print $text_min_2_chars; ?><br />**: <?php print $text_enter_one_email_address_per_line; ?></div>
|
|
</div>
|
|
|
|
<div class="domainrow">
|
|
<div class="domaincell"> </div>
|
|
<div class="domaincell"><input type="submit" value="<?php print $text_modify; ?>" /><input type="reset" value="<?php print $text_cancel; ?>" /></div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
<p> </p>
|
|
<p><a href="index.php?route=group/remove&id=<?php print $group['id']; ?>&group=<?php print $group['groupname']; ?>"><?php print $text_remove_this_group; ?>: <?php print $group['groupname']; ?></a></p>
|
|
<p> </p>
|
|
|
|
<p>
|
|
<?php } else if(isset($x)){ print $x; ?>.
|
|
<?php } ?>
|
|
|
|
<a href="index.php?route=group/list"><?php print $text_back; ?></a>
|
|
</p>
|