summaryrefslogtreecommitdiffstatshomepage
path: root/data/templates/tag2tagedit.tpl.php
diff options
context:
space:
mode:
authorGravatar Christian Weiske2011-05-25 19:43:36 +0200
committerGravatar Christian Weiske2011-05-25 19:43:36 +0200
commit5ba53394fcda4ae9cfa9af52b37fb67517deeb5a (patch)
tree4416be7903a2b339382e9f933284f50797edc239 /data/templates/tag2tagedit.tpl.php
parent63b0a4b8cb38a8a7c41410900b9dfcc84e6a33a9 (diff)
downloadscuttle-5ba53394fcda4ae9cfa9af52b37fb67517deeb5a.tar.gz
scuttle-5ba53394fcda4ae9cfa9af52b37fb67517deeb5a.zip
implement request #1989987: theme support. merge themes branch with --squash
Diffstat (limited to 'data/templates/tag2tagedit.tpl.php')
-rw-r--r--data/templates/tag2tagedit.tpl.php73
1 files changed, 0 insertions, 73 deletions
diff --git a/data/templates/tag2tagedit.tpl.php b/data/templates/tag2tagedit.tpl.php
deleted file mode 100644
index 4745ad2..0000000
--- a/data/templates/tag2tagedit.tpl.php
+++ /dev/null
@@ -1,73 +0,0 @@
-<?php
-$this->includeTemplate($GLOBALS['top_include']);
-?>
-
-<form action="<?php echo $formdeleteaction; ?>" method="post">
-<p><?php echo T_('Delete the link')?></p>
-<!--input type="hidden" name="tag1" value="<?php echo $tag1 ?>" />
-<input type="hidden" name="tag2" value="<?php echo $tag2 ?>" /-->
-<p>
-<input type="text" name="tag1" value="<?php echo $tag1 ?>"/>
-<input type="text" name="linkType" value=">" size="1" maxlength="1"/>
-<input type="text" name="tag2" value="<?php echo $tag2 ?>"/>
-</p>
-<p><?php echo T_('Are you sure?'); ?></p>
-<p>
- <input type="submit" name="confirm" value="<?php echo T_('Yes'); ?>" />
- <input type="submit" name="cancel" value="<?php echo T_('No'); ?>" />
-</p>
-
-<?php if (isset($referrer)): ?>
-<div><input type="hidden" name="referrer" value="<?php echo $referrer; ?>" /></div>
-<?php endif; ?>
-
-</form>
-
-<hr />
-
-<form action="<?php echo $formaddaction; ?>" method="post">
-<p><?php echo T_('Create new link')?></p>
-<p>
-<input type="text" name="tag1" value="<?php echo $tag1 ?>"/>
-<input type="text" name="linkType" value=">" size="1" maxlength="1"/>
-<input type="text" name="tag2" />
-</p>
-<!--p><?php echo T_('Are you sure?'); ?></p-->
-<p>
- <input type="submit" name="confirm" value="<?php echo T_('Create'); ?>" />
- <input type="submit" name="cancel" value="<?php echo T_('Cancel'); ?>" />
-</p>
-
-<?php if (isset($referrer)): ?>
-<div><input type="hidden" name="referrer" value="<?php echo $referrer; ?>" /></div>
-<?php endif; ?>
-
-</form>
-
-<hr />
-
-<?php
-if(count($links)>0) {
-echo T_("Existing links:");
-foreach($links as $link) {
- echo '<span style="white-space:nowrap;margin-left:25px;">';
- if($link['tag1'] == $tag1 || $link['tag1'] == $tag2) {
- $textTag1 = '<b>'.$tag1.'</b>';
- } else {
- $textTag1 = $link['tag1'];
- }
- if($link['tag2'] == $tag1 || $link['tag2'] == $tag2) {
- $textTag2 = '<b>'.$tag2.'</b>';
- } else {
- $textTag2 = $link['tag2'];
- }
-
- echo $textTag1.' '.$link['relationType'].' '.$textTag2;
- echo "</span> ";
-}
-} else {
- echo T_('No links');
-}
-
-$this->includeTemplate($GLOBALS['bottom_include']);
-?>