Ignore:
Timestamp:
Aug 15, 2014, 6:14:43 PM (10 years ago)
Author:
flop25
Message:

bug:3122
removed admin files profile.tpl and profile_content.tpl, integrated in configuration.tpl
take into account default_user_id with a message
prefix for template var, to avoid overwriting of already existing vars especially in admin panel

Location:
trunk/admin/themes/default/template
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/configuration.tpl

    r28980 r29221  
    855855{if isset($default)}
    856856<div id="configContent">
    857 {$PROFILE_CONTENT}
     857<form method="post" name="profile" action="{$GUEST_F_ACTION}" id="profile" class="properties">
     858
     859{if $GUEST_USERNAME!='guest'}
     860  <fieldset>
     861      {'The settings for the guest are from the %s user'|@translate:$GUEST_USERNAME}
     862  </fieldset>
     863{/if}
     864
     865  <fieldset>
     866    <legend>{'Preferences'|@translate}</legend>
     867    <input type="hidden" name="redirect" value="{$GUEST_REDIRECT}">
     868
     869    <ul>
     870      <li>
     871        <span class="property">
     872          <label for="nb_image_page">{'Number of photos per page'|@translate}</label>
     873        </span>
     874        <input type="text" size="4" maxlength="3" name="nb_image_page" id="nb_image_page" value="{$GUEST_NB_IMAGE_PAGE}">
     875      </li>
     876      <li>
     877        <span class="property">
     878          <label for="recent_period">{'Recent period'|@translate}</label>
     879        </span>
     880        <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$GUEST_RECENT_PERIOD}">
     881      </li>
     882      <li>
     883        <span class="property">{'Expand all albums'|@translate}</span>
     884        {html_radios name='expand' options=$radio_options selected=$GUEST_EXPAND}
     885      </li>
     886    {if $GUEST_ACTIVATE_COMMENTS}
     887      <li>
     888        <span class="property">{'Show number of comments'|@translate}</span>
     889        {html_radios name='show_nb_comments' options=$radio_options selected=$GUEST_NB_COMMENTS}
     890      </li>
     891    {/if}
     892      <li>
     893        <span class="property">{'Show number of hits'|@translate}</span>
     894        {html_radios name='show_nb_hits' options=$radio_options selected=$GUEST_NB_HITS}
     895      </li>
     896    </ul>
     897  </fieldset>
     898
     899  <p class="bottomButtons">
     900    <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
     901    <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}">
     902    <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
     903  </p>
     904
     905</form>
     906
    858907</div>
    859908{/if}
Note: See TracChangeset for help on using the changeset viewer.