Plugin Directory

Changeset 1954118


Ignore:
Timestamp:
10/09/2018 05:15:01 PM (7 years ago)
Author:
rudijuri
Message:

Piccole correzioni

Location:
gestiolex/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • gestiolex/trunk/gestiolex.php

    r1952599 r1954118  
    33Plugin Name: Gestiolex
    44Plugin URI: http://www.gestiolex.it
    5 Version: 1.4.6
     5Version: 1.4.7
    66Description: Gestionale per l'avvocato.
    77Author: Juri Rudi
     
    2020
    2121// salva o aggiorna la versione del plugin e pulisce la cache, se necessario
    22 $gestiolex_version = '1.4.6';
     22$gestiolex_version = '1.4.7';
    2323$gestiolex_installed_ver = get_site_option('gestiolex_version');
    2424
  • gestiolex/trunk/pages/cerca_pratiche.php

    r1951342 r1954118  
    297297    echo '<fieldset>';
    298298    echo "<b>Filtri della ricerca: </b>";
    299     echo ($pratica_numero != '0') ? "<br>Pratica numero: " . esc_html(wp_unslah($pratica_numero)) : '';
     299    echo ($pratica_numero != '0') ? "<br>Pratica numero: " . esc_html(wp_unslash($pratica_numero)) : '';
    300300    echo ($pratica_status != '') ? "<br>Status pratica: " . esc_html($pratica_status) : '';
    301     echo ($pratica_cliente != '') ? "<br>Cliente: " . esc_html(wp_unslah($pratica_cliente)) : '';
    302     echo ($pratica_controparte != '') ? "<br>Controparte: " . esc_html(wp_unslah($pratica_controparte)) : '';
    303     echo ($pratica_avvocato != '') ? "<br>Avvocato: " . esc_html(wp_unslah($pratica_avvocato)) : '';
    304     echo ($pratica_consulente != '') ? "<br>Consulente: " . esc_html(wp_unslah($pratica_consulente)) : '';
     301    echo ($pratica_cliente != '') ? "<br>Cliente: " . esc_html(wp_unslash($pratica_cliente)) : '';
     302    echo ($pratica_controparte != '') ? "<br>Controparte: " . esc_html(wp_unslash($pratica_controparte)) : '';
     303    echo ($pratica_avvocato != '') ? "<br>Avvocato: " . esc_html(wp_unslash($pratica_avvocato)) : '';
     304    echo ($pratica_consulente != '') ? "<br>Consulente: " . esc_html(wp_unslash($pratica_consulente)) : '';
    305305    echo ($pratica_numero == '0' and $pratica_status == '' and $pratica_cliente == '' and $pratica_controparte == '' and $pratica_avvocato == '' and $pratica_consulente == '') ? "<i>nessuno</i>" : '';
    306306    echo "<br><b>Risultati della ricerca: </b>" . esc_html($total);
  • gestiolex/trunk/pages/info_sistema.php

    r1952599 r1954118  
    1010// file di sistema WP per l'accesso ai plugin lato front-end
    1111include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
     12// versione WP
     13global $wp_version;
    1214?>
    1315
     
    4244    <table class="table table-striped table-hover">
    4345    <tbody>
     46      <tr>
     47      <td><b>Versione PHP del server:</b></td>
     48      <td><?php echo phpversion() . $wp_version;?></td>
     49    </tr>
     50    <tr>
     51      <td><b>Versione WordPress:</b></td>
     52      <td><?php echo $wp_version;?></td>
     53    </tr>
    4454<?php if($browser_utente): ?>
    4555    <tr>
    46       <td><h4>Web Browser in uso:</h4></td>
     56      <td><b>Web Browser in uso:</b></td>
    4757      <td><?php echo $browser_utente . " (IP: ". $_SERVER['REMOTE_ADDR'] . ")";?></td>
    4858    </tr>
    4959<?php endif; ?>
    5060    <tr>
    51       <td><h4>Tipo di connessione:</h4></td>
     61      <td><b>Tipo di connessione:</b></td>
    5262      <td><?php echo is_ssl() ? "https (sicura)" : "http (non sicura)";?></td>
    5363    </tr>
    5464    <tr>
    55       <td><h4>Descrizione del sito:</h4></td>
     65      <td><b>Descrizione del sito:</b></td>
    5666      <td><?php bloginfo();?></td>
    5767    </tr>
    5868    <tr>
    59       <td><h4>Utenti del sito (numero):</h4></td>
     69      <td><b>Utenti del sito (numero):</b></td>
    6070      <td><?php echo esc_html($utenti_numero);?></td>
    6171    </tr>
    6272    <tr>
    63       <td><h4>Utenti del sito (nomi):</h4></td>
     73      <td><b>Utenti del sito (nomi):</b></td>
    6474      <td class="dropdown"><?php wp_dropdown_users();?></td>
    6575    </tr>
    6676    <tr>
    67       <td><h4>Limite file in upload:</h4></td>
     77      <td><b>Limite file in upload:</b></td>
    6878      <td><?php echo number_format_i18n(wp_max_upload_size());?> bytes</td>
    6979    </tr>
  • gestiolex/trunk/pages/sidebar_sx_home.php

    r1952599 r1954118  
    2424  <p class="label label-info center-block">Gestiolex&copy (vers. <?php echo esc_html($gestiolex_version); ?>)</p>
    2525
     26  <center>
     27    <?php  echo get_avatar(get_current_user_id(), "", 'blank', "", array('class'=>"img-circle")); ?>
     28  </center>
     29
    2630</div>
    2731
  • gestiolex/trunk/readme.txt

    r1952599 r1954118  
    55Requires at least: 4.0
    66Tested up to: 4.9.8
    7 Stable tag: 1.4.6
     7Stable tag: 1.4.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5959
    6060== Changelog ==
    61 = 1.4.6 =
     61= 1.4.7 =
    6262* Anche le piccole cose possono contribuire a rendere il mondo un posto migliore.
    6363
  • gestiolex/trunk/test/index.php

    r1952599 r1954118  
    1212require_once(ABSPATH . 'wp-includes/load.php');
    1313
    14 print_r(list_files());
     14// echo get_avatar(get_current_user_id());
     15echo get_avatar("rudijuri@gmail.com", "", "", "", array('class'=>"img-circle"));
    1516
    1617
Note: See TracChangeset for help on using the changeset viewer.