summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2010-08-16 22:39:54 -0600
committerBharat Mediratta <bharat@menalto.com>2010-08-21 14:05:29 -0700
commit3fc08dfd4ceff9eb4726e7049e332b1c40b50072 (patch)
treeef84b30556627521872facc02a278bbbfc101931 /modules/search
parent33e76f5e337cc147330dd7b51977067030726eb5 (diff)
Added text and submit classes to search form input and submit buttons, respectively. Fixed the width of the search form in IE. Button height's off in IE 8 compatbility mode.
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/views/search.html.php4
-rw-r--r--modules/search/views/search_link.html.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/search/views/search.html.php b/modules/search/views/search.html.php
index 2e139ecf..3436a00c 100644
--- a/modules/search/views/search.html.php
+++ b/modules/search/views/search.html.php
@@ -8,10 +8,10 @@
<ul>
<li>
<label for="q"><?= t("Search the gallery") ?></label>
- <input name="q" id="q" type="text" value="<?= html::clean_attribute($q) ?>"/>
+ <input name="q" id="q" type="text" value="<?= html::clean_attribute($q) ?>" class="text" />
</li>
<li>
- <input type="submit" value="<?= t("Search")->for_html_attr() ?>" />
+ <input type="submit" value="<?= t("Search")->for_html_attr() ?>" class="submit" />
</li>
</ul>
</fieldset>
diff --git a/modules/search/views/search_link.html.php b/modules/search/views/search_link.html.php
index 481d0c82..dd3a76a4 100644
--- a/modules/search/views/search_link.html.php
+++ b/modules/search/views/search_link.html.php
@@ -3,10 +3,10 @@
<ul>
<li>
<label for="g-search"><?= t("Search the gallery") ?></label>
- <input type="text" name="q" id="g-search"/>
+ <input type="text" name="q" id="g-search" class="text" />
</li>
<li>
- <input type="submit" value="<?= t("Go")->for_html_attr() ?>" />
+ <input type="submit" value="<?= t("Go")->for_html_attr() ?>" class="submit" />
</li>
</ul>
</form>