mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Wiz. Added option url to printGoBackButton
Former-commit-id: 31c9c56da3475f9b1510904ad7237f993c0a6ccf
This commit is contained in:
parent
3d2ae47543
commit
e9d97e8010
@ -402,13 +402,17 @@ class Wizard
|
|||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function printGoBackButton()
|
public function printGoBackButton($url)
|
||||||
{
|
{
|
||||||
|
if (isset($url) === false) {
|
||||||
|
$url = 'index.php?sec=gservers&sec2=godmode/servers/discovery';
|
||||||
|
}
|
||||||
|
|
||||||
$form = [
|
$form = [
|
||||||
'form' => [
|
'form' => [
|
||||||
'method' => 'POST',
|
'method' => 'POST',
|
||||||
'action' => ui_get_full_url(
|
'action' => ui_get_full_url(
|
||||||
'index.php?sec=gservers&sec2=godmode/servers/discovery'
|
$url
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
'inputs' => [
|
'inputs' => [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user