annotate subsilver2.xml @ 5:85b6a2858cd5

* Add Subsilver template code no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Wed, 17 Jun 2009 15:16:50 +0000
parents
children 6746677bb418
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>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 <mod-version>0.2</mod-version>
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>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 <date>2009-06-15</date>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 <rev-version>0.2</rev-version>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 <changelog lang="en-gb">
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 <change>Add initial instructions for subsilver2</change>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 </changelog>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 </entry>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 </history>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 </header>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 <action-group>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 <open src="styles/subsilver2/template/memberlist_view.html">
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 <edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 <find><![CDATA[
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 <!-- IF RANK_IMG -->
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 <tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 <td align="center">{RANK_IMG}</td>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 </tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 <!-- ENDIF -->]]></find>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 <action type="after-add"><![CDATA[
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 <!-- IF PERCENTAGE_PROGRESS_NUM > -1 -->
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 <tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 <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
56 </tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 <!-- ENDIF -->]]>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 </action>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 </edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 </open>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 <open src="styles/subsilver2/template/viewtopic_body.html">
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 <edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 <find><![CDATA[ <!-- IF postrow.RANK_IMG -->
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 <tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 <td>{postrow.RANK_IMG}</td>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 </tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 <!-- ENDIF -->]]></find>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 <action type="after-add"><![CDATA[
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 <!-- IF postrow.PERCENTAGE_PROGRESS_NUM > -1 -->
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 <tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 <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
72 </tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 <!-- ENDIF -->]]>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 </action>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 </edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 </open>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 <open src="styles/subsilver2/themes/stylesheet.css">
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 <edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 <find><![CDATA[/* Misc
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 ------------ */]]></find>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 <action type="after-add"><![CDATA[.rank_progress_bar {
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 border: 1px solid #A9B8C2;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 margin-right: 1em;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 position: relative;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 clear:right
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 }
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 .rank_progress_bar span {
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 z-index:2;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 position:relative
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 }
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 .rank_progress_bar .bar {
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 background-color: #fff;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 border-right: 1px solid #A9B8C2;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 display:block;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 height: 100%;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 z-index:1;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 position:absolute;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 top: 0;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 left: 0
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 }]]></action>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 </edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 </open>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 </action-group>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 </mod>