This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
dialog.php
executable file
·81 lines (81 loc) · 2.54 KB
/
dialog.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
require_once('../../common.php');
?>
<!--
Copyright (c) Codiad & Andr3as, distributed
as-is and without warranty under the MIT License.
See http://opensource.org/licenses/MIT for more information.
This information must remain intact.
-->
<form>
<?php
switch($_GET['action']) {
case 'blame':
include('templates/blame.html');
break;
case 'branches':
include('templates/branch.html');
break;
case 'clone':
include('templates/clone.html');
break;
case 'commit':
include('templates/commit.html');
break;
case 'diff':
include('templates/diff.html');
break;
case 'log':
include('templates/log.html');
break;
case 'login':
include('templates/login.html');
break;
case 'newBranch':
include('templates/newBranch.html');
break;
case 'newRemote':
include('templates/newRemote.html');
break;
case 'network':
include('templates/network.html');
break;
case 'passphrase':
include('templates/passphrase.html');
break;
case 'renameBranch':
include('templates/renameBranch.html');
break;
case 'renameRemote':
include('templates/renameRemote.html');
break;
case 'checkoutRemote':
include('templates/checkoutRemote.html');
break;
case 'overview':
include('templates/overview.html');
break;
case 'push':
include('templates/push.html');
break;
case 'remote':
include('templates/remote.html');
break;
case 'settings':
include('templates/settings.html');
break;
case 'showCommit':
include('templates/showCommit.html');
break;
case 'submodule':
include('templates/submodule.html');
break;
case 'userConfig':
include('templates/userConfig.html');
break;
default:
echo "No page defined!";
break;
}
?>
</form>