CMS  Version 3.9
image_gallery_tabs.inc File Reference

Go to the source code of this file.

Functions

 imageGalleryTabs ($key)
 
 imageGallerySubTabs ($key)
 

Function Documentation

◆ imageGallerySubTabs()

imageGallerySubTabs (   $key)

Definition at line 51 of file image_gallery_tabs.inc.

52 {
53 
54  $tabs = array("Thumbnails" => "/admin/images",
55  "Details" => "/admin/image_list",
56  );
57 
58  $qs = ($key) ? "gallery_id=$key" : "";
59  return new TabBar("subtabs", $tabs, $qs);
60 }
$tabs

◆ imageGalleryTabs()

imageGalleryTabs (   $key)

Definition at line 36 of file image_gallery_tabs.inc.

37 {
38  $tabs = array( "Gallery" =>
39  array("Definition" => "/admin/image_gallery_form",
40  "Permissions" => "/admin/image_gallery_permissions"),
41 
42  "Images" =>
43  array("Thumbnails" => "/admin/images",
44  "Detailed List" => "/admin/image_list")
45  );
46 
47  $qs = ($key) ? "gallery_id=$key" : "";
48  return new TwoLevelTabBar($tabs, $qs);
49 }