diff options
author | Thomas Lange <code@nerdmind.de> | 2019-10-29 01:37:57 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2019-10-29 01:50:50 +0100 |
commit | cd17efc82a5ed560a50b8a1619e4e724098eb209 (patch) | |
tree | 0bf334219e1ef8adc17c20004ca31efeced65abd /theme/default | |
parent | fb7d34f69a0e47643c1e16c9e3d72dbc74b4bc4d (diff) | |
download | blog-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/default')
-rw-r--r-- | theme/default/html/403.php | 2 | ||||
-rw-r--r-- | theme/default/html/404.php | 2 | ||||
-rw-r--r-- | theme/default/html/feed/item_page.php | 2 | ||||
-rw-r--r-- | theme/default/html/feed/item_post.php | 2 | ||||
-rw-r--r-- | theme/default/html/feed/main.php | 2 | ||||
-rw-r--r-- | theme/default/html/home.php | 3 | ||||
-rw-r--r-- | theme/default/html/main.php | 2 | ||||
-rw-r--r-- | theme/default/html/page/item.php | 2 | ||||
-rw-r--r-- | theme/default/html/page/list.php | 2 | ||||
-rw-r--r-- | theme/default/html/page/main.php | 2 | ||||
-rw-r--r-- | theme/default/html/pagination.php | 2 | ||||
-rw-r--r-- | theme/default/html/post/item.php | 2 | ||||
-rw-r--r-- | theme/default/html/post/list.php | 2 | ||||
-rw-r--r-- | theme/default/html/post/main.php | 2 | ||||
-rw-r--r-- | theme/default/html/search/main.php | 2 | ||||
-rw-r--r-- | theme/default/html/search/result.php | 2 | ||||
-rw-r--r-- | theme/default/html/user/item.php | 2 | ||||
-rw-r--r-- | theme/default/html/user/list.php | 2 | ||||
-rw-r--r-- | theme/default/html/user/main.php | 2 | ||||
-rw-r--r-- | theme/default/lang/de.php | 1 | ||||
-rw-r--r-- | theme/default/lang/en.php | 1 | ||||
-rw-r--r-- | theme/default/rsrc/main.css | 2 | ||||
-rw-r--r-- | theme/default/rsrc/main.js | 2 |
23 files changed, 22 insertions, 23 deletions
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); |