<?php /** * @package omeka * @subpackage neatline * @copyright 2014 Rector and Board of Visitors, University of Virginia * @license http://www.apache.org/licenses/LICENSE-2.0.html */ ?> <?php $tabs = nl_getExhibitTabs(nl_getExhibit()); if (count($tabs) > 0) { ?> <li class="dropdown plugins"> <!-- Dropdown. --> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> Plugins <b class="caret"></b> </a> <ul class="dropdown-menu"> <?php foreach ($tabs as $label => $slug) { ?> <!-- Tabs. --> <li class="tab" data-slug="<?php echo $slug; ?>
/** * Get a list of space-delimited exhibit widget tags for use as the value * of a `class` attribute on an element. * * @param NeatlineExhibit $exhibit The exhibit. * @return string The space-delimited attribute value. */ function nl_getExhibitWidgetClasses($exhibit = null) { $exhibit = $exhibit ? $exhibit : nl_getExhibit(); return implode(' ', nl_explode($exhibit->widgets)); }
* @subpackage neatline * @copyright 2014 Rector and Board of Visitors, University of Virginia * @license http://www.apache.org/licenses/LICENSE-2.0.html */ ?> <!-- Editor. --> <div id="editor"></div> <!-- Exhibit. --> <?php echo $this->partial('exhibits/partials/exhibit.php'); echo $this->partial('exhibits/partials/loader.php'); echo $this->partial('exhibits/partials/modal_delete.php'); echo $this->partial('exhibits/partials/modal_svg.php'); echo $this->partial('exhibits/partials/modal_inputs.php'); ?> <!-- Underscore templates. --> <?php echo $this->partial('exhibits/underscore/menu.php'); echo $this->partial('exhibits/underscore/styles.php'); echo $this->partial('exhibits/underscore/record.php'); echo $this->partial('exhibits/underscore/records.php'); echo $this->partial('exhibits/underscore/search.php'); ?> <!-- Plugin templates. --> <?php fire_plugin_hook('neatline_editor_templates', array('exhibit' => nl_getExhibit()));
<?php /** * @package omeka * @subpackage neatline * @copyright 2014 Rector and Board of Visitors, University of Virginia * @license http://www.apache.org/licenses/LICENSE-2.0.html */ ?> <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title><?php echo __('Neatline Editor: %s', nl_getExhibit()->title); ?> </title> <?php echo head_js(false); echo head_css(); ?> </head> <?php echo body_tag(array('id' => @$bodyid, 'class' => @$bodyclass));