@@ 3-31 (lines=29) @@ | ||
1 | <?php |
|
2 | $ARCurrent->nolangcheck=true; |
|
3 | if ($this->CheckLogin("config") && $this->CheckConfig()) { |
|
4 | include($this->store->get_config("code")."widgets/wizard/code.php"); |
|
5 | ||
6 | $wgWizFlow = array( |
|
7 | array( |
|
8 | "current" => $this->getdata("wgWizCurrent","none"), |
|
9 | "template" => "dialog.grantkey.form.php", |
|
10 | "cancel" => "window.close.js", |
|
11 | "generate" => "dialog.grantkey.form.php" |
|
12 | ) |
|
13 | ); |
|
14 | ||
15 | $wgWizButtons = array( |
|
16 | "cancel" => array( |
|
17 | "value" => $ARnls["ariadne:close"] |
|
18 | ) |
|
19 | ); |
|
20 | if ($AR->sgSalt) { |
|
21 | $wgWizButtons["generate"] = array( |
|
22 | "value" => $ARnls["ariadne:generate"] |
|
23 | ); |
|
24 | } |
|
25 | ||
26 | $wgWizTitle = $ARnls["ariadne:grantkey"]; |
|
27 | $wgWizHeader = $wgWizTitle; |
|
28 | $wgWizHeaderIcon = $AR->dir->images.'icons/large/grants.png'; |
|
29 | ||
30 | include($this->store->get_config("code")."widgets/wizard/yui.wizard.html"); |
|
31 | } |
|
32 | ?> |
|
33 |
@@ 3-31 (lines=29) @@ | ||
1 | <?php |
|
2 | $ARCurrent->nolangcheck=true; |
|
3 | if ($this->CheckLogin("edit") && $this->CheckConfig()) { |
|
4 | include($this->store->get_config("code")."widgets/wizard/code.php"); |
|
5 | ||
6 | $wgWizFlow = array( |
|
7 | array( |
|
8 | "current" => $this->getdata("wgWizCurrent","none"), |
|
9 | "template" => "dialog.priority.form.php", |
|
10 | "cancel" => "window.close.js", |
|
11 | "save" => "dialog.priority.save.php" |
|
12 | ) |
|
13 | ); |
|
14 | ||
15 | if ($wgWizAction == 'save') { |
|
16 | $wgWizButtons = array( |
|
17 | "cancel" => array( |
|
18 | "value" => $ARnls["cancel"] |
|
19 | ), |
|
20 | "template" => array( |
|
21 | "value" => $ARnls['back'] |
|
22 | ) |
|
23 | ); |
|
24 | } |
|
25 | ||
26 | $wgWizTitle = $ARnls["priority"]; |
|
27 | $wgWizHeader = $wgWizTitle; |
|
28 | $wgWizHeaderIcon = $AR->dir->images.'icons/large/priority.png'; |
|
29 | ||
30 | include($this->store->get_config("code")."widgets/wizard/yui.wizard.html"); |
|
31 | } |
|
32 | ?> |
|
33 |