aboutsummaryrefslogtreecommitdiffstats
path: root/include/taxonomy.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/taxonomy.php')
-rw-r--r--include/taxonomy.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php
index 70c2ad3e0..b6803743a 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -196,3 +196,13 @@ function obj_verbs() {
}
+function obj_verb_selector() {
+ $verbs = obj_verbs();
+ $o .= '<select class="obj-verb-selector" name="verb" >';
+ foreach($verbs as $k => $v) {
+ $o .= '<option value="' . urlencode($k) . '">' . $v[0] . '</option>';
+ }
+ $o .= '</select>';
+ return $o;
+
+} \ No newline at end of file