<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/
?>
<?php echo $this->partial('_admin_breadcrumb.tpl', 'core', array('parentMenuItemName' => 'core_admin_main_plugins', 'lastMenuItemName' => 'Stories')); ?>
<?php $stories_admin = Zend_Registry::isRegistered('stories_admin') ? Zend_Registry::get('stories_admin') : null; ?>
<h2 class="page_heading"><?php echo $this->translate("Stories Plugin") ?></h2>

<?php if ($stories_admin && engine_count($this->navigation)): ?>
	<div class='tabs'>
		<ul class="navigation">
			<?php foreach ($this->navigation as $link): ?>
				<li class="<?php echo $link->get('active') ? 'active' : '' ?>">
					<?php if (!empty($link->plateform)) { ?>
						<a href='<?php echo $link->getHref() . "?plateform=" . $link->plateform ?>' class="<?php echo $link->getClass() ? ' ' . $link->getClass() : ''  ?>"><?php echo $this->translate($link->getlabel()) ?></a>
					<?php } else { ?>
						<a href='<?php echo $link->getHref() ?>' class="<?php echo $link->getClass() ? ' ' . $link->getClass() : ''  ?>"><?php echo $this->translate($link->getlabel()) ?></a>
					<?php } ?>
				</li>
			<?php endforeach; ?>
		</ul>
	</div>
<?php endif; ?>