Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
This commit is contained in:
commit
16d0abb546
@ -337,7 +337,7 @@ class Page {
|
||||
$css_files = array_merge(
|
||||
zglob("lib/shimmie.css"),
|
||||
zglob("ext/{".ENABLED_EXTS."}/style.css"),
|
||||
zglob("themes/$theme_name/style.css"),
|
||||
zglob("themes/$theme_name/style.css")
|
||||
);
|
||||
foreach($css_files as $css) {
|
||||
$css_latest = max($css_latest, filemtime($css));
|
||||
|
@ -209,7 +209,8 @@ class ReportImage extends Extension {
|
||||
$all_reports = $database->get_all("
|
||||
SELECT image_reports.*, users.name AS reporter_name
|
||||
FROM image_reports
|
||||
JOIN users ON reporter_id = users.id");
|
||||
JOIN users ON reporter_id = users.id
|
||||
ORDER BY image_reports.id DESC");
|
||||
if(is_null($all_reports)) $all_reports = array();
|
||||
|
||||
$reports = array();
|
||||
|
@ -51,7 +51,7 @@ var forceDesktop = false;
|
||||
function toggleDesktop() {
|
||||
if(forceDesktop) {
|
||||
var viewport = document.querySelector("meta[name=viewport]");
|
||||
viewport.setAttribute('content', 'width=512, initial-scale=1.0');
|
||||
viewport.setAttribute('content', 'width=512');
|
||||
Cookies.set("ui-desktop", "false");
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user