# HG changeset patch # User Pascal Bellard # Date 1345041127 -7200 # Node ID 87d4ccc604d7146470c2acef6d26c24c71b7db20 # Parent efd18dbda79663e7086c9069662e2c154e0a7e78 usbkey.slitaz.org update diff -r efd18dbda796 -r 87d4ccc604d7 usbkey/head.php --- a/usbkey/head.php Fri Aug 10 08:47:21 2012 +0000 +++ b/usbkey/head.php Wed Aug 15 16:32:07 2012 +0200 @@ -17,7 +17,7 @@ #bottom { text-align: center; } -.cfrm { // capcha +#capcha { display: none; } diff -r efd18dbda796 -r 87d4ccc604d7 usbkey/helper.sh --- a/usbkey/helper.sh Fri Aug 10 08:47:21 2012 +0000 +++ b/usbkey/helper.sh Wed Aug 15 16:32:07 2012 +0200 @@ -15,7 +15,8 @@ print last " : " n }' else - ls $dir/?/* 2> /dev/null | wc -l + sed '/"count";s:1:/!d;s/.*"count";s:1:"\([0-9]*\)";.*/\1/' $dir/?/* | \ + awk 'BEGIN { n=0 }{ n+=$0 } END { print n }' fi exit fi @@ -36,13 +37,13 @@ From: usbkey-preorder@$DOMAIN Reply-To: no-reply@$DOMAIN To: $SENDTO -Date: $(date '+%a, %d %b %Y %H:%M:%S %z') +Date: $(LC_ALL=C date '+%a, %d %b %Y %H:%M:%S %z') Subject: $SUBJECT Hello $SURNAME, A $KEYSIZE SliTaz USB key will be reserved for you. -Would you mind confirming the pre-ordering with the following link +Would you mind confirm the pre-ordering with the following link http://usbkey.slitaz.org/?confirm=$HASH Or cancel the registration with the following link diff -r efd18dbda796 -r 87d4ccc604d7 usbkey/main.php --- a/usbkey/main.php Fri Aug 10 08:47:21 2012 +0000 +++ b/usbkey/main.php Wed Aug 15 16:32:07 2012 +0200 @@ -8,7 +8,8 @@
-

+

@@ -39,7 +40,7 @@