function ajax_nextgen_reset_import()
 {
     if (check_admin_referer('foogallery_nextgen_reset', 'foogallery_nextgen_reset')) {
         $this->nextgen->reset_import();
         $this->nextgen->render_import_form();
     }
     die;
 }
Ejemplo n.º 2
0
    _e('Click the Start Import button to start the import process.', 'foogallery');
    ?>
</li>
				<li><?php 
    printf(__('Once a gallery is imported, you can click on the link under the %s Name column to edit the gallery.', 'foogallery'), foogallery_plugin_name());
    ?>
</li>
			</ol>
			<?php 
    _e('Please note: importing large galleries with lots of images can take a while!', 'foogallery');
    ?>
		</div>

		<form id="nextgen_import_form" method="POST">
			<?php 
    $nextgen->render_import_form($galleries);
    ?>
		</form>
	<?php 
}
?>
	</div>
	<div class="nextgen_import_container" id="nextgen_import_albums" style="display: none">
	<?php 
$albums = $nextgen->get_albums();
if (!$albums) {
    _e('There are no NextGen albums to import!', 'foogallery');
} else {
    ?>
		<div class="foogallery-help">
			<?php