Mercurial > repos > phpBB-MODs > User_Rank_Progression_Bar
annotate install.xml @ 17:bafc9d43b838
Fixes #5: Add decimal places to progress percentage
* Clean up last line (commit test)
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 30 Oct 2010 10:32:18 +0000 |
parents | 2ed5aeb5da9d |
children | d6ea397a5322 |
rev | line source |
---|---|
0 | 1 <?xml version="1.0" encoding="utf-8" standalone="yes"?> |
2 <?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?> | |
3 <!--For security purposes, please check: http://www.phpbb.com/mods/ for the | |
4 latest version of this MOD. Although MODs are checked before being | |
5 allowed in the MODs Database there is no guarantee that there are no | |
6 security problems within the MOD. No support will be given for MODs not | |
7 found within the MODs Database which can be found at | |
8 http://www.phpbb.com/mods/--> | |
8 | 9 <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd"> |
0 | 10 <header> |
11 <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> | |
12 <title lang="en-gb">User Rank Progression Bar</title> | |
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.</description> | |
14 <author-notes lang="en-gb"><![CDATA[This mod behaves in the same way as Smix's Rank Progress Bar mod, but has been rewritten for efficiency, additional features and compatibility with other mods. Thanks to Smix for writing the original and to youngjediknight for first pointing me to it. | |
15 | |
5 | 16 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. If you don't want the progress bar to appear in all of the locations below (e.g. you just want it in a topic but not in PMs, profile view or members list) then just ignore the changes to the relevant template (.html) file. |
0 | 17 |
18 Note: If you are also installing my "Multi-Race Rank Themes" MOD then install the other mod first and then this mod. Because the additional parameter to the get_user_rank function is optional for the Multi-Race Rank Themes mod it must be the last parameter in the list.]]></author-notes> | |
19 <author-group> | |
20 <author> | |
21 <realname>IBBoard</realname> | |
22 <email>phpbb@ibboard.co.uk</email> | |
23 <username>IBBoard</username> | |
24 <homepage>http://www.ibboard.co.uk</homepage> | |
25 </author> | |
26 </author-group> | |
27 <link-group> | |
5 | 28 <link type="template" href="subsilver2.xml" lang="en-gb">subsilver2</link> |
0 | 29 <link type="contrib" href="contrib/SpecialAndNormalRanksIntegration.xml" lang="en-gb">Special and Normal Ranks MOD integration</link> |
30 </link-group> | |
14
ac5f890f0779
Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
31 <mod-version>1.0.2</mod-version> |
0 | 32 <installation> |
33 <level>intermediate</level> | |
34 <time>600</time> | |
8 | 35 <target-version>3.0.7</target-version> |
0 | 36 </installation> |
37 <history> | |
38 <entry> | |
14
ac5f890f0779
Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
39 <date>2010-10-30</date> |
ac5f890f0779
Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
40 <rev-version>1.0.2</rev-version> |
ac5f890f0779
Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
41 <changelog lang="en-gb"> |
ac5f890f0779
Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
42 <change>Change: Add fractions of a percent, as suggested by the phpBB team (1 decimal place)</change> |
ac5f890f0779
Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
43 </changelog> |
ac5f890f0779
Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
44 </entry> |
ac5f890f0779
Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
45 <entry> |
12
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
46 <date>2010-10-03</date> |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
47 <rev-version>1.0.1</rev-version> |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
48 <changelog lang="en-gb"> |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
49 <change>Fix: Add default value for percentage complete in get_user_rank so that we are more compatible with other MODs</change> |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
50 <change>Fix: Change order of find in viewtopic.php to fix AutoMOD</change> |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
51 </changelog> |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
52 </entry> |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
53 <entry> |
8 | 54 <date>2010-08-01</date> |
55 <rev-version>1.0</rev-version> | |
56 <changelog lang="en-gb"> | |
57 <change>Update to final release</change> | |
9
f03602dafdf4
* Update one find instruction to match latest phpBB
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
58 <change>Fix: Switch two instructions to correct ordering of code changes in viewtopic.php</change> |
8 | 59 </changelog> |
60 </entry> | |
61 <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:
6
diff
changeset
|
62 <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:
6
diff
changeset
|
63 <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:
6
diff
changeset
|
64 <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:
6
diff
changeset
|
65 <change>Fix additional SubSilver instructions</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:
6
diff
changeset
|
66 </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:
6
diff
changeset
|
67 </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:
6
diff
changeset
|
68 <entry> |
1 | 69 <date>2009-06-15</date> |
70 <rev-version>0.2</rev-version> | |
71 <changelog lang="en-gb"> | |
72 <change>Add: Add templating for Memberlist, profiles and PMs</change> | |
5 | 73 <change>Add: Add subsilver2 stylings</change> |
1 | 74 <change>Fix: Add missing lang value</change> |
75 <change>Fix: Add extra checks to progress calculation to handle pre-existing values and the final rank in a scheme</change> | |
76 </changelog> | |
77 </entry> | |
78 <entry> | |
0 | 79 <date>2009-06-03</date> |
80 <rev-version>0.1</rev-version> | |
81 <changelog lang="en-gb"> | |
82 <change>Initial release - just puts progress bar on viewtopic page</change> | |
83 </changelog> | |
84 </entry> | |
85 </history> | |
86 </header> | |
87 <action-group> | |
88 <open src="includes/functions_display.php"> | |
89 <edit> | |
90 <find><![CDATA[* @param string &$rank_img_src the rank image source is stored here after execution]]></find> | |
91 <action type="after-add"><![CDATA[* @param int &$percent_complete the percentage of the way a user is to the next rank, where -1 means "not applicable"]]></action> | |
92 </edit> | |
93 <edit> | |
94 <find><![CDATA[function get_user_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src)]]></find> | |
95 <inline-edit> | |
96 <inline-find>, &$rank_img_src</inline-find> | |
12
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
97 <inline-action type="after-add">, &$percent_complete = 0</inline-action> |
0 | 98 </inline-edit> |
99 </edit> | |
100 <edit> | |
101 <find><![CDATA[ if (!empty($user_rank))]]></find> | |
1 | 102 <action type="before-add"><![CDATA[ if (!is_int($percent_complete) || $percent_complete < 0 || $percent_complete > 100) |
0 | 103 { |
104 $percent_complete = -1; | |
105 }]]></action> | |
106 </edit> | |
107 <edit> | |
108 <find><![CDATA[ else if ($user_posts !== false) | |
109 {]]></find> | |
110 <action type="after-add"><![CDATA[ $next_rank_post_count = -1;]]></action> | |
111 </edit> | |
112 <edit> | |
113 <find><![CDATA[ if ($user_posts >= $rank['rank_min'])]]></find> | |
114 <action type="before-add"><![CDATA[ if ($user_posts < $rank['rank_min']) | |
115 { | |
116 $next_rank_post_count = $rank['rank_min']; | |
117 } | |
118 else | |
119 ]]> | |
120 </action> | |
121 </edit> | |
122 <edit> | |
123 <find><![CDATA[ $rank_title = $rank['rank_title'];]]></find> | |
1 | 124 <action type="before-add"><![CDATA[ if ($percent_complete == -1 && $next_rank_post_count > -1) |
0 | 125 { |
126 $rank_difference = $next_rank_post_count - $rank['rank_min']; | |
127 $user_progress = $user_posts - $rank['rank_min']; | |
14
ac5f890f0779
Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
128 $percent_complete = round(($user_progress / $rank_difference) * 100, 1); |
0 | 129 } |
130 ]]> | |
131 </action> | |
132 </edit> | |
133 </open> | |
134 <open src="includes/ucp/ucp_pm_viewmessage.php"> | |
135 <edit> | |
2 | 136 <find><![CDATA[ 'RANK_IMG' => $user_info['rank_image'],]]></find> |
3 | 137 <action type="after-add"><![CDATA[ |
138 'PERCENTAGE_PROGRESS_NUM' => $user_info['percentage_progress'], | |
139 'PERCENTAGE_PROGRESS' => sprintf($user->lang['PERCENTAGE_PROGRESS'], $user_info['percentage_progress']),]]></action> | |
2 | 140 </edit> |
141 <edit> | |
0 | 142 <find><![CDATA[get_user_rank($user_row['user_rank'], $user_row['user_posts'], $user_row['rank_title'], $user_row['rank_image'], $user_row['rank_image_src']);]]></find> |
143 <inline-edit> | |
144 <inline-find>, $user_row['rank_image_src']</inline-find> | |
145 <inline-action type="after-add">, $user_row['percentage_progress']</inline-action> | |
146 </inline-edit> | |
147 </edit> | |
148 </open> | |
149 <open src="language/en/common.php"> | |
150 <edit> | |
151 <find><![CDATA[?>]]></find> | |
152 <action type="before-add"><![CDATA[$lang = array_merge($lang, array( | |
1 | 153 'PERCENTAGE_PROGRESS' => '%s%%', |
154 'PROGRESS_TO_NEXT_RANK' => 'Progress to next rank:' | |
0 | 155 )); |
156 ]]></action> | |
157 </edit> | |
158 </open> | |
159 <open src="memberlist.php"> | |
160 <edit> | |
9
f03602dafdf4
* Update one find instruction to match latest phpBB
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
161 <find><![CDATA[ get_user_rank($row['user_rank'], (($row['user_id'] == ANONYMOUS) ? false : $row['user_posts']), $rank_title, $rank_img, $rank_img_src);]]></find> |
0 | 162 <inline-edit> |
163 <inline-find>$rank_img_src</inline-find> | |
164 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action> | |
165 </inline-edit> | |
166 </edit> | |
167 <edit> | |
9
f03602dafdf4
* Update one find instruction to match latest phpBB
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
168 <find><![CDATA[ get_user_rank($data['user_rank'], (($user_id == ANONYMOUS) ? false : $data['user_posts']), $rank_title, $rank_img, $rank_img_src);]]></find> |
0 | 169 <inline-edit> |
170 <inline-find>$rank_img_src</inline-find> | |
171 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action> | |
172 </inline-edit> | |
173 </edit> | |
1 | 174 <edit> |
175 <find><![CDATA[ 'RANK_IMG_SRC' => $rank_img_src,]]></find> | |
176 <action type="after-add"><![CDATA[ 'PERCENTAGE_PROGRESS_NUM' => $percentage_progress, | |
177 'PERCENTAGE_PROGRESS' => sprintf($user->lang['PERCENTAGE_PROGRESS'], $percentage_progress),]]></action> | |
178 </edit> | |
179 </open> | |
180 <open src="styles/prosilver/template/memberlist_body.html"> | |
181 <edit> | |
182 <find><![CDATA[<!-- IF memberrow.RANK_IMG --><span class="rank-img">{memberrow.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{memberrow.RANK_TITLE}</span><!-- ENDIF -->]]></find> | |
6 | 183 <inline-edit> |
1 | 184 <inline-find><![CDATA[<!-- ENDIF -->]]></inline-find> |
6 | 185 <inline-action type="after-add"><![CDATA[<!-- IF memberrow.PERCENTAGE_PROGRESS_NUM > -1 --><div class="rank_progress_bar" title="{L_PROGRESS_TO_NEXT_RANK}"><span style="width:{memberrow.PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{memberrow.PERCENTAGE_PROGRESS}</span></div><!-- ENDIF -->]]></inline-action> |
186 </inline-edit> | |
1 | 187 </edit> |
0 | 188 </open> |
2 | 189 <open src="styles/prosilver/template/memberlist_view.html"> |
190 <edit> | |
191 <find><![CDATA[<!-- IF RANK_IMG --><dd style="text-align: center;">{RANK_IMG}</dd><!-- ENDIF -->]]></find> | |
192 <action type="after-add"><![CDATA[<!-- IF PERCENTAGE_PROGRESS_NUM > -1 --><dd>{L_PROGRESS_TO_NEXT_RANK}<div class="rank_progress_bar"><span style="width:{PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{PERCENTAGE_PROGRESS}</span></div></dd><!-- ENDIF -->]]></action> | |
193 </edit> | |
194 <edit> | |
195 <find><![CDATA[<!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE --> <!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt> <dd>{RANK_IMG}</dd><!-- ENDIF -->]]></find> | |
196 <action type="after-add"><![CDATA[<!-- IF PERCENTAGE_PROGRESS_NUM > -1 --><dt>{L_PROGRESS_TO_NEXT_RANK}</dt><dd><div class="rank_progress_bar"><span style="width:{PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{PERCENTAGE_PROGRESS}</span></div></dd><!-- ENDIF -->]]></action> | |
197 </edit> | |
198 </open> | |
199 <open src="styles/prosilver/template/ucp_pm_viewmessage.html"> | |
200 <edit> | |
201 <find><![CDATA[ <!-- IF RANK_IMG --><dd>{RANK_IMG}</dd><!-- ENDIF -->]]></find> | |
202 <action type="after-add"><![CDATA[ <!-- IF PERCENTAGE_PROGRESS_NUM > -1 --><dd>{L_PROGRESS_TO_NEXT_RANK}<div class="rank_progress_bar"><span style="width:{PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{PERCENTAGE_PROGRESS}</span></div></dd><!-- ENDIF -->]]></action> | |
203 </edit> | |
204 </open> | |
0 | 205 <open src="styles/prosilver/template/viewtopic_body.html"> |
206 <edit> | |
207 <find><![CDATA[ <!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->]]></find> | |
208 <action type="after-add"><![CDATA[ <!-- IF postrow.PERCENTAGE_PROGRESS_NUM > -1 --><dd>{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></dd><!-- ENDIF -->]]> | |
209 </action> | |
210 </edit> | |
211 </open> | |
11 | 212 <open src="styles/prosilver/theme/common.css"> |
0 | 213 <edit> |
214 <find><![CDATA[.clear {]]></find> | |
1 | 215 <action type="before-add"><![CDATA[.rank_progress_bar { |
216 border: 1px solid #b4bac0; | |
217 margin-right: 1em; | |
218 position: relative; | |
219 clear:right | |
220 } | |
221 .rank_progress_bar span { | |
222 z-index:2; | |
223 position:relative | |
224 } | |
225 .rank_progress_bar .bar { | |
226 background-color: #fff; | |
227 border-right: 1px solid #b4bac0; | |
228 display:block; | |
229 height: 100%; | |
230 z-index:1; | |
231 position:absolute; | |
232 top: 0; | |
233 left: 0 | |
234 }]]></action> | |
0 | 235 </edit> |
236 </open> | |
237 <open src="viewtopic.php"> | |
238 <edit> | |
12
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
239 <find><![CDATA[ if ($poster_id == ANONYMOUS) |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
240 { |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
241 $user_cache[$poster_id] = array(]]></find> |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
242 <action type="after-add"><![CDATA[ |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
243 'percentage_progress' => -1,]]></action> |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
244 </edit> |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
245 <edit> |
0 | 246 <find><![CDATA[get_user_rank($row['user_rank'], false, $user_cache[$poster_id]['rank_title'], $user_cache[$poster_id]['rank_image'], $user_cache[$poster_id]['rank_image_src']);]]></find> |
247 <inline-edit> | |
248 <inline-find>$user_cache[$poster_id]['rank_image_src']</inline-find> | |
249 <inline-action type="after-add"><![CDATA[, $user_cache[$poster_id]['percentage_progress']]]></inline-action> | |
250 </inline-edit> | |
9
f03602dafdf4
* Update one find instruction to match latest phpBB
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
251 </edit> |
f03602dafdf4
* Update one find instruction to match latest phpBB
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
252 <edit> |
12
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
253 <find><![CDATA[ $id_cache[] = $poster_id; |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
254 |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
255 $user_cache[$poster_id] = array(]]></find> |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
256 <action type="after-add"><![CDATA[ |
9
f03602dafdf4
* Update one find instruction to match latest phpBB
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
257 'percentage_progress' => -1,]]></action> |
12
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
258 </edit> |
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
259 <edit> |
0 | 260 <find><![CDATA[get_user_rank($row['user_rank'], $row['user_posts'], $user_cache[$poster_id]['rank_title'], $user_cache[$poster_id]['rank_image'], $user_cache[$poster_id]['rank_image_src']);]]></find> |
261 <inline-edit> | |
262 <inline-find>$user_cache[$poster_id]['rank_image_src']</inline-find> | |
263 <inline-action type="after-add"><![CDATA[, $user_cache[$poster_id]['percentage_progress']]]></inline-action> | |
264 </inline-edit> | |
265 </edit> | |
266 <edit> | |
267 <find><![CDATA[ 'RANK_IMG_SRC' => $user_cache[$poster_id]['rank_image_src'],]]></find> | |
268 <action type="after-add"><![CDATA[ | |
269 'PERCENTAGE_PROGRESS_NUM' => $user_cache[$poster_id]['percentage_progress'], | |
270 'PERCENTAGE_PROGRESS' => sprintf($user->lang['PERCENTAGE_PROGRESS'], $user_cache[$poster_id]['percentage_progress']),]]></action> | |
271 </edit> | |
272 </open> | |
273 </action-group> | |
15
2ed5aeb5da9d
Fixes #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents:
14
diff
changeset
|
274 </mod> |