[svn r17981] Minor - Logic change - Fixed bug theme into user's profile - see FS#3522

skala
Cristian Fasanando 16 years ago
parent 96c7068ebd
commit fd78aeb64f
  1. 4
      main/auth/profile.php

@ -1,4 +1,4 @@
<?php // $Id: profile.php 17906 2009-01-21 20:27:37Z juliomontoya $ <?php // $Id: profile.php 17981 2009-01-24 00:55:51Z cfasanando $
/* /*
============================================================================== ==============================================================================
Dokeos - elearning and course management software Dokeos - elearning and course management software
@ -162,7 +162,7 @@ else
//THEME //THEME
if (is_profile_editable() && api_get_setting('user_selected_theme') == 'true') if (is_profile_editable() && api_get_setting('user_selected_theme') == 'true')
{ {
$form->addElement('select_theme', 'theme', get_lang('Theme')); $form->addElement('select_theme', get_lang('Theme'),'theme');
if (api_get_setting('profile', 'theme') !== 'true') if (api_get_setting('profile', 'theme') !== 'true')
$form->freeze('theme'); $form->freeze('theme');
$form->applyFilter('theme', 'trim'); $form->applyFilter('theme', 'trim');

Loading…
Cancel
Save