Plugin Directory

Changeset 2980566


Ignore:
Timestamp:
10/18/2023 09:37:00 AM (2 years ago)
Author:
apimofficiel
Message:

Commit Message:
===============

  • Version 2.4.7
  • Fix import bug
  • Fix translate missing
  • Add settings link to plugins list page
Location:
apimo/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • apimo/trunk/admin/add_property.php

    r2977147 r2980566  
    304304    if (empty($property_exist->posts)) {
    305305
    306 
     306       
     307        $title = $property->id;
     308        if(isset($commentdata_lang->title)){
     309            $title = $commentdata_lang->title;
     310        }   
    307311
    308312        $id = wp_insert_post(array(
    309313
    310             'post_title'   => !empty($commentdata_lang) ? $commentdata_lang->title : $property->id,
     314            'post_title'   => $title,
    311315
    312316            'post_type' => 'property',
    313317
    314318            'post_status'  => 'publish',
    315 
    316 
    317319
    318320        ));
     
    835837    update_post_meta($id, 'apimo_sleeps', $property->sleeps);
    836838
    837     update_post_meta($id, 'apimo_price', $property->price->value);
     839    update_post_meta($id, 'apimo_price', $property->price->value + $property->price->fees);
    838840
    839841    update_post_meta($id, 'apimo_price_data', $property->price);
  • apimo/trunk/apimo.php

    r2977147 r2980566  
    77* Description: Manage Real Estat Bussiness
    88
    9 * Version: 2.4.6
     9* Version: 2.4.7
    1010
    1111* Author: CodeByte Srl
     
    275275
    276276
    277 
     277function apimo_settings_link($links) {
     278    $settings_link = '<a href="admin.php?page=apimo">Settings</a>';
     279    array_unshift($links, $settings_link);
     280    return $links;
     281}
     282add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'apimo_settings_link');
    278283
    279284
  • apimo/trunk/languages/apimo-fr_FR.po

    r2975627 r2980566  
    44"Report-Msgid-Bugs-To: \n"
    55"POT-Creation-Date: 2022-01-28 17:20+0000\n"
    6 "PO-Revision-Date: 2023-10-06 14:26+0100\n"
     6"PO-Revision-Date: 2023-10-18 09:52+0100\n"
    77"Last-Translator: \n"
    88"Language-Team: French (France)\n"
     
    839839#: templates/single_property_style_1.php:387
    840840msgid "Bath"
    841 msgstr "Bains"
     841msgstr "Salles de bains"
    842842
    843843#: includes/posttype_and_taxonomy.php:616
     
    11391139#: templates/single_property_style_1.php:323
    11401140msgid "Conditions"
    1141 msgstr "Condizioni"
     1141msgstr "Etat"
    11421142
    11431143#: includes/posttype_and_taxonomy.php:980
     
    11651165#: templates/single_property_style_1.php:316
    11661166msgid "Construction year"
    1167 msgstr "Anno di costruzione"
     1167msgstr "Année de construction"
    11681168
    11691169#: includes/posttype_and_taxonomy.php:1203
     
    17251725#: includes/posttype_and_taxonomy.php:875
    17261726msgid "Free"
    1727 msgstr "Libero"
     1727msgstr "Libre"
    17281728
    17291729#: includes/posttype_and_taxonomy.php:839
     
    28272827#: templates/single_property_style_1.php:339
    28282828msgid "Property standing"
    2829 msgstr "Classe dell'immobile"
     2829msgstr "Classe"
    28302830
    28312831#: templates/archive-property.php:1350
     
    29892989#: templates/template_archive_block.php:485 templates/archive-property.php:610
    29902990msgid "Rooms"
    2991 msgstr "Locaux"
     2991msgstr "Pièces"
    29922992
    29932993#: includes/posttype_and_taxonomy.php:1003
  • apimo/trunk/readme.txt

    r2977147 r2980566  
    1 === Official apimo connector ===
     1=== Apimo connector ===
    22Contributors:
    33Tags: real estate, property management, listings, clients, leads, showings, open houses, reports
    44Tested up to: 6.3.1
    5 Stable tag: 2.4.6
     5Stable tag: 2.4.7
    66License: GPLv2
    77License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • apimo/trunk/templates/single_property_style_1.php

    r2975145 r2980566  
    443443
    444444                    <dl class="row">
    445                         <dt class="term"><?php _e('Areas'); ?>:</dt>
     445                        <dt class="term"><?php _e('Areas','apimo'); ?>:</dt>
    446446                        <dd class="description">
    447447                        <?php if ($metas['apimo_area_display_filter'][0]) {
     
    464464
    465465                    <dl class="row">
    466                         <dt class="term"><?php _e('Price'); ?>:</dt>
     466                        <dt class="term"><?php _e('Price','apimo'); ?>:</dt>
    467467                        <dd class="description">
    468468                            <?php if ($metas['apimo_price_hide'][0]) : ?>
Note: See TracChangeset for help on using the changeset viewer.