echo TextHelper::_('COBALT_ASSOCIATE_TO_DEAL'); ?> </a> </li> <?php if ($person['owner_id'] == UsersHelper::getUserId()) { ?> <li><a onclick="shareItemDialog();"><?php echo TextHelper::_('COBALT_SHARE'); ?> </a></li> <?php } ?> <?php if (UsersHelper::canDelete() || $person['owner_id'] == UsersHelper::getUserId()) { ?> <li> <a onclick="deleteItem(this)"><?php echo TextHelper::_('COBALT_DELETE_CONTACT'); ?> </a> <form id="delete_form" method="POST" action="<?php echo RouteHelper::_('index.php?task=main.trash'); ?> "> <input type="hidden" name="item_id" value="<?php echo $person['id']; ?> "/> <input type="hidden" name="item_type" value="people"/>
?> </a> </li> <?php if ($deal->owner_id == UsersHelper::getUserId()) { ?> <li><a href="javascript:void(0);" onclick="Cobalt.shareItemDialog();" ><?php echo TextHelper::_('COBALT_SHARE'); ?> </a></li> <?php } ?> <li> <?php if (UsersHelper::canDelete() || $deal->owner_id == UsersHelper::getUserId()) { ?> <a href="<?php echo RouteHelper::_('index.php?task=trash&item_id=' . $deal->id . '&item_type=deals&page_redirect=deals'); ?> " onclick="deleteProfileItem(this)"><?php echo TextHelper::_('COBALT_DELETE'); ?> </a> <?php } ?> </li> <li> <a href="<?php echo RouteHelper::_('index.php?view=printFriendly&item_id=' . $deal->id . '&layout=deal&model=deal');