mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-29 13:10:13 +01:00
55 lines
2.1 KiB
Smarty
55 lines
2.1 KiB
Smarty
|
|
<?php if(isset($errorstring)){ ?><p class="text-error bold"><?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="span5" /></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" placeholder="<?php print $text_search_email_to_add; ?>" class="span5" /></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="span5"><?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" class="btn btn-primary" value="<?php print $text_modify; ?>" /><input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
<p> </p>
|
|
|
|
<p>
|
|
<?php } else if(isset($x)){ print $x; ?>.
|
|
<?php } ?>
|
|
|
|
<a href="index.php?route=group/list"><?php print $text_back; ?></a>
|
|
</p>
|