Changeset 1740107
- Timestamp:
- 10/03/2017 07:51:26 AM (8 years ago)
- Location:
- cf7-jlocator/trunk
- Files:
-
- 3 added
- 4 edited
-
classes/Action.class.php (modified) (1 diff)
-
jlocator.php (modified) (2 diffs)
-
languages (added)
-
languages/cf7-jlocator-de_DE.mo (added)
-
languages/cf7-jlocator-de_DE.po (added)
-
readme.txt (modified) (2 diffs)
-
views/option_page.phtml (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cf7-jlocator/trunk/classes/Action.class.php
r1735727 r1740107 47 47 { 48 48 49 \add_options_page(__('jLocator', 'cfjl'), __('jLocator', 'cfjl'), 'manage_options', 'cfjl', array('\cfjl\Action', 'option_page')); 49 \add_options_page(__('jLocator', 'cf7-jlocator'), __('jLocator', 'cf7-jlocator'), 'manage_options', 'cfjl', array('\cfjl\Action', 'option_page')); 50 51 } 52 53 public static function plugins_loaded() 54 { 55 56 load_plugin_textdomain('cf7-jlocator', false, basename(dirname(__FILE__)).'/../languages'); 50 57 51 58 } -
cf7-jlocator/trunk/jlocator.php
r1735727 r1740107 12 12 * Author: Daniel Schmitzer 13 13 * Author URI: https://daschmi.de/ 14 * Text Domain: cf jl14 * Text Domain: cf7-jlocator 15 15 */ 16 16 … … 26 26 add_action('init', array('\cfjl\Action', 'init')); 27 27 add_action('wp_footer', array('\cfjl\Action', 'wp_footer')); 28 add_action('plugins_loaded', array('\cfjl\Action', 'plugins_loaded')); -
cf7-jlocator/trunk/readme.txt
r1735728 r1740107 3 3 Donate link: http://daschmi.de/ 4 4 Tags: contactform7,contactform,form,location,position,gps 5 Requires at least: 3.0.15 Requires at least: 4.6.0 6 6 Tested up to: 4.9 7 7 Stable tag: 1.0 … … 35 35 Yes, here: 36 36 37 <blockquote><label> Straße37 <blockquote><label>street 38 38 [text* text-886 class:jLocator class:jLocator_street] </label> 39 39 40 <label> Hausnummer40 <label>house number 41 41 [text* text-887 class:jLocator class:jLocator_street_number] </label> 42 42 43 <label> PLZ43 <label>zip 44 44 [text* text-888 class:jLocator class:jLocator_zip] </label> 45 45 46 <label> Stadt46 <label>ctiy 47 47 [text* text-889 class:jLocator class:jLocator_city] </label> 48 48 49 <label> Landkreis50 [text* text-8 89class:jLocator class:jLocator_district] </label>49 <label>district 50 [text* text-890 class:jLocator class:jLocator_district] </label> 51 51 52 <label> Bundesland53 [text* text-89 0class:jLocator class:jLocator_state] </label>52 <label>state 53 [text* text-891 class:jLocator class:jLocator_state] </label> 54 54 55 <label> Land56 [text* text-89 1class:jLocator class:jLocator_country] </label></blockquote>55 <label>country 56 [text* text-892 class:jLocator class:jLocator_country] </label></blockquote> 57 57 58 58 = What do i need = -
cf7-jlocator/trunk/views/option_page.phtml
r1735727 r1740107 13 13 <div class="wrap"> 14 14 15 <h1><?php echo __('Settings › Contact Form 7 jLocator', 'cf jl'); ?></h1>15 <h1><?php echo __('Settings › Contact Form 7 jLocator', 'cf7-jlocator'); ?></h1> 16 16 17 17 <?php if (isset($_REQUEST['cfjl_confirm'])) { ?> 18 18 <div id="setting-error-settings_updated" class="updated settings-error notice is-dismissible"> 19 <p><strong><?php echo __('Settings saved.', 'cf jl'); ?></strong></p>19 <p><strong><?php echo __('Settings saved.', 'cf7-jlocator'); ?></strong></p> 20 20 </div> 21 21 <?php } ?> … … 26 26 <tbody> 27 27 <tr> 28 <th scope="row"><label for="default_role"><?php echo __('include Google Maps', 'cf jl'); ?></label></th>28 <th scope="row"><label for="default_role"><?php echo __('include Google Maps', 'cf7-jlocator'); ?></label></th> 29 29 <td> 30 30 <select name="cfjl_include_googlemaps" id="include_googlemaps"> 31 <option value="1" <?php echo ((get_option('cfjl_include_googlemaps') === '1')?'selected="selected"':''); ?>><?php echo __('Yes', 'cf jl'); ?></option>32 <option value="0" <?php echo ((get_option('cfjl_include_googlemaps') === '0')?'selected="selected"':''); ?>><?php echo __('No', 'cf jl'); ?></option>31 <option value="1" <?php echo ((get_option('cfjl_include_googlemaps') === '1')?'selected="selected"':''); ?>><?php echo __('Yes', 'cf7-jlocator'); ?></option> 32 <option value="0" <?php echo ((get_option('cfjl_include_googlemaps') === '0')?'selected="selected"':''); ?>><?php echo __('No', 'cf7-jlocator'); ?></option> 33 33 </select> 34 34 </td> 35 35 </tr> 36 36 <tr id="row_cfjl_googlemaps_apikey"> 37 <th scope="row"><label for="cfjl_googlemaps_apikey"><?php echo __('Google Maps API Key', 'cf jl'); ?></label></th>37 <th scope="row"><label for="cfjl_googlemaps_apikey"><?php echo __('Google Maps API Key', 'cf7-jlocator'); ?></label></th> 38 38 <td> 39 39 <input name="cfjl_googlemaps_apikey" type="text" id="cfjl_googlemaps_apikey" value="<?php echo get_option('cfjl_googlemaps_apikey'); ?>" class="regular-text code" /> … … 42 42 <tr id="row_cfjl_path"> 43 43 <th scope="row"><label for="cfjl_file"> 44 <?php echo __('Upload jLocator Script', 'cf jl'); ?><br />44 <?php echo __('Upload jLocator Script', 'cf7-jlocator'); ?><br /> 45 45 <p class="description">(jLocator.js)</p> 46 46 </label> … … 49 49 50 50 <?php if (file_exists($this->view['path'])) { ?> 51 <p style="color:green;"><?php echo __('File exists.', 'cf jl'); ?></p>51 <p style="color:green;"><?php echo __('File exists.', 'cf7-jlocator'); ?></p> 52 52 <?php } ?> 53 53 54 54 <input name="cfjl_file" type="file" id="row_cfjl_file" class="regular-text code" /> 55 <p class="description"><?php echo __('You can get your Licence for jLocatore <a href="#">here</a>.', 'cf jl'); ?></p>55 <p class="description"><?php echo __('You can get your Licence for jLocatore <a href="#">here</a>.', 'cf7-jlocator'); ?></p> 56 56 </td> 57 57 </tr>
Note: See TracChangeset
for help on using the changeset viewer.