<?php
      /*
		*
		* copyright (c) 2013-2015 Heliac Technologies
		* license http://opensource.org/licenses/gpl-license.php GNU GPL v3 
		*
		* linee guida per l'utilizzo del logo http://www.geecom.org/articolo.php?id=34&alias=linee-guida-per-l%27uso-del-logo-geecom
		
		questo file mostra i commenti in una tabella. viene usato nella home page e nella pagina commenti
      */
?>

    <!-- Modal box elimina commento | viene richiamata dai file home.php e gestioneCommenti.php -->
    <div class="modal fade" id="eliminaCommento" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h4 class="modal-title" id="myModalLabel2">Elimina commento</h4>
          </div>
          <div class="modal-body">
            <form class="form-horizontal" role="form" name="formEliminaCommento" action="commenti/eliminaCommento.php" method="post">
          
          <div class="form-group">
            <label for="inputPassword3" class="col-sm-4 control-label">Testo del commento:</label>
            <div class="col-sm-8">
              <p id="testoCommento"></p>
            </div>
          </div>
          
             <input type="text" class="hidden" id="commentoDaEliminare" name="idCommento" value="0">

        </form>
          </div>
          
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Chiudi</button>
            <button type="button" class="btn btn-primary" onclick="eliminaCommentoDefinitivamente()">Elimina</button>
          </div>
        </div><!-- /.modal-content -->
      </div><!-- /.modal-dialog -->
    </div><!-- /.Modal box-->
