aboutsummaryrefslogtreecommitdiffstats
path: root/template/standard/html
diff options
context:
space:
mode:
Diffstat (limited to 'template/standard/html')
-rw-r--r--template/standard/html/403.php11
-rw-r--r--template/standard/html/404.php11
-rw-r--r--template/standard/html/feed/item_page.php27
-rw-r--r--template/standard/html/feed/item_post.php27
-rw-r--r--template/standard/html/feed/main.php52
-rw-r--r--template/standard/html/home.php19
-rw-r--r--template/standard/html/main.php102
-rw-r--r--template/standard/html/page/item.php20
-rw-r--r--template/standard/html/page/list.php19
-rw-r--r--template/standard/html/page/main.php34
-rw-r--r--template/standard/html/pagination.php39
-rw-r--r--template/standard/html/post/item.php20
-rw-r--r--template/standard/html/post/list.php19
-rw-r--r--template/standard/html/post/main.php34
-rw-r--r--template/standard/html/search/main.php34
-rw-r--r--template/standard/html/search/result.php36
-rw-r--r--template/standard/html/user/item.php20
-rw-r--r--template/standard/html/user/list.php19
-rw-r--r--template/standard/html/user/main.php31
19 files changed, 0 insertions, 574 deletions
diff --git a/template/standard/html/403.php b/template/standard/html/403.php
deleted file mode 100644
index 337dd44..0000000
--- a/template/standard/html/403.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# 403 Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-?>
-<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
diff --git a/template/standard/html/404.php b/template/standard/html/404.php
deleted file mode 100644
index 54866a4..0000000
--- a/template/standard/html/404.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# 404 Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-?>
-<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
diff --git a/template/standard/html/feed/item_page.php b/template/standard/html/feed/item_page.php
deleted file mode 100644
index ff9f209..0000000
--- a/template/standard/html/feed/item_page.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Feed Item Template [page] [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-
-$HTML = $PAGE['BODY']['HTML']();
-?>
-<item>
- <title><?=escapeHTML($PAGE['ATTR']['NAME'])?></title>
- <link><?=$PAGE['URL']?></link>
- <guid isPermaLink="false"><?=$PAGE['GUID']?></guid>
- <pubDate><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], '[RFC2822]')?></pubDate>
- <dc:creator><?=escapeHTML($USER['ATTR']['FULLNAME'])?></dc:creator>
- <description><?=escapeHTML(description($HTML, 400))?></description>
- <content:encoded>
- <![CDATA[
- <?=$HTML?>
- ]]>
- </content:encoded>
- <?php foreach($PAGE['FILE']['LIST'] as $fileURL): ?>
- <media:content url="<?=$fileURL?>" medium="image"></media:content>
- <?php endforeach; ?>
-</item> \ No newline at end of file
diff --git a/template/standard/html/feed/item_post.php b/template/standard/html/feed/item_post.php
deleted file mode 100644
index 07d400d..0000000
--- a/template/standard/html/feed/item_post.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Feed Item Template [post] [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-
-$HTML = $POST['BODY']['HTML']();
-?>
-<item>
- <title><?=escapeHTML($POST['ATTR']['NAME'])?></title>
- <link><?=$POST['URL']?></link>
- <guid isPermaLink="false"><?=$POST['GUID']?></guid>
- <pubDate><?=parseDatetime($POST['ATTR']['TIME_INSERT'], '[RFC2822]')?></pubDate>
- <dc:creator><?=escapeHTML($USER['ATTR']['FULLNAME'])?></dc:creator>
- <description><?=escapeHTML(description($HTML, 400))?></description>
- <content:encoded>
- <![CDATA[
- <?=$HTML?>
- ]]>
- </content:encoded>
- <?php foreach($POST['FILE']['LIST'] as $fileURL): ?>
- <media:content url="<?=$fileURL?>" medium="image"></media:content>
- <?php endforeach; ?>
-</item> \ No newline at end of file
diff --git a/template/standard/html/feed/main.php b/template/standard/html/feed/main.php
deleted file mode 100644
index 588ee02..0000000
--- a/template/standard/html/feed/main.php
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Feed Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-
-$BLOGMETA_NAME = escapeHTML($BLOGMETA['NAME']);
-
-switch($FEED['TYPE']) {
- case 'post':
- $title = $Language->text('feed_name_posts', $BLOGMETA_NAME);
- $self = Application::getURL('feed/post/');
- break;
- case 'page':
- $title = $Language->text('feed_name_pages', $BLOGMETA_NAME);
- $self = Application::getURL('feed/page/');
- break;
- default:
- $title = $Language->text('feed_name_items', $BLOGMETA_NAME);
- $self = Application::getURL('feed/');
-}
-?>
-<?='<?xml version="1.0" encoding="UTF-8" ?>'?>
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/">
- <channel>
- <title><?=$title?></title>
- <link><?=Application::getURL()?></link>
- <language><?=$BLOGMETA['LANG']?></language>
- <description><?=escapeHTML($BLOGMETA['DESC'])?></description>
-
- <atom:link href="<?=$self?>" rel="self" type="application/rss+xml" />
-
- <image>
- <title><?=$title?></title>
- <url><?=Application::getTemplateURL('rsrc/logo.png')?></url>
- <link><?=Application::getURL()?></link>
- </image>
-
- <!-- Feed items of type "post" -->
- <?php foreach($FEED['LIST']['POSTS'] as $item): ?>
- <?php echo $item ?>
- <?php endforeach; ?>
-
- <!-- Feed items of type "page" -->
- <?php foreach($FEED['LIST']['PAGES'] as $item): ?>
- <?php echo $item ?>
- <?php endforeach; ?>
- </channel>
-</rss> \ No newline at end of file
diff --git a/template/standard/html/home.php b/template/standard/html/home.php
deleted file mode 100644
index 3f6ba47..0000000
--- a/template/standard/html/home.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Home Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-?>
-<h1><i class="fa fa-home"></i><?=$Language->text('home_heading_text', escapeHTML(Application::get('BLOGMETA.NAME')))?><span class="head-link brackets"><i class="fa fa-rss"></i><a href="<?=Application::getURL('feed/')?>" title="<?=$Language->text('feed_name_items', escapeHTML($BLOGMETA['NAME']))?>">Feed</a></span></h1>
-<p><?=$Language->text('home_heading_desc', Application::get('POST.LIST_SIZE'))?></p>
-
-<div class="item-container post">
- <?php foreach($LIST['POSTS'] as $post): ?>
- <?php echo $post; ?>
- <?php endforeach; ?>
-</div>
-
-<?=$PAGINATION['HTML']?> \ No newline at end of file
diff --git a/template/standard/html/main.php b/template/standard/html/main.php
deleted file mode 100644
index 46f4f09..0000000
--- a/template/standard/html/main.php
+++ /dev/null
@@ -1,102 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Main Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-
-#===============================================================================
-# Escape parameters which are used several times here to reduce escapeHTML calls
-#===============================================================================
-$HEAD_NAME = isset($HEAD['NAME']) ? escapeHTML($HEAD['NAME']) : NULL;
-$HEAD_DESC = isset($HEAD['DESC']) ? escapeHTML($HEAD['DESC']) : NULL;
-$BLOGMETA_NAME = escapeHTML($BLOGMETA['NAME']);
-$BLOGMETA_DESC = escapeHTML($BLOGMETA['DESC']);
-?>
-<!DOCTYPE html>
-<html lang="<?=$BLOGMETA['LANG']?>">
-<head>
- <meta charset="UTF-8" />
- <meta name="referrer" content="origin-when-crossorigin" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
-
-<?php if(isset($HEAD_DESC)): ?>
- <meta name="description" content="<?=$HEAD_DESC?>" />
-<?php endif; ?>
-
-<?php if(isset($HEAD['PERM'])): ?>
- <link rel="canonical" href="<?=$HEAD['PERM']?>" />
-<?php endif; ?>
-
- <meta property="og:site_name" content="<?=$BLOGMETA_NAME?>" />
- <meta property="og:title" content="<?=$HEAD_NAME?>" />
- <meta property="og:image" content="<?=Application::getTemplateURL('rsrc/logo.png')?>" />
-
-<?php if(isset($HEAD['OG_IMAGES'])): ?>
- <?php foreach($HEAD['OG_IMAGES'] as $imageURL): ?>
- <meta property="og:image" content="<?=$imageURL?>" />
- <?php endforeach; ?>
-<?php endif; ?>
-
- <link rel="icon" href="<?=Application::getTemplateURL('rsrc/favicon.ico')?>" />
- <link rel="stylesheet" href="<?=Application::getTemplateURL('rsrc/main.css')?>" title="<?=$BLOGMETA_NAME?>" />
-
- <link rel="alternate" type="application/rss+xml" title="<?=$Language->text('feed_name_items', $BLOGMETA_NAME)?>" href="<?=Application::getURL('feed/')?>" />
- <link rel="alternate" type="application/rss+xml" title="<?=$Language->text('feed_name_posts', $BLOGMETA_NAME)?>" href="<?=Application::getURL('feed/post/')?>" />
- <link rel="alternate" type="application/rss+xml" title="<?=$Language->text('feed_name_pages', $BLOGMETA_NAME)?>" href="<?=Application::getURL('feed/page/')?>" />
-
- <script defer src="<?=Application::getTemplateURL('rsrc/main.js')?>"></script>
-
- <title><?="{$HEAD_NAME} | {$BLOGMETA_NAME} {$BLOGMETA_DESC}"?></title>
-</head>
-<body>
- <div id="container">
- <header id="main-header">
- <div>
- <a href="<?=Application::getURL()?>" title="<?="{$BLOGMETA_NAME} {$BLOGMETA_DESC}"?>">
- <img id="main-logo" src="<?=Application::getTemplateURL('rsrc/logo.png')?>" alt="<?=$BLOGMETA_NAME?>" />
- </a>
- </div>
- <nav id="main-navi">
- <label for="toogle-nav" id="toogle-nav-label" class="fa fa-bars"></label>
- <input type="checkbox" id="toogle-nav" />
- <ul>
- <li>
- <a href="<?=Application::getURL()?>" title="<?=$Language->text('navigation_home_desc', $BLOGMETA_NAME)?>">
- <i class="fa fa-home"></i><?=$Language->text('navigation_home_text')?>
- </a>
- </li>
- <li>
- <a href="<?=Application::getPostURL()?>" title="<?=$Language->text('post_overview')?>">
- <i class="fa fa-newspaper-o"></i><?=$Language->text('posts')?>
- </a>
- </li>
- <li>
- <a href="<?=Application::getPageURL()?>" title="<?=$Language->text('page_overview')?>">
- <i class="fa fa-file-text-o"></i><?=$Language->text('pages')?>
- </a>
- </li>
- <li>
- <a href="<?=Application::getUserURL()?>" title="<?=$Language->text('user_overview')?>">
- <i class="fa fa-user"></i><?=$Language->text('users')?>
- </a>
- </li>
- <li>
- <a href="<?=Application::getURL('search/')?>" title="<?=$Language->text('navigation_search_desc')?>">
- <i class="fa fa-search"></i><?=$Language->text('navigation_search_text')?>
- </a>
- </li>
- </ul>
- </nav>
- </header>
- <main>
- <?=$HTML?>
- </main>
- <footer id="main-footer">
- &copy; <?=$BLOGMETA_NAME?>
- </footer>
- </div>
-</body>
-</html> \ No newline at end of file
diff --git a/template/standard/html/page/item.php b/template/standard/html/page/item.php
deleted file mode 100644
index 00da4c2..0000000
--- a/template/standard/html/page/item.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Page Item Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-?>
-<article class="item">
- <header>
- <h2>
- <a title="<?=$Language->text('select_page')?>: »<?=escapeHTML($PAGE['ATTR']['NAME'])?>«" href="<?=$PAGE['URL']?>"><?=escapeHTML($PAGE['ATTR']['NAME'])?></a>
- </h2>
- <time class="brackets info" datetime="<?=$PAGE['ATTR']['TIME_INSERT']?>"><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
- </header>
- <blockquote cite="<?=$PAGE['URL']?>">
- <p><?=excerpt($PAGE['BODY']['HTML'](), 600)?></p>
- </blockquote>
-</article> \ No newline at end of file
diff --git a/template/standard/html/page/list.php b/template/standard/html/page/list.php
deleted file mode 100644
index c4a04b2..0000000
--- a/template/standard/html/page/list.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Page List Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-?>
-<h1><i class="fa fa-file-text-o"></i><?=$Language->text('page_overview')?><span class="head-link brackets"><i class="fa fa-rss"></i><a href="<?=Application::getURL('feed/page/')?>" title="<?=$Language->text('feed_name_pages', escapeHTML($BLOGMETA['NAME']))?>">Feed</a></span></h1>
-<p><?=$Language->text('page_overview_heading_desc', $PAGINATION['THIS'])?></p>
-
-<div class="item-container page">
- <?php foreach($LIST['PAGES'] as $page): ?>
- <?php echo $page; ?>
- <?php endforeach; ?>
-</div>
-
-<?=$PAGINATION['HTML']?> \ No newline at end of file
diff --git a/template/standard/html/page/main.php b/template/standard/html/page/main.php
deleted file mode 100644
index 1f8e140..0000000
--- a/template/standard/html/page/main.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Page Main Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-
-$user = "<a href=\"{$USER['URL']}\" title=\"alias »{$USER['ATTR']['USERNAME']}«\">{$USER['ATTR']['FULLNAME']}</a>";
-$time = "<time datetime=\"{$PAGE['ATTR']['TIME_INSERT']}\" title=\"".parseDatetime($PAGE['ATTR']['TIME_INSERT'], '[W]')."\">".parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->text('date_format'))."</time>";
-?>
-<h1><i class="fa fa-file-text-o"></i><?=escapeHTML($PAGE['ATTR']['NAME'])?></h1>
-<p><?=$Language->text('page_main_heading_desc', [$user, $time])?></p>
-
-<div id="content" class="page">
- <?=$PAGE['BODY']['HTML']()?>
-</div>
-
-<section id="site-navi">
-
- <?php if($PAGE['PREV']): ?>
- <div><a id="prev-site" href="<?=$PAGE['PREV']['URL']?>" title="<?=$Language->text('prev_page')?> »<?=escapeHTML($PAGE['PREV']['ATTR']['NAME'])?>«"><i class="fa fa-arrow-left"></i></a></div>
- <?php else: ?>
- <div><a class="disabled"><i class="fa fa-arrow-left"></i></a></div>
- <?php endif; ?>
-
- <?php if($PAGE['NEXT']): ?>
- <div><a id="next-site" href="<?=$PAGE['NEXT']['URL']?>" title="<?=$Language->text('next_page')?> »<?=escapeHTML($PAGE['NEXT']['ATTR']['NAME'])?>«"><i class="fa fa-arrow-right"></i></a></div>
- <?php else: ?>
- <div><a class="disabled"><i class="fa fa-arrow-right"></i></a></div>
- <?php endif; ?>
-
-</section> \ No newline at end of file
diff --git a/template/standard/html/pagination.php b/template/standard/html/pagination.php
deleted file mode 100644
index 48e353f..0000000
--- a/template/standard/html/pagination.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Pagination Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-?>
-<div id="site-navi">
- <?php if($THIS > 1): ?>
- <div><a id="prev-site" href="<?=sprintf($HREF, $THIS-1)?>"><i class="fa fa-arrow-left"></i></a></div>
- <?php else: ?>
- <div><a class="disabled"><i class="fa fa-arrow-left"></i></a></div>
- <?php endif; ?>
-
- <div>
- <ol>
- <?php
- for($current = 1; $current <= $LAST; ++$current) {
- $class = '';
- $href = sprintf($HREF, $current);
-
- if($current === $THIS) {
- $class = ' class="active"';
- }
-
- echo "<li{$class}><a href=\"{$href}\">{$current}</a></li>";
- }
- ?>
- </ol>
- </div>
-
- <?php if($THIS < $LAST): ?>
- <div><a id="next-site" href="<?=sprintf($HREF, $THIS+1)?>"><i class="fa fa-arrow-right"></i></a></div>
- <?php else: ?>
- <div><a class="disabled"><i class="fa fa-arrow-right"></i></a></div>
- <?php endif; ?>
-</div> \ No newline at end of file
diff --git a/template/standard/html/post/item.php b/template/standard/html/post/item.php
deleted file mode 100644
index e0d49bd..0000000
--- a/template/standard/html/post/item.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Post Item Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-?>
-<article class="item">
- <header>
- <h2>
- <a title="<?=$Language->text('select_post')?>: »<?=escapeHTML($POST['ATTR']['NAME'])?>«" href="<?=$POST['URL']?>"><?=escapeHTML($POST['ATTR']['NAME'])?></a>
- </h2>
- <time class="brackets info" datetime="<?=$POST['ATTR']['TIME_INSERT']?>"><?=parseDatetime($POST['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
- </header>
- <blockquote cite="<?=$POST['URL']?>">
- <?=$POST['BODY']['HTML']()?>
- </blockquote>
-</article> \ No newline at end of file
diff --git a/template/standard/html/post/list.php b/template/standard/html/post/list.php
deleted file mode 100644
index f16fd52..0000000
--- a/template/standard/html/post/list.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Post List Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-?>
-<h1><i class="fa fa-newspaper-o"></i><?=$Language->text('post_overview')?><span class="head-link brackets"><i class="fa fa-rss"></i><a href="<?=Application::getURL('feed/post/')?>" title="<?=$Language->text('feed_name_posts', escapeHTML($BLOGMETA['NAME']))?>">Feed</a></span></h1>
-<p><?=$Language->text('post_overview_heading_desc', $PAGINATION['THIS'])?></p>
-
-<div class="item-container post">
- <?php foreach($LIST['POSTS'] as $post): ?>
- <?php echo $post; ?>
- <?php endforeach; ?>
-</div>
-
-<?=$PAGINATION['HTML']?> \ No newline at end of file
diff --git a/template/standard/html/post/main.php b/template/standard/html/post/main.php
deleted file mode 100644
index b84fc63..0000000
--- a/template/standard/html/post/main.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Post Main Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-
-$user = "<a href=\"{$USER['URL']}\" title=\"alias »{$USER['ATTR']['USERNAME']}«\">{$USER['ATTR']['FULLNAME']}</a>";
-$time = "<time datetime=\"{$POST['ATTR']['TIME_INSERT']}\" title=\"".parseDatetime($POST['ATTR']['TIME_INSERT'], '[W]')."\">".parseDatetime($POST['ATTR']['TIME_INSERT'], $Language->text('date_format'))."</time>";
-?>
-<h1><i class="fa fa-newspaper-o"></i><?=escapeHTML($POST['ATTR']['NAME'])?></h1>
-<p><?=$Language->text('post_main_heading_desc', [$user, $time])?></p>
-
-<div id="content" class="post">
- <?=$POST['BODY']['HTML']()?>
-</div>
-
-<section id="site-navi">
-
- <?php if($POST['PREV']): ?>
- <div><a id="prev-site" href="<?=$POST['PREV']['URL']?>" title="<?=$Language->text('prev_post')?> »<?=escapeHTML($POST['PREV']['ATTR']['NAME'])?>«"><i class="fa fa-arrow-left"></i></a></div>
- <?php else: ?>
- <div><a class="disabled"><i class="fa fa-arrow-left"></i></a></div>
- <?php endif; ?>
-
- <?php if($POST['NEXT']): ?>
- <div><a id="next-site" href="<?=$POST['NEXT']['URL']?>" title="<?=$Language->text('next_post')?> »<?=escapeHTML($POST['NEXT']['ATTR']['NAME'])?>«"><i class="fa fa-arrow-right"></i></a></div>
- <?php else: ?>
- <div><a class="disabled"><i class="fa fa-arrow-right"></i></a></div>
- <?php endif; ?>
-
-</section> \ No newline at end of file
diff --git a/template/standard/html/search/main.php b/template/standard/html/search/main.php
deleted file mode 100644
index 61bd6a5..0000000
--- a/template/standard/html/search/main.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<h1><i class="fa fa-search"></i><?=$Language->text('search_base_heading_text')?></h1>
-<p><?=$Language->text('search_base_heading_desc')?></p>
-
-<?php if($SEARCH['INFO']): ?>
- <div class="red"><?=$SEARCH['INFO']?></div>
-<?php endif; ?>
-
-<form action="" method="GET">
- <input autofocus type="search" name="q" placeholder="<?=$Language->text('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>" />
-
- <select name="d">
- <option value=""><?=$Language->text('date_d')?></option>
-
- <?php foreach($FORM['OPTIONS']['D'] as $option): ?>
- <option value="<?=$option?>"<?=($FORM['SELECT']['D'] === $option) ? ' selected' : '' ?>><?=$option?></option>
- <?php endforeach; ?>
- </select>
- <select name="m">
- <option value=""><?=$Language->text('date_m')?></option>
-
- <?php foreach($FORM['OPTIONS']['M'] as $option): ?>
- <option value="<?=$option?>"<?=($FORM['SELECT']['M'] === $option) ? ' selected' : '' ?>><?=$option?></option>
- <?php endforeach; ?>
- </select>
- <select name="y">
- <option value=""><?=$Language->text('date_y')?></option>
-
- <?php foreach($FORM['OPTIONS']['Y'] as $option): ?>
- <option value="<?=$option?>"<?=($FORM['SELECT']['Y'] === $option) ? ' selected' : '' ?>><?=$option?></option>
- <?php endforeach; ?>
- </select>
-
- <input type="submit" value="<?=$Language->text('search')?>" />
-</form> \ No newline at end of file
diff --git a/template/standard/html/search/result.php b/template/standard/html/search/result.php
deleted file mode 100644
index 044afe1..0000000
--- a/template/standard/html/search/result.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<h1><?=$Language->text('search_result_heading_text', escapeHTML($SEARCH['TEXT']))?></h1>
-<p><?=$Language->text('search_result_heading_desc')?></p>
-
-<form action="" method="GET">
- <input autofocus type="search" name="q" placeholder="<?=$Language->text('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>" />
-
- <select name="d">
- <option value=""><?=$Language->text('date_d')?></option>
-
- <?php foreach($FORM['OPTIONS']['D'] as $option): ?>
- <option value="<?=$option?>"<?=($FORM['SELECT']['D'] === $option) ? ' selected' : '' ?>><?=$option?></option>
- <?php endforeach; ?>
- </select>
- <select name="m">
- <option value=""><?=$Language->text('date_m')?></option>
-
- <?php foreach($FORM['OPTIONS']['M'] as $option): ?>
- <option value="<?=$option?>"<?=($FORM['SELECT']['M'] === $option) ? ' selected' : '' ?>><?=$option?></option>
- <?php endforeach; ?>
- </select>
- <select name="y">
- <option value=""><?=$Language->text('date_y')?></option>
-
- <?php foreach($FORM['OPTIONS']['Y'] as $option): ?>
- <option value="<?=$option?>"<?=($FORM['SELECT']['Y'] === $option) ? ' selected' : '' ?>><?=$option?></option>
- <?php endforeach; ?>
- </select>
-
- <input type="submit" value="<?=$Language->text('search')?>" />
-</form>
-
-<div class="item-container post">
- <?php foreach($RESULT['LIST'] as $post): ?>
- <?php echo $post; ?>
- <?php endforeach; ?>
-</div> \ No newline at end of file
diff --git a/template/standard/html/user/item.php b/template/standard/html/user/item.php
deleted file mode 100644
index d03d330..0000000
--- a/template/standard/html/user/item.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# User Item Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-?>
-<article class="item">
- <header>
- <h2>
- <a title="<?=$Language->text('select_user')?>: »<?=escapeHTML($USER['ATTR']['FULLNAME'])?>«" href="<?=$USER['URL']?>"><?=escapeHTML($USER['ATTR']['FULLNAME'])?></a>
- </h2>
- <span class="brackets info"><?=escapeHTML($USER['ATTR']['USERNAME'])?></span>
- </header>
- <blockquote cite="<?=$USER['URL']?>">
- <?=$USER['BODY']['HTML']()?>
- </blockquote>
-</article> \ No newline at end of file
diff --git a/template/standard/html/user/list.php b/template/standard/html/user/list.php
deleted file mode 100644
index 98fa840..0000000
--- a/template/standard/html/user/list.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# User List Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-?>
-<h1><i class="fa fa-user"></i><?=$Language->text('user_overview')?></h1>
-<p><?=$Language->text('user_overview_heading_desc', $PAGINATION['THIS'])?></p>
-
-<div class="item-container user">
- <?php foreach($LIST['USERS'] as $user): ?>
- <?php echo $user; ?>
- <?php endforeach; ?>
-</div>
-
-<?=$PAGINATION['HTML']?> \ No newline at end of file
diff --git a/template/standard/html/user/main.php b/template/standard/html/user/main.php
deleted file mode 100644
index 7c19b96..0000000
--- a/template/standard/html/user/main.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# User Main Template [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [see documentation] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-?>
-<h1><i class="fa fa-user"></i><?=escapeHTML($USER['ATTR']['FULLNAME'])?></h1>
-<p><em><?=$Language->text('user_main_heading_desc', [escapeHTML($USER['ATTR']['USERNAME']), $COUNT['POST'], $COUNT['PAGE']])?></em></p>
-
-<div id="content" class="user">
- <?=$USER['BODY']['HTML']()?>
-</div>
-
-<section id="site-navi">
-
- <?php if($USER['PREV']): ?>
- <div><a id="prev-site" href="<?=$USER['PREV']['URL']?>" title="<?=$Language->text('prev_user')?> »<?=escapeHTML($USER['PREV']['ATTR']['FULLNAME'])?>«"><i class="fa fa-arrow-left"></i></a></div>
- <?php else: ?>
- <div><a class="disabled"><i class="fa fa-arrow-left"></i></a></div>
- <?php endif; ?>
-
- <?php if($USER['NEXT']): ?>
- <div><a id="next-site" href="<?=$USER['NEXT']['URL']?>" title="<?=$Language->text('next_user')?> »<?=escapeHTML($USER['NEXT']['ATTR']['FULLNAME'])?>«"><i class="fa fa-arrow-right"></i></a></div>
- <?php else: ?>
- <div><a class="disabled"><i class="fa fa-arrow-right"></i></a></div>
- <?php endif; ?>
-
-</section> \ No newline at end of file