Rev 229 Rev 239
1 <p class="sgNavBar sgTopNavBar"> 1 <p class="sgNavBar sgTopNavBar">
2 <?php if($sg->gallery->hasPrev()) echo $sg->gallery->prevLink()." | "; ?> 2 <?php if($sg->gallery->hasPrev()) echo $sg->gallery->prevLink()." | "; ?>
3 <?php if(!$sg->gallery->isRoot()) echo $sg->gallery->parentLink(); ?> 3 <?php if(!$sg->gallery->isRoot()) echo $sg->gallery->parentLink(); ?>
4 <?php if($sg->gallery->hasNext()) echo " | ".$sg->gallery->nextLink(); ?> 4 <?php if($sg->gallery->hasNext()) echo " | ".$sg->gallery->nextLink(); ?>
5 </p> 5 </p>
6   6  
7 <h2 class="sgTitle"><?php echo $sg->gallery->name(); ?></h2> 7 <h2 class="sgTitle"><?php echo $sg->gallery->name(); ?></h2>
8   8  
9 <div class="sgContainer"> 9 <div class="sgContainer">
10 <div class="sgTab"><?php echo $sg->galleryTab()?></div> 10 <div class="sgTab"><?php echo $sg->galleryTab()?></div>
11 <div class="sgContent"> 11 <div class="sgContent">
12 <form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post"> 12 <form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post">
13 <input type="hidden" name="action" value="multi" /> 13 <input type="hidden" name="action" value="multi" />
14 <input type="hidden" name="gallery" value="<?php echo $sg->gallery->idEntities(); ?>" /> 14 <input type="hidden" name="gallery" value="<?php echo $sg->gallery->idEntities(); ?>" />
15 <div class="sgGallery"> 15 <div class="sgGallery">
16 <?php echo $sg->translator->_g("With selected:"); ?> 16 <?php echo $sg->translator->_g("With selected:"); ?>
17 <?php /* <input type="submit" class="button" name="subaction" value="<?php echo $sg->translator->_g("Copy or move"); ?>" /> */ ?> 17 <?php /* <input type="submit" class="button" name="subaction" value="<?php echo $sg->translator->_g("Copy or move"); ?>" /> */ ?>
18 <input type="submit" class="button" name="subaction" value="<?php echo $sg->translator->_g("Delete"); ?>" /> 18 <input type="submit" class="button" name="subaction" value="<?php echo $sg->translator->_g("Delete"); ?>" />
19 </div> 19 </div>
20 <?php for($index = $sg->gallery->startat; $index < $sg->gallery->imageCountSelected()+$sg->gallery->startat; $index++): ?> 20 <?php for($index = $sg->gallery->startat; $index < $sg->gallery->imageCountSelected()+$sg->gallery->startat; $index++): ?>
21 <div class="sgThumbnail"> 21 <div class="sgThumbnail">
22 <input type="checkbox" class="sgImageCheckbox checkbox" name="sgImages[]" value="<?php echo $sg->gallery->images[$index]->idEntities(); ?>" /> 22 <input type="checkbox" class="sgImageCheckbox checkbox" name="sgImages[]" value="<?php echo $sg->gallery->images[$index]->idEntities(); ?>" />
23 <table><tr><td> 23 <table><tr><td>
24 <?php echo $sg->gallery->images[$index]->thumbnailLink() ?> 24 <?php echo $sg->gallery->images[$index]->thumbnailLink() ?>
25 </td></tr></table> 25 </td></tr></table>
26 </div> 26 </div>
27 <?php endfor; ?> 27 <?php endfor; ?>
28 <div class="stretcher"></div> 28 <div class="stretcher"></div>
29 </div> 29 </div>
30 </form> 30 </form>
31 </div> 31 </div>
32 32
33 <p> 33 <p>
34 <?php foreach($sg->gallery->detailsArray() as $key => $value): ?> 34 <?php foreach($sg->gallery->detailsArray() as $key => $value): ?>
35 <strong><?php echo $key ?>:</strong> <?php echo $value ?><br /> 35 <strong><?php echo $key ?>:</strong> <?php echo $value ?><br />
36 <?php endforeach; ?> 36 <?php endforeach; ?>
37 </p> 37 </p>