Changeset 5996


Ignore:
Timestamp:
04/29/10 15:35:33 (9 years ago)
Author:
plg
Message:

bug 1634: default theme and default language have a specific page, ability to
set them from guest settings was removed.

Location:
trunk
Files:
2 edited

Legend:

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

    r5931 r5996  
    5656        <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" > 
    5757      </li> 
     58{if not $SPECIAL_USER} 
    5859      <li> 
    5960        <span class="property"> 
     
    6869        {html_options id=language name=language options=$language_options selected=$language_selection} 
    6970      </li> 
     71{/if} 
    7072      <li> 
    7173        <span class="property"> 
  • trunk/profile.php

    r5328 r5996  
    9898  if ($special_user) 
    9999  { 
    100     unset($_POST['mail_address'], 
    101           $_POST['password'], 
    102           $_POST['use_new_pwd'], 
    103           $_POST['passwordConf'] 
    104           ); 
     100    unset( 
     101      $_POST['mail_address'], 
     102      $_POST['password'], 
     103      $_POST['use_new_pwd'], 
     104      $_POST['passwordConf'], 
     105      $_POST['theme'], 
     106      $_POST['language'] 
     107      ); 
    105108  } 
    106109 
Note: See TracChangeset for help on using the changeset viewer.