embed_google_map.xml 9.36 KB
<?xml version="1.0" encoding="utf-8"?>
<extension version="1.6" type="plugin" group="content" method="upgrade">
    <name>PLG_EMBED_GOOGLE_MAP</name>
    <author>Petteri Kivimäki</author>
    <creationDate>28 March 2015</creationDate>
    <copyright>(C)2012-2015 Petteri Kivimäki</copyright>
    <license>http://www.gnu.org/copyright/gpl.html GNU/GPL</license>
    <authorEmail>dinky_jackson@hotmail.com</authorEmail>
    <version>2.0.1</version>
    <description>PLG_EMBED_GOOGLE_MAP_DESC</description>
	<files>
        <filename plugin="embed_google_map">embed_google_map.php</filename>
		<filename>embedGoogleMapParameters.php</filename>
		<!-- Parser -->
		<filename>embedGoogleMapParser.php</filename>
		<!-- Builders -->
		<filename>embedGoogleMapBuilderFactory.php</filename>
		<filename>embedGoogleMapHtmlBuilder.php</filename>
		<filename>embedGoogleMapClassicHtmlBuilder.php</filename>
		<filename>embedGoogleMapNewHtmlBuilder.php</filename>
		<filename>embedGoogleMapEmbedAPIHtmlBuilder.php</filename>
		<!-- Other files-->
		<filename>index.html</filename>
		<filename>license-gpl.txt</filename>
	</files>
	<languages>
		<language tag="en-GB">en-GB.plg_content_embed_google_map.ini</language>
        <language tag="en-GB">en-GB.plg_content_embed_google_map.sys.ini</language>
		<language tag="fi-FI">fi-FI.plg_content_embed_google_map.ini</language>
        <language tag="fi-FI">fi-FI.plg_content_embed_google_map.sys.ini</language>
		<language tag="fr-FR">fr-FR.plg_content_embed_google_map.ini</language>
        <language tag="fr-FR">fr-FR.plg_content_embed_google_map.sys.ini</language>
		<language tag="it-IT">it-IT.plg_content_embed_google_map.ini</language>
        <language tag="it-IT">it-IT.plg_content_embed_google_map.sys.ini</language>
		<language tag="ja-JP">ja-JP.plg_content_embed_google_map.ini</language>
        <language tag="ja-JP">ja-JP.plg_content_embed_google_map.sys.ini</language>
	</languages>
    <config>
		<fields name="params">

			<fieldset name="basic">
				<field name="version" type="list"
					default="new"
					description="PLG_EMBED_GOOGLE_MAP_DESC_VERSION"
					label="PLG_EMBED_GOOGLE_MAP_LBL_VERSION"
				>
					<option value="new">Google Maps</option>
					<option value="classic">Google Maps Classic</option>
					<option value="embed">Google Maps Embed API</option>
				</field>
				
				<field name="map_type" type="list"
					default="m"
					description="PLG_EMBED_GOOGLE_MAP_DESC_MAP_TYPE"
					label="PLG_EMBED_GOOGLE_MAP_LBL_MAP_TYPE"
				>
					<option value="m">Normal map</option>
					<option value="k">Satellite</option>
					<option value="h">Hybrid</option>
					<option value="p">Terrain</option>
				</field>
				
				<field name="zoom" type="list"
					default="14"
					description="PLG_EMBED_GOOGLE_MAP_DESC_ZOOM"
					label="PLG_EMBED_GOOGLE_MAP_LBL_ZOOM"
				>
					<option value="0">0</option>
					<option value="1">1</option>
					<option value="2">2</option>
					<option value="3">3</option>
					<option value="4">4</option>
					<option value="5">5</option>
					<option value="6">6</option>
					<option value="7">7</option>
					<option value="8">8</option>
					<option value="9">9</option>
					<option value="10">10</option>
					<option value="11">11</option>
					<option value="12">12</option>
					<option value="13">13</option>
					<option value="14">14</option>
					<option value="15">15</option>
					<option value="16">16</option>
					<option value="17">17</option>
					<option value="18">18</option>
					<option value="19">19</option>
					<option value="20">20</option>
					<option value="21">21</option>
				</field>
				
				<field name="language" type="list"
					default="-"
					description="PLG_EMBED_GOOGLE_MAP_DESC_LANG"
					label="PLG_EMBED_GOOGLE_MAP_LBL_LANG"
				>
					<option value="-">Undefined</option>
					<option value="system">System language</option>
					<option value="ar">Arabic</option>
					<option value="eu">Basque</option>
					<option value="bn">Bengali</option>
					<option value="bg">Bulgarian</option>					
					<option value="ca">Catalan</option>
					<option value="zh-CN">Chinese (simplified)</option>
					<option value="zh-TW">Chinese (traditional)</option>					
					<option value="hr">Croatian</option>
					<option value="cs">Czech</option>
					<option value="da">Danish</option>
					<option value="nl">Dutch</option>
					<option value="en">English</option>
					<option value="en-AU">English (Australian)</option>
					<option value="en-GB">English (Great Britain)</option>
					<option value="fa">Farsi</option>
					<option value="fil">Filipino</option>
					<option value="fi">Finnish</option>					
					<option value="fr">French</option>
					<option value="gl">Galician</option>
					<option value="de">German</option>									
					<option value="el">Greek</option>	
					<option value="gu">Gujarati</option>					
					<option value="iw">Hebrew</option>
					<option value="hi">Hindi</option>
					<option value="hu">Hungarian</option>
					<option value="id">Indonesian</option>
					<option value="it">Italian</option>					
					<option value="ja">Japanese</option>
					<option value="kn">Kannada</option>
					<option value="ko">Korean</option>
					<option value="lv">Latvian</option>
					<option value="lt">Lithuanian</option>					
					<option value="ml">Malayalam</option>				
					<option value="mr">Marathi</option>
					<option value="no">Norwegian</option>
					<option value="nn">Norwegian Nynorsk</option>					
					<option value="or">Oriya</option>
					<option value="pl">Polish</option>
					<option value="pt">Portuguese</option>
					<option value="pt-BR">Portuguese (Brazil)</option>
					<option value="pt-PT">Portuguese (Portugal)</option>
					<option value="ro">Romanian</option>
					<option value="rm">Romansch</option>					
					<option value="ru">Russian</option>
					<option value="sk">Slovak</option>
					<option value="sl">Slovenian</option>
					<option value="sr">Serbian</option>
					<option value="es">Spanish</option>
					<option value="sv">Swedish</option>
					<option value="tl">Tagalog</option>
					<option value="ta">Tamil</option>
					<option value="te">Telugu</option>
					<option value="th">Thai</option>
					<option value="tr">Turkish</option>
					<option value="uk">Ukrainian</option>
					<option value="vi">Vietnamese</option>
				</field>
							
				<field name="add_link" type="radio"
					default="1"
					description="PLG_EMBED_GOOGLE_MAP_DESC_ADD_LINK"
					label="PLG_EMBED_GOOGLE_MAP_LBL_ADD_LINK"
				>
					<option value="0">PLG_EMBED_GOOGLE_MAP_SW_YES</option>
					<option value="1">PLG_EMBED_GOOGLE_MAP_SW_NO</option>
				</field>
				
				<field name="link_label" type="text"
					default="View Larger Map"
					size="60"
					description="PLG_EMBED_GOOGLE_MAP_DESC_LINK_LABEL"
					label="PLG_EMBED_GOOGLE_MAP_LBL_LINK_LABEL"
				/>
				
				<field name="link_full" type="radio"
					default="1"
					description="PLG_EMBED_GOOGLE_MAP_DESC_LINK_FULL"
					label="PLG_EMBED_GOOGLE_MAP_LBL_LINK_FULL"
				>
					<option value="0">PLG_EMBED_GOOGLE_MAP_SW_YES</option>
					<option value="1">PLG_EMBED_GOOGLE_MAP_SW_NO</option>
				</field>
				
				<field name="show_info" type="radio"
					default="0"
					description="PLG_EMBED_GOOGLE_MAP_DESC_SHOW_INFO"
					label="PLG_EMBED_GOOGLE_MAP_LBL_SHOW_INFO"
				>
					<option value="0">PLG_EMBED_GOOGLE_MAP_SW_YES</option>
					<option value="1">PLG_EMBED_GOOGLE_MAP_SW_NO</option>
				</field>
				
				<field name="height" type="text"
					default="400"
					size="6"
					description="PLG_EMBED_GOOGLE_MAP_DESC_HEIGHT"
					label="PLG_EMBED_GOOGLE_MAP_LBL_HEIGHT"
				/>				
				
				<field name="width" type="text"
					default="300"
					size="6"
					description="PLG_EMBED_GOOGLE_MAP_DESC_WIDTH"
					label="PLG_EMBED_GOOGLE_MAP_LBL_WIDTH"
				/>
				
				<field name="border" type="list"
					default="0"
					description="PLG_EMBED_GOOGLE_MAP_DESC_BORDER"
					label="PLG_EMBED_GOOGLE_MAP_LBL_BORDER"
				>	
					<option value="0">0</option>
					<option value="1">1</option>
					<option value="2">2</option>
					<option value="3">3</option>
					<option value="4">4</option>
					<option value="5">5</option>
					<option value="6">6</option>
					<option value="7">7</option>
					<option value="8">8</option>
					<option value="9">9</option>
					<option value="10">10</option>
				</field>
			
				<field name="border_style" type="list"
					default="solid"
					description="PLG_EMBED_GOOGLE_MAP_DESC_BORDER_STYLE"
					label="PLG_EMBED_GOOGLE_MAP_LBL_BORDER_STYLE"
				>	
					<option value="none">none</option>
					<option value="hidden">hidden</option>
					<option value="dotted">dotted</option>
					<option value="dashed">dashed</option>
					<option value="solid">solid</option>
					<option value="double">double</option>
				</field>	
				
				<field name="border_color" type="text"
					default="#000000"
					size="7"
					description="PLG_EMBED_GOOGLE_MAP_DESC_BORDER_COLOR"
					label="PLG_EMBED_GOOGLE_MAP_LBL_BORDER_COLOR"
				/>
				
				<field name="https" type="radio"
					default="1"
					description="PLG_EMBED_GOOGLE_MAP_DESC_HTTPS"
					label="PLG_EMBED_GOOGLE_MAP_LBL_HTTPS"
				>
					<option value="0">PLG_EMBED_GOOGLE_MAP_SW_YES</option>
					<option value="1">PLG_EMBED_GOOGLE_MAP_SW_NO</option>
				</field>
				
				<field name="embed_api_key" type="text"
					default=""
					size="60"
					description="PLG_EMBED_GOOGLE_MAP_DESC_EMBED_API_KEY"
					label="PLG_EMBED_GOOGLE_MAP_LBL_EMBED_API_KEY"
				/>
			</fieldset>

		</fields>
	</config>
</extension>