From 15a30340e8867dfac3f88460fbd93b581e56f10f Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 11 Jun 2024 00:58:31 -0700 Subject: Initial steps towards a pico.css-based theme --- data/templates/pico/tag2tagedit.tpl.php | 73 +++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 data/templates/pico/tag2tagedit.tpl.php (limited to 'data/templates/pico/tag2tagedit.tpl.php') diff --git a/data/templates/pico/tag2tagedit.tpl.php b/data/templates/pico/tag2tagedit.tpl.php new file mode 100644 index 0000000..4745ad2 --- /dev/null +++ b/data/templates/pico/tag2tagedit.tpl.php @@ -0,0 +1,73 @@ +includeTemplate($GLOBALS['top_include']); +?> + +
+

+ +

+ + + +

+

+

+ + +

+ + +
+ + +
+ +
+ +
+

+

+ + + +

+ +

+ + +

+ + +
+ + +
+ +
+ +0) { +echo T_("Existing links:"); +foreach($links as $link) { + echo ''; + if($link['tag1'] == $tag1 || $link['tag1'] == $tag2) { + $textTag1 = ''.$tag1.''; + } else { + $textTag1 = $link['tag1']; + } + if($link['tag2'] == $tag1 || $link['tag2'] == $tag2) { + $textTag2 = ''.$tag2.''; + } else { + $textTag2 = $link['tag2']; + } + + echo $textTag1.' '.$link['relationType'].' '.$textTag2; + echo " "; +} +} else { + echo T_('No links'); +} + +$this->includeTemplate($GLOBALS['bottom_include']); +?> -- cgit v1.2.3-54-g00ecf