mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
cgi-bin: Add title attribute to input type image where missing
Almost all of <input type="image"... has both an alt and a title attribute, but some are missing title, and when the icon is not very clear, it makes it harder to understand what the icon does. By adding title, the browser displays text when mouse pointer is over the icon. Also add missing quotes for alt and title attributes where needed.
This commit is contained in:
committed by
Michael Tremer
parent
a9fb14d051
commit
1638682beb
@@ -2853,7 +2853,7 @@ END
|
||||
print"<td>$ccdconf[0]</td><td align='center'>$ccdconf[1]</td><td align='center'>$ccdhosts/".(&ccdmaxclients($ccdconf[1])+1)."</td><td>";
|
||||
print <<END;
|
||||
<form method='post' />
|
||||
<input type='image' src='/images/edit.gif' align='middle' alt=$Lang::tr{'edit'} title=$Lang::tr{'edit'} />
|
||||
<input type='image' src='/images/edit.gif' align='middle' alt='$Lang::tr{'edit'}' title='$Lang::tr{'edit'}' />
|
||||
<input type='hidden' name='ACTION' value='edit'/>
|
||||
<input type='hidden' name='ccdname' value='$ccdconf[0]' />
|
||||
<input type='hidden' name='ccdsubnet' value='$ccdconf[1]' />
|
||||
@@ -2862,7 +2862,7 @@ END
|
||||
<td><input type='hidden' name='ACTION' value='kill'/>
|
||||
<input type='hidden' name='number' value='$count' />
|
||||
<input type='hidden' name='net' value='$ccdconf[0]' />
|
||||
<input type='image' src='/images/delete.gif' align='middle' alt=$Lang::tr{'remove'} title=$Lang::tr{'remove'} /></form></td></tr>
|
||||
<input type='image' src='/images/delete.gif' align='middle' alt='$Lang::tr{'remove'}' title='$Lang::tr{'remove'}' /></form></td></tr>
|
||||
END
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user