Author: sevein
Date: Thu Sep 1 09:53:38 2011
New Revision: 9650
Log:
Add .focused class to input.search if the request var is set, for theming
purposes
Modified:
trunk/apps/qubit/modules/search/templates/_box.php
Modified: trunk/apps/qubit/modules/search/templates/_box.php
==============================================================================
--- trunk/apps/qubit/modules/search/templates/_box.php Wed Aug 31 16:31:21
2011 (r9649)
+++ trunk/apps/qubit/modules/search/templates/_box.php Thu Sep 1 09:53:38
2011 (r9650)
@@ -4,7 +4,7 @@
<div class="content">
<form action="<?php echo url_for(array('module' => 'search')) ?>">
- <input name="query" value="<?php echo esc_entities($sf_request->query)
?>"/>
+ <input name="query"<?php if (isset($sf_request->query)) echo '
class="focused"' ?> value="<?php echo esc_entities($sf_request->query) ?>"/>
<input class="form-submit" type="submit" value="<?php echo __('Search')
?>"/>
</form>
</div>
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.