echo link_to_function(__('Search', null, 'sfAsset'), 'document.getElementById("sf_asset_search").style.display="block"'); ?> </div> <?php echo form_tag('sfAsset/search', array('method' => 'get', 'id' => 'sf_asset_search', 'style' => 'display:none')); ?> <div class="form-row"> <label for="search_params_rel_path"><?php echo __('Folder:', null, 'sfAsset'); ?> </label> <div class="content"> <?php echo select_tag('search_params[path]', '<option></option>' . options_for_select(sfAssetFolderPeer::getAllPaths(), isset($search_params['path']) ? $search_params['path'] : null), 'style=width:200px'); ?> </div> </div> <div class="form-row"> <label for="search_params_name"><?php echo __('Filename:', null, 'sfAsset'); ?> </label> <div class="content"> <?php echo input_tag('search_params[name]', isset($search_params['name']) ? $search_params['name'] : null, 'size=20'); ?> </div> </div>
<?php include_partial('sfAsset/create_folder_header'); ?> <?php echo form_tag('sfAsset/massUpload', 'method=post multipart=true'); ?> <fieldset> <div class="form-row"> <label for="parent_folder"><?php echo __('Place under:', null, 'sfAsset'); ?> </label> <?php echo select_tag('parent_folder', options_for_select(sfAssetFolderPeer::getAllPaths(), $sf_params->get('parent_folder'))); ?> </div> <?php for ($i = 1; $i <= sfConfig::get('app_sfAssetsLibrary_mass_upload_size', 5); $i++) { ?> <div class="form-row"> <label for="files_1"><?php echo __('File %nb%:', array('%nb%' => $i), 'sfAsset'); ?> </label> <?php echo input_file_tag('files[' . $i . ']'); ?> </div>
?> <?php echo input_hidden_tag('id', $sf_asset->getId()); ?> <div class="form-row"> <label for="new_folder"> <?php echo image_tag('/sfAssetsLibraryPlugin/images/page_go.png', 'align=top'); ?> <?php echo link_to_function(__('Move', null, 'sfAsset'), 'document.getElementById("input_new_folder").style.display="block"'); ?> </label> <div class="content" id="input_new_folder" style="display:none"> <?php echo select_tag('new_folder', options_for_select(sfAssetFolderPeer::getAllPaths(), $sf_asset->getFolderPath()), 'style=width:170px'); ?> <?php echo submit_tag(__('Ok', null, 'sfAsset')); ?> </div> </div> </form> <?php echo form_tag('sfAsset/replaceAsset', 'method=post multipart=true'); ?> <?php echo input_hidden_tag('id', $sf_asset->getId()); ?> <div class="form-row">