<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="./xsl/modx.prosilver.en.xsl"?>
<!--
	NOTICE: Please open this file in your web browser. If presented with a security warning, you may safely tell it to allow the blocked content.
-->
<!--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">Prime Links Supplement: User Website Links</title>
		<description lang="en">Applies a target to user website links so that they may open in a new browser window. The target is defined by EXTERNAL_LINK_TARGET in the "includes/prime_links.php" file. These instructions are required only if you want this functionality.</description>
		<author-notes lang="en">These instructions are required only if you want this functionality.</author-notes>
		<author-group>
			<author>
				<realname>Ken F. Innes IV</realname>
				<email>primehalo@gmail.com</email>
				<username>primehalo</username>
				<homepage><![CDATA[http://www.absoluteanime.com/admin/mods.htm#links]]></homepage>
			</author>
		</author-group>
		<mod-version>1.0.0</mod-version>
		<installation>
			<level>easy</level>
			<time>120</time>
			<target-version>3.0.10</target-version>
		</installation>
		<history>
		</history>
		<link-group>
			<link type="parent" href="../install.xml" lang="en">Main Install File</link>
			<link type="template" href="./install user website links (subsilver2).xml" lang="en">subsilver2</link>
		</link-group>
	</header>
	<action-group>
		<open src="includes/functions_display.php">
			<edit>
				<find><![CDATA[	if (empty($ranks))]]></find>
				<action type="before-add"><![CDATA[//-- mod: Prime Links -------------------------------------------------------//
	if (!function_exists('prime_links'))
	{
		global $phpEx;
		include($phpbb_root_path . 'includes/prime_links.' . $phpEx);
	}
	prime_links();
//-- end: Prime Links -------------------------------------------------------//
]]></action>
			</edit>
		</open>

		<open src="styles/prosilver/template/memberlist_body.html">
			<edit>
				<find><![CDATA[href="{memberrow.U_WWW}"]]></find>
				<inline-edit>
					<inline-find><![CDATA[href="{memberrow.U_WWW}"]]></inline-find>
					<inline-action type="after-add">{EXTERNAL_LINK_ATTRIBUTES}</inline-action>
				</inline-edit>
			</edit>
		</open>

		<open src="styles/prosilver/template/memberlist_view.html">
			<edit>
				<find><![CDATA[href="{U_WWW}"]]></find>
				<inline-edit>
					<inline-find><![CDATA[href="{U_WWW}"]]></inline-find>
					<inline-action type="after-add">{EXTERNAL_LINK_ATTRIBUTES}</inline-action>
				</inline-edit>
			</edit>
		</open>

		<open src="styles/prosilver/template/ucp_pm_viewmessage.html">
			<edit>
				<find><![CDATA[href="{U_WWW}"]]></find>
				<inline-edit>
					<inline-find><![CDATA[href="{U_WWW}"]]></inline-find>
					<inline-action type="after-add">{EXTERNAL_LINK_ATTRIBUTES}</inline-action>
				</inline-edit>
			</edit>
		</open>

		<open src="styles/prosilver/template/viewtopic_body.html">
			<edit>
				<find><![CDATA[href="{postrow.U_WWW}"]]></find>
				<inline-edit>
					<inline-find><![CDATA[href="{postrow.U_WWW}"]]></inline-find>
					<inline-action type="after-add">{EXTERNAL_LINK_ATTRIBUTES}</inline-action>
				</inline-edit>
			</edit>
		</open>
	</action-group>
</mod>

