- = $theme->sidebar_menu($url) ?>
-
-
- if ($theme->sidebarvisible=="left"): ?>
- = '
' ?>
- elseif ($theme->sidebarvisible=="none"): ?>
- else: ?>
- = '
' ?>
- endif ?>
-
- if (($theme->page_subtype != "login") and ($theme->page_subtype != "reauthenticate") and ($theme->sidebarvisible != "none")): ?>
- = new View("sidebar.html") ?>
- endif ?>
- = ($theme->sidebarvisible != "none")? "
" : null ?>
-
- if ($theme->sidebarvisible == "left"): ?>
- = '
' ?>
- elseif ($theme->sidebarvisible == "none"): ?>
- = '
' ?>
- else: ?>
- = '
' ?>
- endif ?>
- = $content ?>
-
-
-
-
-= $theme->page_bottom() ?>
-
-
diff --git a/3.0/themes/greydragon/views/paginator.html.php b/3.0/themes/greydragon/views/paginator.html.php
deleted file mode 100644
index 9b5e725e..00000000
--- a/3.0/themes/greydragon/views/paginator.html.php
+++ /dev/null
@@ -1,188 +0,0 @@
-
-
-// This is a generic paginator for album, photo and movie pages. Depending on the page type,
-// there are different sets of variables available. With this data, you can make a paginator
-// that lets you say "You're viewing photo 5 of 35", or "You're viewing photos 10 - 18 of 37"
-// for album views.
-//
-// Available variables for all page types:
-// $page_type - "collection", "item", or "other"
-// $page_subtype - "album", "movie", "photo", "tag", etc.
-// $previous_page_url - the url to the previous page, if there is one
-// $next_page_url - the url to the next page, if there is one
-// $total - the total number of photos in this album
-//
-// Available for the "collection" page types:
-// $page - what page number we're on
-// $max_pages - the maximum page number
-// $page_size - the page size
-// $first_page_url - the url to the first page, or null if we're on the first page
-// $last_page_url - the url to the last page, or null if we're on the last page
-// $first_visible_position - the position number of the first visible photo on this page
-// $last_visible_position - the position number of the last visible photo on this page
-//
-// Available for "item" page types:
-// $position - the position number of this photo
-//
-?>
-
-
- switch ($page_type) {
- case "collection":
- if ($item):
- $parent = $item->parent();
- endif;
- $current_page = $page;
- $total_pages = $max_pages;
- // Prepare page url list
- for ($i = 1; $i <= $total_pages; $i++):
- $_pagelist[$i] = url::site(url::merge(array("page" => $i)));
- endfor;
- break;
- case "item":
- if ($item):
- $parent = $item->parent();
- endif;
- $current_page = $position;
- $total_pages = $total;
- $siblings = $item->parent()->children();
- for ($i = 1; $i <= $total; $i++):
- $_pagelist[$i] = $siblings[$i-1]->url();
- endfor;
- break;
- default:
- $current_page = 1;
- $total_pages = 1;
- $_pagelist[1] = url::site();
- break;
- }
-
- if ($total_pages <= 1):
- $pagination_msg = " ";
- else:
- $pagination_msg = t("Page:") . ' ';
- if ($total_pages < 13):
- for ($i = 1; $i <= $total_pages; $i++):
- if ($i == $current_page):
- $pagination_msg .= '
' . t($i) . '';
- else:
- $pagination_msg .= '
' . t($i) . '';
- endif;
- if ($i < $total_pages):
- $pagination_msg .= '·';
- endif;
- endfor;
- elseif ($current_page < 9):
- for ($i = 1; $i <= 10; $i++):
- if ($i == $current_page):
- $pagination_msg .= '
' . t($i) . '';
- else:
- $pagination_msg .= '
' . t($i) . '';
- endif;
- if ($i < 10):
- $pagination_msg .= '·';
- endif;
- endfor;
-
- $pagination_msg .= '…';
- $pagination_msg .= '
' . t($total_pages - 1) . '';
- $pagination_msg .= '·';
- $pagination_msg .= '
' . t($total_pages) . '';
-
- elseif ($current_page > $total_pages - 8):
- $pagination_msg .= '
' . t(1) . '';
- $pagination_msg .= '·';
- $pagination_msg .= '
' . t(2) . '';
- $pagination_msg .= '…';
-
- for ($i = $total_pages - 9; $i <= $total_pages; $i++):
- if ($i == $current_page):
- $pagination_msg .= '
' . t($i) . '';
- else:
- $pagination_msg .= '
' . t($i) . '';
- endif;
- if ($i < $total_pages):
- $pagination_msg .= '·';
- endif;
- endfor;
-
- else:
- $pagination_msg .= '
' . t(1) . '';
- $pagination_msg .= '·';
- $pagination_msg .= '
' . t(2) . '';
- $pagination_msg .= '…';
-
- for ($i = $current_page - 5; $i <= $current_page + 5; $i++):
- if ($i == $current_page):
- $pagination_msg .= '
' . t($i) . '';
- else:
- $pagination_msg .= '
' . t($i) . '';
- endif;
- if ($i < $current_page + 5):
- $pagination_msg .= '·';
- endif;
- endfor;
-
- $pagination_msg .= '…';
- $pagination_msg .= '
' . t($total_pages - 1) . '';
- $pagination_msg .= '·';
- $pagination_msg .= '
' . t($total_pages) . '';
- endif;
- endif;
-?>
-
-
\ No newline at end of file
diff --git a/3.0/themes/greydragon/views/photo.html.php b/3.0/themes/greydragon/views/photo.html.php
deleted file mode 100644
index 884e30a5..00000000
--- a/3.0/themes/greydragon/views/photo.html.php
+++ /dev/null
@@ -1,79 +0,0 @@
-
- if ($theme->desc_allowbbcode): ?>
- $_description = $theme->bb2html($item->description, 1); ?>
- else: ?>
- $_description = nl2br(html::purify($item->description)); ?>
- endif; ?>
-
- if ($theme->is_photometa_visible): ?>
- $_description .= '
'; ?>
- endif; ?>
-
-
- $_title = $theme->bb2html(html::purify($item->title), 1); ?>
-
-
= $_title ?>
-
- = $theme->add_paginator("top"); ?>
- = $theme->photo_top() ?>
- if (($theme->photo_descmode == "top") and ($_description)): ?>
-
- endif; ?>
-
- = $theme->resize_top($item) ?>
- if (access::can("view_full", $item)): ?>
- $_url = $item->file_url() . '" class="g-sb-preview" '; ?>
- else: ?>
- $_url = '#"'; ?>
- endif; ?>
- $_resizewidth = $item->resize_width; ?>
- $siblings = $item->parent()->children(); ?>
- $siblings_count = count($siblings) - 1; ?>
-
- = $theme->resize_bottom($item) ?>
-
- if (($theme->photo_descmode == "bottom") and ($_description)): ?>
-
- endif; ?>
- = $theme->add_paginator("bottom"); ?>
- = $theme->photo_bottom() ?>
-
diff --git a/3.0/themes/greydragon/views/rss_block.html.php b/3.0/themes/greydragon/views/rss_block.html.php
deleted file mode 100644
index 4d30ce59..00000000
--- a/3.0/themes/greydragon/views/rss_block.html.php
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
diff --git a/3.0/themes/greydragon/views/search.html.php b/3.0/themes/greydragon/views/search.html.php
deleted file mode 100644
index 94fc170c..00000000
--- a/3.0/themes/greydragon/views/search.html.php
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
= t("Search Results for \"%term\"", array("term" => $q)) ?>
-
- if (count($items)): ?>
-
- = $theme->add_paginator("top"); ?>
-
- foreach ($items as $item): ?>
- // $item_class = $item->is_album() ? "g-album" : "g-photo" ?>
- // - ?>
- = $theme->get_thumb_element($item) ?>
- //
?>
- endforeach ?>
-
- = $theme->add_paginator("bottom"); ?>
- else: ?>
-
-
= t("No results found for %term", array("term" => $q)) ?>
-
- endif; ?>
-
\ No newline at end of file
diff --git a/3.0/themes/greydragon/views/sidebar.html.php b/3.0/themes/greydragon/views/sidebar.html.php
deleted file mode 100644
index 0cad333d..00000000
--- a/3.0/themes/greydragon/views/sidebar.html.php
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-= $theme->sidebar_top() ?>
-
- if (($theme->page_subtype == "album") or ($theme->page_subtype == "photo") or ($theme->page_subtype == "movie") or ($theme->item())): ?>
-= $theme->sidebar_blocks() ?>
- endif; ?>
-= $theme->sidebar_bottom() ?>
diff --git a/3.0/themes/greydragon/views/tag_block.html.php b/3.0/themes/greydragon/views/tag_block.html.php
deleted file mode 100644
index f9bc5886..00000000
--- a/3.0/themes/greydragon/views/tag_block.html.php
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
">
- = $cloud ?>
-
-= $form ?>
\ No newline at end of file
diff --git a/3.0/themes/greydragon/views/user_profile.html.php b/3.0/themes/greydragon/views/user_profile.html.php
deleted file mode 100644
index b7d92f40..00000000
--- a/3.0/themes/greydragon/views/user_profile.html.php
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
= t("User profile: %name", array("name" => $user->display_name())) ?>
-
-
-
-
"
- alt="= html::clean_attribute($user->display_name()) ?>"
- class="g-avatar g-left" width="40" height="40" />
-
-
- foreach ($info_parts as $info): ?>
-
-
= html::purify($info->title) ?>
-
- = $info->view ?>
-
-
- endforeach ?>
-
diff --git a/3.1/modules/atom/module.info b/3.1/modules/atom/module.info
new file mode 100644
index 00000000..e9d35a69
--- /dev/null
+++ b/3.1/modules/atom/module.info
@@ -0,0 +1,3 @@
+name = "Atom"
+description = "Enable Atom feeds in your Gallery"
+version = 1
diff --git a/3.1/modules/kbd_nav/changelog.txt b/3.1/modules/kbd_nav/changelog.txt
deleted file mode 100644
index 203fdea1..00000000
--- a/3.1/modules/kbd_nav/changelog.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Kbd Navigation Changelog
-
-version 1.5:
-- Fix for RTL detection
-- Added support for Wind theme
-
-version 1.4:
-- Added RTL detection
-
-version 1.3:
-- Internal revision
-
-version 1.2:
-- Added support for GreyDragon Photo Slideshow navigation - in Photo SB slideshow mode, key navigation is superseded by slideshow navigation.
-
-version 1.1:
-- Internal revision
-
-version 1.0:
-- Initial release
\ No newline at end of file
diff --git a/3.1/modules/kbd_nav/helpers/kbd_nav_theme.php b/3.1/modules/kbd_nav/helpers/kbd_nav_theme.php
deleted file mode 100644
index e085f187..00000000
--- a/3.1/modules/kbd_nav/helpers/kbd_nav_theme.php
+++ /dev/null
@@ -1,8 +0,0 @@
-script("kbd_nav.js");
- }
-}
\ No newline at end of file
diff --git a/3.1/modules/kbd_nav/js/kbd_nav.js b/3.1/modules/kbd_nav/js/kbd_nav.js
deleted file mode 100644
index 25eb7210..00000000
--- a/3.1/modules/kbd_nav/js/kbd_nav.js
+++ /dev/null
@@ -1,102 +0,0 @@
-/**
-*
-* Copyright (c) 2010 Serguei Dosyukov, http://blog.dragonsoft.us
-*
-* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
-* files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
-* modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
-* Software is furnished to do so, subject to the following conditions:
-*
-* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-*
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
-* IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-*
-*/
-
-$.fn.KbdNavigation = function(options, callback) {
-
- this.options = options || {};
- var opt = this.options;
- this.callback = callback || null;
- var clbk = this.callback;
-
- $(this).bind("keydown", function(event) {
- if ($('#sb-body-inner>img#sb-content').is(':visible')) {
- return false;
- }
- // ignore shortcuts when inside a jQuery dialog; otherwise it becomes impossible
- // to navigate the cursor inside an input box
- if ($('.ui-widget-overlay').is(':visible')) {
- return true;
- }
-
- var direction = "ltr";
- if (document.body) {
- if (window.getComputedStyle) {
- direction = window.getComputedStyle(document.body, null).direction;
- } else if (document.body.currentStyle) {
- direction = document.body.currentStyle.direction;
- }
- }
-
- var lnk = "";
- var lnk_first, lnk_prev, lnk_parent, lnk_next, lnk_last;
-
- if(opt.first) { lnk_first = opt.first; } else { lnk_first = $("#g-navi-first").attr("href"); }
- if(opt.prev) { lnk_prev = opt.prev; } else { lnk_prev = $("#g-navi-prev").attr("href"); }
- if(opt.parent) { lnk_parent = opt.parent; } else { lnk_parent = $("#g-navi-parent").attr("href"); }
- if(opt.next) { lnk_next = opt.next; } else { lnk_next = $("#g-navi-next").attr("href"); }
- if(opt.last) { lnk_last = opt.last; } else { lnk_last = $("#g-navi-last").attr("href"); }
-
- // Support for standard Wind Theme tags
- if(!lnk_first) { lnk_first = $(".g-paginator .ui-icon-seek-first").parent().attr("href"); }
- if(!lnk_prev) { lnk_prev = $(".g-paginator .ui-icon-seek-prev").parent().attr("href"); }
- if(!lnk_next) { lnk_next = $(".g-paginator .ui-icon-seek-next").parent().attr("href"); }
- if(!lnk_last) { lnk_last = $(".g-paginator .ui-icon-seek-end").parent().attr("href"); }
-
- var keyCode = event.keyCode;
-
- if (direction == "rtl") {
- switch(keyCode) {
- case 0x25: // Left
- keyCode = 0x27;
- break;
- case 0x27: // Right
- keyCode = 0x25;
- break;
- }
- }
-
- switch(keyCode) {
- case 0x25: // Ctr+Left/Left
- if(event.ctrlKey) { lnk = lnk_first; } else { lnk = lnk_prev; }
- break;
- case 0x26: // Ctrl+Up
- if(event.ctrlKey) { lnk = lnk_parent; }
- break;
- case 0x27: // Ctrl+Right/Right
- if(event.ctrlKey) { lnk = lnk_last; } else { lnk = lnk_next; }
- break;
- }
-
- if(lnk) {
- if(typeof clbk == 'function') {
- clbk();
- return false;
- } else {
- window.location = lnk;
- return true;
- }
- }
-
- return true;
- });
-}
-
-$(document).ready( function() {
- $(document).KbdNavigation({});
- if ($('#sb-content').is(':visible')) { return true; }
-});
diff --git a/3.1/modules/kbd_nav/module.info b/3.1/modules/kbd_nav/module.info
deleted file mode 100644
index 2eda7c73..00000000
--- a/3.1/modules/kbd_nav/module.info
+++ /dev/null
@@ -1,3 +0,0 @@
-name = "Kbd Navigation"
-description = "Adds keyboard navigation to the gallery.
Version 1.5 | By
Serguei Dosyukov |
Visit plugin Site |
Support"
-version = 5
diff --git a/3.1/themes/greydragon/admin/controllers/admin_theme_options.php b/3.1/themes/greydragon/admin/controllers/admin_theme_options.php
deleted file mode 100644
index ec33e6b3..00000000
--- a/3.1/themes/greydragon/admin/controllers/admin_theme_options.php
+++ /dev/null
@@ -1,469 +0,0 @@
-load_theme_info();
- return ($theme_info->version);
- }
-
- private function get_theme_name() {
- $theme_info = $this->load_theme_info();
- return ($theme_info->name);
- }
-
- private function get_colorpacks() {
- $colorpacks = array();
- $colorpackroot = THEMEPATH . 'greydragon/css/colorpacks/';
-
- foreach (scandir($colorpackroot) as $colorpack_name):
- if (file_exists($colorpackroot . "$colorpack_name/colors.css")):
- if ($colorpack_name[0] == "."):
- continue;
- endif;
-
- $colorpacks[$colorpack_name] = t($colorpack_name);
- endif;
- endforeach;
- return $colorpacks;
- }
-
- private function prerequisite_check($group, $id, $is_ok, $caption, $caption_ok, $caption_failed, $iswarning, $msg_error) {
-
- $confirmation_caption = ($is_ok)? $caption_ok : $caption_failed;
- $checkbox = $group->checkbox($id)
- ->label($caption . " " . $confirmation_caption)
- ->checked($is_ok)
- ->disabled(true);
- if ($is_ok):
- $checkbox->class("g-success");
- elseif ($iswarning):
- $checkbox->class("g-prerequisite g-warning")->error_messages("failed", $msg_error)->add_error("failed", 1);
- else:
- $checkbox->class("g-error")->error_messages("failed", $msg_error)->add_error("failed", 1);
- endif;
- }
-
- protected function get_edit_form_admin() {
- $form = new Forge("admin/theme_options/save/", "", null, array("id" =>"g-theme-options-form"));
-
- $group = $form->group("requirements")->label("Prerequisites Checklist");
- $gallery_ver = module::get_version("gallery");
-
- $this->prerequisite_check($group, "vercheck", $gallery_ver >= $this->min_gallery_ver,
- t("Gallery 3 Core v.") . $this->min_gallery_ver, "Installed", "Required", FALSE, t("Check Failed. Minimum Required Version") . " " . $gallery_ver);
-
- $this->prerequisite_check($group, "shadowbox", ((module::is_active("shadowbox")) and (module::info("shadowbox"))),
- t("Shadowbox Module"), "Found", "Required", FALSE, t("Check Failed. Shadowbox Module not Installed."));
-
- if (!module::get_var("th_greydragon", "hide_thumbmeta")):
- $this->prerequisite_check($group, "info", (module::is_active("info") and module::info("info")),
- t("Info Module"), "Found", "Required", FALSE, t("Check Failed. Module is required to display Thumb metadata."));
- endif;
-
- $group = $form->group("recommended")->label("Module Recommendations");
-
- $organize_active = ((module::is_active("organize")) and (module::info("organize")));
- $this->prerequisite_check($group, "organizecheck", !$organize_active,
- t("Organize Module"), "not Used", "Found", TRUE, t("Default Organize module is active but is not supported in full by the theme."));
-
- $kbdnav_active = ((module::is_active("kbd_nav")) and (module::info("kbd_nav")));
- $this->prerequisite_check($group, "kbdnavcheck", $kbdnav_active,
- t("Kbd Navigation Module"), "Found", "not Found", TRUE, t('Install
module to enable keyboard navigation support.'));
-
- $sidebar_allowed = module::get_var("th_greydragon", "sidebar_allowed");
- $sidebar_visible = module::get_var("th_greydragon", "sidebar_visible");
-
- $pagesize = module::get_var("gallery", "page_size");
- if (($sidebar_allowed == "none") and ($sidebar_visible == "none")):
- $pagesize = $pagesize / 4;
- else:
- $pagesize = $pagesize / 3;
- endif;
-
- $group = $form->group("edit_theme")->label(t("General Settings"));
- $group->input("row_count")
- ->label(t("Rows per Album Page"))
- ->rules("required|valid_digit")
- ->error_messages("required", t("You must enter a number"))
- ->error_messages("valid_digit", t("You must enter a number"))
- ->value($pagesize);
- $group->input("resize_size")
- ->label(t("Resized Image Size (in pixels)"))
- ->rules("required|valid_digit")
- ->error_messages("required", t("You must enter a number"))
- ->error_messages("valid_digit", t("You must enter a number"))
- ->value(module::get_var("gallery", "resize_size"));
- $group->input("logo_path")
- ->label(t("Alternate Logo Image"))
- ->value(module::get_var("th_greydragon", "logo_path"));
- $group->input("header_text")
- ->label(t("Header Text"))
- ->value(module::get_var("gallery", "header_text"));
- $group->input("footer_text")
- ->label(t("Footer Text"))
- ->value(module::get_var("gallery", "footer_text"));
- $group->input("copyright")
- ->label(t("Copyright Message"))
- ->value(module::get_var("th_greydragon", "copyright"));
- $group->dropdown("colorpack")
- ->label(t("Selected Color Pack"))
- ->options(self::get_colorpacks())
- ->selected(module::get_var("th_greydragon", "color_pack", "greydragon"));
-
- $group = $form->group("edit_theme_adv_main")->label(t("Advanced Options - Main"));
- $group->checkbox("show_credits")
- ->label(t("Show Site Credits"))
- ->checked(module::get_var("gallery", "show_credits"));
- $group->checkbox("show_guest_menu")
- ->label(t("Show Main Menu for Guest Users"))
- ->checked(module::get_var("th_greydragon", "show_guest_menu"));
- $group->checkbox("loginmenu_position")
- ->label(t("Place Login Link in the Header"))
- ->checked(module::get_var("th_greydragon", "loginmenu_position") == "header");
- $group->checkbox("mainmenu_position")
- ->label(t("Alternate Header Layout"))
- ->checked(module::get_var("th_greydragon", "mainmenu_position") == "top");
- $group->checkbox("hide_breadcrumbs")
- ->label(t("Hide Breadcrumbs"))
- ->checked(module::get_var("th_greydragon", "hide_breadcrumbs"));
- $group->dropdown("photonav_position")
- ->label(t("Item Navigator Position"))
- ->options(array("top" => t("Top"), "bottom" => t("Bottom"), "both" => t("Both"), "none" => t("None")))
- ->selected(module::get_var("th_greydragon", "photonav_position"));
- $group->checkbox("disable_seosupport")
- ->label(t("Disallow Search Engine Indexing"))
- ->checked(module::get_var("th_greydragon", "disable_seosupport"));
- $group->checkbox("enable_pagecache")
- ->label(t("Enable Page Cache (60 seconds)"))
- ->checked(module::get_var("th_greydragon", "enable_pagecache"));
-
- $group = $form->group("edit_theme_adv_thumb")->label(t("Advanced Options - Album page/Thumbs"));
- $group->dropdown("thumb_ratio")
- ->label(t("Aspect Ratio"))
- ->options(array("photo" => t("Actual Size"), "digital" => t("Digital 4:3"), "film" => t("Film 3:2") /* , "square" => t("Square 1:1") */ ))
- ->selected(module::get_var("th_greydragon", "thumb_ratio"));
- $group->dropdown("thumb_descmode")
- ->label(t("Title Display Mode"))
- ->options(array("overlay" => t("Overlay"), "bottom" => t("Bottom"), "hide" => t("Hide")))
- ->selected(module::get_var("th_greydragon", "thumb_descmode"));
- $group->checkbox("hide_thumbmeta")
- ->label(t("Hide Item Meta Data"))
- ->checked(module::get_var("th_greydragon", "hide_thumbmeta"));
-
- $group = $form->group("edit_theme_adv_photo")->label(t("Advanced Options - Photo page"));
- $group->dropdown("photo_descmode")
- ->label(t("Description Display Mode"))
- ->options(array("overlay" => t("Overlay"), "bottom" => t("Bottom"), "top" => t("Top"), "hide" => t("Hide")))
- ->selected(module::get_var("th_greydragon", "photo_descmode"));
- $group->checkbox("desc_allowbbcode")
- ->label(t("Allow BBCode/HTML in Descriptions"))
- ->checked(module::get_var("th_greydragon", "desc_allowbbcode"));
- $group->checkbox("hide_photometa")
- ->label(t("Hide Item Meta Data"))
- ->checked(module::get_var("th_greydragon", "hide_photometa", TRUE));
-
- $group = $form->group("edit_theme_side")->label(t("Sidebar Options"));
- $group->checkbox("hide_blockheader")
- ->label(t("Hide Block Header"))
- ->checked(module::get_var("th_greydragon", "hide_blockheader"));
- $group->checkbox("sidebar_albumonly")
- ->label(t("Show Sidebar for Albums Only"))
- ->checked(module::get_var("th_greydragon", "sidebar_albumonly"));
- $group->dropdown("sidebar_allowed")
- ->label(t("Allowed Sidebar Positions"))
- ->options(array("any" => t("Any"), "left" => t("Left"), "right" => t("Right"), "none" => t("Default Only")))
- ->selected($sidebar_allowed);
- $group->dropdown("sidebar_visible")
- ->label(t("Default Sidebar Position"))
- ->options(array("right" => t("Right"), "left" => t("Left"), "none" => t("No sidebar")))
- ->selected($sidebar_visible);
-
- $group = $form->group("maintenance")->label("Maintenance");
- $group->checkbox("build_resize")->label(t("Mark all Image Resizes for Rebuild"))->checked(false);
- $group->checkbox("build_thumbs")->label(t("Mark all Thumbnails for Rebuild"))->checked(false);
- $group->checkbox("build_exif")->label(t("Reset Exif Info"))->checked(false);
- $group->checkbox("reset_theme")->label(t("Reset Theme to a Default State"))->checked(false);
-
- module::event("theme_edit_form", $form);
-
- $form->submit("g-theme-options-save")->value(t("Save Changes"));
-
- return $form;
- }
-
- protected function get_edit_form_help() {
- $help = '
';
- return $help;
- }
-
- private function save_item_state($statename, $state, $value) {
- if ($state):
- module::set_var("th_greydragon", $statename, $value);
- else:
- module::clear_var("th_greydragon", $statename);
- endif;
- }
-
- public function save() {
- site_status::clear("gd_init_configuration");
- access::verify_csrf();
-
- $form = self::get_edit_form_admin();
- if ($form->validate()):
- module::clear_var("th_greydragon", "photonav_top");
- module::clear_var("th_greydragon", "photonav_bottom");
- module::clear_var("th_greydragon", "hide_sidebar_photo");
- module::clear_var("th_greydragon", "hide_thumbdesc");
- module::clear_var("th_greydragon", "use_detailview");
-
- if ($form->maintenance->reset_theme->value):
- module::set_var("gallery", "page_size", 9);
- module::set_var("gallery", "resize_size", 640);
- module::set_var("gallery", "thumb_size", 200);
-
- module::set_var("gallery", "header_text", "");
- module::set_var("gallery", "footer_text", "");
- module::clear_var("th_greydragon", "copyright");
- module::clear_var("th_greydragon", "logo_path");
- module::clear_var("th_greydragon", "color_pack");
-
- module::clear_var("th_greydragon", "enable_pagecache");
- module::set_var("gallery", "show_credits", FALSE);
- module::clear_var("th_greydragon", "show_guest_menu");
- module::clear_var("th_greydragon", "mainmenu_position");
- module::clear_var("th_greydragon", "loginmenu_position");
- module::clear_var("th_greydragon", "hide_breadcrumbs");
- module::clear_var("th_greydragon", "horizontal_crop");
- module::clear_var("th_greydragon", "thumb_descmode");
- module::clear_var("th_greydragon", "hide_thumbmeta");
- module::clear_var("th_greydragon", "hide_blockheader");
- module::clear_var("th_greydragon", "photonav_position");
- module::clear_var("th_greydragon", "photo_descmode");
- module::clear_var("th_greydragon", "desc_allowbbcode");
- module::clear_var("th_greydragon", "hide_photometa");
- module::clear_var("th_greydragon", "disable_seosupport");
-
- module::clear_var("th_greydragon", "sidebar_albumonly");
- module::clear_var("th_greydragon", "sidebar_allowed");
- module::clear_var("th_greydragon", "sidebar_visible");
-
- module::event("theme_edit_form_completed", $form);
- message::success(t("Theme details are reset"));
- else:
- // * General Settings ****************************************************
-
- $_priorratio = module::get_var("th_greydragon", "thumb_ratio");
- if (!$_priorratio):
- $_priorratio = "digital";
- endif;
-
- $resize_size = $form->edit_theme->resize_size->value;
- $thumb_size = 200;
-
- $build_resize = $form->maintenance->build_resize->value;
- $build_thumbs = $form->maintenance->build_thumbs->value;
- $build_exif = $form->maintenance->build_exif->value;
-
- $thumb_ratio = $form->edit_theme_adv_thumb->thumb_ratio->value;
- if ($thumb_ratio == "photo") { $rule = Image::AUTO; } else { $rule = Image::WIDTH; }
- $color_pack = $form->edit_theme->colorpack->value;
- $thumb_descmode = $form->edit_theme_adv_thumb->thumb_descmode->value;
- $photo_descmode = $form->edit_theme_adv_photo->photo_descmode->value;
-
- if ($build_resize):
- graphics::remove_rule("gallery", "resize", "gallery_graphics::resize");
- graphics::add_rule("gallery", "resize", "gallery_graphics::resize",
- array("width" => $resize_size, "height" => $resize_size, "master" => Image::AUTO), 100);
- endif;
- if (module::get_var("gallery", "resize_size") != $resize_size):
- module::set_var("gallery", "resize_size", $resize_size);
- endif;
-
- if ($build_thumbs):
- graphics::remove_rule("gallery", "thumb", "gallery_graphics::resize");
- graphics::add_rule("gallery", "thumb", "gallery_graphics::resize",
- array("width" => $thumb_size, "height" => $thumb_size, "master" => $rule), 100);
- endif;
-
- if ($build_exif):
- db::build()
- ->delete("exif_records")
- ->execute();
- endif;
-
- if (module::get_var("gallery", "thumb_size") != $thumb_size):
- module::set_var("gallery", "thumb_size", $thumb_size);
- endif;
- module::set_var("gallery", "header_text", $form->edit_theme->header_text->value);
- module::set_var("gallery", "footer_text", $form->edit_theme->footer_text->value);
- $this->save_item_state("copyright", $form->edit_theme->copyright->value, $form->edit_theme->copyright->value);
- $this->save_item_state("logo_path", $form->edit_theme->logo_path->value, $form->edit_theme->logo_path->value);
- $this->save_item_state("color_pack", (($color_pack) and ($color_pack != "greydragon")), $color_pack);
-
- // * Advanced Options - main *********************************************
-
- module::set_var("gallery", "show_credits", $form->edit_theme_adv_main->show_credits->value);
- $this->save_item_state("show_guest_menu", $form->edit_theme_adv_main->show_guest_menu->value, TRUE);
- $this->save_item_state("loginmenu_position", $form->edit_theme_adv_main->loginmenu_position->value == "1", "header");
- $this->save_item_state("mainmenu_position", $form->edit_theme_adv_main->mainmenu_position->value == "1", "top");
- $this->save_item_state("hide_breadcrumbs", $form->edit_theme_adv_main->hide_breadcrumbs->value, TRUE);
- $this->save_item_state("photonav_position", $form->edit_theme_adv_main->photonav_position->value != "top", $form->edit_theme_adv->photonav_position->value);
- $this->save_item_state("enable_pagecache", $form->edit_theme_adv_main->enable_pagecache->value, TRUE);
- $this->save_item_state("disable_seosupport", $form->edit_theme_adv_main->disable_seosupport->value, TRUE);
-
- // * Advanced Options - Album page ***************************************
-
- $this->save_item_state("thumb_ratio", $thumb_ratio != "photo", $thumb_ratio);
- $this->save_item_state("thumb_descmode", $thumb_descmode != "overlay", $thumb_descmode);
- $this->save_item_state("hide_thumbmeta", $form->edit_theme_adv_thumb->hide_thumbmeta->value, TRUE);
-
- // * Advanced Options - Photo page ***************************************
-
- $this->save_item_state("photo_descmode", $photo_descmode != "overlay", $photo_descmode);
- $this->save_item_state("desc_allowbbcode", $form->edit_theme_adv_photo->desc_allowbbcode->value, TRUE);
- $this->save_item_state("hide_photometa", !$form->edit_theme_adv_photo->hide_photometa->value, FALSE);
-
- // * Sidebar Options ****************************************************
-
- $sidebar_allowed = $form->edit_theme_side->sidebar_allowed->value;
- $sidebar_visible = $form->edit_theme_side->sidebar_visible->value;
-
- if ($sidebar_allowed == "right"):
- $sidebar_visible = "right";
- endif;
- if ($sidebar_allowed == "left"):
- $sidebar_visible = "left";
- endif;
-
- $this->save_item_state("hide_blockheader", $form->edit_theme_side->hide_blockheader->value, TRUE);
- $this->save_item_state("sidebar_albumonly", $form->edit_theme_side->sidebar_albumonly->value, TRUE);
- $this->save_item_state("sidebar_allowed", $sidebar_allowed != "any", $sidebar_allowed);
- $this->save_item_state("sidebar_visible", $sidebar_visible != "right", $sidebar_visible);
-
- if (($sidebar_allowed == "none") and ($sidebar_visible == "none")):
- module::set_var("gallery", "page_size", $form->edit_theme->row_count->value * 4);
- else:
- module::set_var("gallery", "page_size", $form->edit_theme->row_count->value * 3);
- endif;
-
- module::event("theme_edit_form_completed", $form);
-
- if ($_priorratio != $thumb_ratio):
- message::warning(t("Thumb aspect ratio has been changed. Consider rebuilding thumbs if needed."));
- endif;
-
- message::success(t("Updated theme details"));
- endif;
-
- url::redirect("admin/theme_options");
- else:
- $view = new Admin_View("admin.html");
- $view->content = $form;
- print $view;
- endif;
- }
-
- public function index() {
- site_status::clear("gd_init_configuration");
-
- $view = new Admin_View("admin.html");
- $view->page_title = t("Grey Dragon Theme");
- $view->content = new View("admin_theme_options.html");
- $view->content->name = self::get_theme_name();
- $view->content->version = self::get_theme_version();
- $view->content->form = self::get_edit_form_admin();
- $view->content->help = self::get_edit_form_help();
- print $view;
- }
-}
diff --git a/3.1/themes/greydragon/admin/views/admin_theme_options.html.php b/3.1/themes/greydragon/admin/views/admin_theme_options.html.php
deleted file mode 100644
index 6c919461..00000000
--- a/3.1/themes/greydragon/admin/views/admin_theme_options.html.php
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
-
-
= $name ?> - = $version ?>
-
-
-
- = $form ?>
-
-
- = $help ?>
-
-
diff --git a/3.1/themes/greydragon/changelog.txt b/3.1/themes/greydragon/changelog.txt
deleted file mode 100644
index 3d5a1451..00000000
--- a/3.1/themes/greydragon/changelog.txt
+++ /dev/null
@@ -1,239 +0,0 @@
-=== Grey Dragon Theme ===
-Grey Dragon Theme - a custom theme for Gallery 3
-
-This theme was designed and built by Serguei Dosyukov, whose blog you will find at http://blog.dragonsoft.us/
-Copyright (C) 2009-2010 Serguei Dosyukov
-
-Tested up to: G3 3.0 RC2 (Santa Fe) Experimental
-Minimum requirement: G3 3.0 RC2 (Santa Fe) Experimental
-Donate link: http://blog.dragonsoft.us/gallery-3/
-
-This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
-This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street Fifth Floor, Boston, MA 02110-1301, USA.
-
-=== Open issues ===
-- Issue with Delete functionality
-- Support for new organize module
-- Support for Register module
-- Issue with Comments module
-
-=== Changelog ===
-
-version 2.3.1
-- Hide Rotate operations for pictures since they are not supported by the theme
-- Added use of common gallery.ajax.js. Fix issue with some Ajax based links.
-- Layout fixes for Translation form overlay
-- Changed CSS styling for buttons to provide unified coverage for buttons and links exposed as buttons.
-- ADMIN: Fixed options group styles in Theme's Admin panel
-- ADMIN: Advanced Settings for Thumbs and Individual Photo are moved into separate sections.
-- ADMIN: New option - display meta data in Photo description section
-- ADMIN: New option/fix - SEO indexing is now allowed by default. In order to prevent your site from being indexed, you can now use "Disallow Search Engine Indexing" option
-
-version 2.3.0
-- Adopted for Gallery 3.0RC2 changes (minor template adjustments, css class name changes, etc.)
-
-version 2.2.1
-- Redesigned Ready event handler for the theme to ensure proper ShadowBox initialization
-- Added support for gallery_dialog() function call used by some 3rd party modules - some sync issues are solved by imposed delay of 1 second
-- GPS module - better action list alignment in the sidebar
-
-version 2.2.0
-- Added support for slideshow mode in Photo Preview
-- Fixed issue with Info side block - missing markup
-- Fixed issue with Upload dialog layout with some resolutions/fonts
-- ADMIN: Added option to hide breadcrumbs
-- ADMIN: Added prerequisite check for Info module - required for Thumb meta data display
-
-version 2.1.7
-- Added support for missing images in the thumbs to allow proper operations with empty albums or albums with broken thumbs
-- Some color optimizations
-- Color improvements for "Add Image" dialog
-- Better support for Basket module
-
-version 2.1.6
-- Wind colorpack adjusted to closer match default Wind theme
-
-version 2.1.5
-- Minor changes in ADMIN infrastructure
-- ADMIN: added check for Kbd Navigation module
-- ADMIN: New color pack - carbon
-
-version 2.1.4
-- Minor refactoring in paginator
-- Added support for keyboard navigation module (http://codex.gallery2.org/Gallery3:Modules:kbd_nav)
-
-version 2.1.3
-- Sidebar restricted to item related pages (album, photo, movie, etc)
-- Fixed issue with bottom border not applied to all instances of H1 tag
-- Min footer size set to 4em
-- ADMIN: "Photo: Description Display Mode" option added
-- ADMIN: Added new maintenance operation - "Reset Exif Info"
-
-version 2.1.2
-- Fixed issue with Album thumbs - empty space under
-- Thumb Item's Title Display Mode expanded to be applied to Item's description in Photo page
-- More documentations in CSS files, some movements
-- Some cleanup for Wind color pack
-- Fixed font name typo in screen.css
-- Fixed "Waiting" roller for Wind theme to match background
-- Added "up" button in navigation
-
-version 2.1.1
-- Increased size of Add photo dialog for better display on some lower resolutions.
-- ADMIN: New option: "Thumb: Item's Title Display Mode" - specifies how to display item's title in thumbs : Overlay Bottom Hide
-
-version 2.1.0
-- Custom Info Block to include item's description
-- Image is centered when "Actual Size" aspect is used for thumbs
-- Added support for color packs - included: greydragon, wind
-- ADMIN: Improved error handling
-- ADMIN: Disable submit button on click to prevent Dbl-click
-- ADMIN: New option: Enable page cache - adds header marker for page to be cached for 60 seconds
-
-version 2.0.1
-- Enable BBCode/HTML support in individual photo descriptions
-- Fixed main menu overlay issue when in top position
-- Theme's credits moved into dedicated method
-- CSS clean up
-- Comments module layout enhancements
-
-version 2.0.0
-- Major redesign of the gallery flow.
- - Added caption and metadata (Admin/optional) overlay for thumbs.
- - Added description overlay in individual Photo view (look for "Learn More" marker).
- - Based on Admin setting, thumbs are adjusted to fit Digital/Film/Actual size.
-- Attempt to fix issue with JS load latency to prevent unhandled AJAX calls
-- Added code protection for theme initialization procedure
-- ADMIN: Thumb Aspect Ratio option. See help section for more info.
-
-version 1.8.2
-- Increased based font size
-- Layout adjusted to match new settings
-- ADMIN: New option - Place Login Link in the Header
-
-version 1.8.1
-- ADMIN: small adjustments in layout and help info
-- 3rd party module's related CSS moved into contrib.css
-- Adjust user profile screen to match new layout
-- initial design for calendar module
-
-version 1.8.0
-- ADMIN: Major redesign of the layout. Help section added.
-- ADMIN: New option - Show main menu for guest user
-- Minimum required Gallery version set to 30
-- When configured not to use sidebar, theme is switched into 4 columns layout
-
-version 1.7.6
-- Organize module: CSS improvements
-- Fixed issue with Chrome browser
-
-version 1.7.5
-- ADMIN: Added option to reset theme to default state
-- CSS: some size adjustments for dialogs. Added minimum height for overlay to keep dialogs from shrinking.
-
-version 1.7.4
-- ADMIN: Theme Gallery 3 core requirement changed to v.26
-- ADMIN: Most of theme's settings are documented using element's title attribute - hover over to see a description
-- Edit Permissions form redesigned and enlarged to fit more information
-
-version 1.7.3
-- ADMIN: Default states for the theme options are no longer being stored. Please save theme settings at least once to take advantage of a new functionality.
-- Photo Navigator default position is set to Top Only
-
-version 1.7.2
-- Fix in Uploader dialog to keep items inside respected boxes
-- Organize module support has been abandoned. Please use GWT Organize module instead. Added item in Prerequisites Checklist.
-
-version 1.7.1
-- CSS: Fixed visibility of the "Select Photo" button in "Add photo" dialog
-- CSS: Fixed "ghost" line for navigation buttons when zoomed-in in IE
-- Admin: fixed issue with prerequisite check not detecting deleted modules
--
/views/support folder deprecated. Logic moved into Theme_View extension class for Theme_View_Core
-- Theme Options Page management, generic Page code and BBCode processor moved into Theme_View class
-- HACK: Info block is not displayed if there is no description for the item
-
-version 1.6.4
-- Admin: Added "Show Sidebar for Albums only" option
-- Admin: added error visibility to the requirements validation list
-- Small CSS adjustments: Fixed footer min size issue when no site credit info is displayed; added space between Credits in the footer and Footer text area.
-- Few missing parts from last git sync
-
-version 1.6.3
-- Kohana 2.4 support
-- Support for Movie files view
-- Admin: Allow hide Sidebar Block header
-
-version 1.6.2
-- Admin: Page navigator option changed to use combobox
-- Admin: Added option to hide item description in albums
-
-version 1.6.2
-- Small CSS adjustments.
-- All operation dialogs should be visible now
-- Context menu: "Rotate 90..." items are removed due to an issue with image quality affected by the operation
-- Context menu: "Choose as the album cover" is now properly handled
-
-version 1.6.1
-- Admin: When allowed sidebar position is "Default Only", don't disregard selected Default position
-- Adjust item's toolbar buttons to align properly when side bar position is fixed
-- BBCode parser improved to support stripping of BBCode for Page title and breadcrumbs
-- Fixed issue with main menu missing class declaration not allowing open dialogs
-- Adjust context dialogs to properly show caption info
-- Caption added to Full size Preview
-- "New Comment" form styled
-- Admin: Option to align main menu to the top and Breadcrumbs to the left
-
-version 1.6.0
-- Admin: Fixed issue with "Rebuild thumbs" option in theme admin
-- Admin: Fixed issue with Item's toolbar not properly aligned in Quirks Mode
-- Exif data dialog Layout changes
-- Item context menu improvements:
- - Fixed issue with submit logic
- - Layout fixes for context menu dialogs
-
-version 1.5.8
-- Admin: First release of the Theme admin option. After theme installation, visit Appearance/Theme
- Options to configure the theme. If you had older version of the theme, initial setup is also required.
- The following settings are available:
- - Rows per album page - theme uses 3 columns layout for pictures, therefore default page_size is computed in x3 increments
- - Thumb size is restricted to 200 and therefore not available for administration
- - Mark to build resizes/thumbs - allows force rebuilding of images
- - Show/Hide top/bottom photo navigators
- - Specify allowed and default sidebar position
- - Administrator can now specify Copyright message to display in the footer
- - Site logo is now default to Gallery 3 logo, but admin can provide a path to custom logo.
- - Admin module validates Theme's requirements (Shadowbox module need to be installed/active)
-- Sidebar session cookie is set to expire in 365 days
-
-version 1.5.7
-- Status message has been moved into header as popup to prevent obstruction of the main view.
- jQuery is used to fade it out in 10 sec.
-- Improved logic for dialogs on submit
-- Theme related JS has been moved out of the page.html.php
-
-version 1.5.6
-- Fixed issue with tollbar buttons not properly aligned/shown when page is resized.
-- Copyright info moved into DB. To change default settings add [th_greydragon/copyright] into VARS table.
-
-version 1.5.5
-- CSS fixes.
-- Theme adjusted to be compatible with latest Git.
-- Login links are moved into footer.
-- Pagination module redesigned to support new structure of paging data.
-
-version 1.5.4
-- CSS fixes.
-- Added support for Comments block.
-- Improved support for Modal dialogs.
-
-version 1.5.3
-- Updated to match latest git.
-- Exif menu customization is now part of the theme.
-- Sidebar management button is disabled for current mode.
-
-version 1.5.2
-- Code, layout, css cleanup.
-- New thumbs for buttons.
-- First set of Ajax dialogs is ready and now operational: Login, user info, edit album, exit info.
-- Fixed some browser related issues.
\ No newline at end of file
diff --git a/3.1/themes/greydragon/controllers/greydragon.php b/3.1/themes/greydragon/controllers/greydragon.php
deleted file mode 100644
index d6e51c8c..00000000
--- a/3.1/themes/greydragon/controllers/greydragon.php
+++ /dev/null
@@ -1,39 +0,0 @@
-page_title = t("%name Profile", array("name" => $user->display_name()));
- $v->content = new View("user_profile.html");
-
- $v->content->user = $user;
- $v->content->contactable =
- !$user->guest && $user->id != identity::active_user()->id && $user->email;
- $v->content->editable =
- identity::is_writable() && !$user->guest && $user->id == identity::active_user()->id;
-
- $event_data = (object)array("user" => $user, "content" => array());
- module::event("show_user_profile", $event_data);
- $v->content->info_parts = $event_data->content;
-
- print $v;
- }
-*/
-}
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/colors.css b/3.1/themes/greydragon/css/colorpacks/carbon/colors.css
deleted file mode 100644
index 57fd30dd..00000000
--- a/3.1/themes/greydragon/css/colorpacks/carbon/colors.css
+++ /dev/null
@@ -1,192 +0,0 @@
-/**
- * Gallery 3 Grey Dragon Theme
- * Copyright (C) 2006-2010 Serguei Dosyukov
- *
- * ColorPack: Carbon - Default color pack
- */
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* styles.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-html { background-color: #333; }
-body { color: #999; background-color: #333; }
-
-h1 { border-bottom: #6f6f6f 1px solid; }
-a { color: #999 !important; font-weight: bold; }
-.ui-icon { background-image: url(images/ui-icons.png); }
-
-/* styles.css - Header ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-header .g-message-block { border: 1px #888 solid; background-color: #AAA; color: #000; }
-.g-breadcrumbs li { background: transparent url(images/ico-separator.png) no-repeat 0 0.2em; }
-
-/* styles.css - Content ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-main { background-color: #3f3f3f; margin-left: 10px; margin-right: 10px; }
-
-/* styles.css - Footer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-/* styles.css - Album Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
-#g-info .g-description { border: #6f6f6f 1px solid; }
-
-.g-thumbslide, .g-thumbslide-ext { border: 1px solid #303E43; background-color: #555; }
-.g-thumbcrop { border: 1px solid #303E43; }
-
-.g-album .g-thumbslide,
-.g-album .g-thumbslide-ext { border-top: 1px solid #6f6f6f; border-left: 1px solid #6f6f6f; border-right: 4px double #6f6f6f; border-bottom: 4px double #6f6f6f; }
-.g-photo .g-thumbslide, /* Need to compensate for double border in album's thumbs */
-.g-photo .g-thumbslide-ext { margin-bottom: 3px; }
-
-.g-thumbslide:hover .g-description { color: #fff; border-bottom: 1px solid #999; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
-.g-album .g-thumbslide:hover .g-description,
-.g-album .g-thumbslide-ext .g-description { background: #555 url(images/ico-album.png) no-repeat 4px 2px; }
-
-.g-thumbslide:hover .g-metadata,
-.g-thumbslide-ext:hover .g-metadata { border-top: 1px solid #999; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
-
-/* styles.css - Photo Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-div.g-resize { border: 1px solid #888; background: #555; }
-
-div.g-resize:hover .g-description { color: #fff; background: #1E1E1E; border-bottom: 1px solid #999; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
-div.g-resize .g-more { border: 1px solid #999; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
-
-.g-movie { border: 1px solid #888; padding: 5px; background: #555; }
-
-/* styles.css - Reauthentificate ~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-reauthenticate-form ul { border: 1px #888 solid; }
-
-/* styles.css - Sidebar Blocks ~~~~~~~~~~~~~~~~~~~~~~~*/
-
-.g-toolbar { border-bottom: 1px solid #737373; }
-
-/* styles.css - Sidebar Blocks : Common ~~~~~~~~~~~~~~*/
-
-.g-block { border: 1px solid #737373; }
-.g-block h2 { background: url(images/section.png) repeat-x; }
-
-/* styles.css - Sidebar Blocks : Buttons ~~~~~~~~~~~~~*/
-
-#g-viewformat .g-viewthumb-left { background: url('images/view-left.png') no-repeat left top; }
-#g-viewformat .g-viewthumb-right { background: url('images/view-right.png') no-repeat left top; }
-#g-viewformat .g-viewthumb-full { background: url('images/view-full.png') no-repeat left top; }
-
-#g-slideshow-link { background: url("images/view-slideshow.png") top left no-repeat; }
-.g-fullsize-link { background: url("images/view-fullsize.png") top left no-repeat; }
-#g-exifdata-link { background: url("images/view-info.png") top left no-repeat; }
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* menus.css ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-site-menu ul { border: #000000 0 solid; }
-#g-site-menu li a:hover { color: #000000; background-color: #333; }
-#g-site-menu li:hover,
-#g-site-menu li.iemhover { border: #303030 1px solid; background-color: #333; border-bottom: #000000 1px solid; }
-#g-site-menu li ul { border: #000000 1px solid; }
-#g-site-menu li ul li { border: #C0C0C0 0px solid; background-color: #333; }
-#g-site-menu li ul li:hover,
-#g-site-menu li ul li.iemhover { border: #C0C0C0 0 solid; background-color: #ddf2ff; }
-
-.g-item .g-context-menu { background-image: url(images/ui-icons.png); }
-.g-item .g-context-menu:hover { background: #333 none; border: 1px #888 solid; }
-.g-item .g-context-menu li li a:hover { background-color: #ddf2ff; }
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* forms.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-body { background: #101415 url('images/ajax-loading.gif') no-repeat center center; }
-#sb-title { border-left: #303030 1px solid; border-right: #303030 1px solid; background-color: #333; }
-
-#sb-content.html_ajax p.g-error { color: red; }
-#sb-content.html_ajax form { background-color: #101415; }
-#sb-content.html_ajax>div { background-color: #101415; }
-
-/* forms.css - Permissions ~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-permissions .g-breadcrumbs { border: #303030 1px solid; }
-#sb-content #g-edit-permissions-form { border: #303030 1px solid; }
-#sb-content #g-move>ul { border: #303030 1px solid; }
-
-/* forms.css - Add item ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-add-photos-form .g-breadcrumbs { border: #303030 1px solid; }
-
-#g-add-photos-canvas { background-color: #101010; border: #303030 1px solid; }
-#g-add-photos-button { border: #303030 1px solid; color: #bbb; }
-#g-add-photos-status { background-color: #101010; border: #303030 1px solid; }
-
-#g-add-photos-status li.g-success { background: #d9efc2 url('images/ico-success.png') no-repeat .4em 50%; }
-#g-add-photos-status li.g-error { background: #f6cbca url('images/ico-error.png') no-repeat .4em 50%; color: #f00; }
-
-/* forms.css - Organize ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content.html_ajax #g-organize { border: #303030 1px solid; }
-
-#g-organize-detail { border-left: #303030 1px solid; }
-#g-organize .g-message-block { border-bottom: #303030 1px solid; }
-.g-organize-microthumb-grid-cell { background-color: #303030; }
-.g-organize-microthumb { background-color: #707070; }
-#g-organize-controls { border-top: #303030 1px solid; }
-
-/* forms.css - User Profile ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-user-profile .g-avatar { border: 1px solid #888; background: #555; }
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* menus.css ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-site-menu ul { border: #000000 0 solid; }
-#g-site-menu li a:hover { color: #000000; background-color: #303030; }
-#g-site-menu li:hover,
-#g-site-menu li.iemhover { border: #303030 1px solid; background-color: #303030; border-bottom: #000000 1px solid; }
-#g-site-menu li ul { border: #000000 1px solid; }
-#g-site-menu li ul li { border: #C0C0C0 0px solid; background-color: #212121; }
-#g-site-menu li ul li:hover,
-#g-site-menu li ul li.iemhover { border: #C0C0C0 0 solid; background-color: #303030; }
-
-.g-item .g-context-menu { background-image: url(images/ui-icons.png); }
-.g-item .g-context-menu:hover { background: #181818 none; border: 1px #888 solid; }
-.g-item .g-context-menu li li a:hover { background-color: #303030; }
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* modules.css - Exif ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-exif-data table { border: #303030 1px solid; }
-#sb-content #g-exif-data .g-even { background-color: #404040; }
-#sb-content #g-exif-data .g-odd { background-color: #303030; }
-
-/* modules.css - Info module ~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-metadata .g-description { border-top: 1px solid #737373; }
-
-/* modules.css - Image block ~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-.g-image-block img { border: 1px solid #888; background: #555; }
-
-/* modules.css - Comments ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-comments .g-author { border-bottom: 1px solid #202628; color: #999; }
-#g-comments-link { background-image: url(images/view-comments.png); }
-#g-comment-detail>ul>li { border: 1px dotted #737373; }
-#g-comment-form { border: 1px dotted #737373; }
-
-/* modules.css - Calendar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-view-menu #g-calendarview-link { background-image: url(images/view-calendar.png); }
-#g-view-calendar-form ul { border: 1px #888 solid; }
-table.calendar { border: #a2adbc 1px solid; color: #616b76; }
-table.calendar th { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; background: #d9e2e1; color: #616b76; }
-table.calendar td { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; }
-table.calendar td.title { background-color: #a2adbc; color: #fff; }
-table.calendar td.title a { color: #fff !important; }
-table.calendar td a { color: red !important; }
-
-/* modules.css - Search ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-quick-search-form input[type="text"] { background-color: transparent; border: 1px solid #737373; color: #BBB; }
-#g-quick-search-form input[type="submit"] { background: transparent url(images/search.png) no-repeat center top; border: none; }
-
-/* modules.css - Basket ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#checkout legend { background: url(images/section.png) repeat-x; }
\ No newline at end of file
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/ajax-loading.gif b/3.1/themes/greydragon/css/colorpacks/carbon/images/ajax-loading.gif
deleted file mode 100644
index 0996045a..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/ajax-loading.gif and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/ico-album.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/ico-album.png
deleted file mode 100644
index ac87ec4f..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/ico-album.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/ico-error.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/ico-error.png
deleted file mode 100644
index c37bd062..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/ico-error.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/ico-separator.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/ico-separator.png
deleted file mode 100644
index 3e158515..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/ico-separator.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/ico-success.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/ico-success.png
deleted file mode 100644
index a9925a06..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/ico-success.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/search.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/search.png
deleted file mode 100644
index 2d115cc8..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/search.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/section.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/section.png
deleted file mode 100644
index 8180ecb3..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/section.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/ui-icons.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/ui-icons.png
deleted file mode 100644
index 7d1723bf..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/ui-icons.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-calendar.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/view-calendar.png
deleted file mode 100644
index 5442fa51..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-calendar.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-comments.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/view-comments.png
deleted file mode 100644
index 5449126b..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-comments.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-full.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/view-full.png
deleted file mode 100644
index 7145fd9d..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-full.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-fullsize.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/view-fullsize.png
deleted file mode 100644
index ebd04237..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-fullsize.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-info.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/view-info.png
deleted file mode 100644
index ff30501c..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-info.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-left.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/view-left.png
deleted file mode 100644
index c59af5d0..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-left.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-right.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/view-right.png
deleted file mode 100644
index 59505456..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-right.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-slideshow.png b/3.1/themes/greydragon/css/colorpacks/carbon/images/view-slideshow.png
deleted file mode 100644
index 2fb53ad0..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/carbon/images/view-slideshow.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/colors.css b/3.1/themes/greydragon/css/colorpacks/greydragon/colors.css
deleted file mode 100644
index 22a6d40e..00000000
--- a/3.1/themes/greydragon/css/colorpacks/greydragon/colors.css
+++ /dev/null
@@ -1,178 +0,0 @@
-/**
- * Gallery 3 Grey Dragon Theme
- * Copyright (C) 2006-2010 Serguei Dosyukov
- *
- * ColorPack: GreyDragon - Default color pack
- */
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* styles.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-html { background-color: #1A2022; }
-body { color: #BBB; background: url(images/background.gif) #1A2022 repeat-x; }
-
-h1 { border-bottom: #737373 1px solid; }
-a { color: #6392CF !important; }
-.ui-icon { background-image: url(images/ui-icons.png); }
-
-/* styles.css - Header ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-header .g-message-block { border: 1px #888 solid; background-color: #AAA; color: #000; }
-.g-breadcrumbs li { background: transparent url(images/ico-separator.png) no-repeat 0 0.2em; }
-
-/* styles.css - Footer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-footer { background: url(images/footer.png) #1A2022 repeat-x top !important; }
-
-/* styles.css - Album Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
-#g-info .g-description { border: #737373 1px solid; }
-
-.g-thumbslide, .g-thumbslide-ext { border: 1px solid #303E43; background: #1E1E1E url('images/image-thumb.gif') repeat-x; }
-.g-thumbcrop { border: 1px solid #303E43; }
-
-.g-album .g-thumbslide,
-.g-album .g-thumbslide-ext { border-top: 1px solid #43565B; border-left: 1px solid #43565B; border-right: 4px double #43565B; border-bottom: 4px double #43565B; }
-.g-photo .g-thumbslide, /* Need to compensate for double border in album's thumbs */
-.g-photo .g-thumbslide-ext { margin-bottom: 3px; }
-
-.g-thumbslide:hover .g-description { color: #fff; border-bottom: 1px solid #999; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
-.g-album .g-thumbslide:hover .g-description,
-.g-album .g-thumbslide-ext .g-description { background: #1E1E1E url(images/ico-album.png) no-repeat 4px 2px; }
-
-.g-thumbslide:hover .g-metadata,
-.g-thumbslide-ext:hover .g-metadata { border-top: 1px solid #999; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
-
-/* styles.css - Photo Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-div.g-resize { border: 1px solid #888; background: #555; }
-
-div.g-resize:hover .g-description { color: #fff; background: #1E1E1E; border-bottom: 1px solid #999; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
-div.g-resize .g-more { border: 1px solid #999; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
-
-.g-movie { border: 1px solid #888; padding: 5px; background: #555; }
-
-/* styles.css - Reauthentificate ~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-reauthenticate-form ul { border: 1px #888 solid; }
-
-/* styles.css - Sidebar Blocks ~~~~~~~~~~~~~~~~~~~~~~~*/
-
-.g-toolbar { border-bottom: 1px solid #737373; }
-
-/* styles.css - Sidebar Blocks : Common ~~~~~~~~~~~~~~*/
-
-.g-block { border: 1px solid #737373; background-color: #101415; }
-.g-block h2 { background: url(images/section.png) repeat-x; }
-
-/* styles.css - Sidebar Blocks : Buttons ~~~~~~~~~~~~~*/
-
-#g-viewformat .g-viewthumb-left { background: url('images/view-left.png') no-repeat left top; }
-#g-viewformat .g-viewthumb-right { background: url('images/view-right.png') no-repeat left top; }
-#g-viewformat .g-viewthumb-full { background: url('images/view-full.png') no-repeat left top; }
-
-#g-slideshow-link { background: url("images/view-slideshow.png") top left no-repeat; }
-.g-fullsize-link { background: url("images/view-fullsize.png") top left no-repeat; }
-#g-exifdata-link { background: url("images/view-info.png") top left no-repeat; }
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* forms.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-body { background: #101415 url('images/ajax-loading.gif') no-repeat center center; }
-#sb-title { border-left: #303030 1px solid; border-right: #303030 1px solid; background: #101415 url('images/section.png') repeat-x; }
-
-#sb-content.html_ajax p.g-error { color: red; }
-#sb-content.html_ajax form { background-color: #101415; }
-#sb-content.html_ajax>div { background-color: #101415; }
-
-/* styles.css - Photo Slideshow ~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-counter a { color: #fff !important; font-weight: bold; font-size: 11px; }
-
-/* forms.css - Permissions ~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-permissions .g-breadcrumbs { border: #303030 1px solid; }
-#sb-content #g-edit-permissions-form { border: #303030 1px solid; }
-#sb-content #g-move>ul { border: #303030 1px solid; }
-
-/* forms.css - Add item ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-add-photos-form .g-breadcrumbs { border: #303030 1px solid; }
-
-#g-add-photos-canvas { background-color: #101010; border: #303030 1px solid; }
-#ag-add-photos-button { border: #303030 1px solid; color: #bbb; }
-#g-add-photos-status { background-color: #101010; border: #303030 1px solid; }
-
-#g-add-photos-status li.g-success { background: url('images/ico-success.png') transparent no-repeat .4em 50%; }
-#g-add-photos-status li.g-error { background: url('images/ico-error.png') transparent no-repeat .4em 50%; color: #f00; }
-
-/* forms.css - Organize ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content.html_ajax #g-organize { border: #303030 1px solid; }
-
-#g-organize-detail { border-left: #303030 1px solid; }
-#g-organize .g-message-block { border-bottom: #303030 1px solid; }
-.g-organize-microthumb-grid-cell { background-color: #303030; }
-.g-organize-microthumb { background-color: #707070; }
-#g-organize-controls { border-top: #303030 1px solid; }
-
-/* forms.css - User Profile ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-user-profile .g-avatar { border: 1px solid #888; background: #555; }
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* menus.css ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-site-menu ul { border: #000000 0 solid; }
-#g-site-menu li a:hover { color: #000000; background-color: #303030; }
-#g-site-menu li:hover,
-#g-site-menu li.iemhover { border: #303030 1px solid; background-color: #303030; border-bottom: #000000 1px solid; }
-#g-site-menu li ul { border: #000000 1px solid; }
-#g-site-menu li ul li { border: #C0C0C0 0px solid; background-color: #212121; }
-#g-site-menu li ul li:hover,
-#g-site-menu li ul li.iemhover { border: #C0C0C0 0 solid; background-color: #303030; }
-
-.g-item .g-context-menu { background-image: url(images/ui-icons.png); }
-.g-item .g-context-menu:hover { background: #181818 none; border: 1px #888 solid; }
-.g-item .g-context-menu li li a:hover { background-color: #303030; }
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* modules.css - Exif ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-exif-data table { border: #303030 1px solid; }
-#sb-content #g-exif-data .g-even { background-color: #404040; }
-#sb-content #g-exif-data .g-odd { background-color: #303030; }
-
-/* modules.css - Info module ~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-metadata .g-description { border-top: 1px solid #737373; }
-
-/* modules.css - Image block ~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-.g-image-block img { border: 1px solid #888; background: #555; }
-
-/* modules.css - Comments ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-comments .g-author { border-bottom: 1px solid #202628; color: #999; }
-#g-comments-link { background-image: url(images/view-comments.png); }
-#g-comment-detail>ul>li { border: 1px dotted #737373; }
-#g-comment-form { border: 1px dotted #737373; }
-
-/* modules.css - Calendar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-view-menu #g-calendarview-link { background-image: url(images/view-calendar.png); }
-#g-view-calendar-form ul { border: 1px #888 solid; }
-table.calendar { border: #a2adbc 1px solid; color: #616b76; }
-table.calendar th { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; background: #d9e2e1; color: #616b76; }
-table.calendar td { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; }
-table.calendar td.title { background-color: #a2adbc; color: #fff; }
-table.calendar td.title a { color: #fff !important; }
-table.calendar td a { color: red !important; }
-
-/* modules.css - Search ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-quick-search-form input[type="text"] { background-color: transparent; border: 1px solid #737373; color: #BBB; }
-#g-quick-search-form input[type="submit"] { background: transparent url(images/search.png) no-repeat center top; border: none; }
-
-/* modules.css - Basket ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#checkout legend { background: url(images/section.png) repeat-x; }
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/ajax-loading.gif b/3.1/themes/greydragon/css/colorpacks/greydragon/images/ajax-loading.gif
deleted file mode 100644
index 0996045a..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/ajax-loading.gif and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/background.gif b/3.1/themes/greydragon/css/colorpacks/greydragon/images/background.gif
deleted file mode 100644
index b8083564..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/background.gif and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/footer.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/footer.png
deleted file mode 100644
index 04d5ee54..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/footer.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/ico-album.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/ico-album.png
deleted file mode 100644
index ac87ec4f..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/ico-album.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/ico-error.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/ico-error.png
deleted file mode 100644
index c37bd062..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/ico-error.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/ico-separator.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/ico-separator.png
deleted file mode 100644
index 3e158515..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/ico-separator.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/ico-success.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/ico-success.png
deleted file mode 100644
index a9925a06..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/ico-success.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/image-thumb.gif b/3.1/themes/greydragon/css/colorpacks/greydragon/images/image-thumb.gif
deleted file mode 100644
index bc3a192f..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/image-thumb.gif and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/search.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/search.png
deleted file mode 100644
index 1bfa4115..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/search.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/section.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/section.png
deleted file mode 100644
index 8180ecb3..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/section.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/ui-icons.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/ui-icons.png
deleted file mode 100644
index 7ab15cae..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/ui-icons.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-calendar.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-calendar.png
deleted file mode 100644
index 206ccd66..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-calendar.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-comments.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-comments.png
deleted file mode 100644
index 293c587e..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-comments.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-full.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-full.png
deleted file mode 100644
index b75de946..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-full.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-fullsize.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-fullsize.png
deleted file mode 100644
index ed76257a..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-fullsize.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-info.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-info.png
deleted file mode 100644
index 521439ce..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-info.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-left.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-left.png
deleted file mode 100644
index b5b93c7a..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-left.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-right.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-right.png
deleted file mode 100644
index a400c638..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-right.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-slideshow.png b/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-slideshow.png
deleted file mode 100644
index c6a471ac..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/greydragon/images/view-slideshow.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/colors.css b/3.1/themes/greydragon/css/colorpacks/wind/colors.css
deleted file mode 100644
index 09ab5a6a..00000000
--- a/3.1/themes/greydragon/css/colorpacks/wind/colors.css
+++ /dev/null
@@ -1,184 +0,0 @@
-/**
- * Gallery 3 Grey Dragon Theme
- * Copyright (C) 2006-2010 Serguei Dosyukov
- *
- * ColorPack: Wind - Wind theme-like color pack
- */
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* styles.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-html { background-color: #ccc; }
-body { color: #000; background-color: #ccc; padding-left: 10px; padding-right: 10px; }
-
-a { color: #33629f !important }
-.ui-icon { background-image: url(images/ui-icons.png); }
-
-/* styles.css - Header ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-header { background-color: #e8e8e8; border-bottom: #ccc 1px solid; }
-#g-header .g-message-block { border: 1px #888 solid; background-color: #aaa; color: #000; }
-.g-breadcrumbs li { background: transparent url(images/ico-separator.png) no-repeat 0 0.2em; }
-
-/* styles.css - Main ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-main { background-color: #fff; }
-
-/* styles.css - Footer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-footer { background-color: #e8e8e8; border-top: #ccc 1px solid; }
-
-/* styles.css - Album Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-info h1, #g-album-header h1 { border-bottom: #ccc 1px solid; }
-#g-info .g-description { border: #888 1px solid; }
-
-.g-thumbslide { border: 1px solid #707E83; background-color: #e8e8e8; }
-.g-thumbcrop { border: 1px solid #707E83; }
-
-.g-album .g-thumbslide,
-.g-album .g-thumbslide-ext { border-top: 1px solid #707E83; border-left: 1px solid #707E83; border-right: 4px double #707E83; border-bottom: 4px double #707E83; }
-.g-photo .g-thumbslide, /* Need to compensate for double border in album's thumbs */
-.g-photo .g-thumbslide-ext { margin-bottom: 3px; }
-
-.g-thumbslide:hover .g-description { color: #000; border-bottom: 1px solid #999; background: #e8e8e8; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
-.g-album .g-thumbslide:hover .g-description,
-.g-album .g-thumbslide-ext .g-description { background: #fff url(images/ico-album.png) no-repeat 4px 2px; }
-
-.g-thumbslide:hover .g-metadata,
-.g-thumbslide-ext:hover .g-metadata { border-top: 1px solid #999; background: #e8e8e8; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
-
-/* styles.css - Photo Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-div.g-resize { border: 1px solid #888; background: #e8e8e8; }
-
-div.g-resize:hover .g-description { color: #000; background: #e8e8e8; border-bottom: 1px solid #999; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
-div.g-resize .g-more { border: 1px solid #999; background: #e8e8e8; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
-
-.g-movie { border: 1px solid #888; padding: 5px; background: #e8e8e8; }
-
-/* styles.css - Reauthentificate ~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-reauthenticate-form ul { border: 1px #888 solid; }
-
-/* styles.css - Sidebar Blocks ~~~~~~~~~~~~~~~~~~~~~~~*/
-
-.g-toolbar { border-bottom: 1px solid #ccc; }
-
-/* styles.css - Sidebar Blocks : Common ~~~~~~~~~~~~~~*/
-
-.g-block { border: 1px solid #ccc; }
-.g-block h2 { background-color: #e8e8e8; }
-
-/* styles.css - Sidebar Blocks : Buttons ~~~~~~~~~~~~~*/
-
-#g-viewformat .g-viewthumb-left { background: url('images/view-left.png') no-repeat left top; }
-#g-viewformat .g-viewthumb-right { background: url('images/view-right.png') no-repeat left top; }
-#g-viewformat .g-viewthumb-full { background: url('images/view-full.png') no-repeat left top; }
-
-#g-slideshow-link { background: url("images/view-slideshow.png") top left no-repeat; }
-.g-fullsize-link { background: url("images/view-fullsize.png") top left no-repeat; }
-#g-exifdata-link { background: url("images/view-info.png") top left no-repeat; }
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* forms.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-body { background: #fff url('images/ajax-loading.gif') no-repeat center center; }
-#sb-title { border-left: #303030 1px solid; border-right: #303030 1px solid; background: #e8e8e8; color: #000; }
-#sb-title-inner { color: #000; }
-
-#sb-content.html_ajax p.g-error { color: red; }
-#sb-content.html_ajax form { background-color: #fff; }
-#sb-content.html_ajax>div { background-color: #fff; }
-
-/* forms.css - Permissions ~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-permissions .g-breadcrumbs { border: #303030 1px solid; }
-#sb-content #g-edit-permissions-form { border: #303030 1px solid; }
-#sb-content #g-move>ul { border: #303030 1px solid; }
-
-/* forms.css - Add item ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-add-photos-form .g-breadcrumbs { border: #303030 1px solid; }
-
-#g-add-photos-canvas { background-color: #fff; border: #303030 1px solid; }
-#g-add-photos-button { border: #303030 1px solid; }
-#g-add-photos-status { background-color: #fff; border: #303030 1px solid; }
-
-#g-add-photos-status li.g-success { background: #d9efc2 url('images/ico-success.png') no-repeat .4em 50%; }
-#g-add-photos-status li.g-error { background: #f6cbca url('images/ico-error.png') no-repeat .4em 50%; color: #f00; }
-
-/* forms.css - Organize ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content.html_ajax #g-organize { border: #303030 1px solid; }
-
-#g-organize-detail { border-left: #303030 1px solid; }
-#g-organize .g-message-block { border-bottom: #303030 1px solid; }
-.g-organize-microthumb-grid-cell { background-color: #fff; }
-.g-organize-microthumb { background-color: #fff; }
-#g-organize-controls { border-top: #303030 1px solid; }
-
-/* forms.css - User Profile ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-user-profile h1 { border-bottom: #ccc 1px solid; }
-#g-user-profile .g-avatar { border: 1px solid #888; background: #fff; }
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* menus.css ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-site-menu ul { border: #000000 0 solid; }
-#g-site-menu li { background-color: #bdd2ff; }
-#g-site-menu li a:hover { color: #000000; background-color: #cfdeff; }
-#g-site-menu li:hover,
-#g-site-menu li.iemhover { border: #303030 1px solid; background-color: #cfdeff; border-bottom: #cfdeff 1px solid; }
-#g-site-menu li ul { border: #cfdeff 1px solid; }
-#g-site-menu li ul li { border: #C0C0C0 0px solid; background-color: #bdd2ff; }
-#g-site-menu li ul li:hover,
-#g-site-menu li ul li.iemhover { border: #C0C0C0 0 solid; background-color: #ddf2ff; }
-
-.g-item .g-context-menu { background-image: url(images/ui-icons.png); }
-.g-item .g-context-menu:hover { background: #bdd2ff none; border: 1px #888 solid; }
-.g-item .g-context-menu li li a:hover { background-color: #ddf2ff; }
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* modules.css - Exif ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-exif-data table { border: #303030 1px solid; }
-#sb-content #g-exif-data .g-even { background-color: #A0A0A0; }
-#sb-content #g-exif-data .g-odd { background-color: #C0C0C0; }
-
-/* modules.css - Info module ~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-metadata .g-description { border-top: 1px solid #ccc; }
-
-/* modules.css - Image block ~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-.g-image-block img { border: 1px solid #888; background: #555; }
-
-/* modules.css - Comments ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-comments .g-author { border-bottom: 1px solid #202628; color: #999; }
-#g-comments-link { background-image: url(images/view-comments.png); }
-#g-comment-detail>ul>li { border: 1px dotted #ccc; }
-#g-comment-form { border: 1px dotted #ccc; }
-
-/* modules.css - Calendar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-view-menu #g-calendarview-link { background-image: url(images/view-calendar.png); }
-#g-view-calendar-form ul { border: 1px #888 solid; }
-table.calendar { border: #a2adbc 1px solid; color: #616b76; }
-table.calendar th { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; background: #d9e2e1; color: #616b76; }
-table.calendar td { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; }
-table.calendar td.title { background-color: #a2adbc; color: #fff; }
-table.calendar td.title a { color: #fff !important; }
-table.calendar td a { color: red !important; }
-
-/* modules.css - Search ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-quick-search-form input[type="text"] { background-color: transparent; border: 1px solid #ccc; color: #666; }
-#g-quick-search-form input[type="submit"] { border: #c5dbec 1px solid; text-indent: 0; width: auto; height: auto; font: 80% arial, helvetica, clean, sans-serif; font-weight: bold; padding-top: 3px; padding-bottom: 3px; }
-#g-search-results h1 { border-bottom: #ccc 1px solid; }
-
-/* modules.css - Basket ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#checkout legend { background-color: #e8e8e8; }
\ No newline at end of file
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/ajax-loading.gif b/3.1/themes/greydragon/css/colorpacks/wind/images/ajax-loading.gif
deleted file mode 100644
index 53dd589f..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/ajax-loading.gif and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/ico-album.png b/3.1/themes/greydragon/css/colorpacks/wind/images/ico-album.png
deleted file mode 100644
index ac87ec4f..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/ico-album.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/ico-error.png b/3.1/themes/greydragon/css/colorpacks/wind/images/ico-error.png
deleted file mode 100644
index c37bd062..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/ico-error.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/ico-separator.png b/3.1/themes/greydragon/css/colorpacks/wind/images/ico-separator.png
deleted file mode 100644
index 3e158515..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/ico-separator.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/ico-success.png b/3.1/themes/greydragon/css/colorpacks/wind/images/ico-success.png
deleted file mode 100644
index a9925a06..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/ico-success.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/ui-icons.png b/3.1/themes/greydragon/css/colorpacks/wind/images/ui-icons.png
deleted file mode 100644
index a8bd54b5..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/ui-icons.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/view-calendar.png b/3.1/themes/greydragon/css/colorpacks/wind/images/view-calendar.png
deleted file mode 100644
index 13e0e8fa..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/view-calendar.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/view-comments.png b/3.1/themes/greydragon/css/colorpacks/wind/images/view-comments.png
deleted file mode 100644
index f33bdf19..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/view-comments.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/view-full.png b/3.1/themes/greydragon/css/colorpacks/wind/images/view-full.png
deleted file mode 100644
index e465d366..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/view-full.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/view-fullsize.png b/3.1/themes/greydragon/css/colorpacks/wind/images/view-fullsize.png
deleted file mode 100644
index 58b3e0b4..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/view-fullsize.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/view-info.png b/3.1/themes/greydragon/css/colorpacks/wind/images/view-info.png
deleted file mode 100644
index 2cc7a68e..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/view-info.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/view-left.png b/3.1/themes/greydragon/css/colorpacks/wind/images/view-left.png
deleted file mode 100644
index b51e3368..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/view-left.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/view-right.png b/3.1/themes/greydragon/css/colorpacks/wind/images/view-right.png
deleted file mode 100644
index bd72adfc..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/view-right.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/colorpacks/wind/images/view-slideshow.png b/3.1/themes/greydragon/css/colorpacks/wind/images/view-slideshow.png
deleted file mode 100644
index 61bf18e1..00000000
Binary files a/3.1/themes/greydragon/css/colorpacks/wind/images/view-slideshow.png and /dev/null differ
diff --git a/3.1/themes/greydragon/css/forms.css b/3.1/themes/greydragon/css/forms.css
deleted file mode 100644
index ab246779..00000000
--- a/3.1/themes/greydragon/css/forms.css
+++ /dev/null
@@ -1,107 +0,0 @@
-/**
- * Gallery 3 Grey Dragon Theme
- * Copyright (C) 2006-2010 Serguei Dosyukov
- *
- * CSS rules related to forms/dialogs
- */
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* forms.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-input[type="submit"], .g-button, button { cursor: pointer; /* hand-shaped cursor */ cursor: hand; /* for IE 5.x */ font-size: 0.8em; color: #333 !important; padding: 2px 10px; margin-top: 0.4em; border: 1px solid; border-color: #999 #666 #666 #999; background-color: #ddd; font-weight: normal; }
-
-#sb-content.html_ajax { padding: 0 0.8em; margin: 0; }
-#sb-content.html_ajax p.g-error { padding-top: 0.4em; }
-
-#sb-content.html_ajax form { background-color: #101415; overflow: hidden; }
-#sb-content.html_ajax form fieldset { border: none; }
-#sb-content.html_ajax form legend { display: none; width: 100%; }
-#sb-content.html_ajax form ul { padding: 0; }
-#sb-content.html_ajax form li { padding-top: 0.2em; }
-#sb-content.html_ajax form>fieldset>ul { margin: 0 2px; }
-#sb-content.html_ajax form label { display: block; padding: 0.2em 0; }
-#sb-content.html_ajax form textarea { width: 99%; height: 4em; }
-#sb-content.html_ajax input[type="submit"]{ margin: 6px 0; }
-#sb-content.html_ajax input[type="text"],
-#sb-content.html_ajax input[type="password"] { width: 99%; }
-#sb-content.html_ajax>div { height: 94%; padding-top: 0.2em; overflow: auto; }
-#sb-content #g-text { min-height: 6em; }
-
-#sb-content fieldset fieldset { border: none; }
-#sb-content fieldset fieldset li { float: left; display: inline; margin-right: 1em; }
-
-/* forms.css - Login ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-login-form { width: 100%; }
-#sb-content #g-login form ul { min-height: 10em; }
-#sb-content #g-password-reset { margin-left: 0.4em; }
-
-/* forms.css - Edit Permissions ~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-permissions fieldset { border: none; margin: 1px; overflow: auto; width: 100%; }
-#sb-content #g-permissions .g-breadcrumbs { position: static; padding: 0.4em; font-size: small; margin: 0.4em 0; }
-#sb-content #g-permissions .g-breadcrumbs .g-first { padding-left: 0; }
-
-#sb-content #g-edit-permissions-form { margin: 0.4px 0; }
-#sb-content #g-edit-permissions-form>fieldset>legend { display: none; }
-#sb-content #g-edit-permissions-form>fieldset>table { font-size: small; }
-#sb-content #g-edit-permissions-form>fieldset>table th,
-#sb-content #g-edit-permissions-form>fieldset>table td { padding: 1px 2px; }
-
-/* forms.css - Delete Item ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-confirm-delete { height: 5em; padding: 0.8em 0 0 0; }
-
-/* forms.css - Move Item ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-move>ul { height: 290px; margin-bottom: 0.4em; padding: 10px; overflow: auto; }
-#sb-content #g-move>form { background: none; }
-
-/* forms.css - Add photo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-add-photos-form { height: 96%; }
-#sb-content #g-add-photos-form .g-breadcrumbs { position: static; margin: 4px 0 0 0; padding: 4px; font-size: x-small; }
-#sb-content #g-add-photos-form .g-breadcrumbs li { padding-top: 0; }
-#sb-content #g-add-photos-form .g-breadcrumbs .g-first { padding-left: 0; }
-
-#g-add-photos-canvas { margin-top: 4px; height: 100px; }
-#g-add-photos-button { padding: 2px 8px; z-index: 10; zoom: 1; }
-#g-uploadifyUploader { z-index: 1005; zoom: 1; }
-#g-uploadifyQueue { overflow: auto; height: 100%; }
-#g-add-photos-status { margin-top: 4px; height: 90px; overflow: auto; }
-#g-add-photos-status #g-action-status { margin: 0 0 1px 0; width: 100%; }
-#g-add-photos-status #g-action-status li { margin: 0 0 1px 0; padding: 2px 0; text-indent: 30px; width: 100%; }
-
-/* forms.css - Organize ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content.html_ajax #g-organize { height: 440px; }
-#g-organize #g-organize-content-pane { display: block; height: 440px; width: 690px; margin: 0 !important; overflow: hidden; }
-#g-organize #g-organize-content-pane>div { float: left; height: 440px; }
-#g-organize #g-organize-content-pane #g-organize-tree-container { overflow: auto; width: 164px; height: 428px; padding: 0 2px 0 4px !important; }
-#g-organize #g-organize-detail { width: 518px; }
-#g-organize #g-organize-detail .g-message-block li { padding: 0; }
-#g-organize #g-organize-tree-container>ul { font-size: x-small; }
-#g-organize #g-organize-tree-container>ul ul { padding: 0px; }
-#g-organize #g-organize-album-tree { padding: 0; }
-#g-organize .g-message-block { padding: 4px 0 4px 10px; }
-#g-organize-microthumb-panel { background-color: transparent; border: none; height: 360px; }
-#g-organize-microthumb-grid { position: static; height: 360px; border-style: none; padding: 0 2px !important; }
-.g-organize-microthumb-grid-cell { float: left; margin: 2px; }
-.g-organize-microthumb-grid-cell .ui-icon-note { background-position: -194px -144px; left: 8px; bottom: 4px; }
-#g-organize-controls { position: absolute; background-color: transparent; padding: 6px 10px; }
-#g-organize-controls li { display: inline; }
-.g-organize-album-text { border: transparent 1px solid; }
-#g-organize-close { display: none; }
-
-/* forms.css - User Profile ~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-user-profile h1 { padding-bottom: 1px; margin: 0 0; }
-#g-user-profile>div { margin: 2em 0 1em 10em; }
-#g-user-profile .g-block-content { text-align: left; }
-#g-user-profile .g-avatar { float: left; padding: 2px; }
-
-#g-user-profile th { text-align: left; padding-right: 20px; }
-#g-change-email-user-form { min-height: 200px; }
-#g-edit-user-form ul { min-height: 200px; }
-
-#g-quick-search-form input[type="submit"] { filter: none; margin-top: 0; }
\ No newline at end of file
diff --git a/3.1/themes/greydragon/css/layout.css b/3.1/themes/greydragon/css/layout.css
deleted file mode 100644
index db55e4af..00000000
--- a/3.1/themes/greydragon/css/layout.css
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * Gallery 3 Grey Dragon Theme
- * Copyright (C) 2006-2010 Serguei Dosyukov
- *
- * CSS rules related to general layout
- * Defined as 70em wide
- */
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* layout.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-html { overflow: auto; overflow: -moz-scrollbars-vertical; overflow-y: scroll; }
-* { margin: 0px; }
-body { min-width: 70em; padding: 0; margin: 0; }
-
-.g-hideitem { display: none; }
-
-/* layout.css - Header ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-header { position: relative; min-width: 70em; z-index: 5; }
-
-/* layout.css - Main ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-main { min-width: 69.7em; height: auto; bottom: auto; }
-#g-main-in { min-width: 69.7em; height: 100%; overflow: auto; bottom: auto; }
-#g-column-left { float: left; width: 16em; min-height: 32em; overflow: hidden; height: 100%; }
-#g-column-right { float: right; width: 16em; min-height: 32em; overflow: hidden; height: 100%; }
-#g-column-center { margin: 0 17em 0 17em; min-height: 32em; overflow: hidden; height: 100%; }
-#g-column-centerleft { margin: 0; min-height: 32em; overflow: hidden; height: 100%; }
-#g-column-centerright { margin: 0; min-height: 32em; overflow: hidden; height: 100%; }
-#g-column-centerfull { position: relative; margin: 0 0; min-height: 31em; overflow: hidden; height: 100%; }
-
-/* layout.css - Footer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-footer { position: relative; height: auto; min-width: 70em; min-height: 4em; clear: both; display: block; overflow: auto; }
-#g-footer-leftside { float: left; display: inline; }
-#g-footer-rightside { float: right; display: inline; }
-
diff --git a/3.1/themes/greydragon/css/menus.css b/3.1/themes/greydragon/css/menus.css
deleted file mode 100644
index 3ba173f2..00000000
--- a/3.1/themes/greydragon/css/menus.css
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Gallery 3 Grey Dragon Theme
- * Copyright (C) 2006-2010 Serguei Dosyukov
- *
- * CSS rules related to menus
- */
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* menus.css - Main menu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-site-menu { position: absolute; left: 24em; }
-#g-site-menu.default { bottom: 0; }
-#g-site-menu.top { top: 0; }
-#g-site-menu ul { float: left; padding-left: 0; width: 100%; white-space: nowrap; z-index: 10; }
-#g-site-menu ul ul ul { padding-top: 0; }
-#g-site-menu a { display: block; padding: 0.2em 0.4em; text-align: center; width: auto; letter-spacing: 0; cursor: pointer; }
-#g-site-menu li { float: left; padding: 0; background-color: transparent; border: transparent 1px solid; z-index: 10; }
-#g-site-menu li a:hover { cursor: pointer; }
-#g-site-menu li ul a { text-align: left; padding: 0.3em 0; text-indent: 0.8em; letter-spacing: 0; cursor: pointer; }
-#g-site-menu li ul a:hover { background-image: none; cursor: pointer; }
-#g-site-menu li ul { position: absolute; margin: 0 0 0 -1px; width: 14em; height: auto; left: -999em; }
-
-#g-site-menu li li { width: 14em; padding-right: 0; }
-#g-site-menu li ul a { width: 14em; }
-#g-site-menu li ul ul { margin: -1.9em 0 0 14em; }
-#g-site-menu li:hover ul ul,
-#g-site-menu li:hover ul ul ul,
-#g-site-menu li.iemhover ul ul,
-#g-site-menu li.iemhover ul ul ul { left: -999em; }
-#g-site-menu li:hover ul,
-#g-site-menu li li:hover ul,
-#g-site-menu li li li:hover ul,
-#g-site-menu li.iemhover ul,
-#g-site-menu li li.iemhover ul,
-#g-site-menu li li li.iemhover ul { left: auto; }
-
-#g-site-menu>ul>li>ul { display: none; }
-
-#g-site-menu .ui-icon-rotate-ccw,
-#g-site-menu .ui-icon-rotate-cw { display: none; }
-
-/* menus.css - Context menu ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-.g-item .g-context-menu { position: absolute; margin: 0; padding: 0; top: 6px; left: 196px; width: 14px; height: 14px; background-position: -178px -144px; z-index: 3; }
-.g-item .g-context-menu li { width: 100%; padding: 0; margin: 0; text-indent: -9999px; }
-.g-item .g-context-menu>li>a { font-size: 0em; }
-.g-item .g-context-menu:hover { top: 4px; left: 6px; width: 200px; height: auto; z-index: 100; }
-.g-item .g-context-menu ul { padding: 0; margin: 0; }
-.g-item .g-context-menu li li { display: none; }
-.g-item .g-context-menu li li a { display: block; padding: 4px 6px; }
-.g-item .g-context-menu:hover li li { display: block; text-indent: 0px; }
-.g-item .g-context-menu li li a.ui-icon-rotate-ccw,
-.g-item .g-context-menu li li a.ui-icon-rotate-cw { display: none; }
-
-.g-item.g-detail .g-context-menu { left: auto; right: 6px; }
-.g-item.g-detail .g-context-menu:hover { left: auto; right: 6px; }
\ No newline at end of file
diff --git a/3.1/themes/greydragon/css/modules.css b/3.1/themes/greydragon/css/modules.css
deleted file mode 100644
index 371434f8..00000000
--- a/3.1/themes/greydragon/css/modules.css
+++ /dev/null
@@ -1,135 +0,0 @@
-/**
- * Gallery 3 Grey Dragon Theme
- * Copyright (C) 2006-2010 Serguei Dosyukov
- *
- * CSS rules related to modules
- */
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* modules.css - ShadowBox Skin ~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-title { overflow: hidden; }
-#sb-title-inner { font-size: 10pt; font-weight: bold; padding-left: 10px; }
-#sb-nav #sb-nav-close { background-image: url('../images/close.png'); width: 60px; }
-#sb-container > #sb-overlay { min-height: 530px; overflow: auto; }
-
-/* modules.css - Exif Data ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#sb-content #g-exif-data { width: auto; background-image: none; }
-#sb-content #g-exif-data table { width: 100%; }
-#sb-content #g-exif-data td { padding: 0.4em; }
-
-/* modules.css - Image Block ~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-image-block>div { margin-left: 1px; margin-right: 1px; }
-.g-image-block { text-align: center; }
-.g-image-block img { padding: 5px; }
-
-/* modules.css - RSS Feeds ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-ul#g-feeds { padding: 0; margin: 0; }
-
-/* modules.css - Tags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-tag-cloud ul { padding: 0; font-size: 100%; }
-#g-tag-cloud ul li { line-height: 1.2em; }
-#g-tag-cloud ul li span { display: none; }
-#g-add-tag-form { display: none; }
-
-/* modules.css - Comments ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-comments { margin-top: 2em; padding-top: 0.4em; float: left; width: 100%; }
-#g-comments ul li { margin: 0.4em 0; }
-#g-comments .g-author { height: 32px; line-height: 32px; }
-#g-comments .g-avatar { height: 32px; margin-right: .4em; width: 32px; }
-
-#g-admin-comment-button { width: 27px; right: 0.2em; text-indent: -900em; }
-#g-comments-link { background-position: top left; background-repeat: no-repeat; }
-#g-comments-link:hover { background-position: left bottom; }
-#g-comment-detail ul { margin-top: 2em; padding: 0; }
-#g-comment-detail>ul>li { margin: 4px 0; padding: 6px; min-height: 40px; }
-#g-comment-detail div { margin-top: 6px; padding-bottom: 8px; }
-
-#g-comment-form fieldset { border: none; }
-#g-comment-form legend { display: none; width: 100%; }
-#g-comment-form ul { padding: 0; }
-#g-comment-form>fieldset>ul { margin: 0px 10px; }
-#g-comment-form label { display: block; }
-#g-comment-form textarea { width: 99%; height: 140px; }
-#g-comment-form input[type="text"],
-#g-comment-form input[type="password"] { width: 99%; }
-
-/* modules.css - Gallery Stats ~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-gallerystats ul { padding: 0; font-size: x-small; }
-
-/* modules.css - Info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-metadata ul { padding: 0; }
-#g-metadata .g-description { margin-top: 0.4em; padding: 0.4em 0; }
-
-/* modules.css - Calendar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-calendarview-link:hover { background-position: left bottom; }
-
-#g-view-calendar-form fieldset { border: none; }
-#g-view-calendar-form ul { padding: 8px; }
-#g-view-calendar-form li { padding-top: 8px; display: inline; padding-left: 10px; }
-#g-view-calendar-form label { margin: 4px 0; }
-#g-view-calendar-form select { margin: 4px 10px; }
-
-table.calendar { border-spacing: 1px; }
-table.calendar td.title a { font-weight: bold; }
-
-/* modules.css - ClustrMaps ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-clustrmaps .g-block-content { text-align: center; }
-
-/* modules.css - GPS Info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-exif-gps-maps ul { padding-left: 0; }
-
-/* modules.css - Search ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-quick-search-form { position: absolute; top: 3em; right: 1em; background: none transparent; }
-#g-quick-search-form label { display: none; }
-#g-quick-search-form li { display: inline; float: left; padding: 0px; }
-
-#g-quick-search-form input[type="text"] { width: 150px; }
-#g-quick-search-form input[type="submit"] { display: block; width: 23px; height: 23px; text-indent: -9999px; overflow: hidden; }
-
-/* modules.css - Basket ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-.basketbuttons span.ui-icon { display: none; }
-#payment { height: 100%; margin-left: 10px; }
-#payment p { padding: 4px; }
-#basketForm { width: 100%; float:right; }
-#checkout { }
-#checkout fieldset { border: none; }
-#checkout legend { width: 100%; padding: 4px 4px 4px 8px; font-size: 1em; font-weight: bold; }
-#checkout ul { padding: 8px; }
-#checkout li { padding-top: 8px; display: inline; }
-#checkout label { margin: 4px 0; }
-#checkout select { margin: 4px 10px; }
-
-#checkout textarea { display: block; clear: both; padding: .2em; width: 90%; }
-
-/* modules.css - Register ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-welcome-message p { padding-bottom: 6px; }
-#g-change-password-user-form { height: 100%; }
-
-/* modules.css - Localization ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#l10n-client .labels { border-top: white 1px solid; height: 1.7em; }
-#l10n-client h2 { padding-top: 0.4em; padding-bottom: 0.3em; }
-#l10n-client .label.translation { margin-top: -0.4em; height: 1.7em; }
-#l10n-client #l10n-client-toggler { line-height: 1.7em; height: 1.7em; }
-#l10n-client .string-list li { font-size: 0.8em; line-height: 1.1em; }
-#l10n-client #l10n-client-string-select { width: 24%; }
-#l10n-client #l10n-client-string-select .string-list { border: 1px #ccc solid; }
-#l10n-client #g-l10n-search-form ul { padding: 0; }
-#l10n-client #l10n-client-string-editor { margin-left: 1em; }
-#l10n-client-string-editor .source .source-text { margin: 0 0.4em 0 0; border: 1px #ccc solid; padding: 0.4em; line-height: 1em; }
-#l10n-client-string-editor .translation { height: 19em; }
-#l10n-client #l10n-edit-translation { width: 97%; height: 17em; border: 1px #ccc solid; font-family: monospace; padding: 0.4em; }
diff --git a/3.1/themes/greydragon/css/old_ie.css b/3.1/themes/greydragon/css/old_ie.css
deleted file mode 100644
index 9a5da7b8..00000000
--- a/3.1/themes/greydragon/css/old_ie.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Gallery 3 Grey Dragon Theme
- * Copyright (C) 2006-2010 Serguei Dosyukov
- *
- * CSS rules - IE 6 hacks
- */
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* old_ie.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-body { word-wrap: break-word; font-size: 100.1%; }
-
-.g-item .g-metadata:hover { padding: 0px 0 4px 6px; }
-#g-quick-search-form input[type="submit"] { padding: 60px 0 0 0; }
-#g-column-centerleft { margin: 0 19em 0 0; }
-#g-column-centerright { margin: 0 0 0 19em; }
diff --git a/3.1/themes/greydragon/css/screen.css b/3.1/themes/greydragon/css/screen.css
deleted file mode 100644
index 17ecf082..00000000
--- a/3.1/themes/greydragon/css/screen.css
+++ /dev/null
@@ -1,224 +0,0 @@
-/**
- * Gallery 3 Grey Dragon Theme
- * Copyright (C) 2006-2010 Serguei Dosyukov
- *
- * CSS rules - Kitchen sync
- *
- * Color rules for font/background/lines can be found in dedicated colorpack files
- */
-
-@import url(layout.css);
-@import url(menus.css);
-@import url(forms.css);
-@import url(modules.css);
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* screen.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-body { font-family: Arial, verdana, sans-serif; font-size: 0.9em; }
-
-a { text-decoration: none; outline: none; -moz-outline-style: none; }
-a:focus, a:active, a:hover { text-decoration: none; outline: none; }
-img { border: none; }
-p { text-indent: 0; }
-ul { list-style: none none; }
-
-h1 { font-weight: bold; font-size: 1.1em; padding-bottom: 1px; }
-h2 { font-weight: bold; font-size: 1.1em; }
-h3 { font-weight: bold; }
-h4 { font-weight: bold; }
-h5 { font-weight: bold; }
-
-.txtright { text-align: right; }
-.g-metadata { overflow: hidden; }
-.g-avatar { float: right; }
-
-.ui-icon { display: inline-block; zoom: 1; width: 16px; height: 15px; }
-.ui-icon-first { background-position: -162px -178px; }
-.ui-icon-first-d { background-position: -162px -162px; }
-.ui-icon-prev { background-position: -178px -178px; }
-.ui-icon-prev-d { background-position: -178px -162px; }
-.ui-icon-parent { background-position: -226px -178px; }
-.ui-icon-parent-d { background-position: -226px -162px; }
-.ui-icon-next { background-position: -194px -178px; }
-.ui-icon-next-d { background-position: -194px -162px; }
-.ui-icon-last { background-position: -210px -178px; }
-.ui-icon-last-d { background-position: -210px -162px; }
-.ui-icon-signal-diag { background-position: -16px -178px; }
-.ui-icon-info { background-position: -16px -144px; }
-.ui-icon-plus { background-position: -14px -129px; }
-.ui-icon-minus { background-position: -46px -129px; }
-.ui-icon-note { background-position: -66px -98px; }
-
-.ui-icon-comment { background-position: -227px -219px; width: 27px; height: 20px; }
-.ui-icon-left .ui-icon { float: left; margin-right: .2em; }
-.ui-icon-right .ui-icon { float: right; margin-left: .2em; }
-
-/* screen.css - Header ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-header { height: 90px; padding: 0; font-size: 0.9em; }
-
-#g-logo { position: absolute; top: 8px; left: 16px; }
-
-.g-breadcrumbs { position: absolute; bottom: 4px; background-color: transparent; }
-.g-breadcrumbs.default { right: 14px; }
-.g-breadcrumbs.left { left: 304px; padding-left: 0; }
-.g-breadcrumbs li { display: inline; padding-left: 1em; padding-right: 0.4em; }
-.g-breadcrumbs li.g-first { background-image: none; }
-.g-breadcrumbs li.g-active { padding-right: 0; }
-
-#g-header .g-message-block { position: absolute; z-index: 10; min-width: 30em; padding: 4px 6px; right: 20em; top: 34px; overflow: hidden; font: bold 9pt Arial, verdana, sans-serif; text-align: center; }
-
-#g-header #g-login-menu { position: absolute; top: 0.5em; right: 1em; background-color: transparent; display: none; }
-
-/* screen.css - Main ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-main { display: block; margin: 0; }
-#g-main-in { display: block; position: relative; }
-
-#g-column-center, #g-column-centerleft { padding: 6px 6px 6px 16px; }
-#g-column-centerfull { padding: 6px 12px 6px 10px; }
-#g-column-centerright { padding: 6px 12px 6px 6px; }
-#g-column-left { padding: 6px 4px 6px 10px; }
-#g-column-right { padding: 6px 10px 6px 4px; }
-
-/* screen.css - Footer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-footer { padding: 6px 6px 6px 14px; zoom: 1; font-size: 0.9em; }
-#g-footer ul { float: left; padding: 0; text-align: left; }
-#g-footer li { padding: 0 0 2px 0; }
-
-#g-footer #g-login-menu { position: absolute; bottom: 0.5em; right: 1em; background-color: transparent; display: none; }
-
-#g-login-menu li { display: inline; padding-left: 1.2em; }
-#g-logout-link { float: none; margin-right: 0; }
-
-#g-copyright { font-size: x-small; }
-#g-footer #g-footer-rightside { float: right; padding-right: 6px; text-align: right; }
-#g-credits { margin-right: 14px; }
-
-/* screen.css - Pagination ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-.g-paginator { display: inline-block; width: 100%; padding: 4px 0 0 0; zoom: 1; }
-.g-paginator li { display: inline; float: left; margin-left: 0; zoom: 1; }
-.g-paginator a { padding: 0 0 0 2px; }
-
-.g-paginator .g-pagination { width: 80%; font-size: 0.8em; }
-.g-paginator .g-navigation { text-align: right; width: 20%; }
-
-/* screen.css - Album grid ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-album-grid { padding: 6px 0 0 0; width: 100%; display: inline-block; }
-#g-album-grid .g-item { position: relative; float: left; margin: 4px 0; min-width: 212px; width: 33%; zoom: 1; } /* amargin-right: 10px; */
-#g-album-grid .g-extra-column { width: 23%; }
-#g-album-grid .g-item p { text-align: center; }
-#g-album-grid h2 { position: absolute; top: 164px; left: 12px; width: 150px; font: 100%/100% Arial, Helvetica, sans-serif; }
-#g-album-grid h2 a { display: block; margin-top: 4px; font: bold 0.8em Arial, Helvetica, Verdana, Sans-Serif; letter-spacing: 0.1em; text-transform: uppercase; min-height: 2em; }
-
-/* screen.css - Thumbs : Common ~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-.g-thumbcrop { overflow: hidden; position: relative; width: 200px; min-height: 133px; }
-
-.g-thumbtype-flm .g-thumbcrop { height: 150px; }
-.g-thumbtype-dgt .g-thumbcrop { height: 133px; }
-.g-thumbtype-sqr .g-thumbcrop { height: 200px; }
-.g-album .g-description strong { padding-left: 16px; }
-
-/* screen.css - Thumbs : Overlay ~~~~~~~~~~~~~~~~~~~~~~~*/
-
-.g-thumbslide { font-size: 0.9em; width: 208px; min-height: 139px; padding-top: 6px; padding-left: 6px; }
-.g-thumbslide.g-thumbtype-flm { height: 158px; }
-.g-thumbslide.g-thumbtype-dgt { height: 141px; }
-.g-thumbslide.g-thumbtype-sqr { height: 208px; }
-
-.g-thumbcrop a.g-thumlink { display: block; position: relative; }
-.g-thumbslide .g-thumbcrop .g-description { display: none; }
-.g-thumbslide:hover .g-description { display: block; position: absolute; top: 0; min-height: 32px; width: 100%; overflow: hidden; z-index: 3; font-weight: bold; font-size: 0.9em; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; }
-.g-thumbslide:hover .g-description strong { display: block; margin-left: 10px; padding-top: 2px; }
-.g-album .g-thumbslide:hover .g-description strong { padding-left: 16px; }
-.g-thumbslide .g-description strong { display: block; margin-left: 10px; padding-top: 2px; }
-
-.g-thumbslide .g-metadata { display: none; }
-.g-thumbslide:hover .g-metadata { display: block; position: absolute; bottom: 7px; margin: 0 0 1px 1px; padding: 2px 4px 2px 6px; width: 190px; }
-.g-thumbslide:hover .g-metadata li { padding: 0; margin: 0; font-size: 0.9em; }
-.g-album .g-thumbslide:hover .g-metadata { bottom: 10px; }
-
-/* screen.css - Thumbs : Extended View mode ~~~~~~~~~~~~*/
-
-.g-thumbslide-ext { font-size: 0.9em; width: 208px; min-height: 139px; padding-top: 6px; padding-left: 6px; }
-.g-thumbslide-ext.g-thumbtype-flm { height: 188px; }
-.g-thumbslide-ext.g-thumbtype-dgt { height: 171px; }
-.g-thumbslide-ext.g-thumbtype-sqr { height: 238px; }
-
-.g-thumbslide-ext .g-description { display: block; margin-top: 2px; width: 200px; overflow: hidden; font-weight: bold; font-size: 0.9em; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; }
-.g-thumbslide-ext .g-description strong { display: block; }
-.g-album .g-thumbslide-ext .g-description strong { padding-left: 24px; }
-
-.g-thumbslide-ext .g-metadata { display: none; }
-.g-thumbslide-ext:hover .g-metadata { display: block; position: absolute; bottom: 37px; margin: 0 0 1px 1px; padding: 2px 4px 2px 6px; width: 190px; }
-.g-thumbslide-ext:hover .g-metadata li { padding: 0; margin: 0; font-size: 0.9em; }
-.g-album .g-thumbslide-ext:hover .g-metadata { bottom: 40px; }
-
-/* screen.css - Photo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-item { float: left; height: 100%; width: 100%; }
-#g-photo { padding: 6px 0 6px 6px; text-align: center; float: left; height: 100%; width: 100%; }
-div.g-resize { position: relative; left: 50%; float: left; padding: 5px; font-size: 0.9em; }
-div.g-resize>a { float: left; overflow: hidden; }
-div.g-resize>a img { float: left; }
-div.g-resize .g-description { display: none; }
-div.g-resize:hover .g-description { position: absolute; display: block; top: 0px; margin-top: 5px; text-align: left; padding: 10px; }
-div.g-resize:hover .g-description strong { display: block; margin-bottom: 5px; text-transform: uppercase; }
-
-div.g-resize .g-more { display: block; position: absolute; right: 16px; top: 16px; padding: 4px 8px; }
-div.g-resize:hover .g-more { display: none; visibility: hidden; }
-
-.ul-table { text-align: center; margin: 0px auto; padding: 0; list-style-type: none; clear: both; }
-.ul-table li { float: left; text-align: center; }
-
-#g-info { display: inline-block; width: 100%; }
-#g-info .g-description { margin-top: 4px; margin-bottom: 4px; padding: 4px; }
-#g-movie { padding: 6px 0 6px 6px; position: relative; }
-
-.g-movie { margin: 0 auto; }
-
-#g-albumheader h1 { margin-bottom: 6px; }
-
-.g-description .g-metadata { padding: 0.4em 0 0 0; font-size: 0.8em; }
-.g-description .g-metadata li { display: inline; padding-right: 1em; }
-
-/* screen.css - Sidebar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-/* screen.css - Sidebar : Common ~~~~~~~~~~~~~~~~~~~~~~~*/
-
-.g-block { margin-bottom: 4px; padding-bottom: 4px; position: relative; }
-.g-block h2 { padding: 4px 4px 4px 8px; font-size: 1em; }
-.g-block-content { margin: 4px 6px 0 6px; display: block; zoom: 1; }
-
-/* screen.css - Sidebar : Buttons ~~~~~~~~~~~~~~~~~~~~~~*/
-
-#g-viewformat { z-index: 5; position: absolute; padding: 0; top: 6px; right: 10px; }
-#g-viewformat li { float: left; margin-right: 2px; }
-#g-viewformat span { line-height: 1px; text-indent: -900em; width: 17px; display: block; height: 15px; }
-#g-viewformat span:hover,
-#g-viewformat span.g-viewthumb-current { background-position: left bottom; }
-
-#g-view-menu { position: absolute; top: 6px; right: 70px; height: 16px; z-index: 5; zoom: 1; margin: 0 0 6px 0; padding: 0 0 4px 0; }
-#g-view-menu.g-buttonset-shift { right: 6px; }
-.g-toolbar { height: 1.1em; zoom: 1; margin: 0 0 4px 0; padding: 1px 0 3px 0; }
-.g-menu { margin: 0; padding: 0; text-align: left; }
-.g-menu li { display: inline; }
-
-.g-menu-element,
-.g-menu-link { display: inline; float: left; margin-right: 4px; }
-
-.g-buttonset .g-menu-link { text-indent: -99999px; width: 22px; height: 15px; }
-
-#g-slideshow-link:hover, .g-fullsize-link:hover, #g-exifdata-link:hover { background-position: left bottom; }
-
-/* screen.css - Reauthentificate ~~~~~~~~~~~~~~~~~~~~~~ */
-
-#g-reauthenticate-form fieldset { border: none; width: 260px; }
-#g-reauthenticate-form ul { padding: 8px; }
-#g-reauthenticate-form li { padding-top: 8px; }
-#g-reauthenticate-form label { display: block; }
-#g-reauthenticate-form input[type="password"] { width: 98%; }
diff --git a/3.1/themes/greydragon/helpers/exif_event.php b/3.1/themes/greydragon/helpers/exif_event.php
deleted file mode 100644
index 27b617a6..00000000
--- a/3.1/themes/greydragon/helpers/exif_event.php
+++ /dev/null
@@ -1,43 +0,0 @@
-is_album()) {
- exif::extract($item);
- }
- }
-
- static function item_deleted($item) {
- db::build()
- ->delete("exif_records")
- ->where("item_id", "=", $item->id)
- ->execute();
- }
-
- static function photo_menu($menu, $theme) {
- $item = $theme->item();
- $menu->append(
- Menu::factory("link")
- ->id("exifdata-link")
- ->label(t("Photo Details"))
- ->url(url::site("exif/show/$item->id"))
- ->css_id("g-exifdata-link"));
- }
-}
diff --git a/3.1/themes/greydragon/helpers/greydragon_event.php b/3.1/themes/greydragon/helpers/greydragon_event.php
deleted file mode 100644
index 6f84512d..00000000
--- a/3.1/themes/greydragon/helpers/greydragon_event.php
+++ /dev/null
@@ -1,41 +0,0 @@
-get("add_menu");
- if (!empty($submenu)) {
- $item = $submenu->get("add_photos_item");
- if (!empty($item)) { $item->css_class("ui-icon-plus"); }
-
- $item = $submenu->get("add_album_item");
- if (!empty($item)) { $item->css_class("ui-icon-note"); }
- }
-
- $submenu = $menu->get("options_menu");
- if (!empty($submenu)) {
- $item = $submenu->get("edit_item");
- if (!empty($item)) { $item->css_class("ui-icon-pencil"); }
-
- $item = $submenu->get("edit_permissions");
- if (!empty($item)) { $item->css_class("ui-icon-key"); }
- }
- }
-}
diff --git a/3.1/themes/greydragon/helpers/greydragon_installer.php b/3.1/themes/greydragon/helpers/greydragon_installer.php
deleted file mode 100644
index 461e6914..00000000
--- a/3.1/themes/greydragon/helpers/greydragon_installer.php
+++ /dev/null
@@ -1,30 +0,0 @@
-
\ No newline at end of file
diff --git a/3.1/themes/greydragon/helpers/greydragon_theme.php b/3.1/themes/greydragon/helpers/greydragon_theme.php
deleted file mode 100644
index 988da98c..00000000
--- a/3.1/themes/greydragon/helpers/greydragon_theme.php
+++ /dev/null
@@ -1,30 +0,0 @@
-'
- . $theme_info->name . ' ' . $theme_info->version . '';
- }
-}
-
diff --git a/3.1/themes/greydragon/images/avatar.jpg b/3.1/themes/greydragon/images/avatar.jpg
deleted file mode 100644
index 71166cc4..00000000
Binary files a/3.1/themes/greydragon/images/avatar.jpg and /dev/null differ
diff --git a/3.1/themes/greydragon/images/blue-grad.png b/3.1/themes/greydragon/images/blue-grad.png
deleted file mode 100644
index 36e0f6bc..00000000
Binary files a/3.1/themes/greydragon/images/blue-grad.png and /dev/null differ
diff --git a/3.1/themes/greydragon/images/button-grad-active-vs.png b/3.1/themes/greydragon/images/button-grad-active-vs.png
deleted file mode 100644
index dc641725..00000000
Binary files a/3.1/themes/greydragon/images/button-grad-active-vs.png and /dev/null differ
diff --git a/3.1/themes/greydragon/images/button-grad-vs.png b/3.1/themes/greydragon/images/button-grad-vs.png
deleted file mode 100644
index 51c55a3d..00000000
Binary files a/3.1/themes/greydragon/images/button-grad-vs.png and /dev/null differ
diff --git a/3.1/themes/greydragon/images/close.png b/3.1/themes/greydragon/images/close.png
deleted file mode 100644
index d874f9aa..00000000
Binary files a/3.1/themes/greydragon/images/close.png and /dev/null differ
diff --git a/3.1/themes/greydragon/images/donate.png b/3.1/themes/greydragon/images/donate.png
deleted file mode 100644
index f36bb57a..00000000
Binary files a/3.1/themes/greydragon/images/donate.png and /dev/null differ
diff --git a/3.1/themes/greydragon/images/favicon.ico b/3.1/themes/greydragon/images/favicon.ico
deleted file mode 100644
index 66531d8e..00000000
Binary files a/3.1/themes/greydragon/images/favicon.ico and /dev/null differ
diff --git a/3.1/themes/greydragon/images/missing-img.png b/3.1/themes/greydragon/images/missing-img.png
deleted file mode 100644
index 12b7394f..00000000
Binary files a/3.1/themes/greydragon/images/missing-img.png and /dev/null differ
diff --git a/3.1/themes/greydragon/js/ui.support.js b/3.1/themes/greydragon/js/ui.support.js
deleted file mode 100644
index 353a30cc..00000000
--- a/3.1/themes/greydragon/js/ui.support.js
+++ /dev/null
@@ -1,156 +0,0 @@
-/*
-* Grey Dragon Theme: JS support
-*/
-
-jQuery.fn.extend({
- myAjaxLoginSubmit: function() {
-
- var myAjaxLoginSubmitOps = {
- dataType: 'json',
- success: function(data) {
- if (data.result == 'error') {
- $('#g-login').html(data.form);
- $().myAjaxLoginSubmit();
- } else {
- Shadowbox.close();
- window.location.reload();
- }
- }
- };
-
- $('form#g-login-form').one('submit', function() {
- $(this).ajaxSubmit(myAjaxLoginSubmitOps);
- return false;
- });
- },
-
- myAjaxSubmit: function() {
-
- var myAjaxSubmitOps = {
- dataType: 'json',
- success: function(data) {
- if (data.result == 'error') {
- $('#sb-content form').html(data.form);
- $().myAjaxSubmit();
- } else {
- Shadowbox.close();
- window.location.reload();
- }
- }
- };
-
- $('form').one('submit', function() {
- $(this).ajaxSubmit(myAjaxSubmitOps);
- return false;
- });
- },
-
-/*
- _ajaxify_dialog: function() {
- var self = this;
- $("#g-dialog form").ajaxForm({
- dataType: "json",
- beforeSubmit: function(formData, form, options) {
- form.find(":submit")
- .addClass("ui-state-disabled")
- .attr("disabled", "disabled");
- return true;
- },
- success: function(data) {
- if (data.form) {
- var formData = unescape(data.form);
- $("#g-dialog form").replaceWith(formData);
- $("#g-dialog form :submit").removeClass("ui-state-disabled")
- .attr("disabled", null);
- self._ajaxify_dialog();
- self.form_loaded(null, $("#g-dialog form"));
- if (typeof data.reset == 'function') {
- eval(data.reset + '()');
- }
- }
- if (data.result == "success") {
- if (data.location) {
- window.location = data.location;
- } else {
- window.location.reload();
- }
- }
- }
- });
-*/
- theme_ready: function() {
- try {
- Shadowbox.setup("a.g-fullsize-link", {player: 'img'});
- Shadowbox.setup("a.g-sb-preview", {player: 'img', gallery: "preview", animate: false, continuous: true, counterType: "skip", animSequence: "wh", slideshowDelay: 5 });
-
- Shadowbox.setup(".g-dialog-link", {player: 'ajax', width: 500, height: 420, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
- Shadowbox.setup("a#g-login-link", {player: 'ajax', width: 340, height: 190, enableKeys: false, animate: false, onFinish: $().myAjaxLoginSubmit});
- Shadowbox.setup("a#g-exifdata-link", {player: 'ajax', width: 600, height: 420, animate: false});
- Shadowbox.setup("a#g-disclaimer", {player: 'ajax', width: 600, height: 420});
-
- Shadowbox.setup("#g-site-menu .ui-icon-pencil", {player: 'ajax', width: 500, height: 420, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
- Shadowbox.setup(".g-context-menu .ui-icon-pencil", {player: 'ajax', width: 500, height: 420, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
-
- Shadowbox.setup("#g-site-menu .ui-icon-plus", {player: 'ajax', width: 500, height: 390, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
- Shadowbox.setup(".g-context-menu .ui-icon-plus", {player: 'ajax', width: 500, height: 390, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
-
- Shadowbox.setup("#g-site-menu .ui-icon-note", {player: 'ajax', width: 500, height: 370, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
- Shadowbox.setup(".g-context-menu .ui-icon-note", {player: 'ajax', width: 500, height: 370, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
-
- Shadowbox.setup("#g-site-menu .ui-icon-key", {player: 'ajax', width: 700, height: 300, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
- Shadowbox.setup(".g-context-menu .ui-icon-key", {player: 'ajax', width: 700, height: 300, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
-
- Shadowbox.setup("#g-site-menu #g-menu-organize-link", {player: 'ajax', width: 710, height: 460, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
- Shadowbox.setup(".g-context-menu #g-menu-organize-link",{player: 'ajax', width: 710, height: 460, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
-
- Shadowbox.setup(".g-context-menu .ui-icon-folder-open", {player: 'ajax', width: 400, height: 380, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
- Shadowbox.setup("#g-site-menu .g-quick-delete", {player: 'ajax', width: 400, height: 150, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
- Shadowbox.setup(".g-context-menu .ui-icon-trash", {player: 'ajax', width: 400, height: 150, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
-
- Shadowbox.setup("#g-user-profile .g-dialog-link", {player: 'ajax', width: 500, height: 280, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
-
- Shadowbox.setup("#add_to_basket .g-dialog-link", {player: 'ajax', width: 500, height: 360, enableKeys: false, animate: false, onFinish: $().myAjaxSubmit});
- } catch (e) { }
-
- try {
- $(".g-message-block").fadeOut(10000);
- $(".g-context-menu .g-ajax-link").gallery_ajax();
- } catch (e) { }
-
- $("#g-site-menu>ul>li>ul").show();
- $("#g-login-menu").show();
- $(".g-context-menu").show();
- },
-
-// gallery_dialog_postprocess: function(href, title) {
-// Shadowbox.open({player: 'ajax', content: href, width: 500, height: 420, enableKeys: false, animate: false, title: title, onFinish: myAjaxSubmit});
-// }
-});
-
-/*
-(function($) {
-
- $.widget("ui.gallery_dialog", {
- _init: function() {
- var self = this;
- if (!self.options.immediate) {
- this.element.click(function(event) {
- event.preventDefault();
- var href = $(event.currentTarget).attr("href");
- var title = $(event.currentTarget).attr("title");
- setTimeout(function() { $().gallery_dialog_postprocess(href, title); }, 1000);
- return false;
- });
- } else {
- var href = this.element.attr("href");
- var title = this.element.attr("title");
- setTimeout(function() { $().gallery_dialog_postprocess(href, title); }, 1000);
- }
- }
- });
-})(jQuery);
-*/
-
-$(document).ready(function() {
- $().theme_ready();
-});
diff --git a/3.1/themes/greydragon/libraries/MY_Theme_View.php b/3.1/themes/greydragon/libraries/MY_Theme_View.php
deleted file mode 100644
index 4f579ec2..00000000
--- a/3.1/themes/greydragon/libraries/MY_Theme_View.php
+++ /dev/null
@@ -1,313 +0,0 @@
-
-class Theme_View extends Theme_View_Core {
-
- protected $photonav_position;
- protected $sidebarvisible;
- protected $sidebarallowed;
- protected $logopath;
- protected $thumb_descmode = "overlay";
- protected $photo_descmode = "overlay";
- protected $is_thumbmeta_visible = TRUE;
- protected $is_blockheader_visible = TRUE;
- protected $is_photometa_visible = FALSE;
- protected $disable_seosupport = FALSE;
- protected $mainmenu_position = "";
- protected $show_breadcrumbs = TRUE;
- protected $copyright = null;
- protected $show_guest_menu = FALSE;
- protected $loginmenu_position = "footer";
- protected $desc_allowbbcode = FALSE;
- protected $enable_pagecache = FALSE;
- protected $color_pack = "greydragon";
-
- protected $crop_factor = -1;
- protected $crop_class = "";
- protected $_thumb_size_x = 200;
- protected $_thumb_size_y = 200;
-
- protected function ensurevalue($value, $default) {
- if ((!isset($value)) or ($value == "")):
- return $default;
- else:
- return $value;
- endif;
- }
-
- protected function ensureoptionsvalue($key, $default) {
- return ($this->ensurevalue(module::get_var("th_greydragon", $key), $default));
- }
-
- public function load_sessioninfo() {
- $this->sidebarvisible = $_REQUEST['sb'];
-
- if (empty($this->sidebarvisible)):
- $session = Session::instance();
- $_sidebar_mode = $session->get("gd_sidebar");
- if ($_sidebar_mode):
- $this->sidebarvisible = $_sidebar_mode;
- else:
- $this->sidebarvisible = $this->ensureoptionsvalue("sidebar_visible", "right");
- endif;
- else:
- // Sidebar position is kept for 360 days
- Session::instance()->set("gd_sidebar", $this->sidebarvisible, time() + 31536000);
- endif;
-
- $this->sidebarallowed = $this->ensureoptionsvalue("sidebar_allowed", "any");
- $this->sidebarvisible = $this->ensurevalue($this->sidebarvisible, "right");
-
- if ($this->sidebarallowed == "none") { $this->sidebarvisible = $this->ensureoptionsvalue("sidebar_visible", "right"); };
- if ($this->sidebarallowed == "right") { $this->sidebarvisible = "right"; }
- if ($this->sidebarallowed == "left") { $this->sidebarvisible = "left"; }
-
- if ($this->item()):
- if ($this->ensureoptionsvalue("sidebar_albumonly", FALSE)):
- if (!$this->item()->is_album()):
- $this->sidebarallowed = "none";
- $this->sidebarvisible = "none";
- endif;
- endif;
- endif;
-
- $this->logopath = $this->ensureoptionsvalue("logo_path", url::file("lib/images/logo.png"));
- $this->show_guest_menu = $this->ensureoptionsvalue("show_guest_menu", FALSE);
- $this->horizontal_crop = $this->ensureoptionsvalue("horizontal_crop", FALSE);
- $this->thumb_descmode = $this->ensureoptionsvalue("thumb_descmode", "overlay");
- $this->photo_descmode = $this->ensureoptionsvalue("photo_descmode", "overlay");
- $this->is_thumbmeta_visible = ((!$this->ensureoptionsvalue("hide_thumbmeta", FALSE)) and module::is_active("info"));
- $this->is_photometa_visible = ((!$this->ensureoptionsvalue("hide_photometa", TRUE)) and module::is_active("info"));
- $this->disable_seosupport = $this->ensureoptionsvalue("disable_seosupport", FALSE);
- $this->is_blockheader_visible = (!$this->ensureoptionsvalue("hide_blockheader", FALSE));
- $this->mainmenu_position = $this->ensureoptionsvalue("mainmenu_position", "default");
- $this->show_breadcrumbs = (!$this->ensureoptionsvalue("hide_breadcrumbs", FALSE));
- $this->loginmenu_position = ($this->ensureoptionsvalue("loginmenu_position", "default"));
- $this->copyright = ($this->ensureoptionsvalue("copyright", null));
- $this->photonav_position = module::get_var("th_greydragon", "photonav_position", "top");
- $this->desc_allowbbcode = $this->ensureoptionsvalue("desc_allowbbcode", FALSE);
- $this->enable_pagecache = $this->ensureoptionsvalue("enable_pagecache", FALSE);
- $this->color_pack = $this->ensureoptionsvalue("color_pack", "greydragon");
-
- $cssfile = gallery::find_file("css/colorpacks/" . $this->color_pack, "colors.css", false);
-
- if (!$cssfile):
- $this->color_pack = 'greydragon';
- endif;
-
- switch (module::get_var("th_greydragon", "thumb_ratio")):
- case "digital":
- $this->crop_factor = 4/3;
- $this->crop_class = 'g-thumbtype-dgt';
- break;
- case "square":
- $this->crop_factor = 1;
- $this->crop_class = 'g-thumbtype-sqr';
- break;
- case "film":
- $this->crop_factor = 3/2;
- $this->crop_class = 'g-thumbtype-flm';
- break;
- case "photo":
- default:
- $this->crop_factor = 1;
- $this->crop_class = 'g-thumbtype-sqr';
- break;
- endswitch;
-
- $this->_thumb_size_y = floor($this->_thumb_size_x / $this->crop_factor);
- }
-
- public function is_sidebarallowed($align) {
- return (($this->sidebarallowed == "any") or ($this->sidebarallowed == $align));
- }
-
- public function breadcrumb_menu($theme, $parents) {
- $content = "";
-
- if ($theme->item() && !empty($parents)):
- $content .= '';
- $i = 0;
- foreach ($parents as $parent):
- $content .= '- ';
- $content .= 'item()->id}" : null) . '">';
- $content .= $theme->bb2html(html::purify($parent->title), 2);
- $content .= '
';
- $i++;
- endforeach;
- $content .= '- ' . $theme->bb2html(html::purify($theme->item()->title), 2) . '
';
- $content .= '
';
- endif;
-
- return $content;
- }
-
- protected function sidebar_menu_item($type, $url, $caption, $css) {
- if (!$this->is_sidebarallowed($type)):
- return "";
- endif;
-
- $iscurrent = ($this->sidebarvisible == $type);
- $content_menu = '';
- if (!$iscurrent):
- $content_menu .= '';
- endif;
- $content_menu .= '';
- if (!$iscurrent):
- $content_menu .= '';
- endif;
-
- return $content_menu . '';
- }
-
- public function sidebar_menu($url) {
- if ($this->sidebarallowed != "any"):
- return "";
- endif;
-
- $content_menu = ($this->sidebar_menu_item("left", $url, "Sidebar Left", "left"));
- $content_menu .= ($this->sidebar_menu_item("none", $url, "No Sidebar", "full"));
- $content_menu .= ($this->sidebar_menu_item("right", $url, "Sidebar Right", "right"));
- return '';
- }
-
- public function add_paginator($position) {
- if (($this->photonav_position == "both") or ($this->photonav_position == $position)):
- return ($this->paginator());
- else:
- return "";
- endif;
- }
-
- public function get_thumb_element($item, $addcontext) {
- $item_class = $item->is_album() ? "g-album" : "g-photo";
-
- if (($this->sidebarallowed == "none") and ($this->sidebarvisible == "none")):
- $item_class .= " g-extra-column";
- endif;
-
- $content = '';
- $content .= $this->thumb_top($item);
-
- if (($this->crop_factor == 1) and ($item->thumb_width > $item->thumb_height)):
- $_shift = 'style="margin-top: ' . floor(($this->_thumb_size_y - $item->thumb_height) / 2) . 'px;"';
- else:
- if (($this->crop_factor > 0) and ($item->thumb_width < $item->thumb_height)):
- $_shift = 'style="margin-top: -' . floor(($item->thumb_height - $this->_thumb_size_y) / 2) . 'px;"';
- else:
- $_shift = "";
- endif;
- endif;
-
- $content .= 'crop_class . '">
';
- if ($this->thumb_descmode == "overlay"):
- $content .= '';
- $content .= '' . $this->bb2html(html::purify($item->title), 2) . ''; // html::purify(text::limit_chars($item->title, 44, "…"))
- $content .= '';
- endif;
- $content .= '';
- if (($item->thumb_height == 0) or ($item->thumb_width == 0)):
- $content .= '';
- else:
- $content .= $item->thumb_img();
- endif;
- $content .= '
';
-
- if ($this->thumb_descmode == "bottom"):
- $content .= '
';
- $content .= '' . $this->bb2html(html::purify($item->title), 2) . '';
- $content .= '';
- endif;
-
- if (($this->is_thumbmeta_visible) and (module::is_active("info"))):
- $content .= '
';
- endif;
-
- if ($addcontext):
- $_text = $this->context_menu($item, "#g-item-id-{$item->id} .g-thumbnail");
- $content .= (stripos($_text, '
'))? $_text : null;
- endif;
-
- $content .= ' ';
- $content .= $this->thumb_bottom($item);
- $content .= '';
-
- return $content;
- }
-
- // $mode: bit 1 - use mix mode ($mode in [1, 3]), bit 2 - strips bbcode ($mode in [2, 3])
- public function bb2html($text, $mode) {
- // Syntax Sample:
- // --------------
- // [img]http://elouai.com/images/star.gif[/img]
- // [url="http://elouai.com"]eLouai[/url]
- // [size="25"]HUGE[/size]
- // [color="red"]RED[/color]
- // [b]bold[/b]
- // [i]italic[/i]
- // [u]underline[/u]
- // [list][*]item[*]item[*]item[/list]
- // [code]value="123";[/code]
- // [quote]John said yadda yadda yadda[/quote]
-
- static $bbcode_mappings = array(
- "#\\[b\\](.*?)\\[/b\\]#" => "$1",
- "#\\[i\\](.*?)\\[/i\\]#" => "$1",
- "#\\[u\\](.*?)\\[/u\\]#" => "$1",
- "#\\[s\\](.*?)\\[/s\\]#" => "$1",
- "#\\[o\\](.*?)\\[/o\\]#" => "$1",
- "#\\[url\\](.*?)\[/url\\]#" => "$1",
- "#\\[url=(.*?)\\](.*?)\[/url\\]#" => "$2",
- "#\\[mail=(.*?)\\](.*?)\[/mail\\]#" => "$2",
- "#\\[img\\](.*?)\\[/img\\]#" => "",
- "#\\[img=(.*?)\\](.*?)\[/img\\]#" => "",
- "#\\[quote\\](.*?)\\[/quote\\]#" => "$1
",
- "#\\[code\\](.*?)\\[/code\\]#" => "$1
",
- "#\\[size=([^\\[]*)\\]([^\\[]*)\\[/size\\]#" => "$2",
- "#\\[color=([^\\[]*)\\]([^\\[]*)\\[/color\\]#" => "$2",
- "#\\[class=([^\\[]*)\\]([^\\[]*)\\[/class\\]#" => "$2",
- "#\\[center\\](.*?)\\[/center\\]#" => "$1
",
- "#\\[list\\](.*?)\\[/list\\]#" => "",
- "#\\[ul\\](.*?)\\[/ul\\]#" => "",
- "#\\[li\\](.*?)\\[/li\\]#" => "$1",
- );
-
- static $bbcode_strip = '|[[\/\!]*?[^\[\]]*?]|si';
-
- // Replace any html brackets with HTML Entities to prevent executing HTML or script
- // Don't use strip_tags here because it breaks [url] search by replacing & with amp
- if (($mode == 1) or ($mode == 3)):
- $newtext = str_replace("<", "<", $text);
- $newtext = str_replace(">", ">", $newtext);
- $newtext = str_replace(""", "\"", $newtext);
- else:
- $newtext = str_replace("<", "<", $text);
- $newtext = str_replace(">", ">", $newtext);
- $newtext = str_replace(""", """, $newtext);
- endif;
-
- // Convert new line chars to html
tags
- $newtext = nl2br($newtext);
-
- if (strpos($text, "[") !== false):
- if (($mode == 2) or ($mode == 3)):
- $newtext = preg_replace($bbcode_strip, '', $newtext);
- else:
- $newtext = preg_replace(array_keys($bbcode_mappings), array_values($bbcode_mappings), $newtext);
- endif;
- endif;
-
- return stripslashes($newtext); //stops slashing, useful when pulling from db
- }
-}
-
-?>
\ No newline at end of file
diff --git a/3.1/themes/greydragon/theme.info b/3.1/themes/greydragon/theme.info
deleted file mode 100644
index cea1d8d0..00000000
--- a/3.1/themes/greydragon/theme.info
+++ /dev/null
@@ -1,6 +0,0 @@
-name = "Grey Dragon Theme"
-description = "A Crisp flexible theme with support of Color Packs and minimized on JS overhead"
-version = 2.3.1
-author = "2010 Serguei Dosyukov"
-site = 1
-admin = 0
diff --git a/3.1/themes/greydragon/thumbnail.png b/3.1/themes/greydragon/thumbnail.png
deleted file mode 100644
index 4b80ecaf..00000000
Binary files a/3.1/themes/greydragon/thumbnail.png and /dev/null differ
diff --git a/3.1/themes/greydragon/views/album.html.php b/3.1/themes/greydragon/views/album.html.php
deleted file mode 100644
index 49fa5cf4..00000000
--- a/3.1/themes/greydragon/views/album.html.php
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-= $theme->add_paginator("top"); ?>
-
- if (($theme->photo_descmode == "top") and ($item->description)): ?>
- = $theme->bb2html(html::purify($item->description), 1) ?>
- endif; ?>
-
-
- if (count($children)): ?>
- foreach ($children as $i => $child): ?>
- = $theme->get_thumb_element($child, TRUE) ?>
- endforeach ?>
- else: ?>
- if ($user->admin || access::can("add", $item)): ?>
- $addurl = url::site("uploader/index/$item->id") ?>
- - = t("There aren't any photos here yet! Add some.",
- array("attrs" => html::mark_clean("href=\"$addurl\" class=\"g-dialog-link\""))) ?>
- else: ?>
- - = t("There aren't any photos here yet!") ?>
- endif; ?>
- endif; ?>
-
-= $theme->album_bottom() ?>
-
- if (($theme->photo_descmode == "bottom") and ($item->description)): ?>
- = $theme->bb2html(html::purify($item->description), 1) ?>
- endif; ?>
-
-= $theme->add_paginator("bottom"); ?>
diff --git a/3.1/themes/greydragon/views/block.html.php b/3.1/themes/greydragon/views/block.html.php
deleted file mode 100644
index af29546f..00000000
--- a/3.1/themes/greydragon/views/block.html.php
+++ /dev/null
@@ -1,33 +0,0 @@
-
- if ($anchor): ?>
-
- endif ?>
-
- if ($theme->is_blockheader_visible): ?>
-
= $title ?>
- endif ?>
-
- = $content ?>
-
-
diff --git a/3.1/themes/greydragon/views/dynamic.html.php b/3.1/themes/greydragon/views/dynamic.html.php
deleted file mode 100644
index 1f787cf3..00000000
--- a/3.1/themes/greydragon/views/dynamic.html.php
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-= $theme->add_paginator("top"); ?>
-
-
- foreach ($children as $i => $child): ?>
- = $theme->get_thumb_element($child) ?>
- endforeach ?>
-
-= $theme->dynamic_bottom() ?>
-
-= $theme->add_paginator("bottom"); ?>
diff --git a/3.1/themes/greydragon/views/exif_sidebar.html.php b/3.1/themes/greydragon/views/exif_sidebar.html.php
deleted file mode 100644
index 115bfc86..00000000
--- a/3.1/themes/greydragon/views/exif_sidebar.html.php
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/3.1/themes/greydragon/views/info_block.html.php b/3.1/themes/greydragon/views/info_block.html.php
deleted file mode 100644
index d3860584..00000000
--- a/3.1/themes/greydragon/views/info_block.html.php
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
- if ($item->owner): ?>
- -
- = t("Owner:") ?>
- if ($item->owner->url): ?>
- = html::clean($item->owner->display_name()) ?>
- else: ?>
- = html::clean($item->owner->display_name()) ?>
- endif ?>
-
- endif ?>
- if ($item->captured): ?>
- -
- = t("Captured:") ?>
- = date("M j, Y H:i:s", $item->captured)?>
-
- endif ?>
- if ($item->description): ?>
- -
- = $theme->bb2html(html::purify($item->description), 1) ?>
-
- endif ?>
-
diff --git a/3.1/themes/greydragon/views/login_ajax.html.php b/3.1/themes/greydragon/views/login_ajax.html.php
deleted file mode 100644
index 76028c4e..00000000
--- a/3.1/themes/greydragon/views/login_ajax.html.php
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
diff --git a/3.1/themes/greydragon/views/movie.html.php b/3.1/themes/greydragon/views/movie.html.php
deleted file mode 100644
index ec870608..00000000
--- a/3.1/themes/greydragon/views/movie.html.php
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
- = $theme->photo_top() ?>
-
-
-
= $theme->bb2html(html::purify($item->title), 1) ?>
-
= $theme->bb2html(html::purify($item->description), 1) ?>
-
-
- = $theme->add_paginator("top"); ?>
-
-
- = $theme->resize_top($item) ?>
- = $item->movie_img(array("class" => "g-movie", "id" => "g-movie-id-{$item->id}")); ?>
- // = $theme->context_menu($item, "#g-movie-id-{$item->id}") ?>
- = $theme->resize_bottom($item) ?>
-
-
- = $theme->add_paginator("bottom"); ?>
-
- = $theme->photo_bottom() ?>
-
diff --git a/3.1/themes/greydragon/views/no_sidebar.html.php b/3.1/themes/greydragon/views/no_sidebar.html.php
deleted file mode 100644
index dd61bb77..00000000
--- a/3.1/themes/greydragon/views/no_sidebar.html.php
+++ /dev/null
@@ -1,24 +0,0 @@
-
- //
?>
-
diff --git a/3.1/themes/greydragon/views/page.html.php b/3.1/themes/greydragon/views/page.html.php
deleted file mode 100644
index 13664d65..00000000
--- a/3.1/themes/greydragon/views/page.html.php
+++ /dev/null
@@ -1,147 +0,0 @@
-
-
- $theme->load_sessioninfo(); ?>
-
-
-
- if (($theme->enable_pagecache) and ($theme->item())):
- // Page will expire in 60 seconds
- header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 60).'GMT');
- header("Cache-Control: public");
- header("Cache-Control: post-check=3600, pre-check=43200", false);
- header("Content-Type: text/html; charset=UTF-8");
- header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
- endif;
-?>
-
-
-= " "; ?>
- if ($page_title): ?>
-= $page_title ?>
- else: ?>
- if ($theme->item()): ?>
- if ($theme->item()->is_album()): ?>
-= t("Browse Album :: %album_title", array("album_title" => $theme->bb2html($theme->item()->title, 2))) ?>
- elseif ($theme->item()->is_photo()): ?>
-= t("Photo :: %photo_title", array("photo_title" => $theme->bb2html($theme->item()->title, 2))) ?>
- else: ?>
-= t("Movie :: %movie_title", array("movie_title" => $theme->bb2html($theme->item()->title, 2))) ?>
- endif ?>
- elseif ($theme->tag()): ?>
-= t("Browse Tag :: %tag_title", array("tag_title" => $theme->bb2html($theme->tag()->name, 2))) ?>
- else: /* Not an item, not a tag, no page_title specified. Help! */ ?>
-= t("Gallery") ?>
- endif ?>
- endif ?>
- if (!$theme->disable_seosupport): ?>
- = '' . "\n"; ?>
- = '' . "\n"; ?>
- = '' . "\n"; ?>
- = '' . "\n"; ?>
- = '' . "\n"; ?>
- endif; ?>
-" type="image/x-icon" />
-= $theme->script("jquery.js") ?>
-= $theme->script("jquery.form.js") ?>
-= $theme->script("jquery-ui.js") ?>
- if ($theme->page_subtype == "movie"): ?>
-= $theme->script("flowplayer.js") ?>
- endif ?>
-= $theme->script("gallery.ajax.js") ?>
-= $theme->head() ?>
-" type="text/css" media="screen,print,projection" />
-color_pack . "/colors.css") ?>" type="text/css" media="screen,print,projection" />
-
-
-
-
-
-
-
-= $theme->page_top() ?>
-
-
-
- = $theme->sidebar_menu($url) ?>
-
-
- if ($theme->sidebarvisible=="left"): ?>
- = '
' ?>
- elseif ($theme->sidebarvisible=="none"): ?>
- else: ?>
- = '
' ?>
- endif ?>
-
- if (($theme->page_subtype != "login") and ($theme->page_subtype != "reauthenticate") and ($theme->sidebarvisible != "none")): ?>
- = new View("sidebar.html") ?>
- endif ?>
- = ($theme->sidebarvisible != "none")? "
" : null ?>
-
- if ($theme->sidebarvisible == "left"): ?>
- = '
' ?>
- elseif ($theme->sidebarvisible == "none"): ?>
- = '
' ?>
- else: ?>
- = '
' ?>
- endif ?>
- = $content ?>
-
-
-
-
-= $theme->page_bottom() ?>
-
-
diff --git a/3.1/themes/greydragon/views/paginator.html.php b/3.1/themes/greydragon/views/paginator.html.php
deleted file mode 100644
index 9b5e725e..00000000
--- a/3.1/themes/greydragon/views/paginator.html.php
+++ /dev/null
@@ -1,188 +0,0 @@
-
-
-// This is a generic paginator for album, photo and movie pages. Depending on the page type,
-// there are different sets of variables available. With this data, you can make a paginator
-// that lets you say "You're viewing photo 5 of 35", or "You're viewing photos 10 - 18 of 37"
-// for album views.
-//
-// Available variables for all page types:
-// $page_type - "collection", "item", or "other"
-// $page_subtype - "album", "movie", "photo", "tag", etc.
-// $previous_page_url - the url to the previous page, if there is one
-// $next_page_url - the url to the next page, if there is one
-// $total - the total number of photos in this album
-//
-// Available for the "collection" page types:
-// $page - what page number we're on
-// $max_pages - the maximum page number
-// $page_size - the page size
-// $first_page_url - the url to the first page, or null if we're on the first page
-// $last_page_url - the url to the last page, or null if we're on the last page
-// $first_visible_position - the position number of the first visible photo on this page
-// $last_visible_position - the position number of the last visible photo on this page
-//
-// Available for "item" page types:
-// $position - the position number of this photo
-//
-?>
-
-
- switch ($page_type) {
- case "collection":
- if ($item):
- $parent = $item->parent();
- endif;
- $current_page = $page;
- $total_pages = $max_pages;
- // Prepare page url list
- for ($i = 1; $i <= $total_pages; $i++):
- $_pagelist[$i] = url::site(url::merge(array("page" => $i)));
- endfor;
- break;
- case "item":
- if ($item):
- $parent = $item->parent();
- endif;
- $current_page = $position;
- $total_pages = $total;
- $siblings = $item->parent()->children();
- for ($i = 1; $i <= $total; $i++):
- $_pagelist[$i] = $siblings[$i-1]->url();
- endfor;
- break;
- default:
- $current_page = 1;
- $total_pages = 1;
- $_pagelist[1] = url::site();
- break;
- }
-
- if ($total_pages <= 1):
- $pagination_msg = " ";
- else:
- $pagination_msg = t("Page:") . ' ';
- if ($total_pages < 13):
- for ($i = 1; $i <= $total_pages; $i++):
- if ($i == $current_page):
- $pagination_msg .= '
' . t($i) . '';
- else:
- $pagination_msg .= '
' . t($i) . '';
- endif;
- if ($i < $total_pages):
- $pagination_msg .= '·';
- endif;
- endfor;
- elseif ($current_page < 9):
- for ($i = 1; $i <= 10; $i++):
- if ($i == $current_page):
- $pagination_msg .= '
' . t($i) . '';
- else:
- $pagination_msg .= '
' . t($i) . '';
- endif;
- if ($i < 10):
- $pagination_msg .= '·';
- endif;
- endfor;
-
- $pagination_msg .= '…';
- $pagination_msg .= '
' . t($total_pages - 1) . '';
- $pagination_msg .= '·';
- $pagination_msg .= '
' . t($total_pages) . '';
-
- elseif ($current_page > $total_pages - 8):
- $pagination_msg .= '
' . t(1) . '';
- $pagination_msg .= '·';
- $pagination_msg .= '
' . t(2) . '';
- $pagination_msg .= '…';
-
- for ($i = $total_pages - 9; $i <= $total_pages; $i++):
- if ($i == $current_page):
- $pagination_msg .= '
' . t($i) . '';
- else:
- $pagination_msg .= '
' . t($i) . '';
- endif;
- if ($i < $total_pages):
- $pagination_msg .= '·';
- endif;
- endfor;
-
- else:
- $pagination_msg .= '
' . t(1) . '';
- $pagination_msg .= '·';
- $pagination_msg .= '
' . t(2) . '';
- $pagination_msg .= '…';
-
- for ($i = $current_page - 5; $i <= $current_page + 5; $i++):
- if ($i == $current_page):
- $pagination_msg .= '
' . t($i) . '';
- else:
- $pagination_msg .= '
' . t($i) . '';
- endif;
- if ($i < $current_page + 5):
- $pagination_msg .= '·';
- endif;
- endfor;
-
- $pagination_msg .= '…';
- $pagination_msg .= '
' . t($total_pages - 1) . '';
- $pagination_msg .= '·';
- $pagination_msg .= '
' . t($total_pages) . '';
- endif;
- endif;
-?>
-
-
\ No newline at end of file
diff --git a/3.1/themes/greydragon/views/photo.html.php b/3.1/themes/greydragon/views/photo.html.php
deleted file mode 100644
index 884e30a5..00000000
--- a/3.1/themes/greydragon/views/photo.html.php
+++ /dev/null
@@ -1,79 +0,0 @@
-
- if ($theme->desc_allowbbcode): ?>
- $_description = $theme->bb2html($item->description, 1); ?>
- else: ?>
- $_description = nl2br(html::purify($item->description)); ?>
- endif; ?>
-
- if ($theme->is_photometa_visible): ?>
- $_description .= '
'; ?>
- endif; ?>
-
-
- $_title = $theme->bb2html(html::purify($item->title), 1); ?>
-
-
= $_title ?>
-
- = $theme->add_paginator("top"); ?>
- = $theme->photo_top() ?>
- if (($theme->photo_descmode == "top") and ($_description)): ?>
-
- endif; ?>
-
- = $theme->resize_top($item) ?>
- if (access::can("view_full", $item)): ?>
- $_url = $item->file_url() . '" class="g-sb-preview" '; ?>
- else: ?>
- $_url = '#"'; ?>
- endif; ?>
- $_resizewidth = $item->resize_width; ?>
- $siblings = $item->parent()->children(); ?>
- $siblings_count = count($siblings) - 1; ?>
-
- = $theme->resize_bottom($item) ?>
-
- if (($theme->photo_descmode == "bottom") and ($_description)): ?>
-
- endif; ?>
- = $theme->add_paginator("bottom"); ?>
- = $theme->photo_bottom() ?>
-
diff --git a/3.1/themes/greydragon/views/rss_block.html.php b/3.1/themes/greydragon/views/rss_block.html.php
deleted file mode 100644
index 4d30ce59..00000000
--- a/3.1/themes/greydragon/views/rss_block.html.php
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
diff --git a/3.1/themes/greydragon/views/search.html.php b/3.1/themes/greydragon/views/search.html.php
deleted file mode 100644
index 94fc170c..00000000
--- a/3.1/themes/greydragon/views/search.html.php
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
= t("Search Results for \"%term\"", array("term" => $q)) ?>
-
- if (count($items)): ?>
-
- = $theme->add_paginator("top"); ?>
-
- foreach ($items as $item): ?>
- // $item_class = $item->is_album() ? "g-album" : "g-photo" ?>
- // - ?>
- = $theme->get_thumb_element($item) ?>
- //
?>
- endforeach ?>
-
- = $theme->add_paginator("bottom"); ?>
- else: ?>
-
-
= t("No results found for %term", array("term" => $q)) ?>
-
- endif; ?>
-
\ No newline at end of file
diff --git a/3.1/themes/greydragon/views/sidebar.html.php b/3.1/themes/greydragon/views/sidebar.html.php
deleted file mode 100644
index 0cad333d..00000000
--- a/3.1/themes/greydragon/views/sidebar.html.php
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-= $theme->sidebar_top() ?>
-
- if (($theme->page_subtype == "album") or ($theme->page_subtype == "photo") or ($theme->page_subtype == "movie") or ($theme->item())): ?>
-= $theme->sidebar_blocks() ?>
- endif; ?>
-= $theme->sidebar_bottom() ?>
diff --git a/3.1/themes/greydragon/views/tag_block.html.php b/3.1/themes/greydragon/views/tag_block.html.php
deleted file mode 100644
index f9bc5886..00000000
--- a/3.1/themes/greydragon/views/tag_block.html.php
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
">
- = $cloud ?>
-
-= $form ?>
\ No newline at end of file
diff --git a/3.1/themes/greydragon/views/user_profile.html.php b/3.1/themes/greydragon/views/user_profile.html.php
deleted file mode 100644
index b7d92f40..00000000
--- a/3.1/themes/greydragon/views/user_profile.html.php
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
= t("User profile: %name", array("name" => $user->display_name())) ?>
-
-
-
-
"
- alt="= html::clean_attribute($user->display_name()) ?>"
- class="g-avatar g-left" width="40" height="40" />
-
-
- foreach ($info_parts as $info): ?>
-
-
= html::purify($info->title) ?>
-
- = $info->view ?>
-
-
- endforeach ?>
-