Changeset 1129 for trunk


Ignore:
Timestamp:
Apr 5, 2006, 11:01:05 PM (18 years ago)
Author:
plg
Message:

bug fixed: replace obsolet tn_width and tn_height language keys by their new
equivalent.

improvement: HTML properties forms rewritten to offer labelled Yes/No click
on checkboxes.

improvement: onblur onfocus attribute used on every HTML properties form.

Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/thumbnail.php

    r1072 r1129  
    171171  'L_PATH'=>$lang['path'],
    172172  'L_FILESIZE'=>$lang['filesize'],
    173   'L_WIDTH'=>$lang['tn_width'],
    174   'L_HEIGHT'=>$lang['tn_height'],
    175173  'L_GENERATED'=>$lang['tn_results_gen_time'],
    176174  'L_THUMBNAIL'=>$lang['thumbnail'],
  • trunk/language/en_UK.iso-8859-1/admin.lang.php

    r1121 r1129  
    248248$lang['manage sub-categories'] = 'manage sub-categories';
    249249$lang['manage'] = 'Manage';
     250$lang['maximum height'] = 'maximum height';
     251$lang['maximum width'] = 'maximum width';
    250252$lang['metadata_basic'] = 'basic';
    251253$lang['metadata_exif'] = 'EXIF';
     
    393395$lang['tn_err_width'] = 'width must be a number superior to';
    394396$lang['tn_format'] = 'for the file format';
    395 $lang['tn_height'] = 'height';
    396397$lang['tn_no_missing'] = 'No missing thumbnail';
    397398$lang['tn_no_support'] = 'Picture unreachable or no support';
     
    408409$lang['tn_stats_total'] = 'total time';
    409410$lang['tn_thisformat'] = 'for this file format';
    410 $lang['tn_width'] = 'width';
    411411$lang['unit mode'] = 'unit mode';
    412412$lang['unlocked'] = 'Unlocked';
  • trunk/language/fr_FR.iso-8859-1/admin.lang.php

    r1121 r1129  
    249249$lang['manage sub-categories'] = 'gérer les sous-catégories';
    250250$lang['manage'] = 'Gérer';
     251$lang['maximum height'] = 'hauteur maximum';
     252$lang['maximum width'] = 'largeur maximum';
    251253$lang['metadata_basic'] = 'basique';
    252254$lang['metadata_exif'] = 'EXIF';
     
    394396$lang['tn_err_width'] = 'la largeur doit être un entier supérieur à';
    395397$lang['tn_format'] = 'pour le format de fichier';
    396 $lang['tn_height'] = 'hauteur';
    397398$lang['tn_no_missing'] = 'Aucune miniature ne manque';
    398399$lang['tn_no_support'] = 'Image innaccessible ou non supportée';
     
    409410$lang['tn_stats_total'] = 'temps total';
    410411$lang['tn_thisformat'] = 'pour ce format de fichier';
    411 $lang['tn_width'] = 'largeur';
    412412$lang['unit mode'] = 'mode unitaire';
    413413$lang['unlocked'] = 'déverrouillée';
  • trunk/template/yoga/admin/configuration.tpl

    r1085 r1129  
    1515  <ul>
    1616    <li>
    17       <label for="gallery_title"><strong>{lang:Gallery title}</strong></label>
    18       <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{general.CONF_GALLERY_TITLE}" />
     17      <span class="property">
     18        <label for="gallery_title">{lang:Gallery title}</label>
     19      </span>
     20      <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{general.CONF_GALLERY_TITLE}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
    1921    </li>
    2022
    2123    <li>
    22       <label for="page_banner"><strong>{lang:Page banner}</strong></label>
    23       <textarea cols="50" rows="5" name="page_banner" id="page_banner">{general.CONF_PAGE_BANNER}</textarea>
     24      <span class="property">
     25        <label for="page_banner">{lang:Page banner}</label>
     26      </span>
     27      <textarea cols="50" rows="5" name="page_banner" id="page_banner" onfocus="this.className='focus';" onblur="this.className='nofocus';">{general.CONF_PAGE_BANNER}</textarea>
    2428    </li>
    2529
    2630    <li>
    27       <label for="gallery_url"><strong>{lang:Gallery URL}</strong></label>
    28       <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{general.CONF_GALLERY_URL}" />
     31      <span class="property">
     32        <label for="gallery_url">{lang:Gallery URL}</label>
     33      </span>
     34      <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{general.CONF_GALLERY_URL}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
    2935    </li>
    3036
    3137    <li>
    32       <label><strong>{lang:History}</strong></label>
    33       <input type="radio" class="radio" name="log" value="true" {general.HISTORY_YES} />{lang:Yes}
    34       <input type="radio" class="radio" name="log" value="false" {general.HISTORY_NO} />{lang:No}
     38      <span class="property">{lang:History}</span>
     39      <label><input type="radio" class="radio" name="log" value="true" {general.HISTORY_YES} />{lang:Yes}</label>
     40      <label><input type="radio" class="radio" name="log" value="false" {general.HISTORY_NO} />{lang:No}</label>
    3541    </li>
    3642
    3743    <li>
    38       <label><strong>{lang:Lock gallery}</strong></label>
    39       <input type="radio" class="radio" name="gallery_locked" value="true" {general.GALLERY_LOCKED_YES} />{lang:Yes}
    40       <input type="radio" class="radio" name="gallery_locked" value="false" {general.GALLERY_LOCKED_NO} />{lang:No}
     44      <span class="property">{lang:Lock gallery}</span>
     45      <label><input type="radio" class="radio" name="gallery_locked" value="true" {general.GALLERY_LOCKED_YES} />{lang:Yes}</label>
     46      <label><input type="radio" class="radio" name="gallery_locked" value="false" {general.GALLERY_LOCKED_NO} />{lang:No}</label>
    4147    </li>
    42   </ul>
    43 
    44   <ul>
     48   
    4549    <li>
    46       <label><strong>{lang:Rating}</strong></label>
    47       <input type="radio" class="radio" name="rate" value="true" {general.RATE_YES} />{lang:Yes}
    48       <input type="radio" class="radio" name="rate" value="false" {general.RATE_NO} />{lang:No}
     50      <span class="property">{lang:Rating}</span>
     51      <label><input type="radio" class="radio" name="rate" value="true" {general.RATE_YES} />{lang:Yes}</label>
     52      <label><input type="radio" class="radio" name="rate" value="false" {general.RATE_NO} />{lang:No}</label>
    4953    </li>
    5054
    5155    <li>
    52       <label><strong>{lang:Rating by guests}</strong></label>
    53       <input type="radio" class="radio" name="rate_anonymous" value="true" {general.RATE_ANONYMOUS_YES} />{lang:Yes}
    54       <input type="radio" class="radio" name="rate_anonymous" value="false" {general.RATE_ANONYMOUS_NO} />{lang:No}
     56      <span class="property">{lang:Rating by guests}</span>
     57      <label><input type="radio" class="radio" name="rate_anonymous" value="true" {general.RATE_ANONYMOUS_YES} />{lang:Yes}</label>
     58      <label><input type="radio" class="radio" name="rate_anonymous" value="false" {general.RATE_ANONYMOUS_NO} />{lang:No}</label>
    5559    </li>
    5660  </ul>
     
    6266  <ul>
    6367    <li>
    64       <label><strong>{lang:Comments for all}</strong></label>
    65       <input type="radio" class="radio" name="comments_forall" value="true" {comments.COMMENTS_ALL_YES} />{lang:Yes}
    66       <input type="radio" class="radio" name="comments_forall" value="false" {comments.COMMENTS_ALL_NO} />{lang:No}
     68      <span class="property">{lang:Comments for all}</span>
     69      <label><input type="radio" class="radio" name="comments_forall" value="true" {comments.COMMENTS_ALL_YES} />{lang:Yes}</label>
     70      <label><input type="radio" class="radio" name="comments_forall" value="false" {comments.COMMENTS_ALL_NO} />{lang:No}</label>
    6771    </li>
    6872
    6973    <li>
    70       <label for="nb_comment_page"><strong>{lang:Number of comments per page}</strong></label>
    71       <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{comments.NB_COMMENTS_PAGE}" />
     74      <span class="property">
     75        <label for="nb_comment_page">{lang:Number of comments per page}</label>
     76      </span>
     77      <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{comments.NB_COMMENTS_PAGE}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
    7278    </li>
    7379
    7480    <li>
    75       <label><strong>{lang:Validation}</strong></label>
    76       <input type="radio" class="radio" name="comments_validation" value="true" {comments.VALIDATE_YES} />{lang:Yes}
    77       <input type="radio" class="radio" name="comments_validation" value="false" {comments.VALIDATE_NO} />{lang:No}
     81      <span class="property">{lang:Validation}</span>
     82      <label><input type="radio" class="radio" name="comments_validation" value="true" {comments.VALIDATE_YES} />{lang:Yes}</label>
     83      <label><input type="radio" class="radio" name="comments_validation" value="false" {comments.VALIDATE_NO} />{lang:No}</label>
    7884    </li>
    7985  </ul>
     
    8490  <ul>
    8591    <li>
    86       <label for="language"><strong>{lang:Language}</strong></label>
    87       <select name="default_language" id="default_language">
     92      <span class="property">
     93        <label for="default_language">{lang:Language}</label>
     94      </span>
     95      <select name="default_language" id="default_language" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    8896        <!-- BEGIN language_option -->
    8997        <option value="{default.language_option.VALUE}" {default.language_option.SELECTED}>{default.language_option.CONTENT}</option>
     
    93101
    94102    <li>
    95       <label for="nb_image_line"><strong>{lang:Number of images per row}</strong></label>
    96       <input type="text" size="3" maxlength="2" name="nb_image_line" value="{default.NB_IMAGE_LINE}" />
     103      <span class="property">
     104        <label for="nb_image_line">{lang:Number of images per row}</label>
     105      </span>
     106      <input type="text" size="3" maxlength="2" id="nb_image_line" name="nb_image_line" value="{default.NB_IMAGE_LINE}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
    97107    </li>
    98108
    99109    <li>
    100       <label><strong>{lang:Number of rows per page}</strong></label>
    101       <input type="text" size="3" maxlength="2" name="nb_line_page" value="{default.NB_ROW_PAGE}" />
     110      <span class="property">
     111        <label for="nb_line_page">{lang:Number of rows per page}</label>
     112      </span>
     113      <input type="text" size="3" maxlength="2" id="nb_line_page" name="nb_line_page" value="{default.NB_ROW_PAGE}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
    102114    </li>
    103115
    104116    <li>
    105       <label><strong>{lang:Interface theme}</strong></label>
    106       <select name="default_template" id="default_template">
     117      <span class="property">
     118        <label for="default_template">{lang:Interface theme}</label>
     119      </span>
     120      <select name="default_template" id="default_template" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    107121        <!-- BEGIN template_option -->
    108122        <option value="{default.template_option.VALUE}" {default.template_option.SELECTED}>{default.template_option.CONTENT}</option>
     
    112126
    113127    <li>
    114       <label for="recent_period"><strong>{lang:Recent period}</strong></label>
    115       <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{default.CONF_RECENT}" />
     128      <span class="property">
     129        <label for="recent_period">{lang:Recent period}</label>
     130      </span>
     131      <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{default.CONF_RECENT}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
    116132    </li>
    117133
    118134    <li>
    119       <label><strong>{lang:Expand all categories}</strong></label>
    120       <input type="radio" class="radio" name="auto_expand" value="true" {default.EXPAND_YES} />{lang:Yes}
    121       <input type="radio" class="radio" name="auto_expand" value="false" {default.EXPAND_NO} />{lang:No}
     135      <span class="property">{lang:Expand all categories}</span>
     136      <label><input type="radio" class="radio" name="auto_expand" value="true" {default.EXPAND_YES} />{lang:Yes}</label>
     137      <label><input type="radio" class="radio" name="auto_expand" value="false" {default.EXPAND_NO} />{lang:No}</label>
    122138    </li>
    123139
    124140    <li>
    125       <label><strong>{lang:Show number of comments}</strong></label>
    126       <input type="radio" class="radio" name="show_nb_comments" value="true" {default.SHOW_COMMENTS_YES} />{lang:Yes}
    127       <input type="radio" class="radio" name="show_nb_comments" value="false" {default.SHOW_COMMENTS_NO} />{lang:No}
     141      <span class="property">{lang:Show number of comments}</span>
     142      <label><input type="radio" class="radio" name="show_nb_comments" value="true" {default.SHOW_COMMENTS_YES} />{lang:Yes}</label>
     143      <label><input type="radio" class="radio" name="show_nb_comments" value="false" {default.SHOW_COMMENTS_NO} />{lang:No}</label>
    128144    </li>
    129145
    130146    <li>
    131       <label><strong>{lang:Maximum width of the pictures}</strong></label>
    132       <input type="text" size="4" maxlength="4" name="default_maxwidth" value="{default.MAXWIDTH}" />
     147      <span class="property">
     148        <label for="default_maxwidth">{lang:Maximum width of the pictures}</label>
     149      </span>
     150      <input type="text" size="4" maxlength="4" id="default_maxwidth" name="default_maxwidth" value="{default.MAXWIDTH}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
    133151    </li>
    134152
    135153    <li>
    136       <label><strong>{lang:Maximum height of the pictures}</strong></label>
    137       <input type="text" size="4" maxlength="4" name="default_maxheight" value="{default.MAXHEIGHT}" />
     154      <span class="property">
     155        <label for="default_maxheight">{lang:Maximum height of the pictures}</label>
     156      </span>
     157      <input type="text" size="4" maxlength="4" id="default_maxheight" name="default_maxheight" value="{default.MAXHEIGHT}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
    138158    </li>
    139159  </ul>
  • trunk/template/yoga/admin/group_list.tpl

    r1085 r1129  
    55  <fieldset>
    66    <legend>{lang:Add group}</legend>
    7     <label>{lang:Group name}</label><input type="text" name="groupname" maxlength="50" size="20" />
    8     <p><input type="submit" name="submit_add" value="{lang:Add}" {TAG_INPUT_ENABLED}/></p>
     7
     8    <span class="property">
     9      <label for="groupname">{lang:Group name}</label>
     10    </span>
     11    <input type="text" id="groupname" name="groupname" maxlength="50" size="20" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
     12
     13    <p>
     14      <input type="submit" name="submit_add" value="{lang:Add}" {TAG_INPUT_ENABLED}/>
     15    </p>
    916  </fieldset>
    1017</form>
  • trunk/template/yoga/admin/thumbnail.tpl

    r1104 r1129  
    6666    <ul>
    6767      <li>
    68         <label><strong>{L_GD}</strong></label>
    69         <input type="radio" name="gd" value="2" {params.GD2_CHECKED} />2.x
    70         <input type="radio" name="gd" value="1" {params.GD1_CHECKED} />1.x
     68        <span class="property">{L_GD}</span>
     69        <label>
     70          <input type="radio" name="gd" value="2" {params.GD2_CHECKED} />2.x
     71        </label>
     72        <label>
     73          <input type="radio" name="gd" value="1" {params.GD1_CHECKED} />1.x
     74        </label>
    7175      </li>
    7276
    7377      <li>
    74         <label><strong>{lang:maximum width}</strong></label>
    75         <input type="text" name="width" value="{params.WIDTH_TN}"/>
     78        <span class="property">
     79          <label for="width">{lang:maximum width}</label>
     80        </span>
     81        <input type="text" id="width" name="width" value="{params.WIDTH_TN}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
    7682      </li>
    7783
    7884      <li>
    79         <label><strong>{lang:maximum height}</strong></label>
    80         <input type="text" name="height" value="{params.HEIGHT_TN}"/>
     85        <span class="property">
     86          <label for="height">{lang:maximum height}</label>
     87        </span>
     88        <input type="text" id="height" name="height" value="{params.HEIGHT_TN}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
    8189      </li>
    8290
    8391      <li>
    84         <label><strong>{lang:Number of thumbnails to create}</strong></label>
    85         <input type="radio" name="n" value="5"   {params.n_5_CHECKED} /> 5
    86         <input type="radio" name="n" value="10"  {params.n_10_CHECKED} /> 10
    87         <input type="radio" name="n" value="20"  {params.n_20_CHECKED} /> 20
    88         <input type="radio" name="n" value="all" {params.n_all_CHECKED} /> {L_ALL}
     92        <span class="property">{lang:Number of thumbnails to create}</span>
     93        <label><input type="radio" name="n" value="5"   {params.n_5_CHECKED} /> 5</label>
     94        <label><input type="radio" name="n" value="10"  {params.n_10_CHECKED} /> 10</label>
     95        <label><input type="radio" name="n" value="20"  {params.n_20_CHECKED} /> 20</label>
     96        <label><input type="radio" name="n" value="all" {params.n_all_CHECKED} /> {L_ALL}</label>
    8997      </li>
    9098    </ul>
  • trunk/template/yoga/default-layout.css

    r1120 r1129  
    180180}
    181181
    182 FORM.properties LABEL {
     182FORM.properties SPAN.property {
     183  font-weight: bold;
    183184  float: left;
    184185  width: 50%;
     
    188189}
    189190
    190 FORM.properties LABEL.mandatory {
    191   font-weight: bold;
    192 }
    193 
    194191FORM.properties .focus {
    195192  background-color: whitesmoke;
  • trunk/template/yoga/identification.tpl

    r1101 r1129  
    2424  <fieldset>
    2525    <legend>{lang:Connection settings}</legend>
    26      <input type="hidden" name="redirect" value="{U_REDIRECT}">
     26   
     27    <input type="hidden" name="redirect" value="{U_REDIRECT}">
     28   
    2729    <ul>
    2830      <li>
    29         <label for="username">{L_USERNAME}</label>
    30         <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" value="{USERNAME}">
     31        <span class="property">
     32          <label for="username">{L_USERNAME}</label>
     33        </span>
     34        <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" value="{USERNAME}" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
    3135      </li>
    3236 
    3337      <li>
    34         <label for="password">{L_PASSWORD}</label>
    35         <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25">
     38        <span class="property">
     39          <label for="password">{L_PASSWORD}</label>
     40        </span>
     41        <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25" onfocus="this.className='focus';" onblur="this.className='nofocus';" />
    3642      </li>
    3743 
    3844      <!-- BEGIN remember_me -->
    3945      <li>
    40         <label for="remember_me">{L_REMEMBER_ME}</label>
    41         <input type="checkbox" name="remember_me" id=="remember_me" value="1">
     46        <span class="property">
     47          <label for="remember_me">{L_REMEMBER_ME}</label>
     48        </span>
     49        <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1">
    4250      </li>
    4351      <!-- END remember_me -->
     
    4553  </fieldset>
    4654
    47   <p><input type="submit" name="login" value="{L_LOGIN}"></p>
     55  <p><input tabindex="4" type="submit" name="login" value="{L_LOGIN}"></p>
    4856</form>
    4957 
  • trunk/template/yoga/password.tpl

    r960 r1129  
    3434
    3535    <ul>
    36       <li>
    37         <label for="mail_address">{lang:Email address}</label>
    38         <input class="login" type="text" name="mail_address" id="mail_address" size="40" maxlength="40">
     36      <li>
     37        <span class="property">
     38          <label for="mail_address">{lang:Email address}</label>
     39        </span>
     40        <input class="login" type="text" name="mail_address" id="mail_address" size="40" maxlength="40" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    3941      </li>
    4042
    4143      <li>
    42         <label>{lang:No email address}</label>
    43         <input type="checkbox" name="no_mail_address" value="1">
     44        <span class="property">
     45          <label for="no_mail_address">{lang:No email address}</label>
     46        </span>
     47        <input type="checkbox" id="no_mail_address" name="no_mail_address" value="1">
    4448      </li>
    4549    </ul>
  • trunk/template/yoga/profile.tpl

    r1100 r1129  
    2727    <ul>
    2828      <li>
    29         <label>{lang:Username}</label>
    30         <strong>{USERNAME}</strong>
     29        <span class="property">{lang:Username}</span>
     30        {USERNAME}
    3131      </li>
    3232
    3333      <li>
    34         <label for="mail_address">{lang:Email address}</label>
     34        <span class="property">
     35          <label for="mail_address">{lang:Email address}</label>
     36        </span>
    3537        <input type="text" name="mail_address" id="mail_address" value="{EMAIL}" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    3638      </li>
    3739
    3840      <li>
    39         <label for="password">{L_CURRENT_PASSWORD}</label>
     41        <span class="property">
     42          <label for="password">{L_CURRENT_PASSWORD}</label>
     43        </span>
    4044        <input type="password" name="password" id="password" value="" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    4145      </li>
    4246
    4347      <li>
    44         <label for="use_new_pwd">{L_NEW_PASSWORD}</label>
     48        <span class="property">
     49          <label for="use_new_pwd">{L_NEW_PASSWORD}</label>
     50        </span>
    4551        <input type="password" name="use_new_pwd" id="use_new_pwd" value="" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    4652      </li>
    4753
    4854      <li>
    49         <label for="passwordConf">{L_CONFIRM_PASSWORD}</label>
     55        <span class="property">
     56          <label for="passwordConf">{L_CONFIRM_PASSWORD}</label>
     57        </span>
    5058        <input type="password" name="passwordConf" id="passwordConf" value="" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    5159      </li>
     
    5866    <ul>
    5967      <li>
    60         <label for="nb_image_line">{L_NB_IMAGE_LINE}</label>
     68        <span class="property">
     69          <label for="nb_image_line">{L_NB_IMAGE_LINE}</label>
     70        </span>
    6171        <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{NB_IMAGE_LINE}"
    6272               onfocus="this.className='focus';" onblur="this.className='nofocus';">
     
    6474
    6575      <li>
    66         <label for="nb_line_page">{L_NB_ROW_PAGE}</label>
     76        <span class="property">
     77          <label for="nb_line_page">{L_NB_ROW_PAGE}</label>
     78        </span>
    6779        <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{NB_ROW_PAGE}"
    6880               onfocus="this.className='focus';" onblur="this.className='nofocus';">
     
    7082
    7183      <li>
    72         <label for="template">{L_STYLE_SELECT}</label>
    73         <select name="template" id="template"> <!-- FIXME: if onfocus is used, the behaviour becomes weird in Firefox -->
     84        <span class="property">
     85          <label for="template">{L_STYLE_SELECT}</label>
     86        </span>
     87        <select name="template" id="template" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    7488          <!-- BEGIN template_option -->
    7589          <option value="{template_option.VALUE}" {template_option.SELECTED}>{template_option.CONTENT}</option>
     
    7993
    8094      <li>
    81         <label for="language">{L_LANG_SELECT}</label>
    82         <select name="language" id="language"> <!-- same FIXME -->
     95        <span class="property">
     96          <label for="language">{L_LANG_SELECT}</label>
     97        </span>
     98        <select name="language" id="language" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    8399          <!-- BEGIN language_option -->
    84100          <option value="{language_option.VALUE}" {language_option.SELECTED}>{language_option.CONTENT}</option>
     
    88104
    89105      <li>
    90         <label for="recent_period">{L_RECENT_PERIOD}</label>
     106        <span class="property">
     107          <label for="recent_period">{L_RECENT_PERIOD}</label>
     108        </span>
    91109        <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{RECENT_PERIOD}"
    92110               onfocus="this.className='focus';" onblur="this.className='nofocus';">
     
    94112
    95113      <li>
    96         <label>{L_EXPAND_TREE}</label>
    97         <input type="radio" class="radio" name="expand" value="true" {EXPAND_TREE_YES}> {L_YES}
    98         <input type="radio" class="radio" name="expand" value="false" {EXPAND_TREE_NO}> {L_NO}
     114        <span class="property">{L_EXPAND_TREE}</span>
     115        <label><input type="radio" class="radio" name="expand" value="true" {EXPAND_TREE_YES}> {L_YES}</label>
     116        <label><input type="radio" class="radio" name="expand" value="false" {EXPAND_TREE_NO}> {L_NO}</label>
    99117      </li>
    100118
    101119      <li>
    102         <label>{L_NB_COMMENTS}</label>
    103         <input type="radio" class="radio" name="show_nb_comments" value="true" {NB_COMMENTS_YES}> {L_YES}
    104         <input type="radio" class="radio" name="show_nb_comments" value="false" {NB_COMMENTS_NO}> {L_NO}
     120        <span class="property">{L_NB_COMMENTS}</span>
     121        <label><input type="radio" class="radio" name="show_nb_comments" value="true" {NB_COMMENTS_YES}> {L_YES}</label>
     122        <label><input type="radio" class="radio" name="show_nb_comments" value="false" {NB_COMMENTS_NO}> {L_NO}</label>
    105123      </li>
    106124 
    107125      <li>
    108         <label for="maxwidth">{L_MAXWIDTH}</label>
     126        <span class="property">
     127          <label for="maxwidth">{L_MAXWIDTH}</label>
     128        </span>
    109129        <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{MAXWIDTH}"
    110130               onfocus="this.className='focus';" onblur="this.className='nofocus';">
     
    112132
    113133      <li>
    114         <label for="maxheight">{L_MAXHEIGHT}</label>
     134        <span class="property">
     135          <label for="maxheight">{L_MAXHEIGHT}</label>
     136        </span>
    115137        <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{MAXHEIGHT}"
    116138               onfocus="this.className='focus';" onblur="this.className='nofocus';">
  • trunk/template/yoga/register.tpl

    r960 r1129  
    2626    <ul>
    2727      <li>
    28         <label for="login" class="mandatory">* {lang:Username}</label>
     28        <span class="property">
     29          <label for="login">* {lang:Username}</label>
     30        </span>
    2931        <input type="text" name="login" id="login" value="{F_LOGIN}" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    3032      </li>
    3133
    3234      <li>
    33         <label for="password" class="mandatory">* {lang:Password}</label>
     35        <span class="property">
     36          <label for="password">* {lang:Password}</label>
     37        </span>
    3438        <input type="password" name="password" id="password" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    3539      </li>
    3640
    3741      <li>
    38         <label for="password_conf" class="mandatory">* {lang:Confirm Password}</label>
     42        <span class="property">
     43          <label for="password_conf">* {lang:Confirm Password}</label>
     44        </span>
    3945        <input type="password" name="password_conf" id="password_conf" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    4046      </li>
    4147
    4248      <li>
    43         <label for="mail_address">{lang:Mail address}</label>
     49        <span class="property">
     50          <label for="mail_address">{lang:Mail address}</label>
     51        </span>
    4452        <input type="text" name="mail_address" id="mail_address" value="{F_EMAIL}" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    4553        ({lang:useful when password forgotten})
Note: See TracChangeset for help on using the changeset viewer.