Add tag to detect new method (to help debugs)

This commit is contained in:
Laurent Destailleur 2012-08-29 19:03:58 +02:00
parent edab47fbc8
commit bd5acde0c7
2 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@ if (! empty($conf->margin->enabled)) {
<form name="addproduct" id="addproduct" action="<?php echo $_SERVER["PHP_SELF"].'?id='.$this->id; ?>#add" method="POST">
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>" />
<input type="hidden" name="action" value="addline" />
<input type="hidden" name="usenewaddlineform" value="1" />
<input type="hidden" name="id" value="<?php echo $this->id; ?>" />
<?php if (! empty($conf->product->enabled) || ! empty($conf->service->enabled)) { ?>

View File

@ -30,6 +30,7 @@
<form action="<?php echo $_SERVER["PHP_SELF"].'?id='.$this->id.'#'.$line->id; ?>" method="POST">
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>">
<input type="hidden" name="action" value="updateligne">
<input type="hidden" name="usenewupdatelineform" value="1" />
<input type="hidden" name="id" value="<?php echo $this->id; ?>">
<input type="hidden" name="lineid" value="<?php echo $line->id; ?>">
<input type="hidden" id="product_type" name="type" value="<?php echo $line->product_type; ?>">