aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-02 16:06:49 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-02 16:06:49 +0000
commit23f7af8edcab90e0f6cb0a670afb7b2a42c41748 (patch)
tree4b270da7a76435fdb85b5f95291d4964d4f10302 /mod/profile/views/default
parent6ee4fe3e0ae8ec2554988db8d66c5d6b85a390bf (diff)
downloadelgg-23f7af8edcab90e0f6cb0a670afb7b2a42c41748.tar.gz
elgg-23f7af8edcab90e0f6cb0a670afb7b2a42c41748.tar.bz2
profile, forum and canvas updated
git-svn-id: https://code.elgg.org/elgg/trunk@1270 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default')
-rw-r--r--mod/profile/views/default/profile/css.php2
-rw-r--r--mod/profile/views/default/profile/userdetails.php7
2 files changed, 6 insertions, 3 deletions
diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php
index 7eb5fa624..e6223bec7 100644
--- a/mod/profile/views/default/profile/css.php
+++ b/mod/profile/views/default/profile/css.php
@@ -48,4 +48,4 @@
.usericon div.sub_menu a:hover{ background:#cccccc; text-decoration:none;}
.usericon .item_line { border-top:solid 1px #dddddd;}
-.usericon div.sub_menu h3 {font-size:1.2em;} \ No newline at end of file
+.usericon div.sub_menu h3 {font-size:1.2em;}
diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php
index fd6c2c2bf..e17104d22 100644
--- a/mod/profile/views/default/profile/userdetails.php
+++ b/mod/profile/views/default/profile/userdetails.php
@@ -73,9 +73,12 @@
$value = $vars['entity']->$shortname;
if (!empty($value)) {
- ?>
+ //This function controls the alternating class
+ $even_odd = ( 'odd' != $even_odd ) ? 'odd' : 'even';
+
- <p>
+ echo "<p class=\"{$even_odd}\">";
+ ?>
<b><?php
echo elgg_echo("profile:{$shortname}");