From 33794b12d5c68df918b988497a396b86acb09feb Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 26 Apr 2019 20:32:48 +0200 Subject: Rename "template" directory to "theme" This commit renames the "template" directory to "theme" because "theme" is the more correct term here. --- theme/default/html/403.php | 11 ++++ theme/default/html/404.php | 11 ++++ theme/default/html/feed/item_page.php | 27 +++++++++ theme/default/html/feed/item_post.php | 27 +++++++++ theme/default/html/feed/main.php | 52 +++++++++++++++++ theme/default/html/home.php | 19 +++++++ theme/default/html/main.php | 102 ++++++++++++++++++++++++++++++++++ theme/default/html/page/item.php | 20 +++++++ theme/default/html/page/list.php | 19 +++++++ theme/default/html/page/main.php | 34 ++++++++++++ theme/default/html/pagination.php | 39 +++++++++++++ theme/default/html/post/item.php | 20 +++++++ theme/default/html/post/list.php | 19 +++++++ theme/default/html/post/main.php | 34 ++++++++++++ theme/default/html/search/main.php | 34 ++++++++++++ theme/default/html/search/result.php | 36 ++++++++++++ theme/default/html/user/item.php | 20 +++++++ theme/default/html/user/list.php | 19 +++++++ theme/default/html/user/main.php | 31 +++++++++++ 19 files changed, 574 insertions(+) create mode 100644 theme/default/html/403.php create mode 100644 theme/default/html/404.php create mode 100644 theme/default/html/feed/item_page.php create mode 100644 theme/default/html/feed/item_post.php create mode 100644 theme/default/html/feed/main.php create mode 100644 theme/default/html/home.php create mode 100644 theme/default/html/main.php create mode 100644 theme/default/html/page/item.php create mode 100644 theme/default/html/page/list.php create mode 100644 theme/default/html/page/main.php create mode 100644 theme/default/html/pagination.php create mode 100644 theme/default/html/post/item.php create mode 100644 theme/default/html/post/list.php create mode 100644 theme/default/html/post/main.php create mode 100644 theme/default/html/search/main.php create mode 100644 theme/default/html/search/result.php create mode 100644 theme/default/html/user/item.php create mode 100644 theme/default/html/user/list.php create mode 100644 theme/default/html/user/main.php (limited to 'theme/default/html') diff --git a/theme/default/html/403.php b/theme/default/html/403.php new file mode 100644 index 0000000..337dd44 --- /dev/null +++ b/theme/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/theme/default/html/404.php b/theme/default/html/404.php new file mode 100644 index 0000000..54866a4 --- /dev/null +++ b/theme/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/theme/default/html/feed/item_page.php b/theme/default/html/feed/item_page.php new file mode 100644 index 0000000..ff9f209 --- /dev/null +++ b/theme/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/theme/default/html/feed/item_post.php b/theme/default/html/feed/item_post.php new file mode 100644 index 0000000..07d400d --- /dev/null +++ b/theme/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/theme/default/html/feed/main.php b/theme/default/html/feed/main.php new file mode 100644 index 0000000..588ee02 --- /dev/null +++ b/theme/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/theme/default/html/home.php b/theme/default/html/home.php new file mode 100644 index 0000000..3f6ba47 --- /dev/null +++ b/theme/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/theme/default/html/main.php b/theme/default/html/main.php new file mode 100644 index 0000000..46f4f09 --- /dev/null +++ b/theme/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/theme/default/html/page/item.php b/theme/default/html/page/item.php new file mode 100644 index 0000000..00da4c2 --- /dev/null +++ b/theme/default/html/page/item.php @@ -0,0 +1,20 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +
+
+

+ +

+ +
+
+

+
+
\ No newline at end of file diff --git a/theme/default/html/page/list.php b/theme/default/html/page/list.php new file mode 100644 index 0000000..c4a04b2 --- /dev/null +++ b/theme/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/theme/default/html/page/main.php b/theme/default/html/page/main.php new file mode 100644 index 0000000..1f8e140 --- /dev/null +++ b/theme/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/theme/default/html/pagination.php b/theme/default/html/pagination.php new file mode 100644 index 0000000..48e353f --- /dev/null +++ b/theme/default/html/pagination.php @@ -0,0 +1,39 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> + \ No newline at end of file diff --git a/theme/default/html/post/item.php b/theme/default/html/post/item.php new file mode 100644 index 0000000..e0d49bd --- /dev/null +++ b/theme/default/html/post/item.php @@ -0,0 +1,20 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +
+
+

+ +

+ +
+
+ +
+
\ No newline at end of file diff --git a/theme/default/html/post/list.php b/theme/default/html/post/list.php new file mode 100644 index 0000000..f16fd52 --- /dev/null +++ b/theme/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/theme/default/html/post/main.php b/theme/default/html/post/main.php new file mode 100644 index 0000000..b84fc63 --- /dev/null +++ b/theme/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/theme/default/html/search/main.php b/theme/default/html/search/main.php new file mode 100644 index 0000000..61bd6a5 --- /dev/null +++ b/theme/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/theme/default/html/search/result.php b/theme/default/html/search/result.php new file mode 100644 index 0000000..044afe1 --- /dev/null +++ b/theme/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/theme/default/html/user/item.php b/theme/default/html/user/item.php new file mode 100644 index 0000000..d03d330 --- /dev/null +++ b/theme/default/html/user/item.php @@ -0,0 +1,20 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [see documentation] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +?> +
+
+

+ +

+ +
+
+ +
+
\ No newline at end of file diff --git a/theme/default/html/user/list.php b/theme/default/html/user/list.php new file mode 100644 index 0000000..98fa840 --- /dev/null +++ b/theme/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/theme/default/html/user/main.php b/theme/default/html/user/main.php new file mode 100644 index 0000000..7c19b96 --- /dev/null +++ b/theme/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