From 0c918cafbef2e6c402e6852e821397114ea62284 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 26 Apr 2019 20:02:42 +0200 Subject: Rename "standard" template to "default" --- template/default/html/403.php | 11 ++++ template/default/html/404.php | 11 ++++ template/default/html/feed/item_page.php | 27 ++++++++ template/default/html/feed/item_post.php | 27 ++++++++ template/default/html/feed/main.php | 52 ++++++++++++++++ template/default/html/home.php | 19 ++++++ template/default/html/main.php | 102 +++++++++++++++++++++++++++++++ template/default/html/page/item.php | 20 ++++++ template/default/html/page/list.php | 19 ++++++ template/default/html/page/main.php | 34 +++++++++++ template/default/html/pagination.php | 39 ++++++++++++ template/default/html/post/item.php | 20 ++++++ template/default/html/post/list.php | 19 ++++++ template/default/html/post/main.php | 34 +++++++++++ template/default/html/search/main.php | 34 +++++++++++ template/default/html/search/result.php | 36 +++++++++++ template/default/html/user/item.php | 20 ++++++ template/default/html/user/list.php | 19 ++++++ template/default/html/user/main.php | 31 ++++++++++ 19 files changed, 574 insertions(+) create mode 100644 template/default/html/403.php create mode 100644 template/default/html/404.php create mode 100644 template/default/html/feed/item_page.php create mode 100644 template/default/html/feed/item_post.php create mode 100644 template/default/html/feed/main.php create mode 100644 template/default/html/home.php create mode 100644 template/default/html/main.php create mode 100644 template/default/html/page/item.php create mode 100644 template/default/html/page/list.php create mode 100644 template/default/html/page/main.php create mode 100644 template/default/html/pagination.php create mode 100644 template/default/html/post/item.php create mode 100644 template/default/html/post/list.php create mode 100644 template/default/html/post/main.php create mode 100644 template/default/html/search/main.php create mode 100644 template/default/html/search/result.php create mode 100644 template/default/html/user/item.php create mode 100644 template/default/html/user/list.php create mode 100644 template/default/html/user/main.php (limited to 'template/default/html') diff --git a/template/default/html/403.php b/template/default/html/403.php new file mode 100644 index 0000000..337dd44 --- /dev/null +++ b/template/default/html/403.php @@ -0,0 +1,11 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +

text('403_heading_text')?>

+

text('403_heading_desc')?>

\ No newline at end of file diff --git a/template/default/html/404.php b/template/default/html/404.php new file mode 100644 index 0000000..54866a4 --- /dev/null +++ b/template/default/html/404.php @@ -0,0 +1,11 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +

text('404_heading_text')?>

+

text('404_heading_desc')?>

\ No newline at end of file diff --git a/template/default/html/feed/item_page.php b/template/default/html/feed/item_page.php new file mode 100644 index 0000000..ff9f209 --- /dev/null +++ b/template/default/html/feed/item_page.php @@ -0,0 +1,27 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# + +$HTML = $PAGE['BODY']['HTML'](); +?> + + <?=escapeHTML($PAGE['ATTR']['NAME'])?> + + + + + + + + ]]> + + + + + \ No newline at end of file diff --git a/template/default/html/feed/item_post.php b/template/default/html/feed/item_post.php new file mode 100644 index 0000000..07d400d --- /dev/null +++ b/template/default/html/feed/item_post.php @@ -0,0 +1,27 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# + +$HTML = $POST['BODY']['HTML'](); +?> + + <?=escapeHTML($POST['ATTR']['NAME'])?> + + + + + + + + ]]> + + + + + \ No newline at end of file diff --git a/template/default/html/feed/main.php b/template/default/html/feed/main.php new file mode 100644 index 0000000..588ee02 --- /dev/null +++ b/template/default/html/feed/main.php @@ -0,0 +1,52 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [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/'); +} +?> +'?> + + + <?=$title?> + + + + + + + + <?=$title?> + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/template/default/html/home.php b/template/default/html/home.php new file mode 100644 index 0000000..3f6ba47 --- /dev/null +++ b/template/default/html/home.php @@ -0,0 +1,19 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +

text('home_heading_text', escapeHTML(Application::get('BLOGMETA.NAME')))?>Feed

+

text('home_heading_desc', Application::get('POST.LIST_SIZE'))?>

