From 948abf11d49a656cc62227312f87e625d158ab39 Mon Sep 17 00:00:00 2001 From: lorilee Date: Sat, 14 Aug 2010 14:09:09 -0700 Subject: [PATCH] Added back button on the top of the page as well --- export.php | 50 +++++++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/export.php b/export.php index 5e3011c7a..1a5d6e645 100644 --- a/export.php +++ b/export.php @@ -378,6 +378,32 @@ if (!$save_on_server) { unset($backup_cfgServer); echo "\n" . '
' . "\n"; //echo '
' . "\n";
+
+        /**
+         * Displays a back button with all the $_REQUEST data in the URL (store in a variable to also display after the textarea)
+         */
+         $back_button = '

[ $value) { + $back_button .= '&' . urlencode($name) . '=' . urlencode($value); + } + $back_button .= '&repopulate=1">Back ]

'; + + echo $back_button; echo '
' . "\n" // remove auto-select for now: there is no way to select // only a part of the text; anyway, it should obey @@ -660,29 +686,7 @@ else { */ echo '' . "\n" . '
' . "\n"; - echo '

[ $value) { - echo '&' . urlencode($name) . '=' . urlencode($value); - } - echo '&repopulate=1">Back ]

'; + echo $back_button; echo "\n"; echo '
' . "\n";