Exemplo n.º 1
0
<form action="<?php 
echo html_escape(url(array('action' => 'add')));
?>
" method="post" accept-charset="utf-8">
    <section class="seven columns alpha">
        <h2><?php 
echo __('Batch Add Items');
?>
</h2>
        <p>
        <?php 
echo __('For each file selected, a new item will be created. ' . 'The properties set to the right will be applied to each new item.');
?>
        </p>
        <?php 
dropbox_list();
?>
    </section>
    <section class="three columns omega">
        <div id="save" class="panel">
            <input type="submit" class="submit big green button" name="submit" id="dropbox-upload-files" value="<?php 
echo __('Upload Files as Items');
?>
" />
            <div id="public-featured">
                <div class="public">
                    <label for="dropbox-public"><?php 
echo __('Public');
?>
</label>
                    <?php 
Exemplo n.º 2
0
 /**
  * Display the dropbox files list on the  itemf form.
  * This simply adds a heading to the output
  */
 public function hookAdminItemsFormFiles()
 {
     echo '<h3>' . __('Add Dropbox Files') . '</h3>';
     dropbox_list();
 }