tazpanel rev 97
index.cgi: fix images path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 14 20:36:07 2011 +0200 (2011-04-14) |
parents | 2392cabdcc3d |
children | df959815c470 |
files | index.cgi |
line diff
1.1 --- a/index.cgi Thu Apr 14 20:13:49 2011 +0200 1.2 +++ b/index.cgi Thu Apr 14 20:36:07 2011 +0200 1.3 @@ -40,7 +40,7 @@ 1.4 button) 1.5 cat <<EOT 1.6 <a class="button" href='/index.cgi?file=$1&action=diff'> 1.7 - <img src="/styles/default/images/help.png" />`gettext "Differences"`</a> 1.8 + <img src="$IMAGES/help.png" />`gettext "Differences"`</a> 1.9 EOT 1.10 esac 1.11 break 1.12 @@ -70,7 +70,7 @@ 1.13 if [ "$(GET action)" == "edit" ]; then 1.14 cat <<EOT 1.15 <form method="post" action="/index.cgi?file=$file"> 1.16 -<img src="/styles/default/images/edit.png" /> 1.17 +<img src="$IMAGES/edit.png" /> 1.18 <input type="submit" value="`gettext "Save"`"> 1.19 <textarea name="content" rows="30" style="width: 100%;"> 1.20 $(cat $file) 1.21 @@ -89,7 +89,7 @@ 1.22 cat <<EOT 1.23 <div id="actions"> 1.24 <a class="button" href='/index.cgi?file=$file&action=edit'> 1.25 - <img src="/styles/default/images/edit.png" />`gettext "Edit"`</a> 1.26 + <img src="$IMAGES/edit.png" />`gettext "Edit"`</a> 1.27 EOT 1.28 file_is_modified $file button 1.29 echo -e "</div>\n<pre>"