Plugin Directory

Changeset 2834584


Ignore:
Timestamp:
12/15/2022 05:01:08 PM (3 years ago)
Author:
guestapp
Message:

Display review modification date

Location:
guestapp
Files:
30 edited
1 copied

Legend:

Unmodified
Added
Removed
  • guestapp/tags/1.4.23/CGuestApp.php

    r2550297 r2834584  
    9191                "user_name"             => $review->user_name,
    9292                "creation_date"         => $review->creation_date,
     93                "modification_date"     => $review->modification_date,
    9394                "timestamp"             => $review->creation_date_timestamp,
    9495                "publication_date"      => $review->publication_date,
  • guestapp/tags/1.4.23/README.txt

    r2644037 r2834584  
    44Requires at least: 3.1
    55Tested up to: 5.2
    6 Stable tag: 1.4.22
     6Stable tag: 1.4.23
    77Requires PHP: 5.2
    88License: GPLv2
     
    3232
    3333== Changelog ==
     34
     35= 1.4.23 =
     36* Display review modification date
    3437
    3538= 1.4.22 =
  • guestapp/tags/1.4.23/guestapp.php

    r2644037 r2834584  
    55Plugin URI: https://wordpress.org/plugins/guestapp/
    66Description: Guest Suite Plugin
    7 Version: 1.4.22
     7Version: 1.4.23
    88Author: Guest Suite
    99Author URI: https://www.guest-suite.com
  • guestapp/tags/1.4.23/lang/build.sh

    r2227191 r2834584  
    2525fi
    2626
     27if msgfmt -o guestapp-en_EN.mo en_EN.po; then
     28    echo -e "\e[34mSuccess\e[0m"
     29else
     30    echo -e "\e[31mError\e[0m"
     31fi
     32
    2733echo "Building es-ES.mo ..."
    2834if msgfmt -o guestapp-es_ES.mo es_ES.po; then
  • guestapp/tags/1.4.23/lang/en_EN.po

    r2643442 r2834584  
    366366msgstr "Experience from"
    367367
     368msgid "Modifié le "
     369msgstr "Modified on "
     370
    368371msgid "rating explanation"
    369372msgstr "The calculation performed is the mathematical average of the ratings to the reviews present below"
  • guestapp/tags/1.4.23/lang/es_ES.po

    r2643442 r2834584  
    366366msgstr "Experiencia del"
    367367
     368msgid "Modifié le "
     369msgstr "Modificado el "
     370
    368371msgid "rating explanation"
    369372msgstr "El cálculo realizado es la media matemática de las notas de las opiniones siguientes"
  • guestapp/tags/1.4.23/lang/fr_FR.po

    r2643442 r2834584  
    362362msgstr "Expérience du"
    363363
     364msgid "Modifié le "
     365msgstr "Modifié le "
     366
    364367msgid "rating explanation"
    365368msgstr "Le calcul réalisé est la moyenne mathématique des notes aux avis présents ci-dessous"
  • guestapp/tags/1.4.23/lang/guestapp.pot

    r2643442 r2834584  
    232232msgstr ""
    233233
     234msgid "Modifié le "
     235msgstr ""
     236
    234237#: templates/widget.php:179
    235238msgid "Réponse de l'établissement :"
  • guestapp/tags/1.4.23/templates/widget.php

    r2578099 r2834584  
    44<div itemscope itemtype="http://schema.org/Review" class="ga-review">
    55    <meta content="<?php echo date_i18n('Y-m-d', strtotime($review['publication_date'])); ?>" itemprop="datePublished">
     6    <?php if (!empty($review['modification_date'])): ?>
     7    <meta content="<?php echo date_i18n('Y-m-d', strtotime($review['modification_date'])); ?>" itemprop="dateEdited">
     8    <?php endif;?>
    69    <?php // Microformat stuff
    710       // Those particular properties have to be shown in meta tags, because they are either not shown
     
    160163                </p> -
    161164
    162                 <div class="ga-date"><?php echo date_i18n('d F Y', strtotime($review['publication_date'])); ?></div> -
    163                 <span class="ga-staytype"><?php _e($review['stay_type'], 'guestapp'); ?></span> -
     165                <div class="ga-date"><?php echo date_i18n('d F Y', strtotime($review['publication_date'])); ?></div>
     166                <?php if (!empty($review['modification_date'])) : ?>
     167                <br>
     168                <div class="ga-date"><?php _e('Modifié le ', 'guestapp'); echo date_i18n('d F Y', strtotime($review['modification_date'])); ?></div>
     169                <?php endif; ?>
     170
     171                <span class="ga-staytype"><?php _e($review['stay_type'], 'guestapp'); ?></span>
    164172                <span class="ga-country">
    165173                    <img alt="Flag" src='<?php echo plugin_dir_url(__FILE__).'../images/flag/'.$review['flag']; ?>'>
  • guestapp/trunk/CGuestApp.php

    r2550297 r2834584  
    9191                "user_name"             => $review->user_name,
    9292                "creation_date"         => $review->creation_date,
     93                "modification_date"     => $review->modification_date,
    9394                "timestamp"             => $review->creation_date_timestamp,
    9495                "publication_date"      => $review->publication_date,
  • guestapp/trunk/README.txt

    r2644037 r2834584  
    44Requires at least: 3.1
    55Tested up to: 5.2
    6 Stable tag: 1.4.22
     6Stable tag: 1.4.23
    77Requires PHP: 5.2
    88License: GPLv2
     
    3232
    3333== Changelog ==
     34
     35= 1.4.23 =
     36* Display review modification date
    3437
    3538= 1.4.22 =
  • guestapp/trunk/guestapp.php

    r2644037 r2834584  
    55Plugin URI: https://wordpress.org/plugins/guestapp/
    66Description: Guest Suite Plugin
    7 Version: 1.4.22
     7Version: 1.4.23
    88Author: Guest Suite
    99Author URI: https://www.guest-suite.com
  • guestapp/trunk/lang/build.sh

    r2227191 r2834584  
    2525fi
    2626
     27if msgfmt -o guestapp-en_EN.mo en_EN.po; then
     28    echo -e "\e[34mSuccess\e[0m"
     29else
     30    echo -e "\e[31mError\e[0m"
     31fi
     32
    2733echo "Building es-ES.mo ..."
    2834if msgfmt -o guestapp-es_ES.mo es_ES.po; then
  • guestapp/trunk/lang/en_EN.po

    r2643442 r2834584  
    366366msgstr "Experience from"
    367367
     368msgid "Modifié le "
     369msgstr "Modified on "
     370
    368371msgid "rating explanation"
    369372msgstr "The calculation performed is the mathematical average of the ratings to the reviews present below"
  • guestapp/trunk/lang/es_ES.po

    r2643442 r2834584  
    366366msgstr "Experiencia del"
    367367
     368msgid "Modifié le "
     369msgstr "Modificado el "
     370
    368371msgid "rating explanation"
    369372msgstr "El cálculo realizado es la media matemática de las notas de las opiniones siguientes"
  • guestapp/trunk/lang/fr_FR.po

    r2643442 r2834584  
    362362msgstr "Expérience du"
    363363
     364msgid "Modifié le "
     365msgstr "Modifié le "
     366
    364367msgid "rating explanation"
    365368msgstr "Le calcul réalisé est la moyenne mathématique des notes aux avis présents ci-dessous"
  • guestapp/trunk/lang/guestapp.pot

    r2643442 r2834584  
    232232msgstr ""
    233233
     234msgid "Modifié le "
     235msgstr ""
     236
    234237#: templates/widget.php:179
    235238msgid "Réponse de l'établissement :"
  • guestapp/trunk/templates/widget.php

    r2578099 r2834584  
    44<div itemscope itemtype="http://schema.org/Review" class="ga-review">
    55    <meta content="<?php echo date_i18n('Y-m-d', strtotime($review['publication_date'])); ?>" itemprop="datePublished">
     6    <?php if (!empty($review['modification_date'])): ?>
     7    <meta content="<?php echo date_i18n('Y-m-d', strtotime($review['modification_date'])); ?>" itemprop="dateEdited">
     8    <?php endif;?>
    69    <?php // Microformat stuff
    710       // Those particular properties have to be shown in meta tags, because they are either not shown
     
    160163                </p> -
    161164
    162                 <div class="ga-date"><?php echo date_i18n('d F Y', strtotime($review['publication_date'])); ?></div> -
    163                 <span class="ga-staytype"><?php _e($review['stay_type'], 'guestapp'); ?></span> -
     165                <div class="ga-date"><?php echo date_i18n('d F Y', strtotime($review['publication_date'])); ?></div>
     166                <?php if (!empty($review['modification_date'])) : ?>
     167                <br>
     168                <div class="ga-date"><?php _e('Modifié le ', 'guestapp'); echo date_i18n('d F Y', strtotime($review['modification_date'])); ?></div>
     169                <?php endif; ?>
     170
     171                <span class="ga-staytype"><?php _e($review['stay_type'], 'guestapp'); ?></span>
    164172                <span class="ga-country">
    165173                    <img alt="Flag" src='<?php echo plugin_dir_url(__FILE__).'../images/flag/'.$review['flag']; ?>'>
Note: See TracChangeset for help on using the changeset viewer.