gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/account index.php,1.19,1.20


From: tperdue
Subject: [Gforge-commits] gforge/www/account index.php,1.19,1.20
Date: Thu, 25 Mar 2004 17:24:14 -0600

Update of /cvsroot/gforge/gforge/www/account
In directory db.perdue.net:/home/tperdue/share/dev.gforge.org/www/account

Modified Files:
        index.php 
Log Message:
removing theme_prefs table and optimizing away two extra queries...

Index: index.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/account/index.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- index.php   25 Mar 2004 21:51:41 -0000      1.19
+++ index.php   25 Mar 2004 23:24:12 -0000      1.20
@@ -38,7 +38,7 @@
        }
 
        if (!$u->update($firstname, $lastname, $language, $timezone, 
$mail_site, $mail_va, $use_ratings,
-               
$jabber_address,$jabber_only,$address,$address2,$phone,$fax,$title,$ccode)) {
+               
$jabber_address,$jabber_only,$theme_id,$address,$address2,$phone,$fax,$title,$ccode))
 {
                $feedback .= $u->getErrorMessage().'<br />';
        } else {
                $feedback .= $Language->getText('account','updated').'<br />';
@@ -57,8 +57,8 @@
 
 echo '<form action="'.$PHP_SELF.'" method="post">';
 
-
 echo $HTML->boxTop($Language->getText('account_options', 'title'));
+
 ?>
 
 
@@ -72,7 +72,6 @@
 <?php if($GLOBALS['sys_use_people']) { ?>
        <li><a href="/people/editprofile.php"><strong><?php echo 
$Language->getText('account_options', 'edit_skills_profile'); 
?></strong></a></li>
 <?php } ?>
-<li><a href="/themes/"><strong><?php echo $Language->getText('menu', 
'change_my_theme'); ?></strong></a></li>
 </ul>
 <?php echo $HTML->boxBottom(); ?>
 
@@ -119,6 +118,12 @@
 </tr>
 
 <tr valign="top">
+<td><?php echo $Language->getText('account_options', 'themeid'); ?> </td>
+<td><?php echo html_get_theme_popup('theme_id', $u->getThemeID()); ?>
+</td>
+</tr>
+
+<tr valign="top">
 <td><?php echo $Language->getText('account_options', 'ccode'); ?> </td>
 <td><?php echo html_get_ccode_popup('ccode', $u->getCountryCode()); ?>
 </td>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]