<?xml version="1.0" encoding="utf-8"?>
<plugin version="1.0">
  <title>ZenPhoto Plugin</title>
  <title xml:lang="ko">ZenPhoto 플러그인</title>
  <title xml:lang="zh-TW">ZenPhoto插件</title>
  <title xml:lang="zh-CN">ZenPhoto插件</title>
  <version>1.0</version>
  <description>Random displayed in ZenPhoto Sidebar. (Must be compatible with the use of ZenPhoto gallery with tc_random.php)，For further information, please refer to : http://fall-leaf.net/blog/root/entry/TC-Plugin-ZenPhoto</description>
  <description xml:lang="ko">사이드바에 ZenPhoto를 무작위로 표시해 줍니다. (반드시 tc_random.php의 ZenPhoto 갤러리와 같이 사용해야 합니다.) 자세한 정보는 http://fall-leaf.net/blog/root/entry/TC-Plugin-ZenPhoto 를 참고해 주세요.</description>
  <description xml:lang="zh-TW">隨機顯示 ZenPhoto 於側欄。 (須配合 ZenPhoto 相簿與tc_random.php使用)，詳情請參考 :  http://fall-leaf.net/blog/root/entry/TC-Plugin-ZenPhoto</description>
  <description xml:lang="zh-CN">随机显示 ZenPhoto 于侧栏。 (须配合 ZenPhoto 相簿与tc_random.php使用)，详情请参考 :  http://fall-leaf.net/blog/root/entry/TC-Plugin-ZenPhoto</description>
  <license>GPL</license>
  <link>http://fall-leaf.net/blog/root/entry/TC-Plugin-ZenPhoto</link>
  <author link="http://fall-leaf.net/blog/root/entry/TC-Plugin-ZenPhoto">Fall-Leaf.Net</author>
  <safety changeData="no" exposeData="no" accessLocal="no" accessRemote="no" accessRaw="no" />
  <requirements>
    <textcube>1.7</textcube>
  </requirements>
  <binding>
  	<tag name="SKIN_head_end" handler="getZenPhotoStyle" />
    <sidebar title="Sidebar ZenPhoto" handler="showZenPhoto" />
    <config dataValHandler="showZenPhoto_DataSet" >
    <window width="500" height="525" />
    	<fieldset legend="Basic settings">
			<field title="tc_random.php Full address :" name="szp_url" type="text" size="50" value="">
				<caption><![CDATA[
				<font color=red><b>*This is a required field, if there is no role left blank.</b></font>
				<ul>
					<li>Please enter a full address tc_random.php.</li>
					<li>example: http://yourgallery.com/zenphoto/zp-core/tc_random.php</li>
				</ul>
				]]></caption>
			</field>
    	</fieldset>
		<fieldset legend="Display parameters">
			<field title="Title text" name="szp_title" type="text" size="50" value="Gallery">
				<caption><![CDATA[- Set the title text, blank said did not show the title.]]></caption>
			</field>
			<field title="Display amount" name="szp_num" type="text" size="2" value="10" titledirection="bk">
				<caption><![CDATA[- To show that the amount of adjustments to make in accordance with the SKIN.]]></caption>
			</field>
		</fieldset>
		<fieldset legend="Advanced settings">
			<field title="Designated album :" name="szp_album" type="text" size="20" value="">
				<caption><![CDATA[
				<ul>
					<li>Enter this field was randomly assigned to read under the photo album picture. (Make sure the album name)</li>
					<li>If the column blank, then all the albums random read.</li>
				</ul>
				]]></caption>
			</field>
		</fieldset>		
		<fieldset legend="Style settings">
			<field title="Width :" name="szp_width" type="text" size="4" value="32">
				<caption><![CDATA[- Show thumbnail width. default: 32]]></caption>
			</field>
			<field title="Height :" name="szp_height" type="text" size="4" value="32">
				<caption><![CDATA[- Show thumbnail height. default: 32]]></caption>
			</field>
			<field title="Border color :" name="szp_color" type="text" size="7" value="#555555">
				<caption><![CDATA[
				<ul>
					<li>Display thumbnail border color, This should be a 6 character hex color value with the # prefix.</li>
					<li>default: #555555</li>
				</ul>
				]]></caption>
			</field>
			<field title="Frame spacing :" name="szp_margin" type="text" size="20" value="0px 2px 2px 0px">
				<caption><![CDATA[
				<ul>
					<li>Show the thumbnail frame spacing, type contains the value of px spacing.(top right bottom left)</li>
					<li>default: 0px 2px 2px 0px</li>
				</ul>
				]]></caption>
			</field>
		</fieldset>
		<fieldset legend="Preview settings">
			<field title=" : Open Preview" name="szp_preview" type="radio" titledirection="bk">
				<op value="1">ON</op>
				<op value="2" checked="checked">OFF</op>
			  <caption><![CDATA[- Whether the next display thumbnail preview picture. default: OFF]]></caption>
			</field>
			<field title="Preview image magnification :" name="szp_multiple" type="text" size="2" value="0">
				<caption><![CDATA[
				<ul>
					<li>Preview image magnification settings. (PS:Not too big, will have an impact on the speed to open)</li>
					<li>Set a value of 0 indicated that he did not enlarge. default: 0</li>
					<li>When the preview to close when no role in this column.</li>
				</ul>
				]]></caption>
			</field>
		</fieldset>
	</config>
	<config xml:lang="ko" dataValHandler="showZenPhoto_DataSet" >
    <window width="500" height="525" />
    	<fieldset legend="기본 설정">
			<field title="tc_random.php의 전체 주소 :" name="szp_url" type="text" size="50" value="">
				<caption><![CDATA[
				<font color=red><b>*반드시 적어야 하는 칸입니다. 빈칸으로 둘 경우 작동하지 않습니다.</b></font>
				<ul>
					<li>tc_random.php의 전체 경로를 적어주세요</li>
					<li>예: http://yourgallery.com/zenphoto/zp-core/tc_random.php</li>
				</ul>
				]]></caption>
			</field>
    	</fieldset>
		<fieldset legend="화면 표시 설정">
			<field title="제목 글" name="szp_title" type="text" size="50" value="Gallery">
				<caption><![CDATA[- 제목으로 표시될 글을 설정합니다. 빈칸으로 두면 제목을 표시하지 않습니다.]]></caption>
			</field>
			<field title="개 표시" name="szp_num" type="text" size="2" value="10" titledirection="bk">
				<caption><![CDATA[- 스킨에 맞는 수치를 조절하여 보여줍니다.]]></caption>
			</field>
		</fieldset>
		<fieldset legend="고급 설정">
			<field title="앨범 지정 :" name="szp_album" type="text" size="20" value="">
				<caption><![CDATA[
				<ul>
					<li>이 란을 입력하면 지정된 앨범에서만 사진을 읽습니다. (앨범이름이 정확히 입력되어야 합니다.)</li>
					<li>비워두면 모든 앨범에서 무작위로 읽습니다.</li>
				</ul>
				]]></caption>
			</field>
		</fieldset>		
		<fieldset legend="모양새 설정">
			<field title="가로 :" name="szp_width" type="text" size="4" value="32">
				<caption><![CDATA[- 썸네일의 가로길이를 설정합니다. 기본값: 32]]></caption>
			</field>
			<field title="세로 :" name="szp_height" type="text" size="4" value="32">
				<caption><![CDATA[- 썸네일의 세로길이를 설정합니다. 기본값: 32]]></caption>
			</field>
			<field title="테두리 색 :" name="szp_color" type="text" size="7" value="#555555">
				<caption><![CDATA[
				<ul>
					<li>썸네일 테두리의 색을 정합니다. #과 함께 6자리의 HEX값을 입력합니다.</li>
					<li>기본값: #555555</li>
				</ul>
				]]></caption>
			</field>
			<field title="틀 여백 :" name="szp_margin" type="text" size="20" value="0px 2px 2px 0px">
				<caption><![CDATA[
				<ul>
					<li>틀 여백을 표시합니다. 픽셀값으로 표시합니다.(위↑ 오른쪽→ 아래↓ 왼쪽←)</li>
					<li>기본값: 0px 2px 2px 0px</li>
				</ul>
				]]></caption>
			</field>
		</fieldset>
		<fieldset legend="미리보기 설정">
			<field title=" : 미리보기 열기" name="szp_preview" type="radio" titledirection="bk">
				<op value="1">사용</op>
				<op value="2" checked="checked">사용안함</op>
			  <caption><![CDATA[- 다음에 표시될 썸네일의 미리보기를 표시할지 정합니다. 기본값: 사용안함]]></caption>
			</field>
			<field title="미리보기 이미지 배율 :" name="szp_multiple" type="text" size="2" value="0">
				<caption><![CDATA[
				<ul>
					<li>미리보기 이미지의 배율을 설정합니다. (※ 너무 큰 값은 속도가 느려 질 수 있습니다.)</li>
					<li>값을 0으로 설정하면 확대하지 않고 표시합니다. 기본값: 0</li>
					<li>미리보기를 비활성화 하면 이 설정은 아무런 효과가 없습니다.</li>
				</ul>
				]]></caption>
			</field>
		</fieldset>
	</config>
    <config xml:lang="zh-TW" dataValHandler="showZenPhoto_DataSet" >
    <window width="500" height="525" />
    	<fieldset legend="基本設定">
			<field title="tc_random.php完整位置 :" name="szp_url" type="text" size="50" value="">
				<caption><![CDATA[
				<font color=red><b>*此為必填欄位，如留空白則無作用。</b></font>
				<ul>
					<li>請輸入tc_random.php的完整位置。</li>
					<li>例如: http://yourgallery.com/zenphoto/zp-core/tc_random.php</li>
				</ul>
				]]></caption>
			</field>
    	</fieldset>
		<fieldset legend="顯示參數">
			<field title="設定標題文字" name="szp_title" type="text" size="50" value="Gallery">
				<caption><![CDATA[- 設定標題文字，留空則表示不顯示標題。]]></caption>
			</field>
			<field title="顯示數量" name="szp_num" type="text" size="2" value="10" titledirection="bk">
				<caption><![CDATA[- 欲顯示的數量，請依照SKIN來做調整。]]></caption>
			</field>
		</fieldset>
		<fieldset legend="進階設定">
			<field title="指定相簿 :" name="szp_album" type="text" size="20" value="">
				<caption><![CDATA[
				<ul>
					<li>輸入此欄位則為指定隨機讀取該相簿下的圖片。(請確定有該相簿名稱)</li>
					<li>如該欄留白，則表示隨機讀取所有相簿。</li>
				</ul>
				]]></caption>
			</field>
		</fieldset>		
		<fieldset legend="樣式設定">
			<field title="寬度 :" name="szp_width" type="text" size="4" value="32">
				<caption><![CDATA[- 顯示縮圖寬度。預設值: 32]]></caption>
			</field>
			<field title="高度 :" name="szp_height" type="text" size="4" value="32">
				<caption><![CDATA[- 顯示縮圖高度。預設值: 32]]></caption>
			</field>
			<field title="邊框顏色 :" name="szp_color" type="text" size="7" value="#555555">
				<caption><![CDATA[
				<ul>
					<li>顯示縮圖邊框顏色，請輸入包含#號的6位色碼值。</li>
					<li>預設值: #555555</li>
				</ul>
				]]></caption>
			</field>
			<field title="邊框間距 :" name="szp_margin" type="text" size="20" value="0px 2px 2px 0px">
				<caption><![CDATA[
				<ul>
					<li>顯示縮圖邊框間距，請輸入包含px的間距值。(上、右、下、左)</li>
					<li>預設值: 0px 2px 2px 0px</li>
				</ul>
				]]></caption>
			</field>
		</fieldset>
		<fieldset legend="預覽設定">
			<field title=" : 開啟預覽" name="szp_preview" type="radio" titledirection="bk">
				<op value="1">ON</op>
				<op value="2" checked="checked">OFF</op>
			  <caption><![CDATA[- 是否在縮圖旁邊顯示預覽圖片。預設值: OFF]]></caption>
			</field>
			<field title="預覽圖片放大倍數 :" name="szp_multiple" type="text" size="2" value="0">
				<caption><![CDATA[
				<ul>
					<li>預覽圖片的放大倍數設定。(PS:切勿太大，將影響開啟速度)</li>
					<li>設定值為0表示不放大。預設值: 0</li>
					<li>當關閉預覽時，此欄無作用。</li>
				</ul>
				]]></caption>
			</field>
		</fieldset>
	</config>
    <config xml:lang="zh-CN" dataValHandler="showZenPhoto_DataSet" >
    <window width="500" height="525" />
    	<fieldset legend="基本设定">
			<field title="tc_random.php完整位置 :" name="szp_url" type="text" size="50" value="">
				<caption><![CDATA[
				<font color=red><b>*此为必填栏位，如留空白则无作用。</b></font>
				<ul>
					<li>请输入tc_random.php的完整位置。</li>
					<li>例如: http://yourgallery.com/zenphoto/zp-core/tc_random.php</li>
				</ul>
				]]></caption>
			</field>
    	</fieldset>
		<fieldset legend="显示参数">
			<field title="设定标题文字" name="szp_title" type="text" size="50" value="Gallery">
				<caption><![CDATA[- 设定标题文字，留空则表示不显示标题。]]></caption>
			</field>
			<field title="显示数量" name="szp_num" type="text" size="2" value="10" titledirection="bk">
				<caption><![CDATA[- 欲显示的数量，请依照SKIN来做调整。]]></caption>
			</field>
		</fieldset>
		<fieldset legend="进阶设定">
			<field title="指定相簿 :" name="szp_album" type="text" size="20" value="">
				<caption><![CDATA[
				<ul>
					<li>输入此栏位则为指定随机读取该相簿下的图片。(请确定有该相簿名称)</li>
					<li>如该栏留白，则表示随机读取所有相簿。</li>
				</ul>
				]]></caption>
			</field>
		</fieldset>		
		<fieldset legend="样式设定">
			<field title="宽度 :" name="szp_width" type="text" size="4" value="32">
				<caption><![CDATA[- 显示缩图宽度。默认值: 32]]></caption>
			</field>
			<field title="高度 :" name="szp_height" type="text" size="4" value="32">
				<caption><![CDATA[- 显示缩图高度。默认值: 32]]></caption>
			</field>
			<field title="边框颜色 :" name="szp_color" type="text" size="7" value="#555555">
				<caption><![CDATA[
				<ul>
					<li>显示缩图边框颜色，请输入包含#号的6位色码值。</li>
					<li>默认值: #555555</li>
				</ul>
				]]></caption>
			</field>
			<field title="边框间距 :" name="szp_margin" type="text" size="20" value="0px 2px 2px 0px">
				<caption><![CDATA[
				<ul>
					<li>显示缩图边框间距，请输入包含px的间距值。(上、右、下、左)</li>
					<li>默认值: 0px 2px 2px 0px</li>
				</ul>
				]]></caption>
			</field>
		</fieldset>
		<fieldset legend="预览设定">
			<field title=" : 开启预览" name="szp_preview" type="radio" titledirection="bk">
				<op value="1">ON</op>
				<op value="2" checked="checked">OFF</op>
			  <caption><![CDATA[- 是否在缩图旁边显示预览图片。默认值: OFF]]></caption>
			</field>
			<field title="预览图片放大倍数 :" name="szp_multiple" type="text" size="2" value="0">
				<caption><![CDATA[
				<ul>
					<li>预览图片的放大倍数设定。(PS:切勿太大，将影响开启速度)</li>
					<li>设定值为0表示不放大。默认值: 0</li>
					<li>当关闭预览时，此栏无作用。</li>
				</ul>
				]]></caption>
			</field>
		</fieldset>
	</config>
  </binding>
</plugin>

