Revision: 2319
http://mrbs.svn.sourceforge.net/mrbs/?rev=2319&view=rev
Author: cimorrison
Date: 2012-07-06 15:10:10 +0000 (Fri, 06 Jul 2012)
Log Message:
-----------
Made the Search box in the header an HTML5 "required" input to prevent users
entering an empty search string
Modified Paths:
--------------
mrbs/trunk/web/Themes/default/header.inc
Modified: mrbs/trunk/web/Themes/default/header.inc
===================================================================
--- mrbs/trunk/web/Themes/default/header.inc 2012-07-06 15:06:33 UTC (rev
2318)
+++ mrbs/trunk/web/Themes/default/header.inc 2012-07-06 15:10:10 UTC (rev
2319)
@@ -211,7 +211,7 @@
<form id="header_search" method="get" action="search.php">
<div>
<a href="search.php?advanced=1"><?php echo get_vocab("search")
?>:</a>
- <input type="search" name="search_str" value="<?php echo
htmlspecialchars($search_str) ?>">
+ <input type="search" name="search_str" value="<?php echo
htmlspecialchars($search_str) ?>" required>
<input type="hidden" name="day" value="<?php echo $day
?>">
<input type="hidden" name="month" value="<?php echo $month
?>">
<input type="hidden" name="year" value="<?php echo $year
?>">
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits