<header class="post-header"> <?php Shield::chunk('page.title.404'); ?> <?php if (Weapon::exist('page_header')) { ?> <div><?php Weapon::fire('page_header', array($page)); ?> </div> <?php } ?> </header>
<?php if (Weapon::exist('article_footer')) { ?> <div><?php Weapon::fire('article_footer', array($article)); ?> </div> <?php }
<footer class="post-footer"> <?php if (Weapon::exist('page_footer')) { ?> <div><?php Weapon::fire('page_footer', array($page)); ?> </div> <?php } ?> </footer>
function do_response_reply($response) { global $speak; $prefix = File::B(File::D($response->path)); echo (Weapon::exist($prefix . '_footer') && Guardian::happy() ? ' / ' : "") . '<a class="a-reply" data-parent="' . $response->id . '" href="' . str_replace('&', '&', HTTP::query('reply', $response->id)) . '#' . $prefix . '-form" title="' . Config::speak($prefix . '_reply_to_', Text::parse($response->name_raw, '->text')) . '">' . $speak->reply . '</a>'; }
?> </a> <?php } elseif ($article->url) { ?> <a href="<?php echo $article->url; ?> "><?php echo $article->title; ?> </a> <?php } else { ?> <?php echo $article->title; ?> <?php } ?> </h4> <?php if (Weapon::exist('article_header')) { ?> <div><?php Weapon::fire('article_header', array($article)); ?> </div> <?php }
function __do_response_reply($response) { global $config, $speak, $segment; $q = str_replace('&', '&', HTTP::query(array('parent' => $response->id, 'post' => $response->post))); echo (Weapon::exist($segment[0] . '_footer') ? ' / ' : "") . Cell::a($config->manager->slug . '/' . $segment[0] . '/ignite' . $q, $speak->reply); }