comparison index.php @ 58:281a129299cf

Update js and use jquery
author nanaya <me@myconan.net>
date Tue, 04 Apr 2017 22:26:45 +0900
parents aa12b7cbe1e8
children 612d99622699
comparison
equal deleted inserted replaced
57:aa12b7cbe1e8 58:281a129299cf
156 <!doctype html> 156 <!doctype html>
157 <head> 157 <head>
158 <meta charset="utf-8"> 158 <meta charset="utf-8">
159 <title>Index of <?= h($uri); ?></title> 159 <title>Index of <?= h($uri); ?></title>
160 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 160 <meta name="viewport" content="width=device-width, initial-scale=1.0">
161 <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/0.9.9/magnific-popup.css"> 161 <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/magnific-popup.css">
162 162
163 <style type="text/css"> 163 <style type="text/css">
164 .mfp-content figure { margin: 0; } 164 .mfp-content figure { margin: 0; }
165 * { box-sizing: border-box; } 165 * { box-sizing: border-box; }
166 body { 166 body {
263 Running <a href="https://bitbucket.org/edogawaconan/dirlist-php">dirlist-php <?= DL_VERSION ?></a>. 263 Running <a href="https://bitbucket.org/edogawaconan/dirlist-php">dirlist-php <?= DL_VERSION ?></a>.
264 Powered by PHP <?= phpversion(); ?>. 264 Powered by PHP <?= phpversion(); ?>.
265 </em> 265 </em>
266 </footer> 266 </footer>
267 267
268 <script src="//cdnjs.cloudflare.com/ajax/libs/zepto/1.1.6/zepto.min.js"></script> 268 <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
269 <script src="//cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.0.0/jquery.magnific-popup.min.js"></script> 269 <script src="//cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js"></script>
270 <script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.1.1/list.min.js"></script> 270 <script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.2.0/list.min.js"></script>
271 271
272 <script> 272 <script>
273 $("table td a").each(function() { 273 $("table td a").each(function() {
274 if (!this.href.match(/\.(jpe?g|png|gif|webp)$/i)) return 274 if (!this.href.match(/\.(jpe?g|png|gif|webp)$/i)) return
275 275