Guest

Untitled

By: a guest on Jan 28th, 2012  |  syntax: None  |  size: 2.38 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. <!--
  2.     CSQ - Abonnement aux infolettres - Plugin frontend (tx_stfeuserdmailunsubscribe_pi1)
  3.  
  4.     $legend             /* légende du fieldset - alias titre */
  5.     $form               /* Tableau contenant la configuration du formulaire (set-by-ts OR locallang) */
  6.         .action             /* Le script qui est exécuté */
  7.         .method             /* La methode d'envoi (HTTP POST or GET) */
  8.         .submit             /* Chaine de caractère du bouton d'envoi */          
  9. -->
  10.  
  11. <style type="text/css" media="screen">
  12. /* <![CDATA[ */
  13.  
  14.     #tx_stfeuserdmailunsubscribe_pi1 ol,
  15.     #tx_stfeuserdmailunsubscribe_pi1 ul {
  16.             list-style: none;
  17.     }
  18.  
  19.     #tx_stfeuserdmailunsubscribe_pi1 li {
  20.         padding-left:25px;
  21.     }
  22.  
  23.     #tx_stfeuserdmailunsubscribe_pi1 p {
  24.         padding:0;
  25.         margin:0;
  26.         left:0;
  27.         right:0;
  28.     }
  29.  
  30. /* ]]> */
  31. </style>
  32.  
  33. <form id="tx_stfeuserdmailunsubscribe_pi1" action="{$form.action}" method="{$form.method}">
  34.     <fieldset>
  35.         <legend>{$legend}</legend>
  36.         <!--
  37.             Liste des catégories d'infolettres
  38.             voir TS::tx_directmail.default.categories dans la rootline
  39.         -->
  40.         {if $subscribed}
  41.         <!-- <premier niveau> -->
  42.         <ul>
  43.             <li><input type="checkbox" name="" value="" id="" checked="checked"><label>{$unsubscribed.option}</label></li>
  44.             <li>
  45.                 <!-- <second niveau> -->
  46.                 <ul>
  47.                     <li><p>{replace $status "%TOTAL%" $total}</p></li>
  48.                     <li>
  49.                         <!-- <troisieme niveau> -->
  50.                         <ul>
  51.                             {foreach $categories category}
  52.                                 <li><input type="checkbox" name="{$category.name}" id="{$category.id}" {$category.checked}/><label>{$category.title}</label></li>    
  53.                             {/foreach}
  54.                         </ul>
  55.                         <!-- </troisieme niveau> -->
  56.                     </li>
  57.                </ul>
  58.                <!-- </second niveau> -->
  59.             </li>
  60.         </ul>
  61.         <!-- </premier niveau> -->
  62.         {else}
  63.             <p>{$unsubscribed.text}</p>
  64.             <p><input type="checkbox" name="" value="" id="" /><label>{$unsubscribed.option}</label></p>
  65.         {/if}
  66.         <p><input type="submit" value="{$form.submit}" /></p>
  67.     </fieldset>  
  68. </form>