mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Update edit_package.html
After save the package, back button link is referer to https://dimain/list/package/?package={package_name} i think we dont need this. Back button will alway go to /list/package/ .... CMIIW ....
This commit is contained in:
parent
5e861eb78f
commit
449fd97644
1 changed files with 1 additions and 6 deletions
|
@ -22,12 +22,7 @@
|
|||
|
||||
<div class="l-center">
|
||||
<?php
|
||||
$back = getenv("HTTP_REFERER");
|
||||
if (empty($back)) {
|
||||
$back = "location.href='/list/package/'";
|
||||
} else {
|
||||
$back = "location.href='".$back."'";
|
||||
}
|
||||
$back = "location.href='/list/package/'";
|
||||
?>
|
||||
<form id="vstobjects" name="v_edit_package" method="post" class="<?=$v_status?>">
|
||||
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue