function ajax_nextgen_reset_album_import()
 {
     if (check_admin_referer('foogallery_nextgen_album_reset', 'foogallery_nextgen_album_reset')) {
         //$this->nextgen->reset_import();
         $this->nextgen->render_album_import_form();
     }
     die;
 }
Ejemplo n.º 2
0
		<div class="foogallery-help">
			<?php 
    _e('Importing albums is also really simple:', 'foogallery');
    ?>
			<ol>
				<li><?php 
    _e(__('For all the albums you wish to import, make sure all the galleries have been imported FIRST. If not, then go back to the Galleries tab.', 'foogallery'));
    ?>
</li>
				<li><?php 
    _e('Click the Import Album button for each album to import the album and link all the galleries. If you do not see the button, then that means you first need to import the galleries.', 'foogallery');
    ?>
</li>
				<li><?php 
    _e('Once an album is imported, you can click on the link under the Album Name column to edit the album.', 'foogallery');
    ?>
</li>
			</ol>
		</div>

		<form id="nextgen_import_album_form" method="POST">
			<?php 
    $nextgen->render_album_import_form($albums);
    ?>
		</form>
	<?php 
}
?>
	</div>
</div>