aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-10 20:06:01 +0100
committerArthurHoaro <arthur@hoa.ro>2017-04-03 18:53:43 +0200
commit84315a3bad02652e5ea26586fab003eaaf467e30 (patch)
tree6093f77c2af6c57524b7b0a7795089167438f5e5 /tpl
parentd9d49b687afcb4c88a88390a7ff30b431ca6be12 (diff)
downloadShaarli-84315a3bad02652e5ea26586fab003eaaf467e30.tar.gz
Shaarli-84315a3bad02652e5ea26586fab003eaaf467e30.tar.zst
Shaarli-84315a3bad02652e5ea26586fab003eaaf467e30.zip
Fix a warning generated in return_bytes function and refactor it
It was multiplying a string containing a letter. Moved function to Utils.php and display a human readable limit size
Diffstat (limited to 'tpl')
-rw-r--r--tpl/vintage/import.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/vintage/import.html b/tpl/vintage/import.html
index 071e1160..bb9e4a56 100644
--- a/tpl/vintage/import.html
+++ b/tpl/vintage/import.html
@@ -5,7 +5,7 @@
5<div id="pageheader"> 5<div id="pageheader">
6 {include="page.header"} 6 {include="page.header"}
7 <div id="uploaddiv"> 7 <div id="uploaddiv">
8 Import Netscape HTML bookmarks (as exported from Firefox/Chrome/Opera/Delicious/Diigo...) (Max: {$maxfilesize} bytes). 8 Import Netscape HTML bookmarks (as exported from Firefox/Chrome/Opera/Delicious/Diigo...) (Max: {$maxfilesize}).
9 <form method="POST" action="?do=import" enctype="multipart/form-data" 9 <form method="POST" action="?do=import" enctype="multipart/form-data"
10 name="uploadform" id="uploadform"> 10 name="uploadform" id="uploadform">
11 <input type="hidden" name="token" value="{$token}"> 11 <input type="hidden" name="token" value="{$token}">