示例#1
0
    echo $file->original_filename;
    ?>
</a></td>
                    <td><a href="<?php 
    echo public_url('/items/show/' . $file->item_id);
    ?>
"><?php 
    echo bagithelpers_getItemName($file->item_id);
    ?>
</a></td>
                    <td><?php 
    echo $file->type_os;
    ?>
</td>
                    <td><?php 
    echo bagithelpers_getFileKb($file->id);
    ?>
 KB</td>
                    <?php 
    echo $this->formHidden('file[' . $file->id . ']', 'add');
    ?>
                </tr>
            <?php 
}
?>
        </tbody>
    </table>
    </fieldset>

    <div id="bagit-bag-name">
        <?php 
示例#2
0
        echo $file->original_filename;
        ?>
</a></td>
                            <td><a href="<?php 
        echo public_url('/items/show/' . $file->item_id);
        ?>
"><?php 
        echo $file->parent_item;
        ?>
</a></td>
                            <td><?php 
        echo $file->type_os;
        ?>
</td>
                            <td><?php 
        echo bagithelpers_getFileKb($file->size);
        ?>
 KB</td>
                            <td class="bagit-checkbox-td">
                              <?php 
        if (!$collection->checkForFileMembership($file->id)) {
            ?>
                                <input type="checkbox" name="file[<?php 
            echo $file->id;
            ?>
]" id="file-<?php 
            echo $file->id;
            ?>
" value="add">
                                <p class="bagit-small">[+]</p>
                              <?php