correction ordre AdminProduct

This commit is contained in:
Marion Muszynski 2016-04-12 17:39:47 +02:00
parent 43a24d1c7a
commit 7a131e2bef

View File

@ -1806,17 +1806,18 @@ class AdminProducts extends AdminTab
echo ' </td>
</tr>
</table>
<input type="hidden" name="token" value="'.($token ? $token : $this->token).'" />
</form>';
if (isset($this->_includeTab) AND sizeof($this->_includeTab))
echo '<br /><br />';
<input type="hidden" name="token" value="'.($token ? $token : $this->token).'" />';
if((int)$this->_category->id_parent == 1){
echo '<hr>';
echo '<h2>Ordonner les produits</h2>';
echo '<p><input type="submit" class="button" name="reorder'.$this->table.'" value="'.$this->l('Order products').'" /></p>';
echo '<br /><br />';
}
echo '</form>';
if (isset($this->_includeTab) AND sizeof($this->_includeTab))
echo '<br /><br />';
}