Add zip file of V1.0.1 (Released Apr 9 2017) master
[plg_send_custom_header.git] / send_custom_header.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.0" type="plugin" group="system" method="upgrade">
        <name>Send Custom Header</name>
        <author>B Tasker</author>
        <creationDate>August 2013</creationDate>
        <copyright>Copyright (C) 2013 - B Tasker</copyright>
        <license>GNU General Public License version 2 or later; see LICENSE.txt</license>
        <authorEmail>custlibrary@bentasker.co.uk</authorEmail>
        <authorUrl>www.bentasker.co.uk</authorUrl>
        <version>1.0.1</version>
        <description>Plugin to allow sending of a custom HTTP header if certain conditions are met</description>
        <files>
                <filename plugin="send_custom_header">send_custom_header.php</filename>
        </files>
        
        <config>
          <fields name="params">
                <fieldset name="basic">
          
                
                 
                  <field name="headerName" type="textarea" label="Headers" description="Comma Seperated Key value pairs for headers to send" default="X-DONT-CACHE-ME=no-cache" />
                  <!--<field name="headerContent" type="text" label="Header Content" default="True" />-->
                  <field name="cookieVals" type="textarea" label="Cookies" description="Comma Seperated Key value pairs for cookies to set" default="JNoCache=True" />
 
                  <field name="debugMode" type="list" label="Debug Mode" description="When enabled adds headers so you can see how the rules have been applied" >
                    <option value="0">Off</option>
                    <option value="1">On</option>
                  </field>
                  
                </fieldset>
                
                <fieldset name="rules" label="Rules">
                
                  <field name="runonSSL" type="list" label="SSL Connections" default="2" description="How should SSL Connections be handled?">
                  
                    <option value="0">Never Run</option>
                    <option value="1">Always Run</option>
                    <option value="2">Obey Rules</option>
                  
                  </field>
                
                  <field name="runonAdmin" type="list" label="Run on" default="2" description="Can be overriden in Inclusion settings">
                    <option value="0">Front-End Only</option>
                    <option value="1">Back-End Only</option>
                    <option value="2">Front and Back-End</option>
                  </field>              
                
                  <field name="sendWhen" type="list" label="Send When" default="1" description="Can be overriden in Inclusion settings">
                    <option value="1">User Logged In</option>
                    <option value="0">User Not Logged In</option>
                  </field>
                
                </fieldset>
                
                
                <fieldset name="InclusionExclusion" label="Inclusion/Exclusion Settings">
                  <field type="textarea" name="alwaysRun" label="Always run on" description="Always trigger in these components - Comma Seperated Component Names" default="com_users" />
                  <field type="textarea" name="neverRun" label="Never run on" description="Never trigger in these components - Comma Seperated Component Names" default="" />
                  <field type="textarea" name="alwaysURL" label="Always on URLs" description="Always run on these (relative) URLs - Comma Seperated" default="/administrator/,/administrator,/administrator/index.php" />
                  <field type="textarea" name="neverURL" label="Never on URLs" description="Never run on these (relative) URLs - Comma Seperated" default="" />
                </fieldset>
                
          </fields>
        </config>
 
        
</extension>