mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
gfse: link back to the editor from the upload page
This commit is contained in:
@@ -30,10 +30,12 @@ check_grammar() {
|
|||||||
if gf -s -make $files 2>&1 ; then
|
if gf -s -make $files 2>&1 ; then
|
||||||
end
|
end
|
||||||
h3 OK
|
h3 OK
|
||||||
begin ul
|
begin dl
|
||||||
[ -z "$minibar" ] || { li; link "$minibar?/tmp/${dir##*/}/" "Minibar"; }
|
[ -z "$minibar" ] || { dt; echo "▸"; link "$minibar?/tmp/${dir##*/}/" "Minibar"; }
|
||||||
[ -z "$transquiz" ] || { li; link "$transquiz?/tmp/${dir##*/}/" "Translation Quiz"; }
|
[ -z "$transquiz" ] || { dt; echo "▸"; link "$transquiz?/tmp/${dir##*/}/" "Translation Quiz"; }
|
||||||
[ -z "$gfshell" ] || { li; link "$gfshell?dir=${dir##*/}" "GF Shell"; }
|
[ -z "$gfshell" ] || { dt; echo "▸"; link "$gfshell?dir=${dir##*/}" "GF Shell"; }
|
||||||
|
dt ; echo "◂"; link "javascript:history.back()" "Back to Editor"
|
||||||
|
|
||||||
end
|
end
|
||||||
begin pre
|
begin pre
|
||||||
ls -l *.pgf
|
ls -l *.pgf
|
||||||
@@ -59,7 +61,7 @@ if [ -z "$tmp" ] || [ -z "$grammars" ] ||
|
|||||||
echo "upload.cgi is not properly configured"
|
echo "upload.cgi is not properly configured"
|
||||||
|
|
||||||
# cgiconfig.sh must define tmp and grammars.
|
# 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
|
endall
|
||||||
else
|
else
|
||||||
case "$REQUEST_METHOD" in
|
case "$REQUEST_METHOD" in
|
||||||
|
|||||||
Reference in New Issue
Block a user