summaryrefslogtreecommitdiff
path: root/hercules/templates
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-19 22:30:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-20 17:21:53 +0300
commit19edcb923f184894f8d738ab1e7a8e50cdd642c0 (patch)
treef3f925e128ea4bb8d3672a44c7fc3e6f98b46e88 /hercules/templates
parent46a6f9869a2828c462895f149655edfdf897f55b (diff)
downloadevol-tools-19edcb923f184894f8d738ab1e7a8e50cdd642c0.tar.gz
evol-tools-19edcb923f184894f8d738ab1e7a8e50cdd642c0.tar.bz2
evol-tools-19edcb923f184894f8d738ab1e7a8e50cdd642c0.tar.xz
evol-tools-19edcb923f184894f8d738ab1e7a8e50cdd642c0.zip
hercules: add converter from groups.conf into groups.xml
Diffstat (limited to 'hercules/templates')
-rw-r--r--hercules/templates/group.tpl10
-rw-r--r--hercules/templates/groups.xml7
2 files changed, 17 insertions, 0 deletions
diff --git a/hercules/templates/group.tpl b/hercules/templates/group.tpl
new file mode 100644
index 0000000..99868d3
--- /dev/null
+++ b/hercules/templates/group.tpl
@@ -0,0 +1,10 @@
+ <group
+ id="{id}"
+ name={name}
+ longName={name}{inherit}
+ >
+ <commands>{commands}
+ </commands>
+ <permissions>{permissions}
+ </permissions>
+ </group>
diff --git a/hercules/templates/groups.xml b/hercules/templates/groups.xml
new file mode 100644
index 0000000..bc14631
--- /dev/null
+++ b/hercules/templates/groups.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: 4144
+Copyright (C) 2017 Evol Online -->
+
+<groups>
+{0}
+</groups>