Example #1
0
					<br class="clearall" /><br />
					<div class="outerbox">
						<?php 
        $currentalbum = 1;
        foreach ($albums as $folder) {
            $album = newAlbum($folder);
            echo "\n<!-- " . $album->name . " -->\n";
            ?>
							<div class="innerbox<?php 
            if ($currentalbum % 2) {
                echo '_dark';
            }
            ?>
" style="padding: 15px;">
								<?php 
            printAlbumEditForm($currentalbum, $album, false);
            $currentalbum++;
            ?>
							</div>
							<?php 
        }
        ?>
					</div>
					<br class="clearall" /><br />
					<span class="buttons">
						<a href="<?php 
        echo WEBPATH . '/' . ZENFOLDER;
        ?>
/admin-edit.php?page=edit">
							<img	src="images/arrow_left_blue_round.png" alt="" /><strong><?php 
        echo gettext("Back");
Example #2
0
	<?php 
        XSRFToken('albumedit');
        ?>
	<input type="hidden" name="totalalbums" value="<?php 
        echo sizeof($albums);
        ?>
" />
	<?php 
        $currentalbum = 1;
        foreach ($albums as $folder) {
            $album = new Album($gallery, $folder);
            echo "\n<!-- " . $album->name . " -->\n";
            ?>
		<div class="innerbox" style="padding: 15px;">
		<?php 
            printAlbumEditForm($currentalbum, $album, true);
            $currentalbum++;
            ?>
		</div>
		<br />
		<hr />
		<?php 
        }
        ?>
	</form>

</div>
<?php 
        /*** EDIT ALBUM SELECTION *********************************************************************/
    } else {
        /* Display a list of albums to edit. */