aboutsummaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2019-10-29 01:37:57 +0100
committerThomas Lange <code@nerdmind.de>2019-10-29 01:50:50 +0100
commitcd17efc82a5ed560a50b8a1619e4e724098eb209 (patch)
tree0bf334219e1ef8adc17c20004ca31efeced65abd /theme
parentfb7d34f69a0e47643c1e16c9e3d72dbc74b4bc4d (diff)
downloadblog-cd17efc82a5ed560a50b8a1619e4e724098eb209.tar.gz
blog-cd17efc82a5ed560a50b8a1619e4e724098eb209.tar.xz
blog-cd17efc82a5ed560a50b8a1619e4e724098eb209.zip
Remove PHP closing tags and add LF to text files
Remove the unnecessary PHP closing tags and ensure that *all* text files ending with a LF character.
Diffstat (limited to 'theme')
-rw-r--r--theme/admin/html/403.php2
-rw-r--r--theme/admin/html/404.php2
-rw-r--r--theme/admin/html/auth.php2
-rw-r--r--theme/admin/html/database.php2
-rw-r--r--theme/admin/html/home.php3
-rw-r--r--theme/admin/html/main.php2
-rw-r--r--theme/admin/html/pagination.php2
-rw-r--r--theme/admin/lang/de.php1
-rw-r--r--theme/admin/lang/en.php1
-rw-r--r--theme/admin/rsrc/font/font-awesome-fontello.json2
-rw-r--r--theme/admin/rsrc/icon-public-domain.svg2
-rw-r--r--theme/admin/rsrc/main.css2
-rw-r--r--theme/admin/rsrc/main.js2
-rw-r--r--theme/default/html/403.php2
-rw-r--r--theme/default/html/404.php2
-rw-r--r--theme/default/html/feed/item_page.php2
-rw-r--r--theme/default/html/feed/item_post.php2
-rw-r--r--theme/default/html/feed/main.php2
-rw-r--r--theme/default/html/home.php3
-rw-r--r--theme/default/html/main.php2
-rw-r--r--theme/default/html/page/item.php2
-rw-r--r--theme/default/html/page/list.php2
-rw-r--r--theme/default/html/page/main.php2
-rw-r--r--theme/default/html/pagination.php2
-rw-r--r--theme/default/html/post/item.php2
-rw-r--r--theme/default/html/post/list.php2
-rw-r--r--theme/default/html/post/main.php2
-rw-r--r--theme/default/html/search/main.php2
-rw-r--r--theme/default/html/search/result.php2
-rw-r--r--theme/default/html/user/item.php2
-rw-r--r--theme/default/html/user/list.php2
-rw-r--r--theme/default/html/user/main.php2
-rw-r--r--theme/default/lang/de.php1
-rw-r--r--theme/default/lang/en.php1
-rw-r--r--theme/default/rsrc/main.css2
-rw-r--r--theme/default/rsrc/main.js2
36 files changed, 34 insertions, 36 deletions
diff --git a/theme/admin/html/403.php b/theme/admin/html/403.php
index 6fb3d16..f9a0afd 100644
--- a/theme/admin/html/403.php
+++ b/theme/admin/html/403.php
@@ -1,2 +1,2 @@
<h1><i class="fa fa-exclamation-triangle"></i><?=$Language->text('403_heading_text')?></h1>
-<p><?=$Language->text('403_heading_desc')?></p> \ No newline at end of file
+<p><?=$Language->text('403_heading_desc')?></p>
diff --git a/theme/admin/html/404.php b/theme/admin/html/404.php
index aa264cd..d53d1bc 100644
--- a/theme/admin/html/404.php
+++ b/theme/admin/html/404.php
@@ -1,2 +1,2 @@
<h1><i class="fa fa-exclamation-triangle"></i><?=$Language->text('404_heading_text')?></h1>
-<p><?=$Language->text('404_heading_desc')?></p> \ No newline at end of file
+<p><?=$Language->text('404_heading_desc')?></p>
diff --git a/theme/admin/html/auth.php b/theme/admin/html/auth.php
index e6bfb1e..ebb7a2a 100644
--- a/theme/admin/html/auth.php
+++ b/theme/admin/html/auth.php
@@ -31,4 +31,4 @@
<div class="flex flex-padding background">
<input type="submit" name="auth" value="<?=$Language->text('login')?>" />
</div>
-</form> \ No newline at end of file
+</form>
diff --git a/theme/admin/html/database.php b/theme/admin/html/database.php
index 983dee7..21701bd 100644
--- a/theme/admin/html/database.php
+++ b/theme/admin/html/database.php
@@ -27,4 +27,4 @@
<div class="flex flex-padding background">
<input id="insert-button" type="submit" name="execute" value="Execute" />
</div>
-</form> \ No newline at end of file
+</form>
diff --git a/theme/admin/html/home.php b/theme/admin/html/home.php
index a8b003e..083ae30 100644
--- a/theme/admin/html/home.php
+++ b/theme/admin/html/home.php
@@ -42,4 +42,5 @@
</div>
<?php else: ?>
<p><em><?=$Language->text('home_no_users')?></em></p>
-<?php endif; ?> \ No newline at end of file
+<?php endif; ?>
+
diff --git a/theme/admin/html/main.php b/theme/admin/html/main.php
index 6002bdf..51f00e4 100644
--- a/theme/admin/html/main.php
+++ b/theme/admin/html/main.php
@@ -49,4 +49,4 @@
</ul>
</footer>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/theme/admin/html/pagination.php b/theme/admin/html/pagination.php
index 42eb378..70720b6 100644
--- a/theme/admin/html/pagination.php
+++ b/theme/admin/html/pagination.php
@@ -27,4 +27,4 @@
<?php else: ?>
<div><a class="disabled"><i class="fa fa-arrow-right"></i></a></div>
<?php endif; ?>
-</div> \ No newline at end of file
+</div>
diff --git a/theme/admin/lang/de.php b/theme/admin/lang/de.php
index 5fabdc3..0a848a6 100644
--- a/theme/admin/lang/de.php
+++ b/theme/admin/lang/de.php
@@ -143,4 +143,3 @@ $LANGUAGE['markdown_code'] = 'Codeblock';
$LANGUAGE['markdown_quote'] = 'Zitat';
$LANGUAGE['markdown_list_ul'] = 'Liste [ungeordnet]';
$LANGUAGE['markdown_list_ol'] = 'Liste [geordnet]';
-?> \ No newline at end of file
diff --git a/theme/admin/lang/en.php b/theme/admin/lang/en.php
index b082cca..174a1d7 100644
--- a/theme/admin/lang/en.php
+++ b/theme/admin/lang/en.php
@@ -143,4 +143,3 @@ $LANGUAGE['markdown_code'] = 'Code block';
$LANGUAGE['markdown_quote'] = 'Quote';
$LANGUAGE['markdown_list_ul'] = 'List [unordered]';
$LANGUAGE['markdown_list_ol'] = 'List [ordered]';
-?> \ No newline at end of file
diff --git a/theme/admin/rsrc/font/font-awesome-fontello.json b/theme/admin/rsrc/font/font-awesome-fontello.json
index 515e8a7..599f149 100644
--- a/theme/admin/rsrc/font/font-awesome-fontello.json
+++ b/theme/admin/rsrc/font/font-awesome-fontello.json
@@ -193,4 +193,4 @@
"src": "fontawesome"
}
]
-} \ No newline at end of file
+}
diff --git a/theme/admin/rsrc/icon-public-domain.svg b/theme/admin/rsrc/icon-public-domain.svg
index e0f0b0f..88f7227 100644
--- a/theme/admin/rsrc/icon-public-domain.svg
+++ b/theme/admin/rsrc/icon-public-domain.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 53.869999 53.509998" version="1" width="53.87" height="53.51"><rect rx="2" width="50.745" y="1.563" x="1.563" height="50.385" fill="#b3b3b3" fill-rule="evenodd" stroke="#333" stroke-width="3.125" stroke-linejoin="round"/><g transform="translate(-3.116 -3.554)" fill-rule="evenodd" stroke="#333" stroke-linecap="round" stroke-linejoin="round"><path d="M25.96 22.992c-2.403 1.28-3.964 3.706-4.993 6.316h18.198c-.944-2.547-2.39-4.947-4.593-6.316-2.478-.108-5.595 0-8.612 0z" fill="#7f7f7f" stroke-width="1.87471319"/><circle transform="matrix(.6206 0 0 .6206 17.702 3.554)" cx="19.524" cy="22.301" r="12.326" fill="#bfbfbf" stroke-width="3.021"/></g><path d="M12.76 27.584c-.84 0-1.513.674-1.513 1.512v18.116h31.72V29.096c0-.838-.674-1.512-1.51-1.512H12.758z" fill="#999" fill-rule="evenodd" stroke="#333" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.55 29.705l-9.617-13.27 5.385-2.694" fill="none" stroke="#333" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/><circle cx="13.934" cy="13.741" r="2.308" fill="#7f7f7f" fill-rule="evenodd" stroke="#333" stroke-width="1.25"/><rect rx="2.267" height="4.616" width="36.929" y="24.705" x="8.548" fill="#4c4c4c" fill-rule="evenodd" stroke="#333" stroke-width="2.5" stroke-linejoin="round"/><path d="M18.29 45.03c2.917-1.836 6.143-2.33 7.4-2.043.14-1.242 2.07-3.303 5.54-5.486-4.107 1.048-4.96 1.32-6.74 3.745-3.04.3-3.913 1.192-6.2 3.785zM25.543 36.904c2.02-1.27 4.253-1.612 5.122-1.415.098-.86 1.434-2.287 3.835-3.797-2.842.724-3.433.912-4.664 2.59-2.105.208-2.71.826-4.293 2.62z" fill="#4c4c4c" fill-rule="evenodd" stroke="#333" stroke-width=".625" stroke-linecap="round" stroke-linejoin="round"/></svg> \ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 53.869999 53.509998" version="1" width="53.87" height="53.51"><rect rx="2" width="50.745" y="1.563" x="1.563" height="50.385" fill="#b3b3b3" fill-rule="evenodd" stroke="#333" stroke-width="3.125" stroke-linejoin="round"/><g transform="translate(-3.116 -3.554)" fill-rule="evenodd" stroke="#333" stroke-linecap="round" stroke-linejoin="round"><path d="M25.96 22.992c-2.403 1.28-3.964 3.706-4.993 6.316h18.198c-.944-2.547-2.39-4.947-4.593-6.316-2.478-.108-5.595 0-8.612 0z" fill="#7f7f7f" stroke-width="1.87471319"/><circle transform="matrix(.6206 0 0 .6206 17.702 3.554)" cx="19.524" cy="22.301" r="12.326" fill="#bfbfbf" stroke-width="3.021"/></g><path d="M12.76 27.584c-.84 0-1.513.674-1.513 1.512v18.116h31.72V29.096c0-.838-.674-1.512-1.51-1.512H12.758z" fill="#999" fill-rule="evenodd" stroke="#333" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.55 29.705l-9.617-13.27 5.385-2.694" fill="none" stroke="#333" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/><circle cx="13.934" cy="13.741" r="2.308" fill="#7f7f7f" fill-rule="evenodd" stroke="#333" stroke-width="1.25"/><rect rx="2.267" height="4.616" width="36.929" y="24.705" x="8.548" fill="#4c4c4c" fill-rule="evenodd" stroke="#333" stroke-width="2.5" stroke-linejoin="round"/><path d="M18.29 45.03c2.917-1.836 6.143-2.33 7.4-2.043.14-1.242 2.07-3.303 5.54-5.486-4.107 1.048-4.96 1.32-6.74 3.745-3.04.3-3.913 1.192-6.2 3.785zM25.543 36.904c2.02-1.27 4.253-1.612 5.122-1.415.098-.86 1.434-2.287 3.835-3.797-2.842.724-3.433.912-4.664 2.59-2.105.208-2.71.826-4.293 2.62z" fill="#4c4c4c" fill-rule="evenodd" stroke="#333" stroke-width=".625" stroke-linecap="round" stroke-linejoin="round"/></svg>
diff --git a/theme/admin/rsrc/main.css b/theme/admin/rsrc/main.css
index dbb1dce..f9560e9 100644
--- a/theme/admin/rsrc/main.css
+++ b/theme/admin/rsrc/main.css
@@ -976,4 +976,4 @@ label:after {
font-family: Ruda;
font-weight: 700;
src: url("font/ruda-n-700.woff2") format("woff2");
-} \ No newline at end of file
+}
diff --git a/theme/admin/rsrc/main.js b/theme/admin/rsrc/main.js
index 46880f2..842ef47 100644
--- a/theme/admin/rsrc/main.js
+++ b/theme/admin/rsrc/main.js
@@ -157,4 +157,4 @@ if(document.getElementById("delete-button")) {
};
}
}
-})(); \ No newline at end of file
+})();
diff --git a/theme/default/html/403.php b/theme/default/html/403.php
index 337dd44..1e78316 100644
--- a/theme/default/html/403.php
+++ b/theme/default/html/403.php
@@ -8,4 +8,4 @@
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
?>
<h1><i class="fa fa-exclamation-triangle"></i><?=$Language->text('403_heading_text')?></h1>
-<p><?=$Language->text('403_heading_desc')?></p> \ No newline at end of file
+<p><?=$Language->text('403_heading_desc')?></p>
diff --git a/theme/default/html/404.php b/theme/default/html/404.php
index 54866a4..9495944 100644
--- a/theme/default/html/404.php
+++ b/theme/default/html/404.php
@@ -8,4 +8,4 @@
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
?>
<h1><i class="fa fa-exclamation-triangle"></i><?=$Language->text('404_heading_text')?></h1>
-<p><?=$Language->text('404_heading_desc')?></p> \ No newline at end of file
+<p><?=$Language->text('404_heading_desc')?></p>
diff --git a/theme/default/html/feed/item_page.php b/theme/default/html/feed/item_page.php
index ff9f209..82568a1 100644
--- a/theme/default/html/feed/item_page.php
+++ b/theme/default/html/feed/item_page.php
@@ -24,4 +24,4 @@ $HTML = $PAGE['BODY']['HTML']();
<?php foreach($PAGE['FILE']['LIST'] as $fileURL): ?>
<media:content url="<?=$fileURL?>" medium="image"></media:content>
<?php endforeach; ?>
-</item> \ No newline at end of file
+</item>
diff --git a/theme/default/html/feed/item_post.php b/theme/default/html/feed/item_post.php
index 07d400d..0bf23fc 100644
--- a/theme/default/html/feed/item_post.php
+++ b/theme/default/html/feed/item_post.php
@@ -24,4 +24,4 @@ $HTML = $POST['BODY']['HTML']();
<?php foreach($POST['FILE']['LIST'] as $fileURL): ?>
<media:content url="<?=$fileURL?>" medium="image"></media:content>
<?php endforeach; ?>
-</item> \ No newline at end of file
+</item>
diff --git a/theme/default/html/feed/main.php b/theme/default/html/feed/main.php
index 588ee02..317bd31 100644
--- a/theme/default/html/feed/main.php
+++ b/theme/default/html/feed/main.php
@@ -49,4 +49,4 @@ switch($FEED['TYPE']) {
<?php echo $item ?>
<?php endforeach; ?>
</channel>
-</rss> \ No newline at end of file
+</rss>
diff --git a/theme/default/html/home.php b/theme/default/html/home.php
index 3f6ba47..b412f22 100644
--- a/theme/default/html/home.php
+++ b/theme/default/html/home.php
@@ -16,4 +16,5 @@
<?php endforeach; ?>
</div>
-<?=$PAGINATION['HTML']?> \ No newline at end of file
+<?=$PAGINATION['HTML']?>
+
diff --git a/theme/default/html/main.php b/theme/default/html/main.php
index 46f4f09..5d9284a 100644
--- a/theme/default/html/main.php
+++ b/theme/default/html/main.php
@@ -99,4 +99,4 @@ $BLOGMETA_DESC = escapeHTML($BLOGMETA['DESC']);
</footer>
</div>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/theme/default/html/page/item.php b/theme/default/html/page/item.php
index 00da4c2..20937b9 100644
--- a/theme/default/html/page/item.php
+++ b/theme/default/html/page/item.php
@@ -17,4 +17,4 @@
<blockquote cite="<?=$PAGE['URL']?>">
<p><?=excerpt($PAGE['BODY']['HTML'](), 600)?></p>
</blockquote>
-</article> \ No newline at end of file
+</article>
diff --git a/theme/default/html/page/list.php b/theme/default/html/page/list.php
index c4a04b2..665301e 100644
--- a/theme/default/html/page/list.php
+++ b/theme/default/html/page/list.php
@@ -16,4 +16,4 @@
<?php endforeach; ?>
</div>
-<?=$PAGINATION['HTML']?> \ No newline at end of file
+<?=$PAGINATION['HTML']?>
diff --git a/theme/default/html/page/main.php b/theme/default/html/page/main.php
index 1f8e140..7e37805 100644
--- a/theme/default/html/page/main.php
+++ b/theme/default/html/page/main.php
@@ -31,4 +31,4 @@ $time = "<time datetime=\"{$PAGE['ATTR']['TIME_INSERT']}\" title=\"".parseDateti
<div><a class="disabled"><i class="fa fa-arrow-right"></i></a></div>
<?php endif; ?>
-</section> \ No newline at end of file
+</section>
diff --git a/theme/default/html/pagination.php b/theme/default/html/pagination.php
index 48e353f..012c891 100644
--- a/theme/default/html/pagination.php
+++ b/theme/default/html/pagination.php
@@ -36,4 +36,4 @@
<?php else: ?>
<div><a class="disabled"><i class="fa fa-arrow-right"></i></a></div>
<?php endif; ?>
-</div> \ No newline at end of file
+</div>
diff --git a/theme/default/html/post/item.php b/theme/default/html/post/item.php
index e0d49bd..6f68d79 100644
--- a/theme/default/html/post/item.php
+++ b/theme/default/html/post/item.php
@@ -17,4 +17,4 @@
<blockquote cite="<?=$POST['URL']?>">
<?=$POST['BODY']['HTML']()?>
</blockquote>
-</article> \ No newline at end of file
+</article>
diff --git a/theme/default/html/post/list.php b/theme/default/html/post/list.php
index f16fd52..37fca86 100644
--- a/theme/default/html/post/list.php
+++ b/theme/default/html/post/list.php
@@ -16,4 +16,4 @@
<?php endforeach; ?>
</div>
-<?=$PAGINATION['HTML']?> \ No newline at end of file
+<?=$PAGINATION['HTML']?>
diff --git a/theme/default/html/post/main.php b/theme/default/html/post/main.php
index b84fc63..4b84ed9 100644
--- a/theme/default/html/post/main.php
+++ b/theme/default/html/post/main.php
@@ -31,4 +31,4 @@ $time = "<time datetime=\"{$POST['ATTR']['TIME_INSERT']}\" title=\"".parseDateti
<div><a class="disabled"><i class="fa fa-arrow-right"></i></a></div>
<?php endif; ?>
-</section> \ No newline at end of file
+</section>
diff --git a/theme/default/html/search/main.php b/theme/default/html/search/main.php
index 61bd6a5..e7522ff 100644
--- a/theme/default/html/search/main.php
+++ b/theme/default/html/search/main.php
@@ -31,4 +31,4 @@
</select>
<input type="submit" value="<?=$Language->text('search')?>" />
-</form> \ No newline at end of file
+</form>
diff --git a/theme/default/html/search/result.php b/theme/default/html/search/result.php
index 044afe1..2dac0ec 100644
--- a/theme/default/html/search/result.php
+++ b/theme/default/html/search/result.php
@@ -33,4 +33,4 @@
<?php foreach($RESULT['LIST'] as $post): ?>
<?php echo $post; ?>
<?php endforeach; ?>
-</div> \ No newline at end of file
+</div>
diff --git a/theme/default/html/user/item.php b/theme/default/html/user/item.php
index d03d330..7d2c36b 100644
--- a/theme/default/html/user/item.php
+++ b/theme/default/html/user/item.php
@@ -17,4 +17,4 @@
<blockquote cite="<?=$USER['URL']?>">
<?=$USER['BODY']['HTML']()?>
</blockquote>
-</article> \ No newline at end of file
+</article>
diff --git a/theme/default/html/user/list.php b/theme/default/html/user/list.php
index 98fa840..59bc5ee 100644
--- a/theme/default/html/user/list.php
+++ b/theme/default/html/user/list.php
@@ -16,4 +16,4 @@
<?php endforeach; ?>
</div>
-<?=$PAGINATION['HTML']?> \ No newline at end of file
+<?=$PAGINATION['HTML']?>
diff --git a/theme/default/html/user/main.php b/theme/default/html/user/main.php
index 7c19b96..5b4e2d7 100644
--- a/theme/default/html/user/main.php
+++ b/theme/default/html/user/main.php
@@ -28,4 +28,4 @@
<div><a class="disabled"><i class="fa fa-arrow-right"></i></a></div>
<?php endif; ?>
-</section> \ No newline at end of file
+</section>
diff --git a/theme/default/lang/de.php b/theme/default/lang/de.php
index bf1b3a4..221322c 100644
--- a/theme/default/lang/de.php
+++ b/theme/default/lang/de.php
@@ -69,4 +69,3 @@ $LANGUAGE['403_heading_desc'] = 'Der Zugriff auf diese Ressource wurde dir verwe
#===============================================================================
$LANGUAGE['404_heading_text'] = 'Nicht gefunden';
$LANGUAGE['404_heading_desc'] = 'Die angeforderte Ressource konnte nicht gefunden werden.';
-?> \ No newline at end of file
diff --git a/theme/default/lang/en.php b/theme/default/lang/en.php
index 0c7f557..644d364 100644
--- a/theme/default/lang/en.php
+++ b/theme/default/lang/en.php
@@ -69,4 +69,3 @@ $LANGUAGE['403_heading_desc'] = 'You are denied to access this resource because
#===============================================================================
$LANGUAGE['404_heading_text'] = 'Not found';
$LANGUAGE['404_heading_desc'] = 'The requested resource could not be found.';
-?> \ No newline at end of file
diff --git a/theme/default/rsrc/main.css b/theme/default/rsrc/main.css
index a736b18..83e729e 100644
--- a/theme/default/rsrc/main.css
+++ b/theme/default/rsrc/main.css
@@ -570,4 +570,4 @@ thead > tr > td, th > td {
font-family: Ruda;
font-weight: 700;
src: url("font/ruda-n-700.woff2") format("woff2");
-} \ No newline at end of file
+}
diff --git a/theme/default/rsrc/main.js b/theme/default/rsrc/main.js
index f73d061..164c50f 100644
--- a/theme/default/rsrc/main.js
+++ b/theme/default/rsrc/main.js
@@ -12,4 +12,4 @@ document.addEventListener("keyup", function(e) {
(e.keyCode === 37 && prev) && (window.location.href = prev.getAttribute("href"));
(e.keyCode === 39 && next) && (window.location.href = next.getAttribute("href"));
}
-}, false); \ No newline at end of file
+}, false);