Пример #1
0
			</td>
		<?php 
    }
    ?>
		<?php 
    $subdirPath = $this->subdir ? '&subdir=' . urlencode($this->subdir) : '';
    ?>
		<td class="middle_valign nobsp is-relative">
			<?php 
    echo \Components\Projects\Models\File::drawIcon($item->getExtension());
    ?>
			<?php 
    if ($item->isFile()) {
        ?>
				<div class="file-action-dropdown<?php 
        echo ($handlers = Handler::getLaunchUrlsForFile($handlerBase . $this->model->get('alias') . DS . $item->getPath())) ? ' hasMultiple' : '';
        ?>
">
					<a href="<?php 
        echo Route::url($this->model->link('files') . '&action=download&connection=' . $this->connection->id . $subdirPath . '&asset=' . urlencode($item->getName()));
        ?>
" class="preview file:<?php 
        echo urlencode($item->getName());
        ?>
">
						<?php 
        echo \Components\Projects\Helpers\Html::shortenFileName($item->getFileName(), 60);
        ?>
					</a>
					<?php 
        if ($handlers && count($handlers) > 0) {