/** * get view category settings of the current gallery * @return string */ public static function getUrlViewAdvanced() { $galleryID = GlobalsUGGallery::$galleryID; $url = HelperUG::getViewUrl(GlobalsUG::VIEW_ADVANCED, "id={$galleryID}"); return $url; }
?> <div id="dialog_new" class="dialog_new_gallery" title="<?php _e("Choose a gallery", UNITEGALLERY_TEXTDOMAIN); ?> " style="display:none"> <div class="unite-admin unite-dialog-inside"> <ul id="listGalleries" class="list_galleries"> <?php foreach ($arrGalleryTypes as $gallery) { $galleryName = UniteFunctionsUG::getVal($gallery, "name"); $galleryTitle = UniteFunctionsUG::getVal($gallery, "title"); $link = HelperUG::getViewUrl(GlobalsUG::VIEW_GALLERY, "type={$galleryName}"); ?> <li><a class="unite-button-secondary" href="<?php echo $link; ?> " data-name="<?php echo $galleryName; ?> "><?php echo $galleryTitle; ?> </a></li> <?php } ?> </ul>