Exemplo n.º 1
0
<?php

/**
 * MultimediaDisplay Add Profile View file
 *
 * @copyright Copyright 2014 UCSC Library Digital Initiatives
 * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU GPLv3
 * @package MultimediaDisplay
 */
mmd_admin_header(array('Display Profiles'));
echo $this->partial('mmd-navigation.php');
?>

<div id="primary">
    <h1>Add New Display Profile</h1>
    <?php 
echo flash();
?>
    <?php 
echo $form;
?>
</div>

<?php 
echo foot();
Exemplo n.º 2
0
<?php

/**
 * MultimediaDisplay Add Profile View file
 *
 * @copyright Copyright 2014 UCSC Library Digital Initiatives
 * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU GPLv3
 * @package MultimediaDisplay
 */
mmd_admin_header(array('Profile Assignments', 'Assign a Display Profile'));
echo $this->partial('mmd-navigation.php');
?>

<div id="primary">
<section class="seven columns alpha">
    <h1>Add New Profile Assignment</h1>
    <?php 
echo flash();
?>
    <?php 
echo $form;
?>
</section>

<section class="three columns omega">
        <div id="save" class="panel">
          <button type="submit" class="big green button" form='mmd-assign-edit'>Save</button>
        </div>
</section>

</div>
Exemplo n.º 3
0
<?php

/**
 * MultimediaDisplay Edit Assignment View file
 *
 * @copyright Copyright 2014 UCSC Library Digital Initiatives
 * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU GPLv3
 * @package MultimediaDisplay
 */
mmd_admin_header(array('Profile Assignments', 'Edit Profile Assignment'));
echo $this->partial('mmd-navigation.php');
?>
<h3>Edit Profile Assignment</h3>
<div id="primary">
<section class="seven columns alpha">
    <?php 
echo flash();
?>
    <?php 
echo $form;
?>
</section>

<section class="three columns omega">
        <div id="save" class="panel">
          <button type="submit" class="big green button" form='mmd-assign-edit'>Save</button>
        </div>
    </section>
</div>
<?php 
echo foot();
Exemplo n.º 4
0
<?php

/**
 * MultimediaDisplay Plugin Settings View file
 *
 * @copyright Copyright 2014 UCSC Library Digital Initiatives
 * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU GPLv3
 * @package MultimediaDisplay
 */
mmd_admin_header(array('Multimedia Display', 'Edit Plugin Settings'));
echo $this->partial('mmd-navigation.php');
?>

<div id="primary">
    <?php 
echo flash();
?>
    <p>
    This plugin allows you to display content using any of the installed viewers.
    Each viewer requires configuration options to tell it where to find the media files to display, and how exactly to display them. You can save these options using <em>Display Profiles</em>. Each display profile contains all options necessary for one of the installed viewers to display media for an item.
    </p>
    <p>
    After you create a display profile, you need to assign it to the items you want to display using that profile. Each <em>Profile Assignment</em> assigns a set of items (by item type, collection, or type of attached file) to a display profile. 
    </p>
    <p>
    If you want to get this up and running quickly, you can use this page to set all this up automatically. For each viewer, this form will create a new item type with fields for any metadata the viewer might require. A default display profile is also created for this viewer, and a profile assignment is created to link the default profile to the default item type. 
    </p>
    <form id="mmd-install-defaults" action="defaults/install">
    <fieldset>
      <legend>Install Default Configurations</legend>
Exemplo n.º 5
0
<?php

/**
 * MultimediaDisplay Browse Assignments View file
 *
 * @copyright Copyright 2014 UCSC Library Digital Initiatives
 * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU GPLv3
 * @package MultimediaDisplay
 */
mmd_admin_header(array('Profile Assignments', 'Browse Profile Assignments'));
echo $this->partial('mmd-navigation.php');
?>
<!-- TODO LINK TO ADD PAGE -->
<div id="primary">
    <?php 
echo flash();
?>
<a href="<?php 
echo url('multimedia-display/assign/add');
?>
">
<button class="mmd-assign-add big green button">Add New Profile Assignment</button>
</a>
<?php 
if (empty($assigns)) {
    ?>
    <h3>There are currently no display profiles.</h3>
<?php 
} else {
    ?>
    <table id="mmd-assign-table" >