Changed deprecated title attribute access

This commit is contained in:
Lucas Bartholemy 2014-07-07 09:39:37 +02:00
parent 60e2a94f58
commit 3dc4a96822
3 changed files with 5 additions and 5 deletions

View File

@ -48,7 +48,7 @@
<?php if ($user->group != null) { ?>
<small>(<?php echo $user->group->name; ?>)</small><?php } ?>
</h4>
<h5><?php echo $user->title; ?></h5>
<h5><?php echo $user->profile->title; ?></h5>
</div>
</div>
</a>

View File

@ -20,8 +20,8 @@
<h4 class="media-heading"><?php echo $user->displayName; ?>
<?php if ($user->group != null) { ?>
<small>(<?php echo $user->group->name; ?>)</small><?php } ?></h4>
<?php if ($user->title != "") { ?>
<h5><?php echo $user->title; ?></h5>
<?php if ($user->profile->title != "") { ?>
<h5><?php echo $user->profile->title; ?></h5>
<?php } ?>
<?php $tag_count = 0; ?>

View File

@ -25,7 +25,7 @@
height="24" width="24" alt="24x24" data-src="holder.js/24x24"
style="width: 24px; height: 24px;"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="<strong><?php echo $user->displayName; ?></strong><br><?php echo $user->title; ?>">
data-original-title="<strong><?php echo $user->displayName; ?></strong><br><?php echo $user->profile->title; ?>">
</a>
<?php endforeach; ?>
</div>
@ -50,7 +50,7 @@
height="24" width="24" alt="24x24" data-src="holder.js/24x24"
style="width: 24px; height: 24px;"
data-toggle="tooltip" data-placement="top" title=""
data-original-title="<strong><?php echo $user->displayName; ?></strong><br><?php echo $user->title; ?>">
data-original-title="<strong><?php echo $user->displayName; ?></strong><br><?php echo $user->profile->title; ?>">
</a>
<?php endforeach; ?>
</div>