view subsilver2.xml @ 9:09596edfe65e v1.2.1

* Fix ambiguity in viewtopic.php instructions no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sat, 14 Aug 2010 13:37:04 +0000
parents 2b9634b63474
children 1b7db8283b8d
line wrap: on
line source

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the
      latest version of this MOD. Although MODs are checked before being
      allowed in the MODs Database there is no guarantee that there are no
      security problems within the MOD. No support will be given for MODs not
      found within the MODs Database which can be found at
      http://www.phpbb.com/mods/-->
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">

	<header>
		<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
		<title lang="en-gb">Special and Normal Rank Images - Subsilver2 style</title>
		<description lang="en-gb">This MOD will allow users with special ranks (e.g. Administrators) to have a normal rank image in addition to their special rank image in topics and on their profile page.</description>
		<author-notes lang="en-gb"><![CDATA[While this mod doesn't have to be installed along-side the "Multi-Race Rank Theme" mod, it is compatible with the mod and can be used to compliment it. Instructions on how to alter the Multi-Race Rank Theme mod to allow users with special ranks to choose a theme can be found in the /contrib folder.

The styling used by this mod is entirely arbitrary and was included as an example. You may wish to use different HTML in memberlist_view.html and viewtopic_body.html.]]></author-notes>
		<author-group>
			<author>
				<realname>IBBoard</realname>
				<email>phpbb@ibboard.co.uk</email>
				<username>IBBoard</username>
				<homepage>http://www.ibboard.co.uk</homepage>
			</author>
		</author-group>
		<link-group>
			<link type="parent" href="install.xml" lang="en-gb">Main instructions</link>
		</link-group>
		<mod-version>1.2.0</mod-version>
		<installation>
			<level>intermediate</level>
			<time>180</time>
			<target-version>3.0.7</target-version>
		</installation>
		<history>
			<entry>
				<date>2010-08-01</date>
				<rev-version>1.2.0</rev-version>
				<changelog lang="en-gb">
					<change>Update version number and other minor fixes for release</change>
				</changelog>
			</entry>
			<entry>
				<date>2009-06-15</date>
				<rev-version>1.1.0</rev-version>
				<changelog lang="en-gb">
					<change>No code changes - update for release as part of v1.1.0</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-11-09</date>
				<rev-version>1.0.0</rev-version>
				<changelog lang="en-gb">
					<change>No code changes - update for release in MODX 1.2.1 format</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-04-28</date>
				<rev-version>0.1.0</rev-version>
				<changelog lang="en-gb">
					<change>Change: Separate out subsilver instructions to templates/subsilver2.xml</change>
				</changelog>
			</entry>
		</history>
	</header>
	<action-group>
		<open src="styles/subsilver2/template/memberlist_view.html">
			<edit>
				<find><![CDATA[
			<!-- IF RANK_IMG -->
				<tr>
					<td align="center">{RANK_IMG}</td>
				</tr>
			<!-- ENDIF -->]]></find>
				<action type="after-add"><![CDATA[
			<!-- IF EXTRA_RANK_TITLE -->
				<tr>
					<td class="postdetails" align="center">{EXTRA_RANK_TITLE}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF EXTRA_RANK_IMG -->
				<tr>
					<td align="center">{EXTRA_RANK_IMG}</td>
				</tr>
			<!-- ENDIF -->]]>
				</action>
			</edit>
		</open>
		<open src="styles/subsilver2/template/viewtopic_body.html">
			<edit>
				<find><![CDATA[			<!-- IF postrow.RANK_IMG -->
				<tr>
					<td>{postrow.RANK_IMG}</td>
				</tr>
			<!-- ENDIF -->]]></find>
				<action type="after-add"><![CDATA[
			<!-- IF postrow.EXTRA_RANK_TITLE -->
				<tr>
					<td class="postdetails">{postrow.EXTRA_RANK_TITLE}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF postrow.EXTRA_RANK_IMG -->
				<tr>
					<td>{postrow.EXTRA_RANK_IMG}</td>
				</tr>
			<!-- ENDIF -->]]>
				</action>
			</edit>
		</open>
	</action-group>
</mod>