forked from science-ation/science-ation
remove some extra code from the tours manager
add a link to return to admin for translations
This commit is contained in:
parent
8ed5dd3dfc
commit
932ce3731c
@ -46,12 +46,11 @@ function opentoursinfo(id)
|
|||||||
|
|
||||||
<?
|
<?
|
||||||
echo "<a href=\"index.php\"><< ".i18n("Back to Administration")."</a>\n";
|
echo "<a href=\"index.php\"><< ".i18n("Back to Administration")."</a>\n";
|
||||||
echo "<a href=\"tours.php\"><< ".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');
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
auth_required('admin');
|
auth_required('admin');
|
||||||
|
|
||||||
send_header("Translations");
|
send_header("Translations");
|
||||||
|
echo "<a href=\"index.php\"><< ".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'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user