示例#1
0
            </div>
        <?php 
    }
    ?>

        <h2><?php 
    echo link_to_collection();
    ?>
</h2>

        <?php 
    if ($description = metadata('collection', array('Dublin Core', 'Description'), array('snippet' => 250, 'no_escape' => true))) {
        ?>
            <div class="description">
                <?php 
        echo text_to_paragraphs($description);
        ?>
            </div>
        <?php 
    }
    ?>

        <?php 
    fire_plugin_hook('public_collections_browse_each', array('view' => $this, 'collection' => $collection));
    ?>
    </div>
    <hr>
<?php 
}
?>
示例#2
0
                         <?php 
     if ($collection->hasContributor()) {
         ?>
                             <?php 
         echo metadata('collection', array('Dublin Core', 'Contributor'), array('all' => true, 'delimiter' => ', '));
         ?>
                         <?php 
     }
     ?>
                     </div>
                     <div class="col-sm-4">
                         <?php 
     if (metadata('collection', array('Dublin Core', 'Description'))) {
         ?>
                             <?php 
         echo text_to_paragraphs(metadata('collection', array('Dublin Core', 'Description'), array('snippet' => 150)));
         ?>
                         <?php 
     }
     ?>
                     </div>
                 
                     <?php 
     fire_plugin_hook('public_items_browse_each', array('view' => $this, 'collection' => $collection));
     ?>
                 </div>
             </div>
         <?php 
 }
 ?>
     <?php 
示例#3
0
<?php

$class = get_class($record);
$pageTitle = __('Delete %s', Inflector::titleize($class));
if (!$isPartial) {
    echo head(array('title' => $pageTitle));
}
?>
<div title="<?php 
echo $pageTitle;
?>
">
    <h2><?php 
echo __('Are you sure?');
?>
</h2>
    <?php 
echo text_to_paragraphs(html_escape($confirmMessage));
?>
    <?php 
echo $form;
?>
</div>
<?php 
if (!$isPartial) {
    echo foot();
}