Location: PHPKode > projects > Anahita Social Engine > site/views/socialgraph/confirm/tmpl/block.php
<?php defined('KOOWA') or die ?>
<? @$modal->setTitle( sprintf(@text('AN-SE-SOCIALGRAPH-BLOCK-FORM-TITLE'), @$person->name) ) ?>
<? @$modal->startBody() ?>
	<form action="<?=@route('view=socialgraph&oid='.@$owner->id)?>" class="an-se-socialgraph-form" id="an-se-socialgraph-block-form" method="post">
		<input type="hidden" name="action"    value="add" />
		<input type="hidden" name="pid"		  value="<?= @$person->id?>" />
		<input type="hidden" name="block"  	  value="1" />
		<div id="an-se-socialgraph-action-confirmation" class="an-se-message an-se-rounded rounded">
			<?= sprintf(@text( 'AN-SE-SOCIALGRAPH-BLOCK-FORM-MESSAGE'), @$person->name, @$person->name); ?>
		</div>
	</form>
<? @$modal->endBody() ?>
<?= @$modal->addButton(@text('AN-SE-SOCIALGRAPH-BLOCK-FORM-BUTTON'), 'an-se-socialgraph-button') ?>
Return current item: Anahita Social Engine