aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-20 14:23:04 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-20 14:23:04 +0000
commit6dd9dabbcc2fe9ddf3c31913e7799fba8b105e3a (patch)
tree52a1cbe230eba66646c12ffb04ccfbec5d9641d5 /views/default/tidypics
parent6984f98aed17217bcfbaf166414183ccd063e0ed (diff)
downloadelgg-6dd9dabbcc2fe9ddf3c31913e7799fba8b105e3a.tar.gz
elgg-6dd9dabbcc2fe9ddf3c31913e7799fba8b105e3a.tar.bz2
added cancel button to delete tag menu and cleaned up submit buttons
Diffstat (limited to 'views/default/tidypics')
-rw-r--r--views/default/tidypics/tagging.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/views/default/tidypics/tagging.php b/views/default/tidypics/tagging.php
index fcb0b8d4e..2cdc2f957 100644
--- a/views/default/tidypics/tagging.php
+++ b/views/default/tidypics/tagging.php
@@ -48,8 +48,8 @@
}
$content .= "</ul>";
- $content .= "<fieldset><button class='submit_button' type='submit'>" . elgg_echo('tidypics:actiontag') . "</button></fieldset>";
-
+ $content .= "<input type='submit' value='" . elgg_echo('tidypics:actiontag') . "' class='submit_button' />";
+
echo elgg_view('input/form', array('internalid' => 'quicksearch', 'internalname' => 'form-phototagging', 'class' => 'quicksearch', 'action' => "{$vars['url']}action/tidypics/addtag", 'body' => $content));
?>
@@ -63,7 +63,9 @@
$name = "tags[{$id}]";
$content .= elgg_view("input/checkboxes", array('options' => array($text[0] => $text[0]), 'internalname' => $name, 'value' => '' ));
}
- $content .= "<fieldset><button class='submit_button' type='submit'>" . elgg_echo('tidypics:actiondelete') . "</button></fieldset>";
+
+ $content .= "<input type='submit' value='" . elgg_echo('tidypics:actiondelete') . "' class='submit_button' />";
+ $content .= "<input type='button' value='" . elgg_echo('cancel') . "' class='cancel_button' onclick='hideDeleteMenu();' />";
echo elgg_view('input/form', array('internalname' => 'form-deletetag', 'action' => "{$vars['url']}action/tidypics/deletetag", 'body' => $content));