annotate subsilver2.xml @ 7:6746677bb418

* Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sat, 10 Jul 2010 13:39:12 +0000
parents 85b6a2858cd5
children 5828583803f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8" standalone="yes"?>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 <?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 <!--For security purposes, please check: http://www.phpbb.com/mods/ for the
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 latest version of this MOD. Although MODs are checked before being
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 allowed in the MODs Database there is no guarantee that there are no
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 security problems within the MOD. No support will be given for MODs not
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 found within the MODs Database which can be found at
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 http://www.phpbb.com/mods/-->
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.1.xsd">
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 <header>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 <title lang="en-gb">Special and Normal Rank Images - Subsilver2 style</title>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 <description lang="en-gb">This MOD will show a progress bar for each user, showing how far they have progressed towards the next rank in a rank set. These instructions modify subsilver2-based templates.</description>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 <author-notes lang="en-gb"><![CDATA[The styling used by this mod is entirely arbitrary and was included as an example. You may wish to use different HTML and CSS for your template.]]></author-notes>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 <author-group>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 <author>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 <realname>IBBoard</realname>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 <email>phpbb@ibboard.co.uk</email>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 <username>IBBoard</username>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 <homepage>http://www.ibboard.co.uk</homepage>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 </author>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 </author-group>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 <link-group>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 <link type="parent" href="Install.xml" lang="en-gb">Main instructions</link>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 </link-group>
7
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
27 <mod-version>0.2.1</mod-version>
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 <installation>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 <level>intermediate</level>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 <time>180</time>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 <target-version>3.0.5</target-version>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 </installation>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 <history>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 <entry>
7
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
35 <date>2010-07-06</date>
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
36 <rev-version>0.2.1</rev-version>
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
37 <changelog lang="en-gb">
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
38 <change>Fix path for stylesheet - should be theme and not themes</change>
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
39 </changelog>
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
40 </entry>
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
41 <entry>
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 <date>2009-06-15</date>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 <rev-version>0.2</rev-version>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 <changelog lang="en-gb">
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 <change>Add initial instructions for subsilver2</change>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 </changelog>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 </entry>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 </history>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 </header>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 <action-group>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 <open src="styles/subsilver2/template/memberlist_view.html">
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 <edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 <find><![CDATA[
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 <!-- IF RANK_IMG -->
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 <tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 <td align="center">{RANK_IMG}</td>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 </tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 <!-- ENDIF -->]]></find>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 <action type="after-add"><![CDATA[
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 <!-- IF PERCENTAGE_PROGRESS_NUM > -1 -->
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 <tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 <td>{L_PROGRESS_TO_NEXT_RANK}<div class="rank_progress_bar"><span style="width:{PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{PERCENTAGE_PROGRESS}</span></div></td>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 </tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 <!-- ENDIF -->]]>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 </action>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 </edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 </open>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 <open src="styles/subsilver2/template/viewtopic_body.html">
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 <edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 <find><![CDATA[ <!-- IF postrow.RANK_IMG -->
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 <tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 <td>{postrow.RANK_IMG}</td>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 </tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 <!-- ENDIF -->]]></find>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 <action type="after-add"><![CDATA[
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 <!-- IF postrow.PERCENTAGE_PROGRESS_NUM > -1 -->
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 <tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 <td>{L_PROGRESS_TO_NEXT_RANK}<div class="rank_progress_bar"><span style="width:{postrow.PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{postrow.PERCENTAGE_PROGRESS}</span></div></td>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 </tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 <!-- ENDIF -->]]>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 </action>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 </edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 </open>
7
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
84 <open src="styles/subsilver2/theme/stylesheet.css">
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 <edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 <find><![CDATA[/* Misc
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 ------------ */]]></find>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 <action type="after-add"><![CDATA[.rank_progress_bar {
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 border: 1px solid #A9B8C2;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 margin-right: 1em;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 position: relative;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 clear:right
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 }
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 .rank_progress_bar span {
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 z-index:2;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 position:relative
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 }
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 .rank_progress_bar .bar {
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 background-color: #fff;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 border-right: 1px solid #A9B8C2;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 display:block;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 height: 100%;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 z-index:1;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 position:absolute;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 top: 0;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 left: 0
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 }]]></action>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108 </edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 </open>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 </action-group>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 </mod>