From 5ba53394fcda4ae9cfa9af52b37fb67517deeb5a Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 25 May 2011 19:43:36 +0200 Subject: implement request #1989987: theme support. merge themes branch with --squash --- data/templates/default/editbookmark.tpl.php | 221 ++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 data/templates/default/editbookmark.tpl.php (limited to 'data/templates/default/editbookmark.tpl.php') diff --git a/data/templates/default/editbookmark.tpl.php b/data/templates/default/editbookmark.tpl.php new file mode 100644 index 0000000..8b71230 --- /dev/null +++ b/data/templates/default/editbookmark.tpl.php @@ -0,0 +1,221 @@ +includeTemplate($GLOBALS['top_include']); + +$accessPublic = ''; +$accessShared = ''; +$accessPrivate = ''; +switch ($row['bStatus']) { + case 0 : + $accessPublic = ' selected="selected"'; + break; + case 1 : + $accessShared = ' selected="selected"'; + break; + case 2 : + $accessPrivate = ' selected="selected"'; + break; +} + +function jsEscTitle($title) +{ + return addcslashes($title, "'"); +} +function jsEscTitleDouble($title) +{ + return addcslashes(addcslashes($title, "'"), "'\\"); +} +function fixOperaButtonName($name) { + //yes, opera has problems with double quotes in button names + return str_replace('"', "''", $name); +} + +if (is_array($row['tags'])) { + $row['tags'] = implode(', ', $row['tags']); +} + +$ajaxUrl = ROOT . 'ajax/' + . ( + ($GLOBALS['adminsAreAdvisedTagsFromOtherAdmins'] && $currentUser->isAdmin()) + ? 'getadmintags' + : 'getcontacttags' + ) . '.php'; +?> +
+ + + + + + + + + + + + + + + + +style="display:none"> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + 0): ?> +

+ + $anchorValue): ?> + + + + +
+
+ +
" to include one tag in another. e.g.: europe>france>paris'))?>
+ +
+ + + + + '; + echo T_('edit common description').')'; + } + + if ($popup) { + ?> + + + + +
+
+ + + + + + + + + +includeTemplate('dynamictags.inc'); + +// Bookmarklets and import links +if (empty($_REQUEST['popup']) && (!isset($showdelete) || !$showdelete)) { + +$this->includeTemplate('bookmarklet.inc.php'); +?> +

+ + +includeTemplate($GLOBALS['bottom_include']); +?> -- cgit v1.2.3