Index: trunk/extensions/Collection/Collection.templates.php |
— | — | @@ -173,11 +173,9 @@ |
174 | 174 | <a onclick="return coll_move_item(<?php echo $index . ', 1' ?>)" href="<?php echo htmlspecialchars(SkinTemplate::makeSpecialUrlSubpage('Collection', 'move_item/', 'delta=1&index=' . $index)) ?>" title="<?php $this->msg('coll-move_down') ?>"><img src="<?php echo htmlspecialchars($mediapath . "down.png") ?>" width="10" height="10" alt="<?php $this->msg('coll-move_down') ?>" /></a> |
175 | 175 | <?php } ?> |
176 | 176 | </noscript> |
177 | | - <?php if ($item['currentVersion'] == 0) { //($item['revision'] && $item['revision'] != $item['latest']) || |
178 | | - $revision = '('. htmlspecialchars(wfMsg('coll-revision', $item['revision'])) . ')'; |
| 177 | + <?php if ($item['currentVersion'] == 0) { |
179 | 178 | $url = $item['url'] . '?oldid=' . $item['revision']; |
180 | 179 | } else { |
181 | | - $revision = ''; |
182 | 180 | $url = $item['url']; |
183 | 181 | } |
184 | 182 | ?> |
— | — | @@ -187,8 +185,7 @@ |
188 | 186 | echo htmlspecialchars($item['displaytitle']); |
189 | 187 | } else { |
190 | 188 | echo htmlspecialchars($item['title']); |
191 | | - } |
192 | | - echo ' ' . $revision; ?> |
| 189 | + } ?> |
193 | 190 | </span> |
194 | 191 | </li> |
195 | 192 | <?php } else if ($item['type'] == 'chapter') { ?> |