Changeset 2268 for trunk/template


Ignore:
Timestamp:
Mar 8, 2008, 1:38:09 PM (16 years ago)
Author:
rvelices
Message:
  • security fix (profile)
  • les langues a la hache
  • fix some copy/paste errors
Location:
trunk/template/yoga
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/admin/cat_list.tpl

    r2223 r2268  
    77  <p>
    88    {'cat_add'|@translate} : <input type="text" name="virtual_name" />
    9     <input class="submit" type="submit" value="{'submit'|@translate}" name="submitAdd" {$TAG_INPUT_ENABLED} />
     9    <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitAdd" {$TAG_INPUT_ENABLED} />
    1010    {if count($categories)>9 }
    11     <a href="#EoP" class="button"><img src="{$themeconf.icon_dir}/page_end.png" class="button" alt="{'page_end'|@translate}" /></a>
     11    <a href="#EoP" class="button"><img src="{$themeconf.icon_dir}/page_end.png" class="button" alt="page_end" /></a>
    1212    {/if}
    1313  </p>
  • trunk/template/yoga/admin/check_integrity.tpl

    r2241 r2268  
    5757        <p>
    5858          {if $c13y_show_submit_ignore}
    59               <a href="#" onclick="SelectAll(document.getElementById('c13y')); return false;">{'c13y_check_all'|@translate}</a>
    60             / <a href="#" onclick="DeselectAll(document.getElementById('c13y')); return false;">{'c13y_uncheck_all'|@translate}</a>
     59              <a href="#" onclick="SelectAll(document.getElementById('c13y')); return false;">{'Check all'|@translate}</a>
     60            / <a href="#" onclick="DeselectAll(document.getElementById('c13y')); return false;">{'Uncheck all'|@translate}</a>
    6161          {/if}
    6262          {if isset($c13y_do_check)}
  • trunk/template/yoga/admin/notification_by_mail.tpl

    r2222 r2268  
    2525        <td><label>{lang:nbm_send_html_mail}</label></td>
    2626        <td>
    27           <label><input type="radio" name="nbm_send_html_mail" value="true"  {param.SEND_HTML_MAIL_YES}/>{lang:yes}</label>
    28           <label><input type="radio" name="nbm_send_html_mail" value="false" {param.SEND_HTML_MAIL_NO}/>{lang:no}</label>
     27          <label><input type="radio" name="nbm_send_html_mail" value="true"  {param.SEND_HTML_MAIL_YES}/>{lang:Yes}</label>
     28          <label><input type="radio" name="nbm_send_html_mail" value="false" {param.SEND_HTML_MAIL_NO}/>{lang:No}</label>
    2929        </td>
    3030      </tr>
     
    3939        <td><label>{lang:nbm_send_detailed_content}</label></td>
    4040        <td>
    41           <label><input type="radio" name="nbm_send_detailed_content" value="true"  {param.SEND_DETAILED_CONTENT_YES}/>{lang:yes}</label>
    42           <label><input type="radio" name="nbm_send_detailed_content" value="false" {param.SEND_DETAILED_CONTENT_NO}/>{lang:no}</label>
     41          <label><input type="radio" name="nbm_send_detailed_content" value="true"  {param.SEND_DETAILED_CONTENT_YES}/>{lang:Yes}</label>
     42          <label><input type="radio" name="nbm_send_detailed_content" value="false" {param.SEND_DETAILED_CONTENT_NO}/>{lang:No}</label>
    4343        </td>
    4444      </tr>
     
    5353        </td>
    5454        <td>
    55           <label><input type="radio" name="nbm_send_recent_post_dates" value="true"  {param.SEND_RECENT_POST_DATES_YES}/>{lang:yes}</label>
    56           <label><input type="radio" name="nbm_send_recent_post_dates" value="false" {param.SEND_RECENT_POST_DATES_NO}/>{lang:no}</label>
     55          <label><input type="radio" name="nbm_send_recent_post_dates" value="true"  {param.SEND_RECENT_POST_DATES_YES}/>{lang:Yes}</label>
     56          <label><input type="radio" name="nbm_send_recent_post_dates" value="false" {param.SEND_RECENT_POST_DATES_NO}/>{lang:No}</label>
    5757        </td>
    5858      </tr>
     
    102102      </table>
    103103      <p>
    104           <a href="#" onclick="SelectAll(document.getElementById('notification_by_mail')); return false;">{lang:nbm_send_check_all}</a>
    105         / <a href="#" onclick="DeselectAll(document.getElementById('notification_by_mail')); return false;">{lang:nbm_send_uncheck_all}</a>
     104          <a href="#" onclick="SelectAll(document.getElementById('notification_by_mail')); return false;">{lang:Check all}</a>
     105        / <a href="#" onclick="DeselectAll(document.getElementById('notification_by_mail')); return false;">{lang:Uncheck all}</a>
    106106      </p>
    107107    </fieldset>
  • trunk/template/yoga/admin/user_list.tpl

    r2253 r2268  
    3535
    3636  <label>
    37   {'Order by'|@translate}
     37  {'Sort by'|@translate}
    3838  {html_options name=order_by options=$order_options selected=$order_selected}
    3939  </label>
     
    6363    <th>{$title}</th>
    6464    {/foreach}
    65     <th>{'actions'|@translate}</th>
     65    <th>{'Actions'|@translate}</th>
    6666  </tr>
    6767  {foreach from=$users item=user name=users_loop}
     
    117117        <label><input type="radio" name="adviser" value="leave" checked="checked" /> {'leave'|@translate}</label>
    118118        / {'set to'|@translate}
    119         <label><input type="radio" name="adviser" value="true"  {$ADVISER_YES} />{'yes'|@translate}</label>
    120         <label><input type="radio" name="adviser" value="false" {$ADVISER_NO}  />{'no'|@translate}</label>
     119        <label><input type="radio" name="adviser" value="true"  {$ADVISER_YES} />{'Yes'|@translate}</label>
     120        <label><input type="radio" name="adviser" value="false" {$ADVISER_NO}  />{'No'|@translate}</label>
    121121      </td>
    122122    </tr>
     
    161161        <label><input type="radio" name="enabled_high" value="leave" checked="checked" /> {'leave'|@translate}</label>
    162162        / {'set to'|@translate}
    163         <label><input type="radio" name="enabled_high" value="true"  {$ENABLED_HIGH_YES} />{'yes'|@translate}</label>
    164         <label><input type="radio" name="enabled_high" value="false" {$ENABLED_HIGH_NO}  />{'no'|@translate}</label>
     163        <label><input type="radio" name="enabled_high" value="true"  {$ENABLED_HIGH_YES} />{'Yes'|@translate}</label>
     164        <label><input type="radio" name="enabled_high" value="false" {$ENABLED_HIGH_NO}  />{'No'|@translate}</label>
    165165      </td>
    166166    </tr>
     
    244244      <label><input type="radio" name="expand" value="leave" checked="checked" /> {'leave'|@translate}</label>
    245245      / {'set to'|@translate}
    246       <label><input type="radio" name="expand" value="true"  {$EXPAND_YES} />{'yes'|@translate}</label>
    247       <label><input type="radio" name="expand" value="false" {$EXPAND_NO}  />{'no'|@translate}</label>
     246      <label><input type="radio" name="expand" value="true"  {$EXPAND_YES} />{'Yes'|@translate}</label>
     247      <label><input type="radio" name="expand" value="false" {$EXPAND_NO}  />{'No'|@translate}</label>
    248248    </td>
    249249  </tr>
     
    254254      <label><input type="radio" name="show_nb_comments" value="leave" checked="checked" /> {'leave'|@translate}</label>
    255255      / {'set to'|@translate}
    256       <label><input type="radio" name="show_nb_comments" value="true" {$SHOW_NB_COMMENTS_YES} />{'yes'|@translate}</label>
    257       <label><input type="radio" name="show_nb_comments" value="false" {$SHOW_NB_COMMENTS_NO} />{'no'|@translate}</label>
     256      <label><input type="radio" name="show_nb_comments" value="true" {$SHOW_NB_COMMENTS_YES} />{'Yes'|@translate}</label>
     257      <label><input type="radio" name="show_nb_comments" value="false" {$SHOW_NB_COMMENTS_NO} />{'No'|@translate}</label>
    258258    </td>
    259259  </tr>
     
    264264      <label><input type="radio" name="show_nb_hits" value="leave" checked="checked" /> {'leave'|@translate}</label>
    265265      / {'set to'|@translate}
    266       <label><input type="radio" name="show_nb_hits" value="true" {$SHOW_NB_HITS_YES} />{'yes'|@translate}</label>
    267       <label><input type="radio" name="show_nb_hits" value="false" {$SHOW_NB_HITS_NO} />{'no'|@translate}</label>
     266      <label><input type="radio" name="show_nb_hits" value="true" {$SHOW_NB_HITS_YES} />{'Yes'|@translate}</label>
     267      <label><input type="radio" name="show_nb_hits" value="false" {$SHOW_NB_HITS_NO} />{'No'|@translate}</label>
    268268    </td>
    269269  </tr>
     
    304304
    305305<p>
    306   <input class="submit" type="submit" value="{'submit'|@translate}" name="pref_submit" {$TAG_INPUT_ENABLED} />
    307   <input class="submit" type="reset" value="{'reset'|@translate}" name="pref_reset" />
     306  <input class="submit" type="submit" value="{'Submit'|@translate}" name="pref_submit" {$TAG_INPUT_ENABLED} />
     307  <input class="submit" type="reset" value="{'Reset'|@translate}" name="pref_reset" />
    308308</p>
    309309
  • trunk/template/yoga/index.tpl

    r2257 r2268  
    2929
    3030      {if isset($U_SLIDESHOW) }
    31       <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"/></a></li>
     31      <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"/></a></li>
    3232      {/if}
    3333
     
    6969  </div> <!-- titrePage -->
    7070
    71 {if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
     71{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
    7272
    7373{if !empty($category_search_results) }
  • trunk/template/yoga/profile_content.tpl

    r2246 r2268  
    33
    44  <fieldset>
    5     <legend>{'register_title'|@translate}</legend>
    6     <input type="hidden" name="userid" value="{$USERID}" />
     5    <legend>{'Registration'|@translate}</legend>
    76    <input type="hidden" name="redirect" value="{$REDIRECT}" />
    87    <ul>
     
    1110        {$USERNAME}
    1211      </li>
    13 {if isset($not_special_user)}
     12{if not $SPECIAL_USER} {* can modify password + email*}
    1413      <li>
    1514        <span class="property">
     
    1817        <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}">
    1918      </li>
    20 {if !$in_admin}
     19{if not $IN_ADMIN} {* admins do not need old password*}
    2120      <li>
    2221        <span class="property">
     
    104103
    105104  <p class="bottomButtons">
    106     <input class="submit" type="submit" name="validate" value="{'submit'|@translate}">
    107     <input class="submit" type="reset" name="reset" value="{'reset'|@translate}">
     105    <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}">
     106    <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
    108107  </p>
    109108
Note: See TracChangeset for help on using the changeset viewer.