Location: PHPKode > projects > Anchor CMS > anchor-cms-0.9.1/anchor/views/categories/index.php
<?php echo $header; ?>

<hgroup class="wrap">
	<h1><?php echo __('categories.categories'); ?></h1>

	<nav>
		<?php echo Html::link('admin/categories/add', __('categories.create_category'), array('class' => 'btn')); ?>
	</nav>
</hgroup>

<section class="wrap">
	<?php echo $messages; ?>

	<ul class="list">
		<?php foreach($categories->results as $category): ?>
		<li>
			<a href="<?php echo Uri::to('admin/categories/edit/' . $category->id); ?>">
				<strong><?php echo $category->title; ?></strong>

				<span><?php echo $category->slug; ?></span>
			</a>
		</li>
		<?php endforeach; ?>
	</ul>

	<aside class="paging"><?php echo $categories->links(); ?></aside>
</section>

<?php echo $footer; ?>
Return current item: Anchor CMS