<!-- begin edit_template_screen.tmpl -->

<!-- tmpl_set name="title" value="Appearance &#187; Your Mailing List Template" -->
<div id="screen_meta" data-menu_highlight="edit_template"></div>

<div class="row hide-for-small-only" id="control_panel_breadcrumbs">
	<div class="medium-10 small-9 columns">
	   	<nav class="breadcrumbs">	
		 	 <a href="#" class="unavailable">
				Appearance
			 </a>
	 	    <a 
				href="#"
				class="current"
			>	
				Your Mailing List Template
			</a>
		</nav>
	</div>
	<div class="medium-2 small-3 columns text-right">
	   <!-- tmpl_include help_link_widget.tmpl -->
	</div>
</div>

<div id="edit_template"></div>

<!-- tmpl_if done -->
	<!-- tmpl_include changes_saved_dialog_box_widget.tmpl  -->
<!--/tmpl_if-->

<div class="alert-box info radius">
	<p>
		The Mailing List Template is used to personalize the look of your Mailing List, when you visit it in a web browser. 
	</p> 
	<p>
		For example, your design will be reflected in your 
		<a href="<!-- tmpl_var PROGRAM_URL -->/list/<!-- tmpl_var list_settings.list -->/"  target="_blank">
			List Screen
		</a>
		and your
		<a href="<!-- tmpl_var PROGRAM_URL -->/archive/<!-- tmpl_var list_settings.list -->/" target="_blank">
			Archive Screens</a>.
	</p>
</div>

<form 
	name="edit_template_form" 
	id="edit_template_form" 
	action="<!-- tmpl_var S_PROGRAM_URL -->" 
	method="post" 
	accept-charset="<!-- tmpl_var HTML_CHARSET -->"
>
	<input type="hidden" name="process"          value="true" >
	<input type="hidden" name="flavor"           value="edit_template" >
	<input type="hidden" name="default_template" value="<!-- tmpl_var default_template escape="HTML" -->" >

	<fieldset> 
		<legend>
			Your Mailing List Template
		</legend> 



		<div class="row">
			<div class="small-12 columns">
				<label for="from_default_template">
					<input 
						type="radio" 
						name="get_template_data" 
						id="from_default_template" 
						value="from_default_template" 
						<!-- tmpl_if get_template_data_from_default_template -->checked="checked"<!--/tmpl_if-->
					>
					Use the Default Mailing List Template
				</label>
			</div>
		</div>
		
		<div class="row">
			<div class="small-1 columns">
			</div>
			<div class="small-11 columns">
		
				<!-- tmpl_if content_tag_found_in_default_template --> 
					<div class="alert-box success radius">
						<code>&lt;!-- tmpl_var content --&gt;</code> tag found in default template.
					</div>
				<!-- tmpl_else --> 
					<div class="alert-box alert radius">
						Couldn't find, <code>&lt;!-- tmpl_var content --&gt;</code> in your default template! 
					</div>
				<!-- /tmpl_if -->
				
				
			</div>
		</div>
		<div class="row">
			<div class="small-12 columns">
				<label for="from_template_file">
					<input 
					type="radio" 
					name="get_template_data" 
					id="from_template_file" 
					value="from_template_file" 
					<!-- tmpl_if get_template_data_from_template_file -->checked="checked"<!--/tmpl_if-->
				>
					Use this Custom Template for your Mailing List: 
				</label>
			</div>
		</div>
		<div class="row">
			<div class="small-1 columns">
			</div>
			<div class="small-11 columns">
				
				<textarea name="template_info" cols="70" rows="20" wrap="off"><!-- tmpl_var edit_this_template --></textarea>
				
				<!-- tmpl_if content_tag_found_in_template --> 
					<div class="alert-box success radius">
						<code>&lt;!-- tmpl_var content --&gt;</code> tag found in custom template.
					</div>
				<!-- tmpl_else --> 
				<div class="alert-box alert radius">
					Couldn't find, <code>&lt;!-- tmpl_var content --&gt;</code> tag in your custom template! 
				</div>
				<!-- /tmpl_if --> 

				<!-- tmpl_if template_saved --> 
					<div class="alert-box success radius">
						Saved at: <em><!-- tmpl_var TEMPLATES -->/<!-- tmpl_var list_settings.list -->.template</em>
					</div>
				<!-- /tmpl_if --> 
			</div>
		</div>
		<div class="row">
			<div class="small-12 columns">
				<!-- tmpl_if can_use_lwp_simple -->
					<label for="from_url">
						<input
							type="radio" 
							name="get_template_data" 
							id="from_url" 
							value="from_url" 
							<!-- tmpl_if get_template_data_from_url -->checked="checked"<!--/tmpl_if-->
						>
						Use the Custom Template at this URL for your Mailing List:
					</label>
				</div>
			</div>
			<div class="row">
				<div class="small-1 columns">
				</div>
				<div class="small-11 columns">
					
					<input 
						type="url" 
						id="url_template" 
						name="url_template" 
						value="<!-- tmpl_var list_settings.url_template ESCAPE="HTML"-->"
					>
					
					<!-- tmpl_if list_settings.url_template --> 
						<!-- tmpl_if template_url_check --> 
								<div class="alert-box success radius">
									URL accessible.
								</div>
							<!-- tmpl_if content_tag_found_in_url_template --> 
								<div class="alert-box success radius">
									<code>&lt;!-- tmpl_var content --&gt;</code> tag found in custom template.
								</div>
							<!-- tmpl_else --> 
								<div class="alert-box alert radius">
									Couldn't find, <code>&lt;!-- tmpl_var content --&gt;</code> tag in your custom template! 
								</div>
							<!-- /tmpl_if -->
						<!-- tmpl_else --> 
								<div class="alert-box alert radius">
									Problems fetching the below URL. Please check the URL and try again:
								</div>
						<!-- /tmpl_if --> 
					<!-- /tmpl_if --> 

				</div>
			</div>
		<!--/tmpl_if -->
	</fieldset> 
	
	<ul class="button-group right">
	    <li>
		   <input 
			   	type="button" 
				class="plain button preview_template"
				value="Preview Template"
			>
		</li>
		<li>
		   <input
		   		type="button" 
				class="success button change_template" 
				value="Change Template"
			>
		</li>
		<li>
		   <input
		   		type="reset"
				class="warning button"
				value="Clear Changes"
			>
		</li>
		<li>   
		   <input 
		   		type="button"
				class="alert button set_to_default"
				value="Revert to Default"
			>
		</li>
	</ul>
