mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 13:11:52 +02:00
Path fixes
This commit is contained in:
parent
fadc6eeb44
commit
6d2a691a33
@ -2952,6 +2952,9 @@ if (isset($_POST['check_avatar_sizes']))
|
||||
//If not found or too large, allow delete
|
||||
if (strlen($sBadImage))
|
||||
{
|
||||
$uparams = array('id' => $row['user_id'], 'name' => $row['user_name']);
|
||||
$ulink = e107::getUrl()->create('user/profile/view', $uparams);
|
||||
|
||||
$found = true;
|
||||
$text .= "
|
||||
<tr>
|
||||
@ -2959,7 +2962,7 @@ if (isset($_POST['check_avatar_sizes']))
|
||||
<input class='checkbox' type='checkbox' name='multiaction[]' id='avdelete-{$row['user_id']}' value='{$row['user_id']}' />
|
||||
</td>
|
||||
<td>
|
||||
<label for='avdelete-{$row['user_id']}' title='".IMALAN_56."'>".IMALAN_51."</label><a href='".e_BASE."user.php?id.{$row['user_id']}'>".$row['user_name']."</a>
|
||||
<label for='avdelete-{$row['user_id']}' title='".IMALAN_56."'>".IMALAN_51."</label><a href='".$ulink."'>".$row['user_name']."</a>
|
||||
</td>
|
||||
<td>".$sBadImage."</td>
|
||||
<td>".$avname."</td>
|
||||
|
@ -665,6 +665,8 @@ switch ($action)
|
||||
$row = $sql->db_Fetch();
|
||||
extract($row);
|
||||
|
||||
|
||||
|
||||
$post_author_id = substr($upload_poster, 0, strpos($upload_poster, "."));
|
||||
$post_author_name = substr($upload_poster, (strpos($upload_poster, ".")+1));
|
||||
$poster = (!$post_author_id ? "<b>".$post_author_name."</b>" : "<a href='".e_BASE."user.php?id.".$post_author_id."'><b>".$post_author_name."</b></a>");
|
||||
|
Loading…
x
Reference in New Issue
Block a user