mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 20:31:59 +01:00
57 lines
2.5 KiB
Smarty
57 lines
2.5 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 class="domaincell">
|
|
<?php foreach(Registry::get('letters') as $letter) { ?>
|
|
<a href="#" onclick="window.open('<?php print SITE_URL; ?>index.php?route=group/email&term=<?php print $letter; ?>', 'aaa', 'width=300,height=400');" ><?php print $letter; ?></a>
|
|
<?php } ?>
|
|
</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>
|