<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="caticons" active="1">
	<title>vB Category Icons</title>
	<description>This will allow you to setup a icon to display by the title of each forum you have. The look of the icon depends on how you want to set it up in the templates. This will work for all levels of sub-forums.</description>
	<version>1.0.1</version>
	<url />
	<versioncheckurl />
	<dependencies>
	</dependencies>
	<codes>
		<code version="1.0.1">
			<installcode><![CDATA[$db->hide_errors();
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD (forumhomeicon VARCHAR(250) NOT NULL DEFAULT '')");
$db->show_errors();
]]></installcode>
			<uninstallcode><![CDATA[$db->hide_errors();
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum DROP (forumhomeicon)");
$db->show_errors();
]]></uninstallcode>
		</code>
	</codes>
	<templates>
	</templates>
	<plugins>
		<plugin active="1" executionorder="5">
			<title>forum option</title>
			<hookname>forumadmin_edit_form</hookname>
			<phpcode><![CDATA[print_input_row($vbphrase['forum_home_icon'], 'forum[forumhomeicon]', $forum['forumhomeicon']);]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>Valid Field</title>
			<hookname>forumdata_start</hookname>
			<phpcode><![CDATA[$this->validfields['forumhomeicon'] = array(TYPE_STR, REQ_NO);]]></phpcode>
		</plugin>
	</plugins>
	<phrases>
		<phrasetype name="Forum-Related" fieldname="forum">
			<phrase name="forum_home_icon" date="0" username="" version=""><![CDATA[أيقونة المجلس <dfn> إستخدم الكود التالي:</dfn><dfn> &lt;img src=&quot;http://url.com/image.gif&quot;&gt;</dfn>]]></phrase>
		</phrasetype>
	</phrases>
	<options>
	</options>
	<helptopics>
	</helptopics>
	<cronentries>
	</cronentries>
	<faqentries>
	</faqentries>
</product>
