Ignore:
Timestamp:
Jan 31, 2012, 3:34:21 PM (8 years ago)
Author:
komodo
Message:

fix backend fuse commissions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/branches/senat/project/apps/backend/modules/organisme/templates/fuseSuccess.php

    r2029 r2624  
    2020    </div>
    2121    <?php if (!(isset($doublons) && $doublons > 1)) {
    22       echo '<p id="fuse" style="text-align:center;"><a href="';
    23       if ($type == "commission") echo url_for('@fuse_commissions?bad='.$bad.'&good='.$good);
    24       else echo url_for('@fuse_seances?id='.$orga.'&bad='.$bads.'&good='.$goods);
    25       echo '">FUSIONNER</a></p>';
     22      echo '<form id="fuse" style="text-align:center;" action="';
     23      if ($type == "commission") {
     24        echo url_for('@fuse_commissions').'" method="post">';
     25        echo '<input type="hidden" name="bad" value="'.$bad.'" />';
     26        echo '<input type="hidden" name="good" value="'.$good.'" />';
     27      } else {
     28        echo url_for('@fuse_seances?id='.$orga).'" method="post">';
     29        echo '<input type="hidden" name="bad" value="'.$bads.'" />';
     30        echo '<input type="hidden" name="good" value="'.$goods.'" />';
     31      }
     32      echo '<input type="submit" value="Fusionner" /></div>';
    2633    } ?>
    2734  </div>
Note: See TracChangeset for help on using the changeset viewer.