Changeset 23977 in spip-zone


Ignore:
Timestamp:
Nov 4, 2008, 6:49:18 PM (11 years ago)
Author:
prigent.yohann@…
Message:

Va pour charger

Location:
_plugins_/_dev_/guestbook/formulaires
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/guestbook/formulaires/guestbook.html

    r22814 r23977  
    11#CACHE{200}
    22    <form action='#SELF' method='post'>
    3         <#ACTION_FORMULAIRE{#SELF}
     3<div class="formulaire_guestbook ajax">
    44        <fieldset class="spip_encadrer">
    55<legend><:livre:livre_dor:></legend>
  • _plugins_/_dev_/guestbook/formulaires/guestbook.php

    r23968 r23977  
    1212
    1313function formulaires_guestbook_charger_dist() {
    14 return true;
     14        $valeurs = array(
     15                'name'=>$nom,
     16                'maj'=>date('Y-m-d H:i:s');,
     17                'ville'=>$ville,
     18                'email'=>$email,
     19                'note'=>$note,
     20                'texte'=>$texte,
     21        );
     22        $ip = $_SERVER['REMOTE_ADDR'];
    1523}
    1624function formulaires_guestbook_verifier_dist(){
     
    2129function formulaires_guestbook_traiter_dist() {
    2230
    23 $maj    = date('Y-m-d H:i:s');
    2431$nom    = $_POST['nom'];
    2532$ville  = $_POST['ville'];
Note: See TracChangeset for help on using the changeset viewer.