<div class='page-header'>
	<h1><tmpl_var name="list_head_txt"></h1>
</div>
<p><tmpl_var name="list_desc_txt"></p>

<legend>Membership management</legend>

<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
	<div class="panel panel-default">
    <div class="panel-heading" role="tab" id="headingSubscription">
      <h4 class="panel-title">
        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseSubscription" aria-expanded="true" aria-controls="collapseSubscription">
          {tmpl_var name='heading_subscription_txt'}
        </a>
      </h4>
    </div>
    <div id="collapseSubscription" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingSubscription">
      <div class="panel-body">
				<div class="form-group" title="{tmpl_var name='subscribers_desc_txt'}">
					<label class="col-sm-3 control-label">{tmpl_var name='subscribers_txt'}</label>
					<div class="col-sm-9">
						<textarea class="form-control" name="subscribers" id="subscribers" rows='5' cols='30'>{tmpl_var name='subscribers'}</textarea>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">Welcome message</label>
					<div class="col-sm-9">
						<input name="welcome_msg" id="welcome_msg" value="1" checked="" type="checkbox">
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="panel panel-default">
    <div class="panel-heading" role="tab" id="headingRemoval">
      <h4 class="panel-title">
        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseRemoval" aria-expanded="false" aria-controls="collapseRemoval">
          {tmpl_var name='heading_removal_txt'}
        </a>
      </h4>
    </div>
    <div id="collapseRemoval" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingRemoval">
      <div class="panel-body">
				<div class="form-group" title="{tmpl_var name='subscribers_desc_txt'}">
					<label class="col-sm-3 control-label">{tmpl_var name='subscribers_txt'}</label>
					<div class="col-sm-9">
						<textarea class="form-control" name="subscribers" id="subscribers" rows='5' cols='30'>{tmpl_var name='subscribers'}</textarea>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">Goodbye message</label>
					<div class="col-sm-9">
						<input name="welcome_msg" id="welcome_msg" value="1" checked="" type="checkbox">
					</div>
				</div>
			</div>
	</div>
</div>

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

<div class="clear"><div class="right">
	<button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" data-submit-form="pageForm" data-form-action="mail/mail_mailinglist_edit.php">{tmpl_var name='btn_save_txt'}</button>
	<button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='btn_cancel_txt'}" data-load-content="mail/mail_mailinglist_list.php">{tmpl_var name='btn_cancel_txt'}</button>
</div></div>