Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
7d74d4c1
Commit
7d74d4c1
authored
Oct 13, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vpn/pptp: collapse to menu
parent
3cb9dfab
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
35 deletions
+8
-35
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+5
-3
shortcuts.inc
src/www/shortcuts.inc
+0
-4
vpn_pptp.php
src/www/vpn_pptp.php
+1
-9
vpn_pptp_users.php
src/www/vpn_pptp_users.php
+1
-9
vpn_pptp_users_edit.php
src/www/vpn_pptp_users_edit.php
+1
-10
No files found.
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
View file @
7d74d4c1
...
...
@@ -241,9 +241,11 @@
<ClientExport
url=
"/vpn_openvpn_export.php*"
/>
<SharedKeyExport
url=
"/vpn_openvpn_export_shared.php"
/>
</OpenVPN>
<PPTP
url=
"/vpn_pptp.php"
>
<PPTPUsers
url=
"/vpn_pptp_users.php"
/>
<PPTPUsersEdit
url=
"/vpn_pptp_users_edit.php"
/>
<PPTP
cssClass=
"fa fa-road"
>
<Settings
url=
"/vpn_pptp.php"
/>
<Users
url=
"/vpn_pptp_users.php"
>
<Edit
url=
"/vpn_pptp_users_edit.php*"
/>
</Users>
</PPTP>
</VPN>
<Status
order=
"6"
cssClass=
"glyphicon glyphicon-tasks"
>
...
...
src/www/shortcuts.inc
View file @
7d74d4c1
...
...
@@ -236,10 +236,6 @@ $shortcuts['ntp']['log'] = "diag_logs_ntpd.php";
$shortcuts
[
'ntp'
][
'status'
]
=
"status_ntpd.php"
;
$shortcuts
[
'ntp'
][
'service'
]
=
"ntpd"
;
$shortcuts
[
'pptps'
]
=
array
();
$shortcuts
[
'pptps'
][
'main'
]
=
"vpn_pptp.php"
;
$shortcuts
[
'pptps'
][
'log'
]
=
"diag_logs_vpn.php"
;
$shortcuts
[
'pppoes'
]
=
array
();
$shortcuts
[
'pppoes'
][
'main'
]
=
"vpn_pppoe.php"
;
$shortcuts
[
'pppoes'
][
'log'
]
=
"diag_logs_vpn.php?vpntype=poes"
;
...
...
src/www/vpn_pptp.php
View file @
7d74d4c1
...
...
@@ -196,8 +196,7 @@ if ($_POST) {
}
}
$pgtitle
=
array
(
gettext
(
"VPN"
),
gettext
(
"VPN PPTP"
));
$shortcut_section
=
"pptps"
;
$pgtitle
=
array
(
gettext
(
'VPN'
),
gettext
(
'PPTP'
),
gettext
(
'Settings'
));
include
(
"head.inc"
);
?>
...
...
@@ -313,13 +312,6 @@ function enable_change(enable_over) {
<section
class=
"col-xs-12"
>
<?php
$tab_array
=
array
();
$tab_array
[
0
]
=
array
(
gettext
(
"Configuration"
),
true
,
"vpn_pptp.php"
);
$tab_array
[
1
]
=
array
(
gettext
(
"Users"
),
false
,
"vpn_pptp_users.php"
);
display_top_tabs
(
$tab_array
);
?>
<div
class=
"tab-content content-box col-xs-12"
>
<form
action=
"vpn_pptp.php"
method=
"post"
name=
"iform"
id=
"iform"
>
...
...
src/www/vpn_pptp_users.php
View file @
7d74d4c1
...
...
@@ -60,8 +60,7 @@ if ($_GET['act'] == "del") {
}
}
$pgtitle
=
array
(
gettext
(
"VPN"
),
gettext
(
"VPN PPTP"
),
gettext
(
"Users"
));
$shortcut_section
=
"pptps"
;
$pgtitle
=
array
(
gettext
(
'VPN'
),
gettext
(
'PPTP'
),
gettext
(
'Users'
));
include
(
"head.inc"
);
$main_buttons
=
array
(
...
...
@@ -91,13 +90,6 @@ endif; ?>
<section
class=
"col-xs-12"
>
<?php
$tab_array
=
array
();
$tab_array
[
0
]
=
array
(
gettext
(
"Configuration"
),
false
,
"vpn_pptp.php"
);
$tab_array
[
1
]
=
array
(
gettext
(
"Users"
),
true
,
"vpn_pptp_users.php"
);
display_top_tabs
(
$tab_array
);
?>
<div
class=
"tab-content content-box col-xs-12"
>
<form
action=
"vpn_pptp_users.php"
method=
"post"
name=
"iform"
id=
"iform"
>
...
...
src/www/vpn_pptp_users_edit.php
View file @
7d74d4c1
...
...
@@ -134,8 +134,7 @@ if ($_POST) {
}
}
$pgtitle
=
array
(
gettext
(
"VPN"
),
gettext
(
"VPN PPTP"
),
gettext
(
"User"
),
gettext
(
"Edit"
));
$shortcut_section
=
"pptps"
;
$pgtitle
=
array
(
gettext
(
'VPN'
),
gettext
(
'PPTP'
),
gettext
(
'Edit User'
));
include
(
"head.inc"
);
?>
...
...
@@ -153,14 +152,6 @@ include("head.inc");
}
?>
<section
class=
"col-xs-12"
>
<?php
$tab_array
=
array
();
$tab_array
[
0
]
=
array
(
gettext
(
"Configuration"
),
false
,
"vpn_pptp.php"
);
$tab_array
[
1
]
=
array
(
gettext
(
"Users"
),
true
,
"vpn_pptp_users.php"
);
display_top_tabs
(
$tab_array
);
?>
<div
class=
"tab-content content-box col-xs-12"
>
<form
action=
"vpn_pptp_users_edit.php"
method=
"post"
name=
"iform"
id=
"iform"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment