<td class="edition"> <?php \Pasteque\tpl_btn("edition", \Pasteque\get_module_url_action(PLUGIN_NAME, 'provider_edit', array("id" => $printprovider->id)), "", 'img/edit.png', \i18n('Edit'), \i18n('Edit')); ?> <form action="<?php echo \Pasteque\get_current_url(); ?> " method="post"><?php \Pasteque\form_delete("prov", $printprovider->id, \Pasteque\get_template_url() . 'img/delete.png'); ?> </form> </td> </tr> <?php } $par = false; foreach ($providers as $provider) { printprovider($provider, 0, $par); } ?> </tbody> </table> <?php if (count($providers) == 0) { ?> <div class="alert"><?php \pi18n("No provider found", PLUGIN_NAME); ?> </div> <?php }
</td> <td class="edition"> <?php \Pasteque\tpl_btn("edition", \Pasteque\get_module_url_action(PLUGIN_NAME, 'provider_edit', array("id" => $printprovider->id)), "", 'img/edit.png', \i18n('Edit'), \i18n('Edit')); ?> <form action="<?php echo \Pasteque\get_current_url(); ?> " method="post"><?php \Pasteque\form_delete("prov", $printprovider->id, \Pasteque\get_template_url() . 'img/delete.png'); ?> </form> </td> </tr> <?php } foreach ($providers as $provider) { printprovider($provider, 0); } ?> </tbody> </table> <?php if (count($providers) == 0) { ?> <div class="alert"><?php \pi18n("No provider found", PLUGIN_NAME); ?> </div> <?php }