Ignore:
Timestamp:
Mar 14, 2012, 2:28:10 PM (12 years ago)
Author:
plg
Message:

import theme Simple version 2.1

  • bugfix for user's profile - use default profile_content.tpl
  • child themes do not need to have content.css
  • use local_head.tpl
  • correct order of thumbnails & show copyright on picture page
  • use default as parent theme & change theme URI
  • add quicksearch and style input, textarea, ...
  • add login link in the footer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/simple_themes/simple/template/profile.tpl

    r13546 r13547  
    1515  </div>
    1616  {/if}
    17   <form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties">
    18     <fieldset>
    19       <legend>{'Registration'|@translate}</legend>
    20       <input type="hidden" name="redirect" value="{$REDIRECT}" />
    21       <ul>
    22         <li>
    23           <div class="property">{'Username'|@translate}</div>
    24           {$USERNAME}
    25         </li>
    26         {if not $SPECIAL_USER} {* can modify password + email*}
    27         <li>
    28           <div class="property">
    29             <label for="mail_address">{'Email address'|@translate}</label>
    30           </div>
    31           <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}" size=35>
    32         </li>
    33         {if not $IN_ADMIN} {* admins do not need old password*}
    34         <li>
    35           <div class="property">
    36             <label for="password">{'Password'|@translate}</label>
    37           </div>
    38           <input type="password" name="password" id="password" value="">
    39         </li>
    40         {/if}
    41         <li>
    42           <div class="property">
    43             <label for="use_new_pwd">{'New password'|@translate}</label>
    44           </div>
    45           <input type="password" name="use_new_pwd" id="use_new_pwd" value="">
    46         </li>
    47         <li>
    48           <div class="property">
    49             <label for="passwordConf">{'Confirm Password'|@translate}</label>
    50           </div>
    51           <input type="password" name="passwordConf" id="passwordConf" value="">
    52         </li>
    53       </ul>
    54       {/if}
    55     </fieldset>
    56     <fieldset>
    57       <legend>{'Preferences'|@translate}</legend>
    58       <ul>
    59         <li>
    60           <div class="property">
    61             <label for="nb_image_line">{'Number of images per row'|@translate}</label>
    62           </div>
    63           <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}">
    64         </li>
    65         <li>
    66           <div class="property">
    67             <label for="nb_line_page">{'Number of rows per page'|@translate}</label>
    68           </div>
    69           <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" >
    70         </li>
    71         <li>
    72           <div class="property">
    73             <label>{'Interface theme'|@translate}</label>
    74           </div>
    75           {html_options name=template options=$template_options selected=$template_selection}
    76         </li>
    77         <li>
    78           <div class="property">
    79             <label>{'Language'|@translate}</label>
    80           </div>
    81           {html_options name=language options=$language_options selected=$language_selection}
    82         </li>
    83         <li>
    84           <div class="property">
    85             <label for="recent_period">{'Recent period'|@translate}</label>
    86           </div>
    87           <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}">
    88         </li>
    89         <li>
    90           <div class="property">{'Expand all categories'|@translate}</div>
    91           {html_radios name='expand' options=$radio_options selected=$EXPAND}
    92         </li>
    93         <li>
    94           <div class="property">{'Show number of comments'|@translate}</div>
    95           {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS}
    96         </li>
    97         <li>
    98           <div class="property">{'Show number of hits'|@translate}</div>
    99           {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS}
    100         </li>
    101         <li>
    102           <div class="property">
    103             <label for="maxwidth">{'Maximum width of the pictures'|@translate}</label>
    104           </div>
    105           <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}">
    106         </li>
    107         <li>
    108           <div class="property">
    109             <label for="maxheight">{'Maximum height of the pictures'|@translate}</label>
    110           </div>
    111           <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}">
    112         </li>
    113       </ul>
    114     </fieldset>
    115     <p class="bottomButtons">
    116       <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}">
    117       <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
    118     </p>
    119   </form>
     17{$PROFILE_CONTENT}
    12018</div> <!-- content -->
Note: See TracChangeset for help on using the changeset viewer.