1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-27 09:34:30 +02:00

Improved codestyle and added to start using phpcs to check code style, fix #95.

This commit is contained in:
Mikael Roos
2015-07-23 11:32:19 +02:00
parent aaaffb606a
commit 01a868d925
16 changed files with 198 additions and 161 deletions

View File

@@ -101,7 +101,7 @@ input[type=text] {
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="../js/cimage.js"></script>
<script>
<?php
<?php
if (isset($_GET['input1'])) {
// Use incoming from querystring as defaults
?>
@@ -114,9 +114,9 @@ if (isset($_GET['input1'])) {
"stack": <?=$_GET['stack']?>
});
<?php
} else if (isset($script)) {
} elseif (isset($script)) {
// Use default setup from js configuration
echo $script;
echo $script;
} else {
// Use defaults
echo "CImage.compare({});";