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
968a31b3
Commit
968a31b3
authored
Jan 31, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: whitespace cleanup and style error fix
parent
7ec92dae
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
44 additions
and
43 deletions
+44
-43
PageController.php
...se/mvc/app/controllers/OPNsense/Sample/PageController.php
+2
-1
Sample.xml
src/opnsense/mvc/app/models/OPNsense/Sample/Sample.xml
+1
-1
page.volt
src/opnsense/mvc/app/views/OPNsense/Sample/page.volt
+2
-2
firewall_nat_1to1_edit.php
src/www/firewall_nat_1to1_edit.php
+2
-2
firewall_nat_edit.php
src/www/firewall_nat_edit.php
+1
-1
firewall_nat_npt_edit.php
src/www/firewall_nat_npt_edit.php
+15
-15
firewall_nat_out_edit.php
src/www/firewall_nat_out_edit.php
+2
-2
interfaces_gif_edit.php
src/www/interfaces_gif_edit.php
+7
-7
interfaces_gre_edit.php
src/www/interfaces_gre_edit.php
+6
-6
firewall_nat_edit.js
src/www/javascript/firewall_nat_edit/firewall_nat_edit.js
+1
-1
system_crlmanager.php
src/www/system_crlmanager.php
+5
-5
No files found.
src/opnsense/mvc/app/controllers/OPNsense/Sample/PageController.php
View file @
968a31b3
<?php
/**
* Copyright (C) 2015 Deciso B.V.
*
...
...
@@ -26,6 +27,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
*/
namespace
OPNsense\Sample
;
use
Phalcon\Mvc\Controller
;
...
...
@@ -151,5 +153,4 @@ class PageController extends ControllerBase
));
}
}
}
src/opnsense/mvc/app/models/OPNsense/Sample/Sample.xml
View file @
968a31b3
...
...
@@ -33,4 +33,4 @@
</section1>
</childnodes1>
</items>
</model>
\ No newline at end of file
</model>
src/opnsense/mvc/app/views/OPNsense/Sample/page.volt
View file @
968a31b3
...
...
@@ -19,7 +19,7 @@
{% endfor %}
<br/><br/>
Edit the data
Edit the data
</div>
...
...
@@ -73,4 +73,4 @@
<tr> <td colspan=3><input type="submit" value="save" name="form_action" > </td> </tr>
</table>
</form>
\ No newline at end of file
</form>
src/www/firewall_nat_1to1_edit.php
View file @
968a31b3
...
...
@@ -507,8 +507,8 @@ include("head.inc");
<td>
<?=
gettext
(
"Address:"
);
?>
</td>
<td>
<table>
<tr>
<td
width=
"348px"
>
<tr>
<td
width=
"348px"
>
<input
name=
"dst"
type=
"text"
autocomplete=
"off"
class=
"formfldalias"
id=
"dst"
size=
"20"
value=
"
<?php
if
(
!
is_specialnet
(
$pconfig
[
'dst'
]))
echo
htmlspecialchars
(
$pconfig
[
'dst'
]);
?>
"
/>
</td>
<td>
...
...
src/www/firewall_nat_edit.php
View file @
968a31b3
...
...
@@ -716,7 +716,7 @@ include("head.inc");
<td>
<table>
<tr>
<td
width=
"348px"
>
<td
width=
"348px"
>
<input
autocomplete=
'off'
name=
"dst"
type=
"text"
class=
"formfldalias"
id=
"dst"
size=
"20"
value=
"
<?php
if
(
!
is_specialnet
(
$pconfig
[
'dst'
]))
echo
htmlspecialchars
(
$pconfig
[
'dst'
]);
?>
"
/>
</td>
<td>
...
...
src/www/firewall_nat_npt_edit.php
View file @
968a31b3
...
...
@@ -220,13 +220,13 @@ include("head.inc");
<tr>
<td>
<?=
gettext
(
"Address:"
);
?>
</td>
<td>
<table>
<tr>
<td
width=
"348px"
>
<table>
<tr>
<td
width=
"348px"
>
<input
name=
"src"
type=
"text"
class=
"formfldalias"
id=
"src"
size=
"20"
value=
"
<?php
if
(
!
is_specialnet
(
$pconfig
[
'src'
]))
echo
htmlspecialchars
(
$pconfig
[
'src'
]);
?>
"
/>
</td>
<td>
<select
name=
"srcmask"
class=
"selectpicker"
id=
"srcmask"
data-width=
"auto"
>
</td>
<td>
<select
name=
"srcmask"
class=
"selectpicker"
id=
"srcmask"
data-width=
"auto"
>
<?php
for
(
$i
=
128
;
$i
>
0
;
$i
--
)
:
?>
<option
value=
"
<?=
$i
;
?>
"
<?php
if
(
$i
==
$pconfig
[
'srcmask'
])
echo
"selected=
\"
selected
\"
"
;
?>
>
<?=
$i
;
?>
</option>
<?php
endfor
;
?>
...
...
@@ -256,20 +256,20 @@ include("head.inc");
<tr>
<td>
<?=
gettext
(
"Address:"
);
?>
</td>
<td>
<table>
<tr>
<td
width=
"348px"
>
<input
name=
"dst"
type=
"text"
class=
"formfldalias"
id=
"dst"
size=
"20"
value=
"
<?php
if
(
!
is_specialnet
(
$pconfig
[
'dst'
]))
echo
htmlspecialchars
(
$pconfig
[
'dst'
]);
?>
"
/>
</td>
<td>
<select
name=
"dstmask"
class=
"selectpicker"
id=
"dstmask"
data-width=
"auto"
>
<table>
<tr>
<td
width=
"348px"
>
<input
name=
"dst"
type=
"text"
class=
"formfldalias"
id=
"dst"
size=
"20"
value=
"
<?php
if
(
!
is_specialnet
(
$pconfig
[
'dst'
]))
echo
htmlspecialchars
(
$pconfig
[
'dst'
]);
?>
"
/>
</td>
<td>
<select
name=
"dstmask"
class=
"selectpicker"
id=
"dstmask"
data-width=
"auto"
>
<?php
for
(
$i
=
128
;
$i
>
0
;
$i
--
)
:
?>
<option
value=
"
<?=
$i
;
?>
"
<?php
if
(
$i
==
$pconfig
[
'dstmask'
])
echo
"selected=
\"
selected
\"
"
;
?>
>
<?=
$i
;
?>
</option>
<?php
endfor
;
?>
</select>
</td>
</tr>
</td>
</tr>
</table>
</td>
</tr>
...
...
src/www/firewall_nat_out_edit.php
View file @
968a31b3
...
...
@@ -551,7 +551,7 @@ function poolopts_change() {
<td>
<table>
<tr>
<td
width=
"348px"
>
<td
width=
"348px"
>
<input
name=
"source"
type=
"text"
autocomplete=
"off"
class=
"formfldalias"
id=
"source"
size=
"20"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'source'
]);
?>
"
/>
</td>
<td>
...
...
@@ -611,7 +611,7 @@ function poolopts_change() {
<td>
<table>
<tr>
<td
width=
"348px"
>
<td
width=
"348px"
>
<input
name=
"destination"
type=
"text"
autocomplete=
"off"
class=
"formfldalias"
id=
"destination"
size=
"20"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'destination'
]);
?>
"
/>
</td>
<td>
...
...
src/www/interfaces_gif_edit.php
View file @
968a31b3
...
...
@@ -190,13 +190,13 @@ include("head.inc");
<tr>
<td
valign=
"top"
class=
"vncellreq"
>
<?=
gettext
(
"gif tunnel remote address "
);
?>
</td>
<td
class=
"vtable"
>
<table>
<tr>
<td
width=
"285px"
>
<input
name=
"tunnel-remote-addr"
type=
"text"
class=
"form-control unknown ipv4v6"
id=
"tunnel-remote-addr"
size=
"24"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'tunnel-remote-addr'
]);
?>
"
/>
</td>
<td>
<select
name=
"tunnel-remote-net"
class=
"selectpicker ipv4v6"
id=
"tunnel-remote-net"
data-width=
"auto"
>
<table>
<tr>
<td
width=
"285px"
>
<input
name=
"tunnel-remote-addr"
type=
"text"
class=
"form-control unknown ipv4v6"
id=
"tunnel-remote-addr"
size=
"24"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'tunnel-remote-addr'
]);
?>
"
/>
</td>
<td>
<select
name=
"tunnel-remote-net"
class=
"selectpicker ipv4v6"
id=
"tunnel-remote-net"
data-width=
"auto"
>
<?php
for
(
$i
=
128
;
$i
>
0
;
$i
--
)
{
echo
"<option value=
\"
{
$i
}
\"
"
;
...
...
src/www/interfaces_gre_edit.php
View file @
968a31b3
...
...
@@ -187,12 +187,12 @@ include("head.inc");
<td
valign=
"top"
class=
"vncellreq"
>
<?=
gettext
(
"GRE tunnel remote address "
);
?>
</td>
<td
class=
"vtable"
>
<table>
<tr>
<td
width=
"285px"
>
<input
name=
"tunnel-remote-addr"
type=
"text"
class=
"form-control unknown ipv4v6"
id=
"tunnel-remote-addr"
size=
"16"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'tunnel-remote-addr'
]);
?>
"
/>
</td>
<td>
<select
name=
"tunnel-remote-net"
class=
"selectpicker ipv4v6"
id=
"tunnel-remote-net"
data-width=
"auto"
>
<tr>
<td
width=
"285px"
>
<input
name=
"tunnel-remote-addr"
type=
"text"
class=
"form-control unknown ipv4v6"
id=
"tunnel-remote-addr"
size=
"16"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'tunnel-remote-addr'
]);
?>
"
/>
</td>
<td>
<select
name=
"tunnel-remote-net"
class=
"selectpicker ipv4v6"
id=
"tunnel-remote-net"
data-width=
"auto"
>
<?php
for
(
$i
=
128
;
$i
>
0
;
$i
--
)
{
echo
"<option value=
\"
{
$i
}
\"
"
;
...
...
src/www/javascript/firewall_nat_edit/firewall_nat_edit.js
View file @
968a31b3
...
...
@@ -170,7 +170,7 @@ function typesel_change() {
//document.iform.srcmask.disabled = 1;
jQuery
(
'
#srcmask
'
).
selectpicker
(
'
val
'
,
''
);
jQuery
(
'
#srcmask
'
).
prop
(
'
disabled
'
,
true
);
jQuery
(
'
#srcmask
'
).
selectpicker
(
'
refresh
'
);
jQuery
(
'
#srcmask
'
).
selectpicker
(
'
refresh
'
);
break
;
}
if
(
dstenabled
)
...
...
src/www/system_crlmanager.php
View file @
968a31b3
...
...
@@ -490,12 +490,12 @@ include("head.inc");
<?php
else
:
?>
<tr>
<th
colspan=
"4"
>
<?=
gettext
(
"Revoke a Certificate"
);
?>
</th>
</tr>
<?=
gettext
(
"Revoke a Certificate"
);
?>
</th>
</tr>
<tr>
<td>
<b>
<?php
echo
gettext
(
"Choose a Certificate to Revoke"
);
?>
</b>
:
<b>
<?php
echo
gettext
(
"Choose a Certificate to Revoke"
);
?>
</b>
:
</td>
<td
colspan=
"3"
align=
"left"
>
<select
name=
'certref'
id=
'certref'
class=
"selectpicker"
data-style=
"btn-default"
data-live-search=
"true"
>
...
...
@@ -510,7 +510,7 @@ include("head.inc");
</td>
</tr>
<tr>
<td>
<td>
<b>
<?php
echo
gettext
(
"Reason"
);
?>
</b>
:
</td>
<td
colspan=
"3"
align=
"left"
>
...
...
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