summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/editor/simple/upload.cgi12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/editor/simple/upload.cgi b/src/editor/simple/upload.cgi
index f579c4ef2..b9fcc8d3a 100644
--- a/src/editor/simple/upload.cgi
+++ b/src/editor/simple/upload.cgi
@@ -30,10 +30,12 @@ check_grammar() {
if gf -s -make $files 2>&1 ; then
end
h3 OK
- begin ul
- [ -z "$minibar" ] || { li; link "$minibar?/tmp/${dir##*/}/" "Minibar"; }
- [ -z "$transquiz" ] || { li; link "$transquiz?/tmp/${dir##*/}/" "Translation Quiz"; }
- [ -z "$gfshell" ] || { li; link "$gfshell?dir=${dir##*/}" "GF Shell"; }
+ begin dl
+ [ -z "$minibar" ] || { dt; echo "▸"; link "$minibar?/tmp/${dir##*/}/" "Minibar"; }
+ [ -z "$transquiz" ] || { dt; echo "▸"; link "$transquiz?/tmp/${dir##*/}/" "Translation Quiz"; }
+ [ -z "$gfshell" ] || { dt; echo "▸"; link "$gfshell?dir=${dir##*/}" "GF Shell"; }
+ dt ; echo "◂"; link "javascript:history.back()" "Back to Editor"
+
end
begin pre
ls -l *.pgf
@@ -59,7 +61,7 @@ if [ -z "$tmp" ] || [ -z "$grammars" ] ||
echo "upload.cgi is not properly configured"
# cgiconfig.sh must define tmp and grammars.
- # cgiconfig.sh should minibar and gfshell to allow grammars to be tested.
+ # cgiconfig.sh should define minibar & gfshell to allow grammars to be tested.
endall
else
case "$REQUEST_METHOD" in