aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-08-22 20:43:40 +0000
committerCash Costello <cash.costello@gmail.com>2009-08-22 20:43:40 +0000
commitb5575b31021c1ac8b64784cd0ecfc1fff1230362 (patch)
tree07e898049e04aaf98eb6fe43a1ac8d0faa84423d
parent2bd7ef20eca36015bd404a94c328c15bc3dd23df (diff)
downloadelgg-b5575b31021c1ac8b64784cd0ecfc1fff1230362.tar.gz
elgg-b5575b31021c1ac8b64784cd0ecfc1fff1230362.tar.bz2
better positioning on the tag button
-rw-r--r--views/default/tidypics/css.php13
-rw-r--r--views/default/tidypics/tagging.php7
2 files changed, 17 insertions, 3 deletions
diff --git a/views/default/tidypics/css.php b/views/default/tidypics/css.php
index c3c202caf..c86618cff 100644
--- a/views/default/tidypics/css.php
+++ b/views/default/tidypics/css.php
@@ -211,6 +211,19 @@ margin:0;
}
#tidypics_tag_menu {
+width:240px;
+max-height:400px;
+overflow:hidden;
+}
+
+#tidypics_tagmenu_left {
+width:175px;
+float:left;
+}
+
+#tidypics_tagmenu_right {
+float:left;
+margin-top:23px;
}
#tidypics_delete_tag_menu {
diff --git a/views/default/tidypics/tagging.php b/views/default/tidypics/tagging.php
index 49bbadc44..dffa834ec 100644
--- a/views/default/tidypics/tagging.php
+++ b/views/default/tidypics/tagging.php
@@ -39,7 +39,8 @@
}
ksort($friend_array);
- $content = "<input type='hidden' name='image_guid' value='{$file_guid}' />";
+ $content = "<div id='tidypics_tagmenu_left'>";
+ $content .= "<input type='hidden' name='image_guid' value='{$file_guid}' />";
$content .= "<input type='hidden' name='coordinates' id='coordinates' value='' />";
$content .= "<input type='hidden' name='user_id' id='user_id' value='' />";
$content .= "<input type='hidden' name='word' id='word' value='' />";
@@ -53,9 +54,9 @@
}
}
}
- $content .= "</ul>";
+ $content .= "</ul></div>";
- $content .= "<input type='submit' value='" . elgg_echo('tidypics:actiontag') . "' class='submit_button' />";
+ $content .= "<div id='tidypics_tagmenu_right'><input type='submit' value='" . elgg_echo('tidypics:actiontag') . "' class='submit_button' /></div>";
echo elgg_view('input/form', array('internalid' => 'quicksearch', 'internalname' => 'tidypics_phototag_form', 'class' => 'quicksearch', 'action' => "{$vars['url']}action/tidypics/addtag", 'method' => 'post', 'body' => $content));