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
5fac1c16
Commit
5fac1c16
authored
May 16, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall: fix schedule cloning; closes #943
(cherry picked from commit
1842f0e1
)
parent
9d1b8eb6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
firewall_schedule.php
src/www/firewall_schedule.php
+2
-2
firewall_schedule_edit.php
src/www/firewall_schedule_edit.php
+1
-1
No files found.
src/www/firewall_schedule.php
View file @
5fac1c16
...
...
@@ -115,7 +115,7 @@ $main_buttons = array(
<?php
if
(
isset
(
$savemsg
))
print_info_box
(
$savemsg
);
?>
<section
class=
"col-xs-12"
>
<div
class=
"content-box tab-content"
>
<form
action=
"firewall_schedule.php"
method=
"post"
name=
"iform"
id=
"iform"
>
<form
method=
"post"
name=
"iform"
id=
"iform"
>
<input
type=
"hidden"
id=
"id"
name=
"id"
value=
""
/>
<input
type=
"hidden"
id=
"action"
name=
"act"
value=
""
/>
<table
class=
"table table-striped"
>
...
...
@@ -237,7 +237,7 @@ $main_buttons = array(
<a
id=
"del_
<?=
$i
;
?>
"
title=
"
<?=
gettext
(
"delete schedule"
);
?>
"
data-toggle=
"tooltip"
class=
"act_delete btn btn-default btn-xs"
>
<span
class=
"fa fa-trash text-muted"
></span>
</a>
<a
href=
"firewall_schedule.php?dup=
<?=
$i
;
?>
"
class=
"btn btn-default btn-xs"
data-toggle=
"tooltip"
title=
"
<?=
gettext
(
"clone schedule"
);
?>
"
>
<a
href=
"firewall_schedule
_edit
.php?dup=
<?=
$i
;
?>
"
class=
"btn btn-default btn-xs"
data-toggle=
"tooltip"
title=
"
<?=
gettext
(
"clone schedule"
);
?>
"
>
<span
class=
"fa fa-clone text-muted"
></span>
</a>
</td>
...
...
src/www/firewall_schedule_edit.php
View file @
5fac1c16
...
...
@@ -781,7 +781,7 @@ function removeRow(el) {
<?php
if
(
isset
(
$input_errors
)
&&
count
(
$input_errors
)
>
0
)
print_input_errors
(
$input_errors
);
?>
<section
class=
"col-xs-12"
>
<div
class=
"content-box tab-content"
>
<form
action=
"firewall_schedule_edit.php"
method=
"post"
name=
"iform"
id=
"iform"
>
<form
method=
"post"
name=
"iform"
id=
"iform"
>
<input
type=
"hidden"
name=
"schedlabel"
value=
"
<?=
$pconfig
[
'schedlabel'
];
?>
"
/>
<table
class=
"table table-striped"
>
<tbody>
...
...
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