0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
lib
/
prefs
/
[
Home
]
File: gmap.php
<?php // (c) Copyright 2002-2011 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: gmap.php 33195 2011-03-02 17:43:40Z changi67 $ function prefs_gmap_list() { return array( 'gmap_key' => array( 'name' => tra('Google Maps API Key'), 'type' => 'text', 'size' => 87, 'help' => 'http://code.google.com/apis/maps/signup.html', 'filter' => 'striptags', ), 'gmap_defaultx' => array( 'name' => tra('Default x for map center'), 'type' => 'text', 'size' => 20, 'filter' => 'striptags', ), 'gmap_defaulty' => array( 'name' => tra('Default y for map center'), 'type' => 'text', 'size' => 20, 'filter' => 'striptags', ), 'gmap_defaultz' => array( 'name' => tra('Default zoom level'), 'type' => 'list', 'options' => array( 1 => tra('whole earth'), 2 => 2, 3 => 3, 4 => 4, 5 => tra('country size'), 6 => 6, 7 => 7, 8 => 8, 9 => 9, 10 => 10, 11 => tra('city size'), 12 => 12, 13 => 13, 14 => 14, 15 => 15, 16 => tra('village size'), 17 => 17, 18 => 18, 19 => 19, 20 => tra('max zoom'), ) ), 'gmap_article_list' => array( 'name' => tra('Show map mode buttons in articles list'), 'type' => 'flag', 'dependencies' => array( 'feature_gmap', ), ), 'gmap_page_list' => array( 'name' => tra('Show map mode buttons in page list'), 'type' => 'flag', 'dependencies' => array( 'feature_gmap', ), ), ); }