<?php
/**
 * @var $_ array
 */
/**
 * @var $l \OCP\IL10N
 */
script(
	$_['appName'],
	'merged'
);
script(
	'files',
	[
		'upload',
		'file-upload',
		'jquery.fileupload',
	]
);
style(
	'files',
	[
		'upload'
	]
);
style(
	$_['appName'],
	[
		'styles',
		'share',
		'github-markdown',
		'slideshow',
		'gallerybutton',
		'upload',
		'mobile',
	]
);
?>
 
<div id="controls">
 
  <div id="actionBar" class="file-oper-bar">
     <div class="newFileMenudiv"></div>
     <!--这个地方是加入更多的操作菜单-->
     <div class="filemultiselectmenudiv hidden"></div>
     <div class="gallery sort-cell">
                        <div id="sort-name-button" class=" sorting left-switch-button">
				<div class="flipper">
				  <a class="sort-btn name des columntitle" data-sort="name"><i class="ton ton-sort"></i></a>
				</div>
			</div>
			<div id="sort-date-button" class=" sorting right-switch-button">
				<div class="flipper">
                               <a class="sort-btn name asc columntitle" data-sort="name"><i class="ton ton-list"></i></a>
                              
					 
				</div>
			</div>
         			<!-- sharing button -->
			<div id="shared-button" class="">
				<img class="svg" src="<?php print_unescaped(
					image_path('core', 'actions/share.svg')
				); ?>" alt="<?php p($l->t("Share")); ?>"/>
			</div>
			<a class="share" data-item-type="folder" data-item=""
			   title="<?php p($l->t("Share")); ?>"
			   data-possible-permissions="31"></a>
			<!-- info button -->
			<div id="album-info-button" class="">
				<span class="ribbon black"></span>
				<img class="svg" src="<?php print_unescaped(
					image_path('core', 'actions/info.svg')
				); ?>" alt="<?php p($l->t('Album information')); ?>"/>
			</div>
			<div class="album-info-container">
				<div class="album-info-loader"></div>
				<div class="album-info-content markdown-body"></div>
			</div>
        
 <!-- button for opening the current album as file list -->
			<div id="filelist-button" class="  view-switcher gallery">
				<div id="button-loading" class="hidden"></div>
                                <a class="sort-btn " data-sort="name" title="<?php p($l->t('File list')); ?>"> <i class="ton ton-thumbnail"></i></a>  
                               
				 
			</div>
     </div>
 </div>
        
        
    <div id="routerBar">
<div class="brushed"> <!--这里js加入路径导航--> </div>
    </div>
    <div id="file_action_panel"></div>    
 		<div id="uploadprogresswrapper">
			<div id="uploadprogressbar"></div>
			<button class="stop icon-close" style="display:none">
			<span class="hidden-visually">
				<?php p($l->t('Cancel upload')) ?>
			</span>
			</button>
		</div>    
</div> 
 
<div id="gallery" data-allow-public-upload="<?php p($_['publicUploadEnabled'])?>" class="hascontrols"></div>
<div id="emptycontent" class="hidden"></div>
<input type="hidden" name="allowShareWithLink" id="allowShareWithLink" value="yes"/>
<input type="hidden" name="mailNotificationEnabled" id="mailNotificationEnabled"
	   value="<?php p($_['mailNotificationEnabled']) ?>"/>
<input type="hidden" name="mailPublicNotificationEnabled" id="mailPublicNotificationEnabled"
	   value="<?php p($_['mailPublicNotificationEnabled']) ?>"/>
<div class="hiddenuploadfield">
	<input type="file" id="file_upload_start" class="hiddenuploadfield" name="files[]"
		   data-url="<?php print_unescaped($_['uploadUrl']); ?>" accept="image/*"/>
</div>
