29 lines
1.1 KiB
PHP
29 lines
1.1 KiB
PHP
<?php use_helper('sfAsset') ?>
|
|
<div id="sf_asset_breadcrumbs">
|
|
<?php echo assets_library_breadcrumb($folder->getRelativePath(ESC_RAW)) ?>
|
|
</div>
|
|
|
|
<?php if (!$folder->isRoot()): ?>
|
|
<div class="assetImage" >
|
|
<div class="thumbnails">
|
|
<?php echo link_to_asset(image_tag('/plugins/sfAssetsLibraryPlugin/images/up', 'size=64x64 title='.__('Parent directory', null, 'Media')), 'sfAsset/list?dir='. $folder->getParentPath()) ?>
|
|
</div>
|
|
<div class="assetComment" id="ajax_dir_0">..</div>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<?php foreach ($dirs as $dir): ?>
|
|
<div class="assetImage" >
|
|
<div class="thumbnails">
|
|
<?php echo link_to_asset(image_tag('/plugins/sfAssetsLibraryPlugin/images/folder', 'size=64x64 title='.$dir->getName()), 'sfAsset/list?dir='.$dir->getRelativePath()) ?>
|
|
</div>
|
|
<div class="assetComment"><?php echo auto_wrap_text($dir->getName()) ?>
|
|
</div>
|
|
</div>
|
|
<?php endforeach; ?>
|
|
|
|
<?php foreach ($files as $sf_asset): ?>
|
|
<?php include_partial('sfAsset/asset', array('sf_asset' => $sf_asset, 'folder' => $folder, 'server' => stSoteshop::getServerName())) ?>
|
|
<?php endforeach; ?>
|
|
|
|
<br style="clear: both" />
|