Aide + localisation.
[photoprint.git] / skins / customer_join_template.pt
index acbf54c..92680ff 100644 (file)
@@ -2,7 +2,7 @@
   <head>
     <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
   </head>
   <head>
     <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
   </head>
-  <body metal:fill-slot="main_no_tabs" i18n:domain="plinn"
+  <body metal:fill-slot="main_no_tabs" i18n:domain="photoprint"
         tal:omit-tag="">
     <div tal:condition="python:options.get('came_from', '').endswith('/my_cart')"
          tal:define="step_authentication python:True" tal:omit-tag="">
         tal:omit-tag="">
     <div tal:condition="python:options.get('came_from', '').endswith('/my_cart')"
          tal:define="step_authentication python:True" tal:omit-tag="">
          <td>
           <input type="text" name="member_id" size="30" value=""
                  tal:attributes="value options/member_id" />
          <td>
           <input type="text" name="member_id" size="30" value=""
                  tal:attributes="value options/member_id" />
+           <dl class="FieldHelp">
+             <dd i18n:translate="">
+               Your login must starts with a letter, followed only by <br/>
+               letters, numbers or _ (underscore).<br/>
+               No accent, nopunctuation or special chars.<br/>
+               Those restrictions are only for this login field.
+             </dd>
+           </dl>
          </td>
         </tr>
         <tal:case tal:condition="not: options/validate_email">
          </td>
         </tr>
         <tal:case tal:condition="not: options/validate_email">
               <input type="password" name="confirm" size="30" tal:attributes="value options/confirm" />
             </td>
           </tr>
               <input type="password" name="confirm" size="30" tal:attributes="value options/confirm" />
             </td>
           </tr>
-          <tr>
-            <th i18n:translate="">Mail Password?</th>
-            <td>
-              <input type="checkbox" name="send_password" id="cb_send_password"
-                     tal:attributes="checked options/send_password" />
-              <em><label for="cb_send_password" i18n:translate="">Check this box to
-                have the password mailed.</label></em>
-            </td>
-          </tr>
         </tal:case>
         <tr>
           <td colspan="2"><hr/></td>
         </tr>
         <tr>
           <td colspan="2" style="text-align:center">
         </tal:case>
         <tr>
           <td colspan="2"><hr/></td>
         </tr>
         <tr>
           <td colspan="2" style="text-align:center">
-            <h3>Accès à des images privées</h3>
-            veuillez entrer le code d'accès pour accéder / acheter les images<br/>
-            d'un événement privé couvert par les photographes de notre agence.
+            <h3 i18n:translate="">Access to private Images</h3>
+            <dl class="FieldHelp">
+              <dd i18n:translate="">
+                Please enter the access code to view / purchase private images.
+              </dd>
+            </dl>
           </td>
         </tr>
         <tr>
           <th>Identifiant collection privée</th>
           <td>
           </td>
         </tr>
         <tr>
           <th>Identifiant collection privée</th>
           <td>
-            <input type="text" name="wedding_id" tal:attributes="value options/wedding_id"/>
+            <input type="text" name="collection_id" tal:attributes="value options/collection_id"/>
           </td>
         </tr>
         <tr>
           <th>Mot de passe associé</th>
           <td>
           </td>
         </tr>
         <tr>
           <th>Mot de passe associé</th>
           <td>
-            <input type="password" name="wedding_password" tal:attributes="value options/wedding_password" />
+            <input type="password" name="collection_password" tal:attributes="value options/collection_password" />
           </td>
         </tr>
         <tr>
           <th>Confirmation du mot de passe</th>
           <td>
           </td>
         </tr>
         <tr>
           <th>Confirmation du mot de passe</th>
           <td>
-            <input type="password" name="wedding_password_confirm" tal:attributes="value options/wedding_password_confirm" />
+            <input type="password" name="collection_password_confirm" tal:attributes="value options/collection_password_confirm" />
           </td>
         </tr>
         <tr>
           </td>
         </tr>
         <tr>
             <input type="text" name="phone" tal:attributes="value options/phone"/>
           </td>
         </tr>
             <input type="text" name="phone" tal:attributes="value options/phone"/>
           </td>
         </tr>
-        <tr>
-          <th><br/></th>
-          <td>
-            <input type="checkbox" name="accept_gcs" tal:attributes="checked python:options['accept_gcs']" />
-            <a tal:attributes="href string:$portal_url/cgv" target="_blank" i18n:translate="">I accept general conditions of sales</a>
-          </td>
-        </tr>
         <tr>
           <td>&nbsp;</td>
           <td>
         <tr>
           <td>&nbsp;</td>
           <td>