From 0f7de6d13733e0f085cd24b1fd5f5cf91fefcc6b Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Fri, 16 Oct 2009 00:00:52 -0600 Subject: Apply g-short-form directly to short forms rather than via JS. Comment updates in ui.init.js. --- modules/search/views/search.html.php | 2 +- modules/search/views/search_link.html.php | 2 +- modules/tag/helpers/tag.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/search/views/search.html.php b/modules/search/views/search.html.php index f243ed87..ac9f3c92 100644 --- a/modules/search/views/search.html.php +++ b/modules/search/views/search.html.php @@ -1,6 +1,6 @@ -
" id="g-search-form"> +" id="g-search-form" class="g-short-form">
diff --git a/modules/search/views/search_link.html.php b/modules/search/views/search_link.html.php index d0b93bba..481d0c82 100644 --- a/modules/search/views/search_link.html.php +++ b/modules/search/views/search_link.html.php @@ -1,5 +1,5 @@ -" id="g-quick-search-form"> +" id="g-quick-search-form" class="g-short-form">
  • diff --git a/modules/tag/helpers/tag.php b/modules/tag/helpers/tag.php index d4278802..a2104e9d 100644 --- a/modules/tag/helpers/tag.php +++ b/modules/tag/helpers/tag.php @@ -98,7 +98,7 @@ class tag_Core { } static function get_add_form($item) { - $form = new Forge("tags", "", "post", array("id" => "g-add-tag-form")); + $form = new Forge("tags", "", "post", array("id" => "g-add-tag-form", "class" => "g-short-form")); $label = $item->is_album() ? t("Add tag to album") : ($item->is_photo() ? t("Add tag to photo") : t("Add tag to movie")); -- cgit v1.2.3