projects
/
living-lab-site.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CIS: CIWorker works; now we need communication via web services
[living-lab-site.git]
/
application
/
views
/
user
/
profile_view.php
diff --git
a/application/views/user/profile_view.php
b/application/views/user/profile_view.php
index
d8db9ac
..
1382317
100644
(file)
--- a/
application/views/user/profile_view.php
+++ b/
application/views/user/profile_view.php
@@
-18,7
+18,7
@@
<tr>
<td>
<?php if ($userdata['picture']): ?>
<tr>
<td>
<?php if ($userdata['picture']): ?>
- <
img src="<?php echo site_url("data/user_pictures/{$userdata['picture']}") ?>" style="float: left" /
>
+ <
a href="<?php echo $userdata['picture'] ?>"><img src="<?php echo $userdata['picture_thumb'] ?>" style="float: left" /></a
>
<?php endif ?>
</td>
<td></td>
<?php endif ?>
</td>
<td></td>
@@
-45,6
+45,14
@@
<th><?php echo $this->lang->line('user_last_name'). ': ' ?></th>
<td><?php echo $userdata['last_name'] ?></td>
</tr>
<th><?php echo $this->lang->line('user_last_name'). ': ' ?></th>
<td><?php echo $userdata['last_name'] ?></td>
</tr>
+
+ <tr>
+ <th><?php echo $this->lang->line('user_sex'). ': ' ?></th>
+ <td><?php
+ echo ($userdata['sex']
+ ? $this->lang->line('user_sex_female')
+ : $this->lang->line('user_sex_male') ) ?></td>
+ </tr>
<tr>
<th><?php echo $this->lang->line('user_birth_date'). ': ' ?></th>
<tr>
<th><?php echo $this->lang->line('user_birth_date'). ': ' ?></th>