<?php
/* ====================
[BEGIN_SED_EXTPLUGIN]
Code=usercom
Part=comments
File=usercom.comments.loop
Hooks=comments.loop
Tags=
Minlevel=0
Order=10
[END_SED_EXTPLUGIN]
==================== */

defined('SED_CODE') or die('Wrong URL.');

$m = sed_import('m', 'G', 'TXT');
$id = sed_import('id', 'G', 'INT');

if ($m=="details" && $id==$usr['id'] && !$usr['isadmin_com'])
{
	$com_admin = $L['Delete'].":[<a href=\"".$url. $sep . "ina=delete&amp;ind=".$row['com_id']."&amp;".sed_xg()."\">x</a>]";

	$t->assign(array(
		"COMMENTS_ROW_ADMIN" => $com_admin,
	));
}

?>