[Subversion] / DadaFork / DADA / Template / templates / html_code_screen.tmpl  

View of /DadaFork/DADA/Template/templates/html_code_screen.tmpl

Parent Directory | Revision Log
Revision: 2253 - (download)
Wed Jan 10 14:34:26 2007 UTC (17 years, 4 months ago) by pje
File size: 3975 byte(s)
Base version: DadaMail 2.10.12
<!-- begin html_code_screen.tmpl -->

<p>
 You may change what the signup form will look like by typing 
 what you want in the text boxes below. Click &quot;Set&quot; 
 to change the code in the main text box, then click 
 &quot;Preview HTML&quot; to see what it will look like.
</p>
<form name="the_form" action="<!-- tmpl_var S_PROGRAM_URL -->" method="post" target="preview">
 <input type="hidden" name="f" value="preview_form" />
 <table>
  <tr>
   <td>
    <p>
     <label for="the_size">
      Form Field Size
     </label>
    </p>
   </td>
   <td>
    <p>
     <select name="the_size" id="the_size">
      <option value="8">small</option>
      <option value="16" selected="selected">medium</option>
      <option value="24">large</option>
     </select>
    </p>
   </td>
   <td>
    <input type="button" class="plain" onclick="make_html();" value="Set" />
   </td>
  </tr>
  <tr>
   <td>
    <p>
     <label for="form_field_label">
      Form Field Label
     </label>
    </p>
   </td>
   <td>
    <p>
     <input type="text" name="form_field_label" id="form_field_label" value="email address" />
    </p>
   </td>
   <td>
    <p>
     <input type="button" class="plain" onclick="make_html();" value="Set" />
    </p>
   </td>
  </tr>
  <tr>
   <td>
    <p>
     <label for="button_label">
      Button Label
     </label>
    </p>
   </td>
   <td>
    <p>
     <input type="text" name="button_label" id="button_label" value="Submit" />
    </p>
   </td>
   <td>
    <p>
     <input type="button" class="plain" onclick="make_html();" value="Set" />
    </p>
   </td>
  </tr>
  <tr>
   <td>
    <p>
     <label for="unsub_radio_buttons">
      Add subscription/unsubscription radio buttons?
     </label>
    </p>
   </td>
   <td>
    <p>
     <select name="unsub_radio_buttons" id="unsub_radio_buttons">
      <option value="no">no</option>
      <option value="yes">yes</option>
     </select>
    </p>
   </td>
   <td>
    <p>
     <input type="button" class="plain" onclick="make_html();" value="Set" />
    </p>
   </td>
  </tr>
  
<!-- tmpl_if HTML_FOOTER -->
	  
	  <tr>
	   <td>
	    <p>
	     <label for="give_prog_credit">
	      Give <!-- tmpl_var PROGRAM_NAME --> credit?
	     </label>
	    </p>
	   </td>
	   <td>
	    <p>
	     <select name="give_prog_credit" id="give_prog_credit">
	      <option value="yes">yes</option>
	      <option value="no">no</option>
	     </select>
	    </p>
	   </td>
	   <td>
	    <p>
	     <input type="button" class="plain" onclick="make_html();" value="Set"/>
	    </p>
	   </td>
	  </tr>
	  
<!--tmpl_else-->
	  
	  <input type="hidden" name="give_prog_credit" value="no" />
	  
<!--/tmpl_if-->
  
 </table>
 <p>
  Copy the code in the text box and add it to any page on your site.
 </p>
 <textarea name="code" cols="50" rows="12">
  &lt;form action=&quot;<!-- tmpl_var PROGRAM_URL -->&quot; method=&quot;get&quot;&gt;
  &lt;input type=&quot;hidden&quot; name=&quot;list&quot; value=&quot;<!-- tmpl_var list -->&quot; /&gt;
  &lt;input type=&quot;hidden&quot; name=&quot;f&quot; value=&quot;subscribe&quot; /&gt;
  &lt;input type=&quot;text&quot; name=&quot;email&quot; value=&quot;email address&quot; size=&quot;16&quot; onfocus=&quot;this.value='';&quot; /&gt;
  &lt;input type=&quot;submit&quot; value=&quot;Submit&quot; /&gt;
  &lt;/form&gt;
  &lt;p style=&quot;font-size:10px;font-family:Verdana,Arial,sans-serif;&quot;&gt;
   powered by 
    &lt;a href=&quot;http://mojo.skazat.com&quot; target=&quot;_blank&quot; style=&quot;font-size:10px;font-family:Verdana,Arial,sans-serif;&quot;&gt;
   Dada Mail
  &lt;/a&gt;
 &lt;/p&gt;
 </textarea>
 <p>
  <input type="submit" class="plain" value="Preview HTML" onclick="preview();" />
  <br />
  (opens in a new window)
 </p>
</form>

<!-- tmpl_if SHOW_HELP_LINKS -->
	
	<div id="help_link">
	 <a href="<!-- tmpl_var HELP_LINKS_URL -->/html_code.html" target="_blank">
	  [?] Subscription Form HTML
	 </a>
	</div>
	
<!--/tmpl_if-->

<!-- end html_code_screen.tmpl -->

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help