tazpanel diff hardware.cgi @ rev 539
html header cache: change title as well as sub-title
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 31 11:09:25 2015 +0300 (2015-08-31) |
parents | 3117717c007d |
children | 3c251737e46b |
line diff
1.1 --- a/hardware.cgi Mon Jun 08 04:32:19 2015 +0300 1.2 +++ b/hardware.cgi Mon Aug 31 11:09:25 2015 +0300 1.3 @@ -485,14 +485,7 @@ 1.4 <section> 1.5 <header> 1.6 $(_ 'Filesystems table') 1.7 -EOT 1.8 - [ -w /etc/fstab ] && cat <<EOT 1.9 - <form action="index.cgi"> 1.10 - <input type="hidden" name="file" value="/etc/fstab"/> 1.11 - <button name="action" value="edit" data-icon="edit">$(_ 'Edit')</button> 1.12 - </form> 1.13 -EOT 1.14 - cat <<EOT 1.15 + $(edit_button /etc/fstab) 1.16 </header> 1.17 <table class="wide zebra center"> 1.18 <thead>