slitaz-dev-tools rev 301

tazwikiss: replaced blank in curdate() in index.sh by T to display filenames properly in history
author Hans-G?nter Theisgen
date Fri Apr 28 14:08:02 2017 +0100 (2017-04-28)
parents f452ee112773
children 1c207a9e6d0c
files tazwikiss/rootfs/usr/share/applications/tazcalc.desktop tazwikiss/rootfs/var/www/wiki/index.sh
line diff
     1.1 --- a/tazwikiss/rootfs/usr/share/applications/tazcalc.desktop	Wed Apr 12 17:42:16 2017 +0100
     1.2 +++ b/tazwikiss/rootfs/usr/share/applications/tazcalc.desktop	Fri Apr 28 14:08:02 2017 +0100
     1.3 @@ -1,6 +1,7 @@
     1.4  [Desktop Entry]
     1.5  Type=Application
     1.6  Name=Spreadsheet
     1.7 +Name[de]=Kalkulationstabelle
     1.8  Name[fr]=Feuille de calcul
     1.9  Name[ru]=Электронная таблица
    1.10  Exec=browser http://localhost/wiki/index.sh?page=Calc
     2.1 --- a/tazwikiss/rootfs/var/www/wiki/index.sh	Wed Apr 12 17:42:16 2017 +0100
     2.2 +++ b/tazwikiss/rootfs/var/www/wiki/index.sh	Fri Apr 28 14:08:02 2017 +0100
     2.3 @@ -86,12 +86,12 @@
     2.4  
     2.5  curdate()
     2.6  {
     2.7 -	date '+%Y-%m-%d %H:%M'
     2.8 +	date '+%Y-%m-%dT%H:%M'
     2.9  }
    2.10  
    2.11  filedate()
    2.12  {
    2.13 -	stat -c %y $1 | sed -e 's|-|/|g' -e 's/\(:..\):.*/\1/'
    2.14 +	stat -c %y $1 | sed -e 's/\(:..\):.*/\1/'
    2.15  }
    2.16  
    2.17  AUTH=$(GET auth)
    2.18 @@ -219,7 +219,7 @@
    2.19  		HISTORY="$HISTORY_BUTTON"
    2.20  		CONTENT="$NO_HISTORY"
    2.21  		if [ -d $complete_dir ]; then
    2.22 -			CONTENT="<form method=\"GET\" action=\"$urlbase\">\n<input type=hidden name=action value=diff><input type=hidden name=page value=\"$PAGE_TITLE\">" 
    2.23 +			CONTENT="<form method=\"GET\" action=\"$urlbase\"><input type=hidden name=action value=diff><input type=hidden name=page value=\"$PAGE_TITLE\">" 
    2.24  			for file in $(ls $complete_dir | sort -r); do
    2.25  				CONTENT="$CONTENT
    2.26  <input type=radio name=f1 value=$file><input type=radio name=f2 value=$file />