From 22cc7ce3bcca50ee9f6ec93efb6fcedaf1aca071 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 28 Aug 2021 21:29:29 +0200 Subject: [PATCH] fix template now base on dotty --- CHANGELOG.md | 3 +- default-templates/kutrl.html | 133 ++++++++++------------------ default-templates/kutrl404.html | 98 ++++++++------------ default-templates/kutrl404_old.html | 67 ++++++++++++++ default-templates/kutrl_old.html | 87 ++++++++++++++++++ 5 files changed, 243 insertions(+), 145 deletions(-) create mode 100644 default-templates/kutrl404_old.html create mode 100644 default-templates/kutrl_old.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 9536f80..f3ac7ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ todo - Added passworded links - fix deprecated external service -2021.08.28 +2021.08.28 | ready for next release - add dashboard icon - clean PSR-2 codding style and short array - fix php 7.3+ and php 8.0.x compatibility @@ -12,6 +12,7 @@ todo - merge index file sub parts - remove custom js - fix widgets rendering +- fix public template now based on dotty 2011.04.01 - Changed version numbering diff --git a/default-templates/kutrl.html b/default-templates/kutrl.html index 0827236..7afc39f 100644 --- a/default-templates/kutrl.html +++ b/default-templates/kutrl.html @@ -1,87 +1,50 @@ - - - - - - - - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf> - - - - - - - - {{tpl:lang page}} {{tpl:PaginationCurrent}}" /> - - - - - - - - - - - - - - - - - - {{tpl:include src="_head.html"}} - +{{tpl:extends parent="__layout.html"}} + + {{tpl:lang Links shortener}}} - {{tpl:BlogName encode_html="1"}} + + + {{tpl:parent}} + - -
+ + + -{{tpl:include src="_top.html"}} - -
- -
-
- -
-

{{tpl:lang Links shortener}}

- -

{{tpl:kutrlMsg}}

-
- - -
-

-

-

- - {{tpl:kutrlHumanFieldProtect}} -

-
-
-
- -
-
- - - -
- -{{tpl:include src="_footer.html"}} -
- - \ No newline at end of file + + + +
+ +

{{tpl:lang Links shortener}}

+
+ + +

{{tpl:kutrlMsg}}

+
+
+
+
+ + +
+ + +
+

+

+

+ + {{tpl:kutrlHumanFieldProtect}} +

+
+
+
+
+ +
+ +
\ No newline at end of file diff --git a/default-templates/kutrl404.html b/default-templates/kutrl404.html index 74adc9c..06b46d5 100644 --- a/default-templates/kutrl404.html +++ b/default-templates/kutrl404.html @@ -4,64 +4,44 @@ - - - {{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}} - - - - - - - - - - - - - - - - {{tpl:include src="_head.html"}} - + {{tpl:extends parent="__layout.html"}} + + {{tpl:lang Links shortener}}} - {{tpl:BlogName encode_html="1"}} + + + {{tpl:parent}} + - -
-{{tpl:include src="_top.html"}} + + + -
- -
-
- -
-

{{tpl:lang URL not found}}

-
- -
-

{{tpl:lang The URL you are looking for does not exist.}}

-

broken link

- -

{{tpl:lang Create your own short URL}}

-
-
- -
-
- - - -
- -{{tpl:include src="_footer.html"}} -
- - \ No newline at end of file + + + +
+ +

{{tpl:lang URL not found}}

+
+ + +

{{tpl:kutrlMsg}}

+
+
+
+
+ + +
+ +

{{tpl:lang The URL you are looking for does not exist.}}

+

broken link

+ +

{{tpl:lang Create your own short URL}}

+
+
+
+ +
+ +
\ No newline at end of file diff --git a/default-templates/kutrl404_old.html b/default-templates/kutrl404_old.html new file mode 100644 index 0000000..74adc9c --- /dev/null +++ b/default-templates/kutrl404_old.html @@ -0,0 +1,67 @@ + + + + + + + + {{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}} + + + + + + + + + + + + + + + + {{tpl:include src="_head.html"}} + + + +
+{{tpl:include src="_top.html"}} + +
+ +
+
+ +
+

{{tpl:lang URL not found}}

+
+ +
+

{{tpl:lang The URL you are looking for does not exist.}}

+

broken link

+ +

{{tpl:lang Create your own short URL}}

+
+
+ +
+
+ + + +
+ +{{tpl:include src="_footer.html"}} +
+ + \ No newline at end of file diff --git a/default-templates/kutrl_old.html b/default-templates/kutrl_old.html new file mode 100644 index 0000000..0827236 --- /dev/null +++ b/default-templates/kutrl_old.html @@ -0,0 +1,87 @@ + + + + + + + + {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf> + + + + + + + - {{tpl:lang page}} {{tpl:PaginationCurrent}}" /> + + + + + + + + + + + + + + + + + + {{tpl:include src="_head.html"}} + + + +
+ +{{tpl:include src="_top.html"}} + +
+ +
+
+ +
+

{{tpl:lang Links shortener}}

+ +

{{tpl:kutrlMsg}}

+
+ + +
+

+

+

+ + {{tpl:kutrlHumanFieldProtect}} +

+
+
+
+ +
+
+ + + +
+ +{{tpl:include src="_footer.html"}} +
+ + \ No newline at end of file