Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/uikit/story/tmpl/composer.php
<?php defined('KOOWA') or die ?>

<?= @js('pagination.js') ?>
<?= @js('story.js') ?>

<script>
	
	new Uikit.PaginationNextPage();
	var viewer = <?=@uikit_actor_json(@getViewer())?>;
	var owner  = <?=@uikit_actor_json(@$owner)?>;
	new Uikit.StoryComposer({viewer:viewer,owner:owner});
	
</script>

<?php if ( $this->owner->getAcl()->canAddStory() ) : ?>
<div id="an-se-story-composer">
	<form id="an-se-story-composer-form" action="<?= @$submit_url ?>" method="post">
		<textarea name="story" id="an-se-story-composer-box" alt="<?= @$over_text ?>"></textarea>
		<input type="hidden" name="oid"    value="<?= @$owner->id ?>" />
		<input type="hidden" name="action" value="add" />
		<button type="submit" class="an-se-button button" ><?= @text('AN-SE-ACTION-SHARE') ?></button>
	</form>
</div>
<?php endif; ?>
Return current item: Anahita Social Engine