mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-24 18:41:26 +00:00
use html_url() for image
This commit is contained in:
parent
7ed8801f46
commit
dccb4c476a
|
@ -189,7 +189,7 @@ $(document).ready( function() {
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td><a class="btn" href="../out/out.RemoveUser.php?userid=<?php print $currUser->getID();?>"><i class="icon-remove"></i> <?php printMLText("rm_user");?></a></td>
|
<td><?php echo $this->html_link('RemoveUser', array('userid'=>$currUser->getID()), array('class'=>'btn'), '<i class="icon-remove"></i> '.getMLText("rm_user"), false); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
@ -292,7 +292,7 @@ $(document).ready( function() {
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if ($currUser->hasImage())
|
if ($currUser->hasImage())
|
||||||
print "<img src=\"".$httproot . "out/out.UserImage.php?userid=".$currUser->getId()."\">";
|
print "<img src=\"".$this->html_url('UserImage', array('userid'=>$currUser->getId()))."\" >";
|
||||||
else
|
else
|
||||||
printMLText("no_user_image");
|
printMLText("no_user_image");
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user