- Timestamp:
- 03/18/09 23:39:12 (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Vote/Model/Vote.pm
r77 r78 725 725 chomp($line); 726 726 warn $line; 727 my ($ id, $mail) = split(';', $line);728 $ id && $mail or do {727 my ($mail, $name) = split(';', $line); 728 $mail or do { 729 729 $self->db->rollback; 730 730 return; 731 731 }; 732 $self->addupd_voting($voteid, $ id, $mail);732 $self->addupd_voting($voteid, $mail, $name); 733 733 } 734 734 1; -
trunk/root/templates/admin/default.tt
r76 r78 83 83 </form> 84 84 <hr> 85 <p>Soumettre la liste via un fichier csv </p>86 <p>Format: <i> Nom;Mail@domain</i></p>85 <p>Soumettre la liste via un fichier csv (le Nom est optionnel)</p> 86 <p>Format: <i>Mail@domain;Nom</i></p> 87 87 <form method="POST" ENCTYPE="multipart/form-data" action="[% c.uri_for(voteid) %]"> 88 88 <input type="file" name="votinglist"><br>
Note: See TracChangeset
for help on using the changeset viewer.