Author: david
Date: Tue Sep 15 16:42:33 2009
New Revision: 3328

Log:
Conditionally show user email on user/show.

Modified:
   trunk/apps/qubit/modules/user/templates/showSuccess.php

Modified: trunk/apps/qubit/modules/user/templates/showSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/user/templates/showSuccess.php     Tue Sep 15 
16:41:21 2009        (r3327)
+++ trunk/apps/qubit/modules/user/templates/showSuccess.php     Tue Sep 15 
16:42:33 2009        (r3328)
@@ -14,10 +14,13 @@
   <th><?php echo __('user name'); ?></th>
   <td><?php echo $user->username ?></td>
 </tr>
+
+<?php if (null != $user->email): ?>
 <tr>
   <th><?php echo __('email'); ?></th>
   <td><?php echo $user->getEmail() ?></td>
 </tr>
+<?php endif; ?>
 
 <?php if (0 < count($userGroups = $user->getAclUserGroups())): ?>
 <tr>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to