view subsilver2.xml @ 6:32d34a968f32 1.2-updates

Re #3: Fix minor suggestions * Update version number in subsilver2.xml * Replace empty IF and ELSE with IF NOT Re #2: Fix rejection issues * Correct paths to copy files from
author IBBoard <dev@ibboard.co.uk>
date Tue, 23 Jun 2009 18:46:22 +0000
parents d5536d233ec1
children
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.2.xsd">

	<header>
		<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
		<title lang="en-gb">Multi-race rank themes - Subsilver template modifications</title>
		<description lang="en-gb">This MOD will allow you to add, modify and remove rank themes.

Rank themes are selectable collections of ranks that users can choose to use, allowing RPG forums to have different 'races' or allowing 'normal' forums to provide an set of alternative icon images for their users.</description>
		<author-group>
			<author>
				<realname>IBBoard</realname>
				<email>phpbb@ibboard.co.uk</email>
				<username>IBBoard</username>
				<homepage>http://www.ibboard.co.uk</homepage>
				<contributions />
			</author>
		</author-group>
		<link-group>
			<link type="parent" href="Install.xml" lang="en-gb">Main instructions</link>
		</link-group>
		<mod-version>1.2.5</mod-version>
		<installation>
			<level>intermediate</level>
			<time>180</time>
			<target-version>3.0.5</target-version>
		</installation>
		<history>
			<entry>
				<date>2009-06-23</date>
				<rev-version>1.2.5</rev-version>
				<changelog lang="en-gb">
					<change>Bump version number to match core instructions</change>
					<change>Remove authors notes, as they just duplicate the main document's notes</change>
				</changelog>
			</entry>
			<entry>
				<date>2009-05-10</date>
				<rev-version>1.2.3</rev-version>
				<changelog lang="en-gb">
					<change>Fix: Update to latest MODX format</change>
					<change>Fix: Update version number to be in line with main MOD</change>
					<change>Fix: Remove apology from author notes as the formatting of the new MODX styling is no longer broken for author notes</change>
					<change>Change: Move file to root directory and update file paths accordingly</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-04-28</date>
				<rev-version>1.0.0</rev-version>
				<changelog lang="en-gb">
					<change>Fix: Separate out subsilver instructions to templates/subsilver2.xml to pass validation (no code functionality changes)</change>
				</changelog>
			</entry>
		</history>
	</header>
	<action-group>
		<copy>
			<file from="root/styles/subsilver2/template/memberlist_ranks.html" to="styles/subsilver2/template/memberlist_ranks.html" />
			<file from="root/styles/subsilver2/themes/images/icon_ranks.gif" to="styles/subsilver2/themes/images/icon_ranks.gif" />
		</copy>
		<open src="styles/subsilver2/template/overall_header.html">
			<edit>
				<find><![CDATA[				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST -->]]></find>
				<action type="before-add"><![CDATA[				&nbsp; &nbsp;<a href="{U_RANKS}"><img src="{T_THEME_PATH}/images/icon_ranks.gif" width="12" height="13" alt="*" /> {L_RANKS}</a>]]></action>
			</edit>
		</open>
		<open src="styles/subsilver2/template/ucp_profile_profile_info.html">
			<edit>
				<find><![CDATA[<!-- INCLUDE ucp_header.html -->]]></find>
				<action type="after-add"><![CDATA[<!-- not IF S_RANK_THEME_OPTIONS -->
<input type="hidden" name="rank_theme" value="{RANK_THEME}" />
<!-- ENDIF -->]]></action>
			</edit>
			<edit>
				<find><![CDATA[<tr>
	<td class="row1" colspan="2"><span class="gensmall">{L_PROFILE_INFO_NOTICE}</span></td>
</tr>]]></find>
				<action type="after-add"><![CDATA[
<!-- IF S_RANK_THEME_OPTIONS -->
<tr>
	<td class="row1" width="35%"><b class="genmed">{L_UCP_RANK_THEME}: </b></td>
	<td class="row2"><select name="rank_theme">{S_RANK_THEME_OPTIONS}</select></td>
</tr>
<!-- ENDIF -->]]></action>
			</edit>
		</open>
		<open src="styles/subsilver2/template/ucp_register.html">
			<edit>
				<find><![CDATA[<tr>
	<td class="row1"><b class="genmed">{L_TIMEZONE}: </b></td>
	<td class="row2"><select name="tz">{S_TZ_OPTIONS}</select></td>
</tr>]]></find>
				<action type="after-add"><![CDATA[
<!-- IF S_RANK_THEME_OPTIONS -->
<tr>
	<td class="row1"><b class="genmed">{L_UCP_RANK_THEME}: </b></td>
	<td class="row2"><select name="rank_theme">{S_RANK_THEME_OPTIONS}</select></td>
</tr>
<!-- ENDIF -->]]></action>
			</edit>
		</open>
	</action-group>
</mod>