remove some extra code from the tours manager

add a link to return to admin for translations
This commit is contained in:
james 2007-01-12 20:45:52 +00:00
parent 8ed5dd3dfc
commit 932ce3731c
2 changed files with 2 additions and 2 deletions

View File

@ -46,12 +46,11 @@ function opentoursinfo(id)
<? <?
echo "<a href=\"index.php\">&lt;&lt; ".i18n("Back to Administration")."</a>\n"; echo "<a href=\"index.php\">&lt;&lt; ".i18n("Back to Administration")."</a>\n";
echo "<a href=\"tours.php\">&lt;&lt; ".i18n("Back to Tours")."</a>\n";
$icon_path = $config['SFIABDIRECTORY']."/images/16/"; $icon_path = $config['SFIABDIRECTORY']."/images/16/";
$icon_exitension = $config['icon_extension']; $icon_exitension = $config['icon_extension'];
print("<br /><br />"); print("<br />");
$editor = new TableEditor('tours'); $editor = new TableEditor('tours');

View File

@ -26,6 +26,7 @@
auth_required('admin'); auth_required('admin');
send_header("Translations"); send_header("Translations");
echo "<a href=\"index.php\">&lt;&lt; ".i18n("Back to Administration")."</a>\n";
//by default, we will edit the french translations //by default, we will edit the french translations
if($_GET['translang']) $_SESSION['translang']=$_GET['translang']; if($_GET['translang']) $_SESSION['translang']=$_GET['translang'];