[prev in list] [next in list] [prev in thread] [next in thread]
List: squirrelmail-cvs
Subject: [SM-CVS] CVS: smdoc/templates style.css,1.6,1.7 smdoc_user.object_view.tpl,1.2,1.3 index.tpl,1.11,1.
From: Erin Schnabel <ebullient () users ! sourceforge ! net>
Date: 2003-11-22 6:16:44
[Download RAW message or body]
Update of /cvsroot/squirrelmail/smdoc/templates
In directory sc8-pr-cvs1:/tmp/cvs-serv31722/templates
Modified Files:
style.css smdoc_user.object_view.tpl index.tpl
Log Message:
* added new utility for listing all users.
* cleaned up some typos made when doing all that shifting around
of the user code.
* added a new count function to the database impl..
blah de blah
Index: style.css
===================================================================
RCS file: /cvsroot/squirrelmail/smdoc/templates/style.css,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -r1.6 -r1.7
--- style.css 19 Nov 2003 02:27:02 -0000 1.6
+++ style.css 22 Nov 2003 06:16:41 -0000 1.7
@@ -100,7 +100,8 @@
}
.separator {
border-bottom: 1px solid #7a9294;
- margin: 10px 0px;
+ margin: 15px 0px 10px 0px;
+ font-weight: bold;
}
.debug_output {
font-size: small;
@@ -275,4 +276,10 @@
}
.nothere {
height: 1px;
+}
+.userstats {
+ width: 200px;
+}
+.userlist {
+ vertical-align: top;
}
Index: smdoc_user.object_view.tpl
===================================================================
RCS file: /cvsroot/squirrelmail/smdoc/templates/smdoc_user.object_view.tpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -r1.2 -r1.3
--- smdoc_user.object_view.tpl 22 Nov 2003 00:10:37 -0000 1.2
+++ smdoc_user.object_view.tpl 22 Nov 2003 06:16:41 -0000 1.3
@@ -14,7 +14,7 @@
<tr><td colspan="2"><div class="separator"><?php echo _("Public Profile \
Attributes"); ?></div></td></tr> <tr>
<td class="heading"><?php echo _("Username"); ?>:</td>
- <td class="value"><?php echo $t['username']; ?>
+ <td class="value"><?php echo $t['title']; ?>
<span class="subtext"> [<?php echo $t['objectid'] ?>]</span>
</td>
</tr>
@@ -27,7 +27,7 @@
<td class="value"><span class="smalldate"><?php echo $t['lastvisit']; \
?></span></td> </tr>
<?php // DISPLAY IM ID's IF PRESENT
- if ( is_array($t['nicks']) || !empty($t['nicks']) )
+ if ( isset($t['nicks']) && is_array($t['nicks']) || !empty($t['nicks']) )
{
?>
<tr><td colspan="2"><div class="separator"><?php echo _("Public Contact \
Information"); ?></div></td></tr> @@ -42,7 +42,7 @@
break;
case 'IRC':
$id = htmlspecialchars($id);
- $id .= ' <span class="subtext">#squirrelmail (<a \
href="http://freenode.net">irc.freenode.net</a>)</span>'; + $id .= ' - \
<span class="subtext">#squirrelmail (<a \
href="http://freenode.net">irc.freenode.net</a>)</span>'; break;
case 'ICQ':
$id = '<a href="http://wwp.icq.com/'.$id.'">'.$id.'</a>';
@@ -72,6 +72,15 @@
<?php echo _("Private Attributes"); ?>
<span class="subtext">(<a href="#email">privacy</a>)</span>
</div></td>
+</tr>
+<tr>
+ <td class="heading"><?php echo _("Group Membership"); ?>:</td>
+ <td class="value">Registered
+<?php if ( !empty($object->groups) )
+ foreach($object->groups as $group)
+ echo ', ' . smdoc_group::getDisplayName($group);
+?>
+ </td>
</tr>
<?php if ( !$t['show_email'] )
{ ?>
Index: index.tpl
===================================================================
RCS file: /cvsroot/squirrelmail/smdoc/templates/index.tpl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -r1.11 -r1.12
--- index.tpl 19 Nov 2003 02:16:44 -0000 1.11
+++ index.tpl 22 Nov 2003 06:16:41 -0000 1.12
@@ -141,6 +141,7 @@
<td align="right" class="menu_subtext">
<?php
echo '<a href="', $loc_url, '?object=search">', _("Search"),'</a> | ';
+ echo '<a href="', $loc_url, '?object=sqmuser">', _("Users"),'</a> | ';
echo '<a href="', $loc_url, '?object=sqmindex">',_("Index"),'</a> ';
?>
</td>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
--
squirrelmail-cvs mailing list
List Address: squirrelmail-cvs@lists.sourceforge.net
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
http://squirrelmail.org/cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic