diff --git a/views/admin/exhibits/browse.php b/views/admin/exhibits/browse.php
index f4bb89bc..9f3813d6 100644
--- a/views/admin/exhibits/browse.php
+++ b/views/admin/exhibits/browse.php
@@ -1,77 +1,113 @@
$title, 'bodyclass'=>'exhibits'));
+echo head(
+ array(
+ 'title'=>$title,
+ 'bodyclass'=>'exhibits'
+ )
+);
+echo flash();
+echo item_search_filters();
?>
-
-
-
-
+
+
-
-
-
+
+
+
+
-
+
+
+
+ 'th scope="col"', 'list_tag' => '')); ?>
+
+
+
-
-
-
- 'th scope="col"', 'list_tag' => '')); ?>
-
-
-
+ $exhibit): ?>
+
+
+ 'image'));
+ endif; ?>
+
+
+ public): ?>
+
+
+
+
+
+ - 'edit')); ?>
+
+
+ - 'delete-confirm')) ?>
+
+
-$exhibit): ?>
- |
-
- 'image'));
- endif; ?>
-
-
- public): ?>
-
-
-
-
-
- - 'edit')); ?>
-
-
- - 'delete-confirm')) ?>
-
-
- |
- |
- theme==null) {
- $themeName = __('Current Public Theme');
- } else {
- $theme = Theme::getTheme($exhibit->theme);
- $themeName = !empty($theme->title) ? $theme->title : $exhibit->theme;
- }
- ?>
- |
- |
-
-
-
-
-
+
+ description, 40); ?>
+
+ :
+ use_summary_page ? __('True') : __('False')); ?>
+
+
+ :
+ TopPages); ?>
+
+
+
+ |
+ theme==null) {
+ $themeName = __('Current Public Theme');
+ } else {
+ $theme = Theme::getTheme($exhibit->theme);
+ $themeName = !empty($theme->title) ? $theme->title : $exhibit->theme;
+ }
+ ?>
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ' . __('reset your search') . '?'; ?>
+
+
diff --git a/views/admin/exhibits/quick-filters.php b/views/admin/exhibits/quick-filters.php
new file mode 100644
index 00000000..f36611d7
--- /dev/null
+++ b/views/admin/exhibits/quick-filters.php
@@ -0,0 +1,11 @@
+
diff --git a/views/admin/javascripts/exhibits-browse.js b/views/admin/javascripts/exhibits-browse.js
new file mode 100644
index 00000000..a1506d1b
--- /dev/null
+++ b/views/admin/javascripts/exhibits-browse.js
@@ -0,0 +1,39 @@
+if (!Omeka) {
+ var Omeka = {};
+}
+
+Omeka.ExhibitsBrowse = {};
+
+(function ($) {
+ Omeka.ExhibitsBrowse.setupDetails = function (detailsText, showDetailsText, hideDetailsText) {
+ $('.details').hide();
+ $('.action-links').prepend('' + detailsText + ' ');
+
+ $('tr.exhibit').each(function() {
+ var exhibitDetails = $(this).find('.details');
+ if ($.trim(exhibitDetails.html()) != '') {
+ $(this).find('.details-link').css({'color': '#4E7181', 'cursor': 'pointer'}).click(function() {
+ exhibitDetails.slideToggle('fast');
+ });
+ }
+ });
+
+ var toggleList = '' + showDetailsText + '';
+
+ $('.quick-filter-wrapper').before(toggleList);
+
+ // Toggle exhibit details.
+ var detailsShown = false;
+ $('.toggle-all-details').click(function (e) {
+ e.preventDefault();
+ if (detailsShown) {
+ $('.toggle-all-details').text(showDetailsText);
+ $('.details').slideUp('fast');
+ } else {
+ $('.toggle-all-details').text(hideDetailsText);
+ $('.details').slideDown('fast');
+ }
+ detailsShown = !detailsShown;
+ });
+ };
+})(jQuery);