<?php
if (!empty($User['admin'])) {
printf("\t\t\t{id:'%s', label:'%s', url:'%s'},\n",
- 'cover', 'Cover instellen', "/edit/fotocover$Args?img={{image_url}}"
+ 'cover', 'Cover instellen', "/edit/foto/cover$Args?img={{image_url}}"
);
}
?>
targetRowHeight: 200,
};
var layout = require('justified-layout')(ratios, config);
- var thumbreplace = !window.location.search.test(/[?&]blur\b/);
+ var thumbreplace = !/[?&]blur\b/.test(window.location.search);
gallery.style.position = 'relative';
gallery.style.height = layout.containerHeight + 'px';