-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmod_hd-bgselector.xml
95 lines (82 loc) · 5.87 KB
/
mod_hd-bgselector.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="2.5.0" client="site" method="upgrade">
<name>HD-Background Selector</name>
<author>Hyde-Design</author>
<creationDate>February 2013</creationDate>
<copyright>2012</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<authorEmail>sales@hyde-design.co.uk</authorEmail>
<authorUrl>www.hyde-design.co.uk</authorUrl>
<version>1.3.1-robosane</version>
<description>A simple module to apply a background style to a specific page. Set the module to appear on the page of your choice at any module position.</description>
<files>
<filename module="mod_hd-bgselector">mod_hd-bgselector.php</filename>
<filename module="mod_hd-bgselector">index.html</filename>
</files>
<config>
<fields name="params">
<fieldset name="basic">
<field name="bgid" type="text" default="body" label="ID" description="The CSS element ID. Leave as 'body' if unsure. Can also be applied to divs. eg.'#left' to apply as a background to the left column div." ></field>
<field name="imagebg" type="media" label="Background Image" description="Select the background image." />
<field name="imageposition" type="list" default="center top" label="Position" description="Image Position">
<option value="left top">Left Top</option>
<option value="left center">Left Center</option>
<option value="left bottom">Left Bottom</option>
<option value="right top">Right Top</option>
<option value="right center">Right Center</option>
<option value="right bottom">Right Bottom</option>
<option value="center top">Center Top</option>
<option value="center center">Center Center</option>
<option value="center bottom">Center Bottom</option>
</field>
<field name="imageattachment" type="list" default="scroll" label="Attachment" description="Scroll or fix the background image.">
<option value="scroll">Scroll</option>
<option value="fixed">Fixed</option>
</field>
<field name="imagerepeat" type="list" default="repeat" label="Repeat" description="Repeating pattern of background.">
<option value="repeat">Repeat All</option>
<option value="repeat-x">Repeat Horizontally</option>
<option value="repeat-y">Repeat Vertically</option>
<option value="no-repeat">No Repeat</option>
</field>
<field name="bgcolor" type="text" default="transparent" label="Background Colour" description="The background colour as either a predifined name (eg. blue), a hexidecimal value (eg. #ff0000) or an RGB value (eg. rgb(0,0,255)). Background colours are always applied behind a background image." ></field>
<field name="importance" type="list" default="No" label="Stress Importance?" description="This will add the !important postfix to overide existing similar CSS.">
<option value=" ">No</option>
<option value="!important">Yes</option>
</field>
<field name="customcss" type="textarea" default="" label="Additional CSS" description="Replace with your additional inline custom CSS." rows="10" cols="45"></field>
</fieldset>
<fieldset name="advanced">
<field name="bgtype" type="list" default="standard" label="Type" description="Select the multiple image display type.">
<option value="standard">Standard</option>
<option value="overlay">Overlay Images (overlays more than one image)</option>
<option value="random">Random Images (displays an image at random)</option>
<option value="daily">Daily Images (displays one image per day in order)</option>
<option value="gradient">Gradient (displays a gradient between two colours)</option>
</field>
<field name="imagebgtwo" type="media" label="Background Image Two" description="Select the second background image."></field>
<field name="imagebgthree" type="media" label="Background Image Three" description="Select the third background image."></field>
<field name="imagebgfour" type="media" label="Background Image Four" description="Select the fourth background image."></field>
<field name="imagebgfive" type="media" label="Background Image Five" description="Select the fifth background image."></field>
<field name="imagebgsix" type="media" label="Background Image Six" description="Select the sixth background image."></field>
<field name="imagebgseven" type="media" label="Background Image Seven" description="Select the seventh background image."></field>
<field name="gradtop" type="text" default="000000" label="Gradient Top Colour" description="The top colour of the gradient. Please enter a 6 figure hex value without the #." ></field>
<field name="gradbottom" type="text" default="ffffff" label="Gradient Bottom Colour" description="The top colour of the gradient. Please enter a 6 figure hex value without the #." ></field>
<field type="spacer" name="myspacer-break" hr="true" />
<field name="urlsniffer" type="text" filter="raw" default="" label="URL Sniffer" description="Add an element of a URL here if you only wish the module to render on a page whose URL contains this element."></field>
<field name="browsersniffer" type="list" default="all" label="Browser Sniffer" description="Select if you wish your module to be rendered on a specific browser only.">
<option value="all">All Browsers</option>
<option value="msie">Internet Explorer</option>
<option value="firefox">FireFox</option>
<option value="safari">Safari</option>
<option value="chrome">Chrome</option>
<option value="opera">Opera</option>
<option value="iphone">iPhone</option>
<option value="ipad">iPad</option>
<option value="android">Android</option>
<option value="mobile">All mobile devices</option>
</field>
</fieldset>
</fields>
</config>
</extension>