Plugin Directory

Changeset 1942502


Ignore:
Timestamp:
09/17/2018 09:53:50 AM (8 years ago)
Author:
rudijuri
Message:

piccole correzioni

Location:
gestiolex/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • gestiolex/trunk/lib/utenti_sito.php

    r1936993 r1942502  
    2121foreach ($utenti_array['avail_roles'] as $key => $value) {
    2222  $count_elementi++;
    23   $ruolo_nome = $key != "none" ? " ruolo " . $key : " nessun ruolo";
     23  $ruolo_nome = $key != "none" ? "ruolo " . $key : " nessun ruolo";
    2424  $utenti_numero .= $ruolo_nome . ": " . $value;
    25   if ($count_elementi < $elementi_array) {$utenti_numero .= ";";}
     25  if ($count_elementi < $elementi_array) {$utenti_numero .= "; ";}
    2626}
    2727$utenti_numero .= ")";
  • gestiolex/trunk/pages/cerca_pratiche.php

    r1811750 r1942502  
    183183                $sql="SELECT pratica_id from $tabella_pratiche_persone where persona_id = $cliente_id and cliente = 1";
    184184                $result = $wpdb->get_results($sql);
    185                 $result_cliente = [];
     185                $result_cliente = array();
    186186                foreach ($result as $key => $row) {
    187187                    $pratica_id = $row->pratica_id;
  • gestiolex/trunk/pages/info_sistema.php

    r1936993 r1942502  
    3737?>
    3838
    39 
    40 <br><br>
    4139  <div class="page-header text-left h2">
    4240    <span class="label label-primary text-left h2">Informazioni sul sistema <?php  ?></span>
    4341  </div>
    44   <div class="text-justify">
    45     <ul>
     42    <table class="table table-striped table-hover">
     43    <tbody>
    4644<?php if($browser_utente): ?>
    47       <li>
    48           <b>Web Browser in uso:</b> <?php echo $browser_utente;?>
    49       </li>
     45    <tr>
     46      <td><b>Web Browser in uso:</b></td>
     47      <td><?php echo $browser_utente . " (". $_SERVER['REMOTE_ADDR'] . ")";?></td>
     48    </tr>
    5049<?php endif; ?>
    51       <li>
    52           <b>Descrizione del sito:</b> <?php bloginfo();?>
    53       </li>
    54       <li>
    55           <b>Utenti del sito (numero):</b> <?php echo $utenti_numero;?>
    56       </li>
    57       <li>
    58           <b>Utenti del sito (nomi):</b> <?php wp_dropdown_users();?>
    59       </li>
    60       <li>
    61           <b>Dimensione massima dei file in upload:</b> <?php echo number_format_i18n(wp_max_upload_size());?> MB
    62       </li>
    63     </ul>
    64 
    65   </div>
    66 <br><br>
     50    <tr>
     51      <td><b>Tipo di connessione:</b></td>
     52      <td><?php echo is_ssl() ? "https (sicura)" : "http (non sicura)";?></td>
     53    </tr>
     54    <tr>
     55      <td><b>Descrizione del sito:</b></td>
     56      <td><?php bloginfo();?></td>
     57    </tr>
     58    <tr>
     59      <td><b>Utenti del sito (numero):</b></td>
     60      <td><?php echo $utenti_numero;?></td>
     61    </tr>
     62    <tr>
     63      <td><b>Utenti del sito (nomi):</b></td>
     64      <td class="dropdown"><?php wp_dropdown_users();?></td>
     65    </tr>
     66    <tr>
     67      <td><b>Dimensione massima dei file in upload:</b></td>
     68      <td><?php echo number_format_i18n(wp_max_upload_size());?> Bytes</td>
     69    </tr>
     70</tbody>
     71</table>
    6772
    6873
  • gestiolex/trunk/readme.txt

    r1936993 r1942502  
    55Requires at least: 4.0
    66Tested up to: 4.9.8
    7 Stable tag: 1.3.9.1
     7Stable tag: 1.3.9.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • gestiolex/trunk/test/index.php

    r1936993 r1942502  
    1919
    2020<?php
    21 $aaa = number_format_i18n(wp_max_upload_size());
    22 echo gettype($aaa);
    2321
    24 //echo '<pre>', print_r(list_files(), 1), '</pre>';
     22echo wptexturize("c'era una volta un <a>link</a>");
     23
     24//echo '<pre>', print_r(list_plugin_updates(), 1), '</pre>';
    2525
    2626 //global $shortcode_tags;
Note: See TracChangeset for help on using the changeset viewer.