mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 09:34:54 +02:00
Improved accessibility in Search (labels)
HTML is now valid
This commit is contained in:
@@ -353,9 +353,10 @@ class search_front extends e_shortcode
|
||||
|
||||
foreach ($this->enhancedTypes as $en_id => $ENHANCED_TEXT)
|
||||
{
|
||||
$var['ENHANCED_TEXT'] = $ENHANCED_TEXT;
|
||||
$var['ENHANCED_DISPLAY_ID'] = "en_".$en_id;
|
||||
$var['ENHANCED_FIELD'] = "<input class='tbox form-control' type='text' id='".$en_id."' name='".$en_id."' size='35' value='".$tp->post_toForm(varset($_GET[$en_id]))."' maxlength='50' />";
|
||||
$var['ENHANCED_TEXT'] = $ENHANCED_TEXT;
|
||||
$var['ENHANCED_DISPLAY_ID'] = "en_".$en_id;
|
||||
$var['ENHANCED_DISPLAY_FIELDNAME'] = $en_id;
|
||||
$var['ENHANCED_FIELD'] = "<input class='tbox form-control' type='text' id='".$en_id."' name='".$en_id."' size='35' value='".$tp->post_toForm(varset($_GET[$en_id]))."' maxlength='50' />";
|
||||
|
||||
$text .= $tp->simpleParse($this->template['enhanced'], $var);
|
||||
}
|
||||
|
Reference in New Issue
Block a user