testing phpintelephense linter

This commit is contained in:
2019-09-12 20:30:15 -04:00
parent 7d72c7c593
commit 1dc822e937

View File

@@ -11,6 +11,7 @@ $details = isset($_GET['details']) ? $_GET['details'] : "";
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>PS4: Playtime</title> <title>PS4: Playtime</title>
<meta id="viewport" name="viewport"> <meta id="viewport" name="viewport">
@@ -23,6 +24,7 @@ $details = isset($_GET['details']) ? $_GET['details'] : "";
$(document).ready(function() { $(document).ready(function() {
update(); update();
}); });
function update() { function update() {
$.get('page.php?rootpage=<?php echo $rootpage; ?>&orderby=<?php echo $orderby; ?>&details=<?php echo $details; ?>', function(data) { $.get('page.php?rootpage=<?php echo $rootpage; ?>&orderby=<?php echo $orderby; ?>&details=<?php echo $details; ?>', function(data) {
$("#page").html(data); $("#page").html(data);
@@ -44,8 +46,7 @@ $details = isset($_GET['details']) ? $_GET['details'] : "";
var viewport_meta_tag = document.getElementById('viewport'); var viewport_meta_tag = document.getElementById('viewport');
if (ww < mw) { //smaller than minimum size if (ww < mw) { //smaller than minimum size
viewport_meta_tag.setAttribute('content', 'initial-scale=' + ratio + ', maximum-scale=' + ratio + ', minimum-scale=' + ratio + ', user-scalable=no, width=' + mw); viewport_meta_tag.setAttribute('content', 'initial-scale=' + ratio + ', maximum-scale=' + ratio + ', minimum-scale=' + ratio + ', user-scalable=no, width=' + mw);
} } else { //regular size
else { //regular size
viewport_meta_tag.setAttribute('content', 'initial-scale=1.0, maximum-scale=1, minimum-scale=1.0, user-scalable=yes, width=' + ww); viewport_meta_tag.setAttribute('content', 'initial-scale=1.0, maximum-scale=1, minimum-scale=1.0, user-scalable=yes, width=' + ww);
} }
} }
@@ -62,6 +63,7 @@ $details = isset($_GET['details']) ? $_GET['details'] : "";
</script> </script>
</head> </head>
<body> <body>
@@ -71,7 +73,9 @@ $details = isset($_GET['details']) ? $_GET['details'] : "";
</div> </div>
</body> </body>
</html> </html>
</body> </body>
</html> </html>