><?php echo SZGOOGLE_UPPER(__('default', 'sz-google')); ?> </option> <option value="0" <?php echo selected("0", $VALUE_lazyload); ?> ><?php echo SZGOOGLE_UPPER(__('disabled', 'sz-google')); ?> </option> <option value="1" <?php echo selected("1", $VALUE_lazyload); ?> ><?php echo SZGOOGLE_UPPER(__('enabled', 'sz-google')); ?> </option> </select> </td> </tr> <!-- WIDGETS (Closing the main table form widget) --> </table> <!-- WIDGETS (Javascript code for UI functions) --> <script type="text/javascript"> jQuery(document).ready(function() { if (typeof(szgoogle_checks_hidden_onload) == 'function') { szgoogle_checks_hidden_onload('SZGoogleWidgetMaps'); } }); </script>
function callback_maps_w_layer() { $values = array('NOTHING' => SZGOOGLE_UPPER(__('nothing', 'sz-google')), 'TRAFFIC' => SZGOOGLE_UPPER(__('traffic', 'sz-google')), 'TRANSIT' => SZGOOGLE_UPPER(__('transit', 'sz-google')), 'BICYCLE' => SZGOOGLE_UPPER(__('bicycle', 'sz-google'))); $this->moduleCommonFormSelect('sz_google_options_maps', 'maps_w_layer', $values, 'medium', ''); $this->moduleCommonFormDescription(__('if you use the maps with a specific layer, you can set this value by default. In this way it will be automatically added to your maps. The possible values are NOTHING, TRAFFIC, TRANSIT and BICYCLE.', 'sz-google')); }