annotate subsilver2.xml @ 18:38fb5d83f565

Fixes #5: Add decimal places to progress percentage * Remove paging from license (commit test) no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sat, 30 Oct 2010 10:45:08 +0000
parents dc3d3d0949c6
children d6ea397a5322
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/-->
8
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
9 <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 <header>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 <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
12 <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
13 <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
14 <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
15 <author-group>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 <author>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 <realname>IBBoard</realname>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 <email>phpbb@ibboard.co.uk</email>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 <username>IBBoard</username>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 <homepage>http://www.ibboard.co.uk</homepage>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 </author>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 </author-group>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 <link-group>
10
dc3d3d0949c6 * Change name to "install.xml" since the validation is now case-sensitive
IBBoard <dev@ibboard.co.uk>
parents: 8
diff changeset
24 <link type="parent" href="install.xml" lang="en-gb">Main instructions</link>
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 </link-group>
8
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
26 <mod-version>1.0</mod-version>
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 <installation>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 <level>intermediate</level>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 <time>180</time>
8
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
30 <target-version>3.0.7</target-version>
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 </installation>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 <history>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 <entry>
8
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
34 <date>2010-08-01</date>
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
35 <rev-version>1.0</rev-version>
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
36 <changelog lang="en-gb">
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
37 <change>Update to final release</change>
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
38 </changelog>
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
39 </entry>
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
40 <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
41 <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
42 <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
43 <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
44 <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
45 </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
46 </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
47 <entry>
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 <date>2009-06-15</date>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 <rev-version>0.2</rev-version>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 <changelog lang="en-gb">
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 <change>Add initial instructions for subsilver2</change>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 </changelog>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 </entry>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 </history>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 </header>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 <action-group>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 <open src="styles/subsilver2/template/memberlist_view.html">
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 <edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 <find><![CDATA[
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 <!-- IF RANK_IMG -->
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 align="center">{RANK_IMG}</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 -->]]></find>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 <action type="after-add"><![CDATA[
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 <!-- IF PERCENTAGE_PROGRESS_NUM > -1 -->
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 <tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 <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
69 </tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 <!-- ENDIF -->]]>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 </action>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 </edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 </open>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 <open src="styles/subsilver2/template/viewtopic_body.html">
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 <find><![CDATA[ <!-- IF postrow.RANK_IMG -->
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>{postrow.RANK_IMG}</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 -->]]></find>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 <action type="after-add"><![CDATA[
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 <!-- IF postrow.PERCENTAGE_PROGRESS_NUM > -1 -->
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 <tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 <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
85 </tr>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 <!-- ENDIF -->]]>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 </action>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 </edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 </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
90 <open src="styles/subsilver2/theme/stylesheet.css">
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 <edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 <find><![CDATA[/* Misc
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 ------------ */]]></find>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 <action type="after-add"><![CDATA[.rank_progress_bar {
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 border: 1px solid #A9B8C2;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 margin-right: 1em;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 position: relative;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 clear:right
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 }
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 .rank_progress_bar span {
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 z-index:2;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 position:relative
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 }
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 .rank_progress_bar .bar {
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 background-color: #fff;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 border-right: 1px solid #A9B8C2;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 display:block;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108 height: 100%;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 z-index:1;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 position:absolute;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 top: 0;
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112 left: 0
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 }]]></action>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 </edit>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
115 </open>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
116 </action-group>
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
117 </mod>