+3
-3
@@ -151,7 +151,7 @@
|
||||
<ion-icon name="arrow-back"></ion-icon>
|
||||
</a>
|
||||
<!--BackArrowEnd-->
|
||||
<h3 class="table-header"><!--Path--></h3>
|
||||
<h3 class="table-header"><!--PathArrayStart--> / <a href="<!--PathArrayLink-->"><!--PathArrayName--></a><!--PathArrayEnd--></h3>
|
||||
</div>
|
||||
<div class="list-body-container">
|
||||
<!--EncryptedStart-->
|
||||
@@ -480,7 +480,7 @@
|
||||
location.href = location.href;
|
||||
}
|
||||
<!--ListStart-->
|
||||
var root = '<!--base_disk_path-->';
|
||||
/*var root = '<!--base_disk_path-->';
|
||||
function path_format(path) {
|
||||
path = '/' + path + '/';
|
||||
while (path.indexOf('//') !== -1) {
|
||||
@@ -500,7 +500,7 @@
|
||||
}
|
||||
e.innerHTML += paths[paths.length - 1];
|
||||
e.innerHTML = e.innerHTML.replace(/\s\/\s$/, '')
|
||||
});
|
||||
});*/
|
||||
<!--IsFileStart-->
|
||||
var $url = document.getElementById('url');
|
||||
if ($url) {
|
||||
|
||||
+33
-6
@@ -252,6 +252,25 @@
|
||||
</li>
|
||||
<!--FileListEnd-->
|
||||
|
||||
<!--MorePageStart-->
|
||||
<form action="" method="POST" id="nextpageform">
|
||||
<input type="hidden" id="pagenum" name="pagenum" value="">
|
||||
<li class="mdui-list-item th">
|
||||
<div class="mdui-col-sm-6 mdui-left mdui-text-left">
|
||||
<!--PrePageStart-->
|
||||
<a onclick="nextpage(<!--PrePageNum-->);" class="mdui-btn mdui-btn-raised"><!--constStr@PrePage--></a>
|
||||
<!--PrePageEnd-->
|
||||
<!--NextPageStart-->
|
||||
<a onclick="nextpage(<!--NextPageNum-->);" class="mdui-btn mdui-btn-raised"><!--constStr@NextPage--></a>
|
||||
<!--NextPageEnd-->
|
||||
</div>
|
||||
<div class="mdui-col-sm-6 mdui-right mdui-text-right">
|
||||
<div class="mdui-right mdui-text-right"><span class="mdui-chip-title">Page: <!--MorePageListStart--><!--MorePageListEnd--><!--MorePageListNowStart--><!--PageNum--><!--MorePageListNowEnd-->/<!--MaxPageNum--></span></div>
|
||||
</div>
|
||||
</li>
|
||||
</form>
|
||||
<!--MorePageEnd-->
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -270,10 +289,18 @@
|
||||
</div>
|
||||
<!--FootomfEnd-->
|
||||
</div>
|
||||
<!--ShowThumbnailsStart-->
|
||||
<a href="javascript:thumb();" class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i class="mdui-icon material-icons">format_list_bulleted</i></a>
|
||||
<!--ShowThumbnailsEnd-->
|
||||
<!--IsFolderEnd-->
|
||||
<!--ListEnd-->
|
||||
<script>
|
||||
<!--MorePageStart-->
|
||||
function nextpage(num) {
|
||||
document.getElementById('pagenum').value=num;
|
||||
document.getElementById('nextpageform').submit();
|
||||
}
|
||||
<!--MorePageEnd-->
|
||||
$ = mdui.JQ;
|
||||
|
||||
$.fn.extend({
|
||||
@@ -314,7 +341,7 @@
|
||||
a.click() // 模拟点击
|
||||
a.remove();
|
||||
}
|
||||
|
||||
<!--ShowThumbnailsStart-->
|
||||
function thumb(){
|
||||
if($('.mdui-fab i').text() == "apps"){
|
||||
$('.mdui-fab i').text("format_list_bulleted");
|
||||
@@ -325,17 +352,17 @@
|
||||
$('.mdui-fab i').text("apps");
|
||||
$('.nexmoe-item').addClass('thumb');
|
||||
$('.mdui-col-xs-12 i.mdui-icon').each(function(){
|
||||
if($(this).text() == "image" || $(this).text() == "ondemand_video"){
|
||||
var href = $(this).parent().parent().attr('href');
|
||||
var thumb =(href.indexOf('?') == -1)?'?t=220':'&t=220';
|
||||
if($(this).text() == "image"){
|
||||
var thumbnails = $(this).parent().parent().attr('href');
|
||||
thumbnails = thumbnails.substr(0, thumbnails.length-8)+'?thumbnails&location';
|
||||
$(this).hide();
|
||||
$(this).parent().parent().parent().css("background","url("+href+thumb+") no-repeat center top");
|
||||
$(this).parent().parent().parent().css("background","url("+thumbnails+") no-repeat center top");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
<!--ShowThumbnailsEnd-->
|
||||
$(function(){
|
||||
$('.file a').each(function(){
|
||||
$(this).on('click', function () {
|
||||
|
||||
+27
-12
@@ -110,7 +110,9 @@
|
||||
<a href="<!--PathArrayLink-->"><!--PathArrayName--></a>
|
||||
<!--PathArrayEnd-->
|
||||
<div class="mdui-toolbar-spacer"></div>
|
||||
<!--ShowThumbnailsStart-->
|
||||
<a href="javascript:thumb();" id="thumb" class="mdui-btn mdui-btn-icon" mdui-tooltip="{content: '切换显示'}"><i class="mdui-icon material-icons">format_list_bulleted</i></a>
|
||||
<!--ShowThumbnailsEnd-->
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -339,20 +341,24 @@
|
||||
<!--FileListEnd-->
|
||||
|
||||
<!--MorePageStart-->
|
||||
<form action="" method="POST" id="nextpageform">
|
||||
<input type="hidden" id="pagenum" name="pagenum" value="">
|
||||
<li class="mdui-list-item th">
|
||||
<div class="mdui-col-sm-6 mdui-left mdui-text-left">
|
||||
<!--PrePageStart-->
|
||||
<a href="<?php echo preg_replace('/\/$/', '', "$root"); ?><?php e($path) ?>.page-<?php e($page-1) ?>/" class="mdui-btn mdui-btn-raised">上一页</a>
|
||||
<a onclick="nextpage(<!--PrePageNum-->);" class="mdui-btn mdui-btn-raised"><!--constStr@PrePage--></a>
|
||||
<!--PrePageEnd-->
|
||||
<!--NextPageStart-->
|
||||
<a href="<?php echo preg_replace('/\/$/', '', "$root"); ?><?php e($path) ?>.page-<?php e($page+1) ?>/" class="mdui-btn mdui-btn-raised">下一页</a>
|
||||
<a onclick="nextpage(<!--NextPageNum-->);" class="mdui-btn mdui-btn-raised"><!--constStr@NextPage--></a>
|
||||
<!--NextPageEnd-->
|
||||
</div>
|
||||
<div class="mdui-col-sm-6 mdui-right mdui-text-right">
|
||||
<div class="mdui-right mdui-text-right"><span class="mdui-chip-title">Page: <?php e($page);?>/<?php e($totalpage);?></span></div>
|
||||
</div>
|
||||
</li>
|
||||
<div class="mdui-right mdui-text-right"><span class="mdui-chip-title">Page: <!--MorePageListStart--><!--MorePageListEnd--><!--MorePageListNowStart--><!--PageNum--><!--MorePageListNowEnd-->/<!--MaxPageNum--></span></div>
|
||||
</div>
|
||||
</li>
|
||||
</form>
|
||||
<!--MorePageEnd-->
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -377,6 +383,12 @@
|
||||
<script src="//cdn.jsdelivr.net/gh/mcstudios/glightbox/dist/js/glightbox.min.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script>
|
||||
<script>
|
||||
<!--MorePageStart-->
|
||||
function nextpage(num) {
|
||||
document.getElementById('pagenum').value=num;
|
||||
document.getElementById('nextpageform').submit();
|
||||
}
|
||||
<!--MorePageEnd-->
|
||||
var $$ = mdui.JQ;
|
||||
$$(function() {
|
||||
$$('.file .iframe').each(function() {
|
||||
@@ -493,7 +505,7 @@ function downall() {
|
||||
a.click() // 模拟点击
|
||||
a.remove();
|
||||
}
|
||||
|
||||
<!--ShowThumbnailsStart-->
|
||||
function thumb(){
|
||||
if($('#thumb i').text() == "apps"){
|
||||
$('#thumb i').text("format_list_bulleted");
|
||||
@@ -504,17 +516,20 @@ function thumb(){
|
||||
$('#thumb i').text("apps");
|
||||
$('.nexmoe-item').addClass('thumb');
|
||||
$('.mdui-col-xs-12 i.mdui-icon').each(function(){
|
||||
if($(this).text() == "image" || $(this).text() == "ondemand_video"){
|
||||
var href = $(this).parent().parent().attr('href');
|
||||
var thumb =(href.indexOf('?') == -1)?'?t=220':'&t=220';
|
||||
//if($(this).text() == "image" || $(this).text() == "ondemand_video"){
|
||||
if($(this).text() == "image"){
|
||||
var thumbnails = $(this).parent().parent().attr('href');
|
||||
//var thumb =(href.indexOf('?') == -1)?'?t=220':'&t=220';
|
||||
thumbnails = thumbnails.substr(0, thumbnails.length-8)+'?thumbnails&location';
|
||||
$(this).hide();
|
||||
$(this).parent().parent().parent().css("background","url("+href+thumb+") no-repeat center top");
|
||||
//$(this).parent().parent().parent().css("background","url("+href+thumb+") no-repeat center top");
|
||||
$(this).parent().parent().parent().css("background","url("+thumbnails+") no-repeat center top");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
<!--ShowThumbnailsEnd-->
|
||||
$(function(){
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user