+ +
+ + + +
+ + \ No newline at end of file diff --git a/template/default/html/main.php b/template/default/html/main.php new file mode 100644 index 0000000..46f4f09 --- /dev/null +++ b/template/default/html/main.php @@ -0,0 +1,102 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [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']); +?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <?="{$HEAD_NAME} | {$BLOGMETA_NAME} {$BLOGMETA_DESC}"?> + + +
+
+
+ "> + + +
+ +
+
+ +
+
+ © +
+
+ + \ No newline at end of file diff --git a/template/default/html/page/item.php b/template/default/html/page/item.php new file mode 100644 index 0000000..00da4c2 --- /dev/null +++ b/template/default/html/page/item.php @@ -0,0 +1,20 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +
+
+

+ +

+ +
+
+

+
+
\ No newline at end of file diff --git a/template/default/html/page/list.php b/template/default/html/page/list.php new file mode 100644 index 0000000..c4a04b2 --- /dev/null +++ b/template/default/html/page/list.php @@ -0,0 +1,19 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +

text('page_overview')?>Feed

+

text('page_overview_heading_desc', $PAGINATION['THIS'])?>

+ +
+ + + +
+ + \ No newline at end of file diff --git a/template/default/html/page/main.php b/template/default/html/page/main.php new file mode 100644 index 0000000..1f8e140 --- /dev/null +++ b/template/default/html/page/main.php @@ -0,0 +1,34 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# + +$user = "{$USER['ATTR']['FULLNAME']}"; +$time = ""; +?> +

+

text('page_main_heading_desc', [$user, $time])?>

+ +
+ +
+ + \ No newline at end of file diff --git a/template/default/html/pagination.php b/template/default/html/pagination.php new file mode 100644 index 0000000..48e353f --- /dev/null +++ b/template/default/html/pagination.php @@ -0,0 +1,39 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> + \ No newline at end of file diff --git a/template/default/html/post/item.php b/template/default/html/post/item.php new file mode 100644 index 0000000..e0d49bd --- /dev/null +++ b/template/default/html/post/item.php @@ -0,0 +1,20 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +
+
+

+ +

+ +
+
+ +
+
\ No newline at end of file diff --git a/template/default/html/post/list.php b/template/default/html/post/list.php new file mode 100644 index 0000000..f16fd52 --- /dev/null +++ b/template/default/html/post/list.php @@ -0,0 +1,19 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +

text('post_overview')?>Feed

+

text('post_overview_heading_desc', $PAGINATION['THIS'])?>

+ +
+ + + +
+ + \ No newline at end of file diff --git a/template/default/html/post/main.php b/template/default/html/post/main.php new file mode 100644 index 0000000..b84fc63 --- /dev/null +++ b/template/default/html/post/main.php @@ -0,0 +1,34 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# + +$user = "{$USER['ATTR']['FULLNAME']}"; +$time = ""; +?> +

+

text('post_main_heading_desc', [$user, $time])?>

+ +
+ +
+ + \ No newline at end of file diff --git a/template/default/html/search/main.php b/template/default/html/search/main.php new file mode 100644 index 0000000..61bd6a5 --- /dev/null +++ b/template/default/html/search/main.php @@ -0,0 +1,34 @@ +

text('search_base_heading_text')?>

+

text('search_base_heading_desc')?>

+ + +
+ + +
+ + + + + + + +
\ No newline at end of file diff --git a/template/default/html/search/result.php b/template/default/html/search/result.php new file mode 100644 index 0000000..044afe1 --- /dev/null +++ b/template/default/html/search/result.php @@ -0,0 +1,36 @@ +

text('search_result_heading_text', escapeHTML($SEARCH['TEXT']))?>

+

text('search_result_heading_desc')?>

+ +
+ + + + + + + +
+ +
+ + + +
\ No newline at end of file diff --git a/template/default/html/user/item.php b/template/default/html/user/item.php new file mode 100644 index 0000000..d03d330 --- /dev/null +++ b/template/default/html/user/item.php @@ -0,0 +1,20 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +
+
+

+ +

+ +
+
+ +
+
\ No newline at end of file diff --git a/template/default/html/user/list.php b/template/default/html/user/list.php new file mode 100644 index 0000000..98fa840 --- /dev/null +++ b/template/default/html/user/list.php @@ -0,0 +1,19 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +

text('user_overview')?>

+

text('user_overview_heading_desc', $PAGINATION['THIS'])?>

+ +
+ + + +
+ + \ No newline at end of file diff --git a/template/default/html/user/main.php b/template/default/html/user/main.php new file mode 100644 index 0000000..7c19b96 --- /dev/null +++ b/template/default/html/user/main.php @@ -0,0 +1,31 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +

+

text('user_main_heading_desc', [escapeHTML($USER['ATTR']['USERNAME']), $COUNT['POST'], $COUNT['PAGE']])?>

+ +
+ +
+ + \ No newline at end of file -- cgit v1.2.3