</form> 


<table class="responsive" width="100%">
	
	
 <tr class="text-center">
  <th>
    This Tag
  </th>
  <th>
    Is Replaced With
  </th>
 </tr>


 <tr>
  <td>
   <code>&lt;!-- tmpl_var content  --&gt;</code>
  </td>
  <td>

The content of the screen. 

This tag is 
   <strong>required</strong>. Think of this tag as the content of 
   your webpage.
  </td>
 </tr>


 <tr>
  <td>
   <code>&lt;!-- tmpl_var title  --&gt;</code>
  </td>
  <td>
   A brief header describing what the message on the screen is about.
  </td>
 </tr>


 <tr>
  <td>
   <code>&lt;!-- tmpl_var PROGRAM_NAME --&gt;</code>
  </td>
  <td>
   The name of the program (<!-- tmpl_var PROGRAM_NAME -->).
  </td>
 </tr>
 <tr>
  <td>
  <code>&lt;!-- tmpl_var VER --&gt; </code> 
  </td>
  <td>
   The version of the program (<!-- tmpl_var VER -->).
  </td>
 </tr>
 <tr>
  <td>
   <code>&lt;!-- tmpl_var  PROGRAM_URL --&gt;</code>
  </td>
  <td>
   The URL of <!-- tmpl_var PROGRAM_NAME -->
   (<a href="<!-- tmpl_var PROGRAM_URL -->" target="_blank"><!-- tmpl_var PROGRAM_URL --></a>).
  </td>
 </tr>

 <tr>
  <td>
   <code>&lt;!-- tmpl_var default_css --&gt;</code>  
</td>
  <td>
   The Cascading Style Sheet used in <!-- tmpl_var PROGRAM_NAME -->.
   (<a href="<!-- tmpl_var PROGRAM_URL -->/css" target="_blank">view</a>)
  </td>
 </tr>



 <tr>
  <td>
   <code>&lt;!-- tmpl_var show_profile_widget --&gt;</code>  
</td>
  <td>
  Will have a value of: 1 if profiles are enabled; 0 if not. 
  </td>
 </tr>


 <tr>
  <td>
   <code>&lt;!-- tmpl_var profile_widget --&gt;</code>  
</td>
  <td>
  The profile widget
  </td>
 </tr>

 <tr>
  <td>
   <code>&lt;!-- tmpl_var subscribed_to_list --&gt;</code>  
</td>
  <td>
  Will have a value of: 1 if the visitor to <!-- tmpl_var PROGRAM_NAME --> is subscribed to your list. 
  </td>
 </tr>
</table>

<!-- end edit_template_screen.tmpl -->