\Pasteque\form_input("edit", "Provider", $provider, "region", "string"); ?> <?php \Pasteque\form_input("edit", "Provider", $provider, "country", "string"); ?> <?php \Pasteque\form_input("edit", "Provider", $provider, "notes", "text"); ?> <?php \Pasteque\form_input("edit", "Provider", $provider, "visible", "boolean"); ?> </fieldset> <div class="row actions"> <?php \Pasteque\form_save(); ?> </div> </form> <?php if ($provider !== NULL) { ?> <form action="<?php echo \Pasteque\get_module_url_action(PLUGIN_NAME, 'providers'); ?> " method="post"> <?php \Pasteque\form_delete("prov", $provider->id); ?> </form> <?php
echo \Pasteque\get_current_url(); ?> " method="post"> <?php foreach ($mandatoryModules as $module) { ?> <input type="hidden" name="modules[]" value="<?php echo \Pasteque\esc_attr($module); ?> " /> <?php } foreach ($freeModules as $module) { displayFreeModule($module, $activatedModules); } echo \Pasteque\row(\Pasteque\form_save()); echo \Pasteque\row(\Pasteque\infoDiv(\i18n("Once modules are selected, they will be activated in a short moment.", PLUGIN_NAME))); ?> </form> <?php echo \Pasteque\row(\Pasteque\secondaryTitle(\i18n("Buy modules", PLUGIN_NAME))); ?> <div class="edit"> <table cellpadding="0" cellspacing="0"> <tbody id="list"> <?php $pp_id = null; if ($cfg['pp_sandbox']) { $pp_id = $cfg['pp_sandbox_id']; } else {