Files
Testing/leptesting/admin_birthdayEmails.tpl
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

79 lines
2.6 KiB
Smarty

{include file='admin_header.tpl'}
<h2>Social Engine Guru's Birthday Emails</h2>
<br/>
{include file='admin_birthdayEmailsMenu.tpl'}
{* admin_birthdayEmails.tpl 2009-07-30 15:46:00 rhutton *}
{* Social Engine Guru.com *}
<form method="post" action="admin_birthdayEmails.php">
<table width="600" cellpadding="0" cellspacing="0">
<tr>
<td class="header" colspan="2">Birthday Mod Settings</td>
</tr>
<tr>
<td valign="top" class="setting2">Master control:</td>
<td class="setting2">
Sets whether the mod is enabled or disabled for users.
<br /><input type="radio" name="enabled" value="1" {if $aOptions.enabled == 1}CHECKED{/if} /> Enabled <br />
<input type="radio" name="enabled" value="0" {if $aOptions.enabled == 0}CHECKED{/if} /> Disabled
</td>
</tr>
<tr>
<td valign="top" class="setting2">From Name:</td>
<td class="setting2">
The from name of the messages.
<br /><input type="text" name="fromName" value="{$aOptions.fromName}" />
</td>
</tr>
<tr>
<td valign="top" class="setting2">From Address:</td>
<td class="setting2">
The from address of the messages.
<br /><input type="text" name="fromAddress" value="{$aOptions.fromAddress}" />
</td>
</tr>
<tr>
<td valign="top" class="setting2">Subject:</td>
<td class="setting2">
The subject of the messages.
<br /><input type="text" name="subject" value="{$aOptions.subject}" />
</td>
</tr>
<tr>
<td valign="top" class="setting2">Message:</td>
<td class="setting2">
The content of the messages. Available Variables: [displayname]
<br /><textarea rows="6" cols="80" class="text" name="message">{$aOptions.message}</textarea>
</td>
</tr>
<tr>
<td valign="top" class="setting2">Birthday Field:</td>
<td class="setting2">
Sets the profile field to use as birthday data. If, you do not have one, create a profile field that has a Field Type: Date Field and Special Attribute: Birthday (Date Field Only)
<br />
<select name="bdayField">
{foreach from=$aBdayFields item=v key=k}
<option value='{$k}' {if $aOptions.bdayField == $k} SELECTED{/if}>{$v}</option>
{/foreach}
</select>
</td>
</tr>
<tr>
<td valign="top" class="setting2">Viewable selected Userlevels:</td>
<td class="setting2">
Sets the userlevels allowed for the birthday emails mod.
<br />
{foreach from=$aUserLevels item=v key=k}
<input type='checkbox' name='userlevels[]' value='{$k}' {if $v.sel == 1} CHECKED{/if}>{$v.name} <br/>
{/foreach}
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="submit" value="Submit" /></td>
</tr>
</table>
</form>
{include file='admin_birthdayEmailsFooter.tpl'}
{include file='admin_footer.tpl'}