<?php if (!defined('KIRBY')) { die('Direct access is not allowed'); } if ($panel->action != 'add-page') { return; } $action = action::addContent(); $templates = data::findTemplates(); ?> <div class="overlay add-page"> <form method="post"> <?php growl($action); ?> <fieldset> <?php /*if($panel->isHome):?> <h3>New Category</h3> <?php endif */ ?> <?php if ($page->template() == get('template', 'default') && !$panel->isHome) { ?> <h3>New Project</h3>