?> "><?php __(_m('collection_prev_page')); ?> </a></p> <?php } ?> <nav class="collection edges"> <ul> <?php foreach ($edges as $edge) { $related_node = $edge->getEndNode(); ?> <li class="object <?php __class('object-type-' . $related_node->getSchema()->getName()); ?> "> <a class="object-link" href="<?php __(_e($related_node->getPath())); ?> " title="<?php __(_s($related_node->getTitle())); ?> "> <h1 class="object-title"><?php __(_e($related_node->getTitle())); ?> </h1> <h2 class="object-subtitle"><?php __(_e($related_node->getSchema()->getDisplayName()));
<nav class="application-menu"> <ul> <?php global $app; if (isset($pages)) { foreach ($pages as $name => $title_key) { ?> <li class="<?php __class('menu-' . $name); ?> "><a href="<?php __(_e($app->router->urlFor($name))); ?> " class="button <?php __class($name); ?> "><span class="button-label"><?php __(_m($title_key)); ?> </span></a></li> <?php } } if ($app->router->hasNamedRoute('login')) { ?> <li class="menu-login"><a href="<?php __(_e($app->router->urlFor('login'))); ?> " class="button login"><span class="button-label"><?php __(_m('application_login_button_text')); ?>
<main class="object edge created"> <article class="object edge <?php __class('edge-' . $edge->getSchema()->getName()); ?> "> <?php require __path('edge_header.php'); ?> <div class="main-body object edge"> <p><?php __(_m('view_edge_link', $edge->getPath(), $edge->getTitle())); ?> </p> </div> </article> </main>
<main class="object edge deleted"> <article class="object edge <?php __class('edge-' . $edge_schema->getName()); ?> "> <?php require __path('edge_header.php'); ?> <div class="main-body object edge"> <p><?php __(_m('view_edge_collection_link', $node->getEdgeCollectionPath($edge_schema), $edge_schema->getDisplayName())); ?> </p> </div> </article> </main>
<?php } ?> <form enctype="<?php __formenc($node_schema); ?> " class="create object node <?php __class('node-' . $node_schema->getName()); ?> " action="<?php __(_e($node_schema->getCollectionPath())); ?> " method="POST"> <?php foreach ($properties as $property) { $property_id = __class('new-node-property-' . $property->getName(), false); require __DIR__ . '/property_label.php'; require __DIR__ . '/types/' . $property->getSchema()->getType() . '_input.php'; require __DIR__ . '/property_error.php'; } ?> <hr> <input class="crud-button create" type="submit" value="<?php __(_m('create_node_button_text')); ?> "> </form> </div> </article> </main>
__($query_string); ?> "><?php __(_m('collection_prev_page')); ?> </a></p> <?php } ?> <nav class="collection nodes"> <ul> <?php foreach ($nodes as $node) { ?> <li class="object <?php __class('object-type-' . $node->getSchema()->getName()); ?> "> <a class="object-link" href="<?php __(_e($node->getPath())); ?> " title="<?php __(_e($node->getTitle())); ?> "> <h1 class="object-title"><?php __(_e($node->getTitle())); ?> </h1> <h2 class="object-subtitle"><?php __(_e($node->getSchema()->getDisplayName()));
<main class="object node created"> <article class="object node <?php __class('node-' . $node->getSchema()->getName()); ?> "> <?php require __path('node_header.php'); ?> <div class="main-body object node"> <p><?php __(_m('view_node_link', $node->getPath(), $node->getTitle())); ?> </p> </div> </article> </main>
<!DOCTYPE html> <html lang="<?php __(__locale()); ?> "<?php if (isset($document_classes)) { ?> class="<?php foreach ($document_classes as $document_class) { __class($document_class); } ?> "<?php } ?> > <?php require __path('header_head.php'); ?> <body itemscope itemtype="http://schema.org/WebPage"> <?php require __path('header_header.php');
$format = 'short'; } if ($property->getSchema()->isMultiValue()) { ?> <ul class="multivalue format-<?php __class($format); ?> "> <?php foreach ($property->getValue() as $value) { ?> <li><?php __(_e($value)); ?> </li> <?php } ?> </ul> <?php } else { ?> <div class="format-<?php __class($format); ?> "><?php __(_e($property->getValue())); ?> </div> <?php }
foreach ($properties as $property) { require __path('property_edit.php'); } ?> <input type="hidden" name="_METHOD" value="PUT"> <hr> <input class="crud-button update" type="submit" value="<?php __(_m('update_node_button_text')); ?> "> </form> <?php } ?> <form class="delete object node <?php __class('node-' . $node_schema->getName()); ?> " action="<?php __(_e($node->getPath())); ?> " method="POST" data-confirm="<?php __(_m('delete_node_confirm', $node->getTitle())); ?> "> <input type="hidden" name="_METHOD" value="DELETE"> <input class="crud-button delete" type="submit" value="<?php __(_m('delete_node_button_text')); ?> "> </form> </div>