tazpanel diff lib/libtazpanel @ rev 556

Add 'floppy' and 'folder' icons
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 07 02:36:31 2015 +0200 (2015-12-07)
parents 9860696beace
children a01cde2b84e4
line diff
     1.1 --- a/lib/libtazpanel	Mon Nov 23 12:08:42 2015 +0100
     1.2 +++ b/lib/libtazpanel	Mon Dec 07 02:36:31 2015 +0200
     1.3 @@ -413,13 +413,15 @@
     1.4  file_chooser() {
     1.5  	cat <<EOT
     1.6  <span id="$1"><input type="text" name="$1" ${2:+value="$2" }/></span>
     1.7 -<button data-icon="${3:-conf}" onclick="ajax('index.cgi?do=file-selection&name=$1', '1', '$1'); return false"/>
     1.8 +<button data-icon="${3:-conf}" onclick="ajax('index.cgi?do=file-selection&amp;name=$1', '1', '$1'); return false">
     1.9 +$(_n 'Browse')</button>
    1.10  EOT
    1.11  }
    1.12  
    1.13  dir_chooser() {
    1.14  	cat <<EOT
    1.15  <span id="$1"><input type="text" name="$1" ${2:+value="$2" }/></span>
    1.16 -<button data-icon="${3:-slitaz}" onclick="ajax('index.cgi?do=dir-selection&name=$1', '1', '$1'); return false"/>
    1.17 +<button data-icon="${3:-folder}" onclick="ajax('index.cgi?do=dir-selection&amp;name=$1', '1', '$1'); return false">
    1.18 +$(_n 'Browse')</button>
    1.19  EOT
    1.20  }