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
07aaac43
Commit
07aaac43
authored
Mar 25, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xml: clean up the list tags and order them alphabetically
parent
343c0992
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
28 deletions
+25
-28
xmlparse.inc
src/etc/inc/xmlparse.inc
+25
-28
No files found.
src/etc/inc/xmlparse.inc
View file @
07aaac43
<?php
/* $Id$ */
/*
xmlparse.inc
functions to parse/dump configuration files in XML format
part of m0n0wall (http://m0n0.ch/wall)
/*
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
All rights reserved.
...
...
@@ -30,33 +26,34 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/* The following items will be treated as arrays in config.xml */
function
listtags
()
{
/*
* Please keep this list alpha sorted and no longer than 80 characters
* I know it's a pain, but it's a pain to find stuff too if it's not
*/
function
listtags
()
{
/* The following items will be treated as arrays in config.xml */
$ret
=
array
(
'acls'
,
'alias'
,
'aliasurl'
,
'allowedip'
,
'allowedhostname'
,
'authserver'
,
'bridged'
,
'build_port_path'
,
'ca'
,
'cacert'
,
'cert'
,
'crl'
,
'clone'
,
'config'
,
'container'
,
'columnitem'
,
'depends_on_package'
,
'disk'
,
'dnsserver'
,
'dnsupdate'
,
'domainoverrides'
,
'dyndns'
,
'element'
,
'encryption-algorithm-option'
,
'field'
,
'fieldname'
,
'gateway_item'
,
'gateway_group'
,
'gif'
,
'gre'
,
'group'
,
'hash-algorithm-option'
,
'hosts'
,
'member'
,
'ifgroupentry'
,
'igmpentry'
,
'interface_array'
,
'item'
,
'key'
,
'lagg'
,
'lbaction'
,
'lbpool'
,
'l7rules'
,
'lbprotocol'
,
'member'
,
'menu'
,
'tab'
,
'mobilekey'
,
'monitor_type'
,
'mount'
,
'acls'
,
'alias'
,
'aliases'
,
'aliasurl'
,
'allowedip'
,
'allowedhostname'
,
'authserver'
,
'bridged'
,
'build_port_path'
,
'ca'
,
'cacert'
,
'cert'
,
'crl'
,
'clone'
,
'config'
,
'container'
,
'columnitem'
,
'depends_on_package'
,
'disk'
,
'dnsserver'
,
'dnsupdate'
,
'domainoverrides'
,
'dyndns'
,
'element'
,
'encryption-algorithm-option'
,
'field'
,
'fieldname'
,
'gateway_item'
,
'gateway_group'
,
'gif'
,
'gre'
,
'group'
,
'hash-algorithm-option'
,
'hosts'
,
'ifgroupentry'
,
'igmpentry'
,
'interface_array'
,
'item'
,
'key'
,
'lagg'
,
'lbaction'
,
'lbpool'
,
'l7rules'
,
'lbprotocol'
,
'member'
,
'menu'
,
'mobilekey'
,
'monitor_type'
,
'mount'
,
'npt'
,
'ntpserver'
,
'onetoone'
,
'openvpn-server'
,
'openvpn-client'
,
'openvpn-csc'
,
'option'
,
'package'
,
'passthrumac'
,
'phase1'
,
'phase2'
,
'ppp'
,
'pppoe'
,
'priv'
,
'proxyarpnet'
,
'pool
'
,
'onetoone'
,
'openvpn-server'
,
'openvpn-client'
,
'openvpn-csc'
,
'option'
,
'package'
,
'passthrumac'
,
'phase1'
,
'phase2'
,
'ppp'
,
'pppoe'
,
'priv'
,
'proxyarpnet'
,
'pool'
,
'pages'
,
'pipe
'
,
'qinqentry'
,
'queue'
,
'pages'
,
'pipe'
,
'radnsserver'
,
'roll'
,
'route'
,
'row'
,
'rrddatafile'
,
'rule'
,
'schedule'
,
'service'
,
'servernat'
,
'servers'
,
'serversdisabled'
,
'staticmap'
,
'subqueue'
,
'timerange'
,
'tunnel'
,
'user'
,
'vip'
,
'virtual_server'
,
'vlan'
,
'winsserver'
,
'wolentry'
,
'widget'
,
'wol'
,
'aliases'
'radnsserver'
,
'roll'
,
'route'
,
'row'
,
'rrddatafile'
,
'rule'
,
'schedule'
,
'service'
,
'servernat'
,
'servers'
,
'serversdisabled'
,
'staticmap'
,
'subqueue'
,
'tab'
,
'timerange'
,
'tunnel'
,
'user'
,
'vip'
,
'virtual_server'
,
'vlan'
,
'winsserver'
,
'wolentry'
,
'widget'
,
'wol'
,
);
return
array_flip
(
$ret
);
}
...
...
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