@@ 3-48 (lines=46) @@ | ||
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.custom.form.php", |
|
10 | "cancel" => "window.close.js", |
|
11 | "save" => "dialog.custom.save.php" |
|
12 | ) |
|
13 | ); |
|
14 | ||
15 | $wgWizAction = $this->getdata("wgWizAction"); |
|
16 | ||
17 | if( $wgWizAction == "save" ) { |
|
18 | $wgWizButtons = array( |
|
19 | "cancel" => array( |
|
20 | "value" => $ARnls["ok"] |
|
21 | ) |
|
22 | ); |
|
23 | } else { |
|
24 | $wgWizButtons = array( |
|
25 | /* "remove" => array( |
|
26 | "value" => $ARnls["remove"], |
|
27 | "location" => "left" |
|
28 | ), |
|
29 | "add" => array( |
|
30 | "value" => $ARnls["add"], |
|
31 | "location" => "left" |
|
32 | ), |
|
33 | */ "cancel" => array( |
|
34 | "value" => $ARnls["cancel"] |
|
35 | ), |
|
36 | "save" => array( |
|
37 | "value" => $ARnls["ok"] |
|
38 | ), |
|
39 | ); |
|
40 | } |
|
41 | ||
42 | $wgWizTitle=$ARnls["customdata"]; |
|
43 | ||
44 | $wgWizHeader=$wgWizTitle; |
|
45 | $wgWizHeaderIcon = $AR->dir->images.'icons/large/customfields.png'; |
|
46 | ||
47 | include($this->store->get_config("code")."widgets/wizard/yui.wizard.html"); |
|
48 | } |
|
49 | ?> |
|
50 |
@@ 3-39 (lines=37) @@ | ||
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.owner.form.php", |
|
10 | "cancel" => "window.close.js", |
|
11 | "save" => "dialog.owner.save.php" |
|
12 | ) |
|
13 | ); |
|
14 | ||
15 | $wgWizAction = $this->getdata("wgWizAction"); |
|
16 | ||
17 | if( $wgWizAction == "save" ) { |
|
18 | $wgWizButtons = array( |
|
19 | "cancel" => array( |
|
20 | "value" => $ARnls["ok"] |
|
21 | ) |
|
22 | ); |
|
23 | } else { |
|
24 | $wgWizButtons = array( |
|
25 | "cancel" => array( |
|
26 | "value" => $ARnls["cancel"] |
|
27 | ), |
|
28 | "save" => array( |
|
29 | "value" => $ARnls["change_owner"] |
|
30 | ), |
|
31 | ); |
|
32 | } |
|
33 | ||
34 | $wgWizTitle=$ARnls["change_owner"]; |
|
35 | $wgWizHeader = $wgWizTitle; |
|
36 | $wgWizHeaderIcon = $AR->dir->images.'icons/large/grants.png'; // FIXME: Should probably be owner.png, but that isn't there. |
|
37 | ||
38 | include($this->store->get_config("code")."widgets/wizard/yui.wizard.html"); |
|
39 | } |
|
40 | ?> |
|
41 |
@@ 3-39 (lines=37) @@ | ||
1 | <?php |
|
2 | $ARCurrent->nolangcheck=true; |
|
3 | if ($this->CheckLogin("layout") && $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.svn.templates.commit.form.php", |
|
10 | "cancel" => "window.close.js", |
|
11 | "save" => "dialog.svn.templates.commit.save.php" |
|
12 | ) |
|
13 | ); |
|
14 | ||
15 | $wgWizAction = $this->getdata("wgWizAction"); |
|
16 | ||
17 | if( $wgWizAction == "save" ) { |
|
18 | $wgWizButtons = array( |
|
19 | "cancel" => array( |
|
20 | "value" => $ARnls["ok"] |
|
21 | ) |
|
22 | ); |
|
23 | } else { |
|
24 | $wgWizButtons = array( |
|
25 | "cancel" => array( |
|
26 | "value" => $ARnls["cancel"] |
|
27 | ), |
|
28 | "save" => array( |
|
29 | "value" => $ARnls["ariadne:svn:commit"] |
|
30 | ), |
|
31 | ); |
|
32 | } |
|
33 | ||
34 | $wgWizTitle=$ARnls['ariadne:svn:commit']; |
|
35 | $wgWizHeader = $wgWizTitle; |
|
36 | $wgWizHeaderIcon = $AR->dir->images.'icons/large/svncommit.png'; |
|
37 | ||
38 | include($this->store->get_config("code")."widgets/wizard/yui.wizard.html"); |
|
39 | } |
|
40 | ?> |
|
41 |
@@ 3-39 (lines=37) @@ | ||
1 | <?php |
|
2 | $ARCurrent->nolangcheck=true; |
|
3 | if ($this->CheckLogin("layout") && $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.svn.templates.delete.form.php", |
|
10 | "cancel" => "window.close.js", |
|
11 | "save" => "dialog.svn.templates.delete.save.php" |
|
12 | ) |
|
13 | ); |
|
14 | ||
15 | $wgWizAction = $this->getdata("wgWizAction"); |
|
16 | ||
17 | if( $wgWizAction == "save" ) { |
|
18 | $wgWizButtons = array( |
|
19 | "cancel" => array( |
|
20 | "value" => $ARnls["ok"] |
|
21 | ) |
|
22 | ); |
|
23 | } else { |
|
24 | $wgWizButtons = array( |
|
25 | "cancel" => array( |
|
26 | "value" => $ARnls["cancel"] |
|
27 | ), |
|
28 | "save" => array( |
|
29 | "value" => $ARnls["ariadne:svn:delete"] |
|
30 | ), |
|
31 | ); |
|
32 | } |
|
33 | ||
34 | $wgWizTitle=$ARnls['ariadne:svn:delete']; |
|
35 | $wgWizHeader = $wgWizTitle; |
|
36 | $wgWizHeaderIcon = $AR->dir->images.'icons/large/delete.png'; |
|
37 | ||
38 | include($this->store->get_config("code")."widgets/wizard/yui.wizard.html"); |
|
39 | } |
|
40 | ?> |
|
41 |
@@ 3-40 (lines=38) @@ | ||
1 | <?php |
|
2 | $ARCurrent->nolangcheck=true; |
|
3 | if ($this->CheckLogin("layout") && $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.svn.templates.unsvn.form.php", |
|
10 | "cancel" => "window.close.js", |
|
11 | "save" => "dialog.svn.templates.unsvn.save.php" |
|
12 | ) |
|
13 | ); |
|
14 | ||
15 | $wgWizAction = $this->getdata("wgWizAction"); |
|
16 | ||
17 | if( $wgWizAction == "save" ) { |
|
18 | ||
19 | $wgWizButtons = array( |
|
20 | "cancel" => array( |
|
21 | "value" => $ARnls["ok"] |
|
22 | ) |
|
23 | ); |
|
24 | } else { |
|
25 | $wgWizButtons = array( |
|
26 | "cancel" => array( |
|
27 | "value" => $ARnls["cancel"] |
|
28 | ), |
|
29 | "save" => array( |
|
30 | "value" => $ARnls["ariadne:svn:unsvn"] |
|
31 | ), |
|
32 | ); |
|
33 | } |
|
34 | ||
35 | $wgWizTitle=$ARnls['ariadne:svn:unsvn']; |
|
36 | $wgWizHeader = $wgWizTitle; |
|
37 | $wgWizHeaderIcon = $AR->dir->images.'icons/large/unsvn.png'; |
|
38 | ||
39 | include($this->store->get_config("code")."widgets/wizard/yui.wizard.html"); |
|
40 | } |
|
41 | ?> |
|
42 |
@@ 3-39 (lines=37) @@ | ||
1 | <?php |
|
2 | $ARCurrent->nolangcheck=true; |
|
3 | if ($this->CheckLogin("layout") && $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.svn.tree.commit.form.php", |
|
10 | "cancel" => "window.close.js", |
|
11 | "save" => "dialog.svn.tree.commit.save.php" |
|
12 | ) |
|
13 | ); |
|
14 | ||
15 | $wgWizAction = $this->getdata("wgWizAction"); |
|
16 | ||
17 | if( $wgWizAction == "save" ) { |
|
18 | $wgWizButtons = array( |
|
19 | "cancel" => array( |
|
20 | "value" => $ARnls["ok"] |
|
21 | ) |
|
22 | ); |
|
23 | } else { |
|
24 | $wgWizButtons = array( |
|
25 | "cancel" => array( |
|
26 | "value" => $ARnls["cancel"] |
|
27 | ), |
|
28 | "save" => array( |
|
29 | "value" => $ARnls["ariadne:svn:commit"] |
|
30 | ), |
|
31 | ); |
|
32 | } |
|
33 | ||
34 | $wgWizTitle=$ARnls['ariadne:svn:commit_recursive']; |
|
35 | $wgWizHeader = $wgWizTitle; |
|
36 | $wgWizHeaderIcon = $AR->dir->images.'icons/large/svncommit.png'; |
|
37 | ||
38 | include($this->store->get_config("code")."widgets/wizard/yui.wizard.html"); |
|
39 | } |
|
40 | ?> |
|
41 |
@@ 3-40 (lines=38) @@ | ||
1 | <?php |
|
2 | $ARCurrent->nolangcheck=true; |
|
3 | if ($this->CheckLogin("layout") && $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.svn.tree.unsvn.form.php", |
|
10 | "cancel" => "window.close.js", |
|
11 | "save" => "dialog.svn.tree.unsvn.save.php" |
|
12 | ) |
|
13 | ); |
|
14 | ||
15 | $wgWizAction = $this->getdata("wgWizAction"); |
|
16 | ||
17 | if( $wgWizAction == "save" ) { |
|
18 | ||
19 | $wgWizButtons = array( |
|
20 | "cancel" => array( |
|
21 | "value" => $ARnls["ok"] |
|
22 | ) |
|
23 | ); |
|
24 | } else { |
|
25 | $wgWizButtons = array( |
|
26 | "cancel" => array( |
|
27 | "value" => $ARnls["cancel"] |
|
28 | ), |
|
29 | "save" => array( |
|
30 | "value" => $ARnls["ariadne:svn:unsvn"] |
|
31 | ), |
|
32 | ); |
|
33 | } |
|
34 | ||
35 | $wgWizTitle=$ARnls['ariadne:svn:unsvn']; |
|
36 | $wgWizHeader = $wgWizTitle; |
|
37 | $wgWizHeaderIcon = $AR->dir->images.'icons/large/unsvn.png'; |
|
38 | ||
39 | include($this->store->get_config("code")."widgets/wizard/yui.wizard.html"); |
|
40 | } |
|
41 | ?> |
|
42 |