mail_mailinglist_edit.htm 3.66 KB
Newer Older
horfic's avatar
horfic committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
<h2><tmpl_var name="list_head_txt"></h2>
<p><tmpl_var name="list_desc_txt"></p>

<div class="panel panel_mail_mailinglist">

  <div class="pnl_formsarea">
    <fieldset class="inlineLabels"><legend>Mailing List</legend>	
		<tmpl_if name="is_admin">
			<div class="ctrlHolder">
				<label for="client_group_id">{tmpl_var name='client_txt'}</label>
				<select name="client_group_id" id="client_group_id" class="selectInput">
					{tmpl_var name='client_group_id'}
				</select>
			</div>
		</tmpl_if>
	  
		<tmpl_if name="is_reseller">
      		<div class="ctrlHolder">
      			<label for="client_group_id">{tmpl_var name='client_txt'}</label>
        		<select name="client_group_id" id="client_group_id" class="selectInput">
					{tmpl_var name='client_group_id'}
				</select>
      		</div>
      	</tmpl_if>
		
		<tmpl_if name="edit_disabled">
			<div class="ctrlHolder">
				<label for="domain_disabled">{tmpl_var name='domain_txt'}</label>
				<select name="domain_disabled" id="domain_disabled" class="selectInput" disabled="disabled">
						{tmpl_var name='domain_option'}
				</select>
				<input type="hidden" name="domain" value="{tmpl_var name='domain_value'}" />
			</div>
			
			<div class="ctrlHolder">
				<label for="listname_disabled">{tmpl_var name='listname_txt'}</label>
				<input name="listname_disabled" id="listname_disabled" value="{tmpl_var name='listname'}" size="30" maxlength="255" type="text" class="textInput" disabled="disabled" />
				<input type="hidden" name="listname" value="{tmpl_var name='listname_value'}" />
			</div>
			<div class="ctrlHolder">
				<label for="email_disabled">{tmpl_var name='email_txt'}</label>
				<input name="email_disabled" id="email_disabled" value="{tmpl_var name='email'}" size="30" maxlength="255" type="text" class="textInput" disabled="disabled" />
				<input type="hidden" name="email" value="{tmpl_var name='email_value'}" />
			</div>
		<tmpl_else>
			<div class="ctrlHolder">
				<label for="domain">{tmpl_var name='domain_txt'}</label>
				<select name="domain" id="domain" class="selectInput">
						{tmpl_var name='domain_option'}
				</select>
			</div>
			<div class="ctrlHolder">
				<label for="listname">{tmpl_var name='listname_txt'}</label>
				<input name="listname" id="listname" value="{tmpl_var name='listname'}" size="30" maxlength="255" type="text" class="textInput" />
			</div>
			<div class="ctrlHolder">
				<label for="email">{tmpl_var name='email_txt'}</label>
				<input name="email" id="email" value="{tmpl_var name='email'}" size="30" maxlength="255" type="text" class="textInput" />
			</div>
		</tmpl_if>
		<div class="ctrlHolder">
			<label for="password">{tmpl_var name='password_txt'}</label>
			<input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value)" />
		</div>
		<div class="ctrlHolder">
				<p class="label">{tmpl_var name='password_strength_txt'}</p>
				<div id="passBar"></div>
				<p class="formHint"><span id="passText">&nbsp;</span></p>
			</div>
    </fieldset>

    <input type="hidden" name="id" value="{tmpl_var name='id'}">

    <div class="buttonHolder buttons">
      <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','mail/mail_mailinglist_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button>
      <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('mail/mail_mailinglist_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
    </div>
  </div>
  
</div>