tazpanel diff index.cgi @ rev 206
index.cgi: add diff button
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 30 17:12:37 2011 +0200 (2011-08-30) |
parents | de7d70e6d26c |
children | 7e3623f26c5e |
line diff
1.1 --- a/index.cgi Sat Jun 11 13:38:37 2011 +0100 1.2 +++ b/index.cgi Tue Aug 30 17:12:37 2011 +0200 1.3 @@ -70,6 +70,8 @@ 1.4 <form method="post" action="$SCRIPT_NAME?file=$file"> 1.5 <img src="$IMAGES/edit.png" /> 1.6 <input type="submit" value="`gettext "Save"`"> 1.7 +<a class="button" href='$SCRIPT_NAME?file=$file&action=diff'> 1.8 + <img src="$IMAGES/help.png" />`gettext "Differences"`</a> 1.9 <textarea name="content" rows="30" style="width: 100%;"> 1.10 $(cat $file) 1.11 </textarea>