Merge branch 'master' of git://github.com/dmolavi/gallery3-contrib
3
3.0/modules/atom/module.info
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
name = "Atom"
|
||||||
|
description = "Enable Atom feeds in your Gallery"
|
||||||
|
version = 1
|
@ -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
|
|
@ -1,8 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
|
|
||||||
class Kbd_Nav_theme_Core {
|
|
||||||
|
|
||||||
static function head($theme) {
|
|
||||||
return $theme->script("kbd_nav.js");
|
|
||||||
}
|
|
||||||
}
|
|
@ -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; }
|
|
||||||
});
|
|
@ -1,3 +0,0 @@
|
|||||||
name = "Kbd Navigation"
|
|
||||||
description = "Adds keyboard navigation to the gallery.<br />Version 1.5 | By <a href=http://blog.dragonsoft.us>Serguei Dosyukov</a> | <a href=http://codex.gallery2.org/Gallery3:Modules:kbd_nav>Visit plugin Site</a> | <a href=http://gallery.menalto.com/node/95438>Support</a>"
|
|
||||||
version = 5
|
|
@ -1,469 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* Gallery - a web based photo album viewer and editor
|
|
||||||
* Copyright (C) 2000-2009 Bharat Mediratta
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
class Admin_Theme_Options_Controller extends Admin_Controller {
|
|
||||||
|
|
||||||
protected $min_gallery_ver = 30;
|
|
||||||
|
|
||||||
private function load_theme_info() {
|
|
||||||
$file = THEMEPATH . "greydragon/theme.info";
|
|
||||||
$theme_info = new ArrayObject(parse_ini_file($file), ArrayObject::ARRAY_AS_PROPS);
|
|
||||||
return $theme_info;
|
|
||||||
}
|
|
||||||
|
|
||||||
private function get_theme_version() {
|
|
||||||
$theme_info = $this->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 <a href="http://codex.gallery2.org/Gallery3:Modules:kbd_nav" target="_blank">module</a> 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 = '<fieldset>';
|
|
||||||
$help .= '<legend>Help</legend><ul>';
|
|
||||||
$help .= '<li><h3>Prerequisites</h3>
|
|
||||||
<p><b>Requirements need to be met for theme to function properly.</b></p>
|
|
||||||
<p>If indicated please download and install <a href="http://codex.gallery2.org/Gallery3:Modules:shadowbox" target="_blank">
|
|
||||||
Shadowbox module</a>. Module is required to properly display photos in maximized view and for any admin operations dialogs.</p>
|
|
||||||
</li>';
|
|
||||||
|
|
||||||
$help .= '<li><h3>Module Recommendations</h3>
|
|
||||||
<p><b>Some recommendations to make your experience with the theme more pleasant.</b></p>
|
|
||||||
<p>While there is some support for default Organize module, theme may not skin it properly all the way.
|
|
||||||
Please consider using <a href="http://codex.gallery2.org/Gallery3:Modules:gwtorganize" target="_blank">GWT Organize</a> Module instead.</p>
|
|
||||||
<p>Enable Keyboard navigation by installing <a href="http://codex.gallery2.org/Gallery3:Modules:kbd_nav" target="_blank">Kbd Navigation</a> Module.</p>
|
|
||||||
</li>';
|
|
||||||
|
|
||||||
$help .= '<li><h3>General Settings</h3>
|
|
||||||
<p>Theme is designed to display thumbnails in fixed 3+sidebar or 4 columns format.
|
|
||||||
Number of <b>Rows per Album Page</b> however can be adjusted.<br />
|
|
||||||
Unlike in default theme, thumbnails size is restricted to max 200x200px.</p>
|
|
||||||
<p>Default G3 logo can be replaced with your own by providing <b>Alternate Logo Image</b>.
|
|
||||||
Recommended logo size is within 300x80px. If you need bigger space for your logo, CSS would have to be adjusted.</p>
|
|
||||||
<p>Logo could be suppressed altogether by providing <b>Header Text</b> which would take its place.
|
|
||||||
<b>Footer Text</b> would be simply placed next to Site\'s credits.</p>
|
|
||||||
<p>To indicate your rights for the artwork displayed <b>Copyright Message</b> can be placed in
|
|
||||||
right top corner of the footer.</p>
|
|
||||||
<p>Important feature of the theme is ability to specify <b>Selected Color Pack</b>. Color Pack is small CSS
|
|
||||||
file which defines color rules for the theme. By default theme comes with GreyDragon (default) and Wind sets,
|
|
||||||
but it could be easily extended. Visit our Download page for additional information.</p>
|
|
||||||
</li>';
|
|
||||||
$help .= '<li><h3>Advanced Options</h3>
|
|
||||||
<p><b>Show Site Credits</b> simply shows appreciation for hard work of G3 team and Theme\'s author
|
|
||||||
(you could do also do this by clicking <b>Donate</b> link above).</p>
|
|
||||||
<p>If main menu has functionality intended for guest users you can use <b>Show Main Menu for Guest Users</b>
|
|
||||||
to keep it visible.</p>
|
|
||||||
<p>If you do not like login link in the footer you can move it into top right corner by selecting <b>Place Login Link in the Header</b>.</p>
|
|
||||||
<p>You can go even further and move main menu to the top of the header with breadcrumbs taking it place by selecting <b>Alternate Header Layout</b>.</p>
|
|
||||||
<p><b>Item Navigator Position</b> could be changed to display it above and/or below the main content.</p>
|
|
||||||
<p><b>Thumb: Aspect Ratio</b> should be used with understanding that some information
|
|
||||||
may be out of visible area in photo thumbs. Based on specified aspect all thumbs sizes would be adjusted
|
|
||||||
accordingly. When switching to/from <b>Actual Size</b>, it is recommended to rebuild thumbs for proper display
|
|
||||||
(see Maintenance section below).</p>
|
|
||||||
<p>If you prefer including Item\'s caption as part of the thumb, you can use <b>Thumb: Title Display Mode</b> to change
|
|
||||||
default Overlay mode. And if metadata (owner/clicks) is not necessary, it could be hidden with <b>Thumb: Hide Item Meta Data</b>.</p>
|
|
||||||
<p>Similar to Thumb option above Item\'s description could be displayed where available.
|
|
||||||
In non-Overlay mode, this is not limited to just Photo page, but description could be
|
|
||||||
displayed for albums also.</p>
|
|
||||||
</li>';
|
|
||||||
$help .= '<li><h3>Sidebar Options</h3>
|
|
||||||
<p>If Block\'s header is not desired, it could be removed using <b>Hide Block Header</b>.</p>
|
|
||||||
<p>Sidebar visibility could be limited to individual Photo pages with
|
|
||||||
<b>Show Sidebar for Albums Only</b>.
|
|
||||||
<p>When sidebar is visible it can be placed on the left or right of the
|
|
||||||
screen or removed altogether using <b>Allowed Sidebar Positions</b>.
|
|
||||||
If more than one position is allowed, <b>Default Sidebar Position</b>
|
|
||||||
would indicate default state, but visitor would able change it later.
|
|
||||||
</li>';
|
|
||||||
$help .= '<li><h3>Maintenance</h3>
|
|
||||||
<p>Without changing image size, you can <b>Mark all Resizes for Rebuild</b>.
|
|
||||||
Then you need to visit Admin\Maintenance to initiate the process.
|
|
||||||
<p>Same can be done for image thumbs with <b>Mark all Thumbnails for Rebuild</b>.
|
|
||||||
<p><b>Reset Exif Info</b> would remove all exif info allowing it to be imported again.</p>
|
|
||||||
<p>And just in case you think that something is not right, you can
|
|
||||||
always <b>Reset Theme to a Default State</b>.
|
|
||||||
</li>';
|
|
||||||
$help .= '</ul></fieldset>';
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,59 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
||||||
<style>
|
|
||||||
#g-header { margin-bottom: 10px; }
|
|
||||||
#gd-admin { position: relative; font-size: 0.9em; }
|
|
||||||
#gd-admin legend { width: 99.5%; padding: 0.4em 0.8em; margin-left: -11px; background: url(/themes/greydragon/images/blue-grad.png) #d5e6f2 repeat-x left top; border: #dfdfdf 1px solid;}
|
|
||||||
|
|
||||||
#g-theme-options-form { border: none; }
|
|
||||||
#g-theme-options-form fieldset { border: #ccc 1px solid; }
|
|
||||||
#g-theme-options-form input.g-error { padding-left: 30px; border: none; }
|
|
||||||
#g-theme-options-form input.g-success { background-color: transparent; }
|
|
||||||
#g-theme-options-form input.g-warning { background-color: transparent; border: none; }
|
|
||||||
#g-theme-options-form p.g-error { padding-left: 30px; border: none; margin-bottom: 0; background-image: none; }
|
|
||||||
|
|
||||||
.g-admin-left { float: left; width: 53%; }
|
|
||||||
.g-admin-right { float: left; width: 46%; margin-left: 1%; margin-top: 1em; }
|
|
||||||
.g-admin-right h3 { border-bottom: #a2bdbf 1px solid; margin-top: 0.3em; margin-bottom: 0.3em; }
|
|
||||||
|
|
||||||
#gd-admin-head { position: relative; height: auto; clear: both; display: block; overflow: auto; font-size: 11px; padding: 0.4em 0.8em; background-color: #b7c9d6; border: #a2bdbf 1px solid; }
|
|
||||||
#gd-admin-title { float: left; color: #333v42; font-weight: bold; font-size: 1.6em; text-shadow: #deeefa 0 1px 0; }
|
|
||||||
#gd-admin-hlinks ul { float: right; margin-top: 0.4em; font-size: 11px; }
|
|
||||||
#gd-admin-hlinks li { list-style-type: none; float: left; color: #618299; display: inline; }
|
|
||||||
#gd-admin-hlinks a { font-weight: bold; font-size: 13px; }
|
|
||||||
|
|
||||||
#g-content { padding: 0 1em; width: 97%; font-size: 1em; }
|
|
||||||
#g-content form ul li input { display: inline; float: left; margin-right: 0.8em; }
|
|
||||||
#g-content form ul li select { display: inline; float: left; margin-right: 0.8em; width: 10em; padding: 0 0 0 .2em; }
|
|
||||||
#g-content form ul li input[type='text'] { width: 50%; }
|
|
||||||
#g-content form input[type="submit"] { border: #5b86ab 2px solid; padding: 0.3em; color: #fff; background: url(/themes/greydragon/images/button-grad-vs.png) #5580a6 repeat-x left top; }
|
|
||||||
#g-content form input[type="submit"]:hover,
|
|
||||||
input.ui-state-hover { background-image: url(/themes/greydragon/images/button-grad-active-vs.png); border-color: #2e5475; color: #eaf2fa !important; }
|
|
||||||
#g-content form #vercheck, #g-content form #shadowbox, #g-content form #organizecheck { display: none; }
|
|
||||||
</style>
|
|
||||||
<script>
|
|
||||||
$(document).ready( function() {
|
|
||||||
$('form').submit( function() {
|
|
||||||
$('input[type=submit]', this).attr('disabled', 'disabled');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id="gd-admin" class="g-block">
|
|
||||||
<div id="gd-admin-head">
|
|
||||||
<div id="gd-admin-title"><?= $name ?> - <?= $version ?></div>
|
|
||||||
<div id="gd-admin-hlinks">
|
|
||||||
<ul><li><a href="http://blog.dragonsoft.us/gallery-3/" target="_blank"><?= t("Home") ?></a> | </li>
|
|
||||||
<li><a href="http://gallery.menalto.com/node/91519" target="_blank"><?= t("Support") ?></a> | </li>
|
|
||||||
<li><a href="http://codex.gallery2.org/Gallery3:Themes:greydragon" target="_blank"><?= t("Download") ?></a> | </li>
|
|
||||||
<li><a href="http://gallery.menalto.com/gallery/g3demosites/" target="_blank"><?= t("Vote") ?></a> | </li>
|
|
||||||
<li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9MWBSVJMWMJEU" target="_blank"><?= t("Donate") ?></a> </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="g-block-content g-admin-left">
|
|
||||||
<?= $form ?>
|
|
||||||
</div>
|
|
||||||
<div class="g-admin-right">
|
|
||||||
<?= $help ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -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
|
|
||||||
- <theme>/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.
|
|
@ -1,39 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* Gallery - a web based photo album viewer and editor
|
|
||||||
* Copyright (C) 2000-2011 Bharat Mediratta
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
class GreyDragon_Controller extends Controller {
|
|
||||||
/* public function show($id) {
|
|
||||||
$v = new Theme_View("page.html", "other", "profile");
|
|
||||||
$v->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;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
|
@ -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; }
|
|
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 351 B |
Before Width: | Height: | Size: 701 B |
Before Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 405 B |
Before Width: | Height: | Size: 319 B |
Before Width: | Height: | Size: 341 B |
Before Width: | Height: | Size: 857 B |
Before Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 325 B |
Before Width: | Height: | Size: 1014 B |
@ -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; }
|
|
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 376 B |
Before Width: | Height: | Size: 351 B |
Before Width: | Height: | Size: 701 B |
Before Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 830 B |
Before Width: | Height: | Size: 969 B |
Before Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 449 B |
Before Width: | Height: | Size: 492 B |
Before Width: | Height: | Size: 394 B |
Before Width: | Height: | Size: 407 B |
Before Width: | Height: | Size: 938 B |
Before Width: | Height: | Size: 393 B |
Before Width: | Height: | Size: 394 B |
Before Width: | Height: | Size: 1.1 KiB |
@ -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; }
|
|
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 351 B |
Before Width: | Height: | Size: 701 B |
Before Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 637 B |
Before Width: | Height: | Size: 347 B |
Before Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 365 B |
Before Width: | Height: | Size: 383 B |
Before Width: | Height: | Size: 539 B |
Before Width: | Height: | Size: 545 B |
Before Width: | Height: | Size: 525 B |
@ -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; }
|
|
@ -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; }
|
|
||||||
|
|
@ -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; }
|
|
@ -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; }
|
|
@ -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; }
|
|
@ -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%; }
|
|
@ -1,43 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* Gallery - a web based photo album viewer and editor
|
|
||||||
* Copyright (C) 2000-2009 Bharat Mediratta
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
class exif_event_Core {
|
|
||||||
static function item_created($item) {
|
|
||||||
if (!$item->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"));
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* Gallery - a web based photo album viewer and editor
|
|
||||||
* Copyright (C) 2000-2009 Bharat Mediratta
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
class greydragon_event_Core {
|
|
||||||
|
|
||||||
static function site_menu($menu, $theme) {
|
|
||||||
$submenu = $menu->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"); }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,30 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* GreyDragon Theme - a theme for Menalto Gallery 3
|
|
||||||
* Copyright (C) 2009-2010 Serguei Dosyukov
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
class greydragon_installer {
|
|
||||||
static function install() {
|
|
||||||
site_status::warning(t("Initial configuration for the theme may be required. Visit Admin\Appearance\Theme Options before continue."), "gd_init_configuration");
|
|
||||||
}
|
|
||||||
|
|
||||||
static function deactivate() {
|
|
||||||
site_status::clear("gd_init_configuration");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
@ -1,30 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* GreyDragon Theme - a theme for Menalto Gallery 3
|
|
||||||
* Copyright (C) 2009-2010 Serguei Dosyukov
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
class greydragon_theme {
|
|
||||||
|
|
||||||
static function credits($theme) {
|
|
||||||
$theme_id = module::get_var("gallery", "active_site_theme");
|
|
||||||
$theme_info = new ArrayObject(parse_ini_file(THEMEPATH . "$theme_id/theme.info"), ArrayObject::ARRAY_AS_PROPS);
|
|
||||||
|
|
||||||
return '<li><a href="http://codex.gallery2.org/Gallery3:Themes:greydragon" target="_blank">'
|
|
||||||
. $theme_info->name . ' ' . $theme_info->version . '</a></li>';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 160 B |
Before Width: | Height: | Size: 152 B |
Before Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 564 B |
Before Width: | Height: | Size: 399 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 32 KiB |
@ -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();
|
|
||||||
});
|
|
@ -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 .= '<ul class="g-breadcrumbs ' . (($theme->mainmenu_position == "top")? "left" : "default") . '">';
|
|
||||||
$i = 0;
|
|
||||||
foreach ($parents as $parent):
|
|
||||||
$content .= '<li ' . (($i == 0)? " class=\"g-first\"" : null) . '>';
|
|
||||||
$content .= '<a href="' . $parent->url($parent == $theme->item()->parent() ? "show={$theme->item()->id}" : null) . '">';
|
|
||||||
$content .= $theme->bb2html(html::purify($parent->title), 2);
|
|
||||||
$content .= '</a></li>';
|
|
||||||
$i++;
|
|
||||||
endforeach;
|
|
||||||
$content .= '<li class="g-active ' . (($i == 0)? " g-first" : null) . '">' . $theme->bb2html(html::purify($theme->item()->title), 2) . '</li>';
|
|
||||||
$content .= '</ul>';
|
|
||||||
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 = '<li>';
|
|
||||||
if (!$iscurrent):
|
|
||||||
$content_menu .= '<a title="' . $caption . '" href="' . $url . '?sb=' . $type . '">';
|
|
||||||
endif;
|
|
||||||
$content_menu .= '<span class="g-viewthumb-' . $css . ' ';
|
|
||||||
if ($iscurrent):
|
|
||||||
$content_menu .= 'g-viewthumb-current';
|
|
||||||
endif;
|
|
||||||
$content_menu .= '">' . $caption . '</span>';
|
|
||||||
if (!$iscurrent):
|
|
||||||
$content_menu .= '</a>';
|
|
||||||
endif;
|
|
||||||
|
|
||||||
return $content_menu . '</li>';
|
|
||||||
}
|
|
||||||
|
|
||||||
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 '<ul id="g-viewformat">' . $content_menu . '</ul>';
|
|
||||||
}
|
|
||||||
|
|
||||||
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 = '<li id="g-item-id-' . $item->id . '" class="g-item ' . $item_class . '">';
|
|
||||||
$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 .= '<div class="';
|
|
||||||
if ($this->thumb_descmode == "bottom"):
|
|
||||||
$content .= 'g-thumbslide-ext ';
|
|
||||||
else:
|
|
||||||
$content .= 'g-thumbslide ';
|
|
||||||
endif;
|
|
||||||
|
|
||||||
$content .= $this->crop_class . '"><p class="g-thumbcrop">';
|
|
||||||
if ($this->thumb_descmode == "overlay"):
|
|
||||||
$content .= '<span class="g-description">';
|
|
||||||
$content .= '<strong>' . $this->bb2html(html::purify($item->title), 2) . '</strong>'; // html::purify(text::limit_chars($item->title, 44, "…"))
|
|
||||||
$content .= '</span>';
|
|
||||||
endif;
|
|
||||||
$content .= '<a '. $_shift . ' class="g-thumlink" href="' . $item->url() . '">';
|
|
||||||
if (($item->thumb_height == 0) or ($item->thumb_width == 0)):
|
|
||||||
$content .= '<img title="No Image" alt="No Image" src="' . $this->url("images/missing-img.png") . '"/>';
|
|
||||||
else:
|
|
||||||
$content .= $item->thumb_img();
|
|
||||||
endif;
|
|
||||||
$content .= '</a></p>';
|
|
||||||
|
|
||||||
if ($this->thumb_descmode == "bottom"):
|
|
||||||
$content .= '<span class="g-description">';
|
|
||||||
$content .= '<strong>' . $this->bb2html(html::purify($item->title), 2) . '</strong>';
|
|
||||||
$content .= '</span>';
|
|
||||||
endif;
|
|
||||||
|
|
||||||
if (($this->is_thumbmeta_visible) and (module::is_active("info"))):
|
|
||||||
$content .= '<ul class="g-metadata">' . $this->thumb_info($item) . '</ul>';
|
|
||||||
endif;
|
|
||||||
|
|
||||||
if ($addcontext):
|
|
||||||
$_text = $this->context_menu($item, "#g-item-id-{$item->id} .g-thumbnail");
|
|
||||||
$content .= (stripos($_text, '<li>'))? $_text : null;
|
|
||||||
endif;
|
|
||||||
|
|
||||||
$content .= '</div>';
|
|
||||||
$content .= $this->thumb_bottom($item);
|
|
||||||
$content .= '</li>';
|
|
||||||
|
|
||||||
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\\]#" => "<strong>$1</strong>",
|
|
||||||
"#\\[i\\](.*?)\\[/i\\]#" => "<em>$1</em>",
|
|
||||||
"#\\[u\\](.*?)\\[/u\\]#" => "<u>$1</u>",
|
|
||||||
"#\\[s\\](.*?)\\[/s\\]#" => "<strike>$1</strike>",
|
|
||||||
"#\\[o\\](.*?)\\[/o\\]#" => "<overline>$1</overline>",
|
|
||||||
"#\\[url\\](.*?)\[/url\\]#" => "<a href=\"$1\">$1</a>",
|
|
||||||
"#\\[url=(.*?)\\](.*?)\[/url\\]#" => "<a href=\"$1\" target=\"_blank\">$2</a>",
|
|
||||||
"#\\[mail=(.*?)\\](.*?)\[/mail\\]#" => "<a href=\"mailto:$1\" target=\"_blank\">$2</a>",
|
|
||||||
"#\\[img\\](.*?)\\[/img\\]#" => "<img src=\"$1\" alt=\"\" />",
|
|
||||||
"#\\[img=(.*?)\\](.*?)\[/img\\]#" => "<img src=\"$1\" alt=\"$2\" />",
|
|
||||||
"#\\[quote\\](.*?)\\[/quote\\]#" => "<blockquote><p>$1</p></blockquote>",
|
|
||||||
"#\\[code\\](.*?)\\[/code\\]#" => "<pre>$1</pre>",
|
|
||||||
"#\\[size=([^\\[]*)\\]([^\\[]*)\\[/size\\]#" => "<span style=\"font-size: $1;\">$2</span>",
|
|
||||||
"#\\[color=([^\\[]*)\\]([^\\[]*)\\[/color\\]#" => "<span style=\"color: $1;\">$2</span>",
|
|
||||||
"#\\[class=([^\\[]*)\\]([^\\[]*)\\[/class\\]#" => "<span class=\"$1\">$2</span>",
|
|
||||||
"#\\[center\\](.*?)\\[/center\\]#" => "<div style=\"text-align: center;\">$1</div>",
|
|
||||||
"#\\[list\\](.*?)\\[/list\\]#" => "<ul>$1</ul>",
|
|
||||||
"#\\[ul\\](.*?)\\[/ul\\]#" => "<ul>$1</ul>",
|
|
||||||
"#\\[li\\](.*?)\\[/li\\]#" => "<li>$1</li>",
|
|
||||||
);
|
|
||||||
|
|
||||||
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("&quot;", """, $newtext);
|
|
||||||
endif;
|
|
||||||
|
|
||||||
// Convert new line chars to html <br /> 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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
@ -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
|
|
Before Width: | Height: | Size: 25 KiB |
@ -1,55 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* 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
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
<div id="g-album-header">
|
|
||||||
<?= $theme->album_top() ?>
|
|
||||||
<h1><?= $theme->bb2html(html::purify($item->title), 1) ?></h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?= $theme->add_paginator("top"); ?>
|
|
||||||
|
|
||||||
<? if (($theme->photo_descmode == "top") and ($item->description)): ?>
|
|
||||||
<div id="g-info"><div class="g-description"><?= $theme->bb2html(html::purify($item->description), 1) ?></div></div>
|
|
||||||
<? endif; ?>
|
|
||||||
|
|
||||||
<ul id="g-album-grid">
|
|
||||||
<? 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") ?>
|
|
||||||
<li><?= t("There aren't any photos here yet! <a %attrs>Add some</a>.",
|
|
||||||
array("attrs" => html::mark_clean("href=\"$addurl\" class=\"g-dialog-link\""))) ?></li>
|
|
||||||
<? else: ?>
|
|
||||||
<li><?= t("There aren't any photos here yet!") ?></li>
|
|
||||||
<? endif; ?>
|
|
||||||
<? endif; ?>
|
|
||||||
</ul>
|
|
||||||
<?= $theme->album_bottom() ?>
|
|
||||||
|
|
||||||
<? if (($theme->photo_descmode == "bottom") and ($item->description)): ?>
|
|
||||||
<div id="g-info"><div class="g-description"><?= $theme->bb2html(html::purify($item->description), 1) ?></div></div>
|
|
||||||
<? endif; ?>
|
|
||||||
|
|
||||||
<?= $theme->add_paginator("bottom"); ?>
|
|
@ -1,33 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* 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
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
<? if ($anchor): ?>
|
|
||||||
<a name="<?= $anchor ?>"></a>
|
|
||||||
<? endif ?>
|
|
||||||
<div id="<?= $css_id ?>" class="g-block">
|
|
||||||
<? if ($theme->is_blockheader_visible): ?>
|
|
||||||
<h2><?= $title ?></h2>
|
|
||||||
<? endif ?>
|
|
||||||
<div class="g-block-content">
|
|
||||||
<?= $content ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -1,39 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* 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
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
<div id="g-album-header">
|
|
||||||
<div id="g-album-header-buttons">
|
|
||||||
<?= $theme->dynamic_top() ?>
|
|
||||||
</div>
|
|
||||||
<h1><?= html::clean($title) ?></h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?= $theme->add_paginator("top"); ?>
|
|
||||||
|
|
||||||
<ul id="g-album-grid">
|
|
||||||
<? foreach ($children as $i => $child): ?>
|
|
||||||
<?= $theme->get_thumb_element($child) ?>
|
|
||||||
<? endforeach ?>
|
|
||||||
</ul>
|
|
||||||
<?= $theme->dynamic_bottom() ?>
|
|
||||||
|
|
||||||
<?= $theme->add_paginator("bottom"); ?>
|
|
@ -1 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
@ -1,24 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
||||||
<ul>
|
|
||||||
<? if ($item->owner): ?>
|
|
||||||
<li>
|
|
||||||
<strong class="caption"><?= t("Owner:") ?></strong>
|
|
||||||
<? if ($item->owner->url): ?>
|
|
||||||
<a href="<?= $item->owner->url ?>"><?= html::clean($item->owner->display_name()) ?></a>
|
|
||||||
<? else: ?>
|
|
||||||
<?= html::clean($item->owner->display_name()) ?>
|
|
||||||
<? endif ?>
|
|
||||||
</li>
|
|
||||||
<? endif ?>
|
|
||||||
<? if ($item->captured): ?>
|
|
||||||
<li>
|
|
||||||
<strong class="caption"><?= t("Captured:") ?></strong>
|
|
||||||
<?= date("M j, Y H:i:s", $item->captured)?>
|
|
||||||
</li>
|
|
||||||
<? endif ?>
|
|
||||||
<? if ($item->description): ?>
|
|
||||||
<li class="g-description">
|
|
||||||
<?= $theme->bb2html(html::purify($item->description), 1) ?>
|
|
||||||
</li>
|
|
||||||
<? endif ?>
|
|
||||||
</ul>
|
|
@ -1,41 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
|
|
||||||
$("#g-login-form").ready(function() {
|
|
||||||
$("#g-password-reset").bind('click',
|
|
||||||
function() {
|
|
||||||
$.ajax({
|
|
||||||
url: "<?= url::site("password/reset") ?>",
|
|
||||||
success: function(data) {
|
|
||||||
$("#g-login").html(data);
|
|
||||||
ajaxify_login_reset_form();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
function ajaxify_login_reset_form() {
|
|
||||||
$("#g-login form").ajaxForm({
|
|
||||||
dataType: "json",
|
|
||||||
success: function(data) {
|
|
||||||
if (data.form) {
|
|
||||||
$("#g-login").replaceWith(data.form);
|
|
||||||
ajaxify_login_reset_form();
|
|
||||||
}
|
|
||||||
if (data.result == "success") {
|
|
||||||
$("#g-dialog").dialog("close");
|
|
||||||
window.location.reload();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
<div id="g-login">
|
|
||||||
<?= $form ?>
|
|
||||||
<? if (identity::is_writable()): ?>
|
|
||||||
<a href="#" id="g-password-reset"><?= t("Forgot Your Password?") ?></a>
|
|
||||||
<? endif ?>
|
|
||||||
</div>
|
|
||||||
|
|
@ -1,43 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* 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
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
<div id="g-item">
|
|
||||||
<?= $theme->photo_top() ?>
|
|
||||||
|
|
||||||
<div id="g-info">
|
|
||||||
<h1><?= $theme->bb2html(html::purify($item->title), 1) ?></h1>
|
|
||||||
<div class="g-hideitem"><?= $theme->bb2html(html::purify($item->description), 1) ?></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?= $theme->add_paginator("top"); ?>
|
|
||||||
|
|
||||||
<div id="g-movie">
|
|
||||||
<?= $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) ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?= $theme->add_paginator("bottom"); ?>
|
|
||||||
|
|
||||||
<?= $theme->photo_bottom() ?>
|
|
||||||
</div>
|
|
@ -1,24 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* 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
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
<? // <div class="g-toolbar"> </div> ?>
|
|
||||||
<!-- No blocks -->
|
|
@ -1,147 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<? $theme->load_sessioninfo(); ?>
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
|
||||||
<!-- Grey Dragon Theme - Copyright (c) 2009-2010 Serguei Dosyukov - All Rights Reserved -->
|
|
||||||
<?
|
|
||||||
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;
|
|
||||||
?>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
||||||
<?= " <title>"; ?>
|
|
||||||
<? 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 ?></title>
|
|
||||||
<? if (!$theme->disable_seosupport): ?>
|
|
||||||
<?= '<meta name="robots" content="noindex, nofollow, noarchive" />' . "\n"; ?>
|
|
||||||
<?= '<meta name="googlebot" content="noindex, nofollow, noarchive, nosnippet, noodp, noimageindex, notranslate" />' . "\n"; ?>
|
|
||||||
<?= '<meta name="slurp" content="noindex, nofollow, noarchive, nosnippet, noodp, noydir" />' . "\n"; ?>
|
|
||||||
<?= '<meta name="msnbot" content="noindex, nofollow, noarchive, nosnippet, noodp" />' . "\n"; ?>
|
|
||||||
<?= '<meta name="teoma" content="noindex, nofollow, noarchive" />' . "\n"; ?>
|
|
||||||
<? endif; ?>
|
|
||||||
<link rel="shortcut icon" href="<?= $theme->url("images/favicon.ico") ?>" 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() ?>
|
|
||||||
<link rel="stylesheet" href="<?= $theme->url("css/screen.css") ?>" type="text/css" media="screen,print,projection" />
|
|
||||||
<link rel="stylesheet" href="<?= $theme->url("css/colorpacks/" . $theme->color_pack . "/colors.css") ?>" type="text/css" media="screen,print,projection" />
|
|
||||||
|
|
||||||
<!--[if lte IE 7]>
|
|
||||||
<link rel="stylesheet" href="<?= $theme->url("css/old_ie.css") ?>" type="text/css" media="screen,print,projection" />
|
|
||||||
<![endif]-->
|
|
||||||
<!--[if !IE]>
|
|
||||||
<link rel="stylesheet" href="<?= $theme->url("css/layout_non_ie.css") ?>" type="text/css" media="screen,print,projection" />
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?= $theme->url("js/ui.support.js") ?>"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<?= $theme->page_top() ?>
|
|
||||||
<div id="g-header">
|
|
||||||
<?= $theme->header_top() ?>
|
|
||||||
<? if ($header_text = module::get_var("gallery", "header_text")): ?>
|
|
||||||
<?= $header_text ?>
|
|
||||||
<? else: ?>
|
|
||||||
<a id="g-logo" href="<?= item::root()->url() ?>" title="<?= t("go back to the Gallery home")->for_html_attr() ?>">
|
|
||||||
<img alt="<?= t("Gallery logo: Your photos on your web site")->for_html_attr() ?>" src="<?= $theme->logopath ?>" />
|
|
||||||
</a>
|
|
||||||
<? endif ?>
|
|
||||||
|
|
||||||
<? if ((!$user->guest) or ($theme->show_guest_menu)): ?>
|
|
||||||
<div id="g-site-menu" class="<?= ($theme->mainmenu_position == "top")? "top" : "default"; ?>">
|
|
||||||
<?= $theme->site_menu() ?>
|
|
||||||
</div>
|
|
||||||
<? endif ?>
|
|
||||||
<?= $theme->messages() ?>
|
|
||||||
<?= $theme->header_bottom() ?>
|
|
||||||
|
|
||||||
<? if ($theme->loginmenu_position == "header"): ?>
|
|
||||||
<?= $theme->user_menu() ?>
|
|
||||||
<? endif ?>
|
|
||||||
|
|
||||||
<? if ($theme->show_breadcrumbs): ?>
|
|
||||||
<?= $theme->breadcrumb_menu($theme, $parents); ?>
|
|
||||||
<? endif; ?>
|
|
||||||
</div>
|
|
||||||
<div id="g-main">
|
|
||||||
<div id="g-main-in">
|
|
||||||
<?= $theme->sidebar_menu($url) ?>
|
|
||||||
<div id="g-view-menu" class="g-buttonset<?= ($theme->sidebarallowed!="any")? " g-buttonset-shift" : null; ?>">
|
|
||||||
<? if ($page_subtype == "album"):?>
|
|
||||||
<?= $theme->album_menu() ?>
|
|
||||||
<? elseif ($page_subtype == "photo") : ?>
|
|
||||||
<?= $theme->photo_menu() ?>
|
|
||||||
<? elseif ($page_subtype == "movie") : ?>
|
|
||||||
<?= $theme->movie_menu() ?>
|
|
||||||
<? elseif ($page_subtype == "tag") : ?>
|
|
||||||
<?= $theme->tag_menu() ?>
|
|
||||||
<? endif ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<? if ($theme->sidebarvisible=="left"): ?>
|
|
||||||
<?= '<div id="g-column-left">' ?>
|
|
||||||
<? elseif ($theme->sidebarvisible=="none"): ?>
|
|
||||||
<? else: ?>
|
|
||||||
<?= '<div id="g-column-right">' ?>
|
|
||||||
<? endif ?>
|
|
||||||
|
|
||||||
<? if (($theme->page_subtype != "login") and ($theme->page_subtype != "reauthenticate") and ($theme->sidebarvisible != "none")): ?>
|
|
||||||
<?= new View("sidebar.html") ?>
|
|
||||||
<? endif ?>
|
|
||||||
<?= ($theme->sidebarvisible != "none")? "</div>" : null ?>
|
|
||||||
|
|
||||||
<? if ($theme->sidebarvisible == "left"): ?>
|
|
||||||
<?= '<div id="g-column-centerright">' ?>
|
|
||||||
<? elseif ($theme->sidebarvisible == "none"): ?>
|
|
||||||
<?= '<div id="g-column-centerfull">' ?>
|
|
||||||
<? else: ?>
|
|
||||||
<?= '<div id="g-column-centerleft">' ?>
|
|
||||||
<? endif ?>
|
|
||||||
<?= $content ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="g-footer">
|
|
||||||
<?= $theme->footer() ?>
|
|
||||||
<? if ($footer_text = module::get_var("gallery", "footer_text")): ?>
|
|
||||||
<?= $footer_text ?>
|
|
||||||
<? endif ?>
|
|
||||||
|
|
||||||
<? if (module::get_var("gallery", "show_credits")): ?>
|
|
||||||
<ul id="g-credits"><?= $theme->credits() ?></ul>
|
|
||||||
<? endif ?>
|
|
||||||
<ul id="g-footer-rightside"><li><?= $theme->copyright ?></li></ul>
|
|
||||||
<? if ($theme->loginmenu_position == "default"): ?>
|
|
||||||
<?= $theme->user_menu() ?>
|
|
||||||
<? endif ?>
|
|
||||||
</div>
|
|
||||||
<?= $theme->page_bottom() ?>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,188 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* 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
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
<?
|
|
||||||
// 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 .= '<span>' . t($i) . '</span>';
|
|
||||||
else:
|
|
||||||
$pagination_msg .= '<span><a href="' . $_pagelist[$i] . '" title="' . t("Page") . ' ' . t($i) . '">' . t($i) . '</a></span>';
|
|
||||||
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 .= '<span>' . t($i) . '</span>';
|
|
||||||
else:
|
|
||||||
$pagination_msg .= '<span><a href="' . $_pagelist[$i] . '" title="' . t("Page") . ' ' . t($i) . '">' . t($i) . '</a></span>';
|
|
||||||
endif;
|
|
||||||
if ($i < 10):
|
|
||||||
$pagination_msg .= '·';
|
|
||||||
endif;
|
|
||||||
endfor;
|
|
||||||
|
|
||||||
$pagination_msg .= '…';
|
|
||||||
$pagination_msg .= '<span><a href="' . $_pagelist[$total_pages - 1] . '" title="' . t("Page") . ' ' . t($total_pages - 1) . '">' . t($total_pages - 1) . '</a></span>';
|
|
||||||
$pagination_msg .= '·';
|
|
||||||
$pagination_msg .= '<span><a href="' . $_pagelist[$total_pages] . '" title="' . t("Page") . ' ' . t($total_pages) . '">' . t($total_pages) . '</a></span>';
|
|
||||||
|
|
||||||
elseif ($current_page > $total_pages - 8):
|
|
||||||
$pagination_msg .= '<span><a href="' . $_pagelist[1] . '" title="' . t("Page") . ' ' . t(1) . '">' . t(1) . '</a></span>';
|
|
||||||
$pagination_msg .= '·';
|
|
||||||
$pagination_msg .= '<span><a href="' . $_pagelist[2] . '" title="' . t("Page") . ' ' . t(2) . '">' . t(2) . '</a></span>';
|
|
||||||
$pagination_msg .= '…';
|
|
||||||
|
|
||||||
for ($i = $total_pages - 9; $i <= $total_pages; $i++):
|
|
||||||
if ($i == $current_page):
|
|
||||||
$pagination_msg .= '<span>' . t($i) . '</span>';
|
|
||||||
else:
|
|
||||||
$pagination_msg .= '<span><a href="' . $_pagelist[$i] . '" title="' . t("Page") . ' ' . t($i) . '">' . t($i) . '</a></span>';
|
|
||||||
endif;
|
|
||||||
if ($i < $total_pages):
|
|
||||||
$pagination_msg .= '·';
|
|
||||||
endif;
|
|
||||||
endfor;
|
|
||||||
|
|
||||||
else:
|
|
||||||
$pagination_msg .= '<span><a href="' . $_pagelist[1] . '" title="' . t("Page") . ' ' . t(1) . '">' . t(1) . '</a></span>';
|
|
||||||
$pagination_msg .= '·';
|
|
||||||
$pagination_msg .= '<span><a href="' . $_pagelist[2] . '" title="' . t("Page") . ' ' . t(2) . '">' . t(2) . '</a></span>';
|
|
||||||
$pagination_msg .= '…';
|
|
||||||
|
|
||||||
for ($i = $current_page - 5; $i <= $current_page + 5; $i++):
|
|
||||||
if ($i == $current_page):
|
|
||||||
$pagination_msg .= '<span>' . t($i) . '</span>';
|
|
||||||
else:
|
|
||||||
$pagination_msg .= '<span><a href="' . $_pagelist[$i] . '" title="' . t("Page") . ' ' . t($i) . '">' . t($i) . '</a></span>';
|
|
||||||
endif;
|
|
||||||
if ($i < $current_page + 5):
|
|
||||||
$pagination_msg .= '·';
|
|
||||||
endif;
|
|
||||||
endfor;
|
|
||||||
|
|
||||||
$pagination_msg .= '…';
|
|
||||||
$pagination_msg .= '<span><a href="' . $_pagelist[$total_pages - 1] . '" title="' . t("Page") . ' ' . t($total_pages - 1) . '">' . t($total_pages - 1) . '</a></span>';
|
|
||||||
$pagination_msg .= '·';
|
|
||||||
$pagination_msg .= '<span><a href="' . $_pagelist[$total_pages] . '" title="' . t("Page") . ' ' . t($total_pages) . '">' . t($total_pages) . '</a></span>';
|
|
||||||
endif;
|
|
||||||
endif;
|
|
||||||
?>
|
|
||||||
|
|
||||||
<ul class="g-paginator">
|
|
||||||
<li class="g-pagination"><?= $pagination_msg ?></li>
|
|
||||||
<li class="g-navigation">
|
|
||||||
<? if ($current_page > 1): ?>
|
|
||||||
<a title="<?= t("first") ?>" id="g-navi-first" href="<?= $_pagelist[1] ?>"><span class="ui-icon ui-icon-first"> </span></a>
|
|
||||||
<? else: ?>
|
|
||||||
<span class="ui-icon ui-icon-first-d"> </span>
|
|
||||||
<? endif ?>
|
|
||||||
|
|
||||||
<? if (isset($previous_page_url)): ?>
|
|
||||||
<a title="<?= t("previous") ?>" id="g-navi-prev" href="<?= $previous_page_url ?>"><span class="ui-icon ui-icon-prev"> </span></a>
|
|
||||||
<? else: ?>
|
|
||||||
<span class="ui-icon ui-icon-prev-d"> </span>
|
|
||||||
<? endif ?>
|
|
||||||
|
|
||||||
<? if ($parent): ?>
|
|
||||||
<a title="<?= t("up") ?>" id="g-navi-parent" href="<?= $parent->url() ?>"><span class="ui-icon ui-icon-parent"> </span></a>
|
|
||||||
<? else: ?>
|
|
||||||
<span class="ui-icon ui-icon-parent-d"> </span>
|
|
||||||
<? endif ?>
|
|
||||||
|
|
||||||
<? if (isset($next_page_url)): ?>
|
|
||||||
<a title="<?= t("next") ?>" class="ui-right" id="g-navi-next" href="<?= $next_page_url ?>"><span class="ui-icon ui-icon-next"> </span></a>
|
|
||||||
<? else: ?>
|
|
||||||
<span class="ui-icon ui-icon-next-d"> </span>
|
|
||||||
<? endif ?>
|
|
||||||
|
|
||||||
<? if ($current_page < $total_pages): ?>
|
|
||||||
<a title="<?= t("last") ?>" class="ui-right" id="g-navi-last" href="<?= $_pagelist[$total_pages] ?>"><span class="ui-icon ui-icon-last"> </span></a>
|
|
||||||
<? else: ?>
|
|
||||||
<span class="ui-icon ui-icon-last-d"> </span>
|
|
||||||
<? endif ?>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
@ -1,79 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* 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
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
<? if ($theme->desc_allowbbcode): ?>
|
|
||||||
<? $_description = $theme->bb2html($item->description, 1); ?>
|
|
||||||
<? else: ?>
|
|
||||||
<? $_description = nl2br(html::purify($item->description)); ?>
|
|
||||||
<? endif; ?>
|
|
||||||
|
|
||||||
<? if ($theme->is_photometa_visible): ?>
|
|
||||||
<? $_description .= '<ul class="g-metadata">' . $theme->thumb_info($item) . '</ul>'; ?>
|
|
||||||
<? endif; ?>
|
|
||||||
|
|
||||||
<div id="g-item">
|
|
||||||
<? $_title = $theme->bb2html(html::purify($item->title), 1); ?>
|
|
||||||
<div id="g-info">
|
|
||||||
<h1><?= $_title ?></h1>
|
|
||||||
</div>
|
|
||||||
<?= $theme->add_paginator("top"); ?>
|
|
||||||
<?= $theme->photo_top() ?>
|
|
||||||
<? if (($theme->photo_descmode == "top") and ($_description)): ?>
|
|
||||||
<div id="g-info"><div class="g-description"><?= $_description ?></div></div>
|
|
||||||
<? endif; ?>
|
|
||||||
<div id="g-photo">
|
|
||||||
<?= $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; ?>
|
|
||||||
<div class="g-resize" style="margin-left: -<?= $_resizewidth / 2; ?>px; ">
|
|
||||||
<? for ($i = 0; (($i <= $siblings_count) and ($siblings[$i]->rand_key != $item->rand_key)); $i++):
|
|
||||||
?><a title="<?= $theme->bb2html(html::purify($siblings[$i]->title), 1) ?>" class="g-sb-preview" style="display: none;" href="<?= $siblings[$i]->file_url() ?>"> </a><?
|
|
||||||
$siblings_index = $i + 2;
|
|
||||||
endfor; ?>
|
|
||||||
<a href="<?= $_url ?> title="<?= $_title ?>">
|
|
||||||
<?= $item->resize_img(array("id" => "g-photo-id-{$item->id}", "class" => "g-resize", "alt" => $_title)) ?>
|
|
||||||
</a>
|
|
||||||
<? for ($i = $siblings_index; $i <= $siblings_count; $i++):
|
|
||||||
?><a title="<?= $theme->bb2html(html::purify($siblings[$i]->title), 1) ?>" class="g-sb-preview" style="display: none;" href="<?= $siblings[$i]->file_url() ?>"> </a><?
|
|
||||||
endfor; ?>
|
|
||||||
<? if (($theme->photo_descmode == "overlay") and ($_description)): ?>
|
|
||||||
<span class="g-more">More</span>
|
|
||||||
<span class="g-description" style="width: <?= $_resizewidth - 20; ?>px;" >
|
|
||||||
<strong><?= $_title ?></strong>
|
|
||||||
<?= $_description ?>
|
|
||||||
</span>
|
|
||||||
<? endif ?>
|
|
||||||
</div>
|
|
||||||
<?= $theme->resize_bottom($item) ?>
|
|
||||||
</div>
|
|
||||||
<? if (($theme->photo_descmode == "bottom") and ($_description)): ?>
|
|
||||||
<div id="g-info"><div class="g-description"><?= $_description ?></div></div>
|
|
||||||
<? endif; ?>
|
|
||||||
<?= $theme->add_paginator("bottom"); ?>
|
|
||||||
<?= $theme->photo_bottom() ?>
|
|
||||||
</div>
|
|
@ -1,13 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
||||||
<ul id="g-feeds">
|
|
||||||
<? foreach($feeds as $url => $title): ?>
|
|
||||||
<li style="clear: both;">
|
|
||||||
<span class="ui-icon-left">
|
|
||||||
<a href="<?= rss::url($url) ?>">
|
|
||||||
<span class="ui-icon ui-icon-signal-diag"> </span>
|
|
||||||
<?= html::purify($title) ?>
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
</li>
|
|
||||||
<? endforeach ?>
|
|
||||||
</ul>
|
|
@ -1,43 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.");
|
|
||||||
/**
|
|
||||||
* 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
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
<div id="g-search-results">
|
|
||||||
<h1><?= t("Search Results for \"%term\"", array("term" => $q)) ?> </h1>
|
|
||||||
|
|
||||||
<? if (count($items)): ?>
|
|
||||||
|
|
||||||
<?= $theme->add_paginator("top"); ?>
|
|
||||||
<ul id="g-album-grid">
|
|
||||||
<? foreach ($items as $item): ?>
|
|
||||||
<? // $item_class = $item->is_album() ? "g-album" : "g-photo" ?>
|
|
||||||
<? // <li class="g-item < ?= $item_class ? >"> ?>
|
|
||||||
<?= $theme->get_thumb_element($item) ?>
|
|
||||||
<? // </li> ?>
|
|
||||||
<? endforeach ?>
|
|
||||||
</ul>
|
|
||||||
<?= $theme->add_paginator("bottom"); ?>
|
|
||||||
<? else: ?>
|
|
||||||
<p> </p>
|
|
||||||
<p><?= t("No results found for <b>%term</b>", array("term" => $q)) ?></p>
|
|
||||||
|
|
||||||
<? endif; ?>
|
|
||||||
</div>
|
|
@ -1,8 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
||||||
|
|
||||||
<?= $theme->sidebar_top() ?>
|
|
||||||
<div class="g-toolbar"> </div>
|
|
||||||
<? 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() ?>
|
|
@ -1,27 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
||||||
<script language="text/javascript" type="text/javascript">
|
|
||||||
$("#g-add-tag-form").ready(function() {
|
|
||||||
var url = $("#g-tag-cloud").attr("title") + "/autocomplete";
|
|
||||||
$("#g-add-tag-form input:text").autocomplete(
|
|
||||||
url, {
|
|
||||||
max: 30,
|
|
||||||
multiple: true,
|
|
||||||
multipleSeparator: ',',
|
|
||||||
cacheLength: 1}
|
|
||||||
);
|
|
||||||
|
|
||||||
$("#g-add-tag-form").ajaxForm({
|
|
||||||
dataType: "json",
|
|
||||||
success: function(data) {
|
|
||||||
if (data.result == "success") {
|
|
||||||
$("#g-tag-cloud").html(data.cloud);
|
|
||||||
}
|
|
||||||
$("#g-add-tag-form").resetForm();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="g-tag-cloud" title="<?= url::site("tags") ?>">
|
|
||||||
<?= $cloud ?>
|
|
||||||
</div>
|
|
||||||
<?= $form ?>
|
|
@ -1,50 +0,0 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(document).ready(function() {
|
|
||||||
$("#g-profile-return").click(function(event) {
|
|
||||||
history.go(-1);
|
|
||||||
return false;
|
|
||||||
})
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id="g-user-profile">
|
|
||||||
<h1><?= t("User profile: %name", array("name" => $user->display_name())) ?></h1>
|
|
||||||
|
|
||||||
<div class="ui-helper-clearfix" >
|
|
||||||
<a id="g-profile-return" class="g-button g-right ui-state-default ui-corner-all" href="#">
|
|
||||||
<?= t("Return") ?>
|
|
||||||
</a>
|
|
||||||
<? if ($editable): ?>
|
|
||||||
<a class="g-button g-right ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("users/form_change_email/{$user->id}") ?>">
|
|
||||||
<?= t("Change email") ?>
|
|
||||||
</a>
|
|
||||||
<a class="g-button g-right ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("users/form_change_password/{$user->id}") ?>">
|
|
||||||
<?= t("Change password") ?>
|
|
||||||
</a>
|
|
||||||
<a class="g-button g-right ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("form/edit/users/{$user->id}") ?>">
|
|
||||||
<?= t("Edit") ?>
|
|
||||||
</a>
|
|
||||||
<? endif ?>
|
|
||||||
<? if ($contactable): ?>
|
|
||||||
<a class="g-button g-right ui-state-default ui-corner-all g-dialog-link"
|
|
||||||
href="<?= url::site("user_profile/contact/{$user->id}") ?>">
|
|
||||||
<?= t("Contact") ?>
|
|
||||||
</a>
|
|
||||||
<? endif ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<img src="<?= $user->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>"
|
|
||||||
alt="<?= html::clean_attribute($user->display_name()) ?>"
|
|
||||||
class="g-avatar g-left" width="40" height="40" />
|
|
||||||
|
|
||||||
|
|
||||||
<? foreach ($info_parts as $info): ?>
|
|
||||||
<div class="g-block">
|
|
||||||
<h2><?= html::purify($info->title) ?></h2>
|
|
||||||
<div class="g-block-content">
|
|
||||||
<?= $info->view ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<? endforeach ?>
|
|
||||||
</div>
|
|
3
3.1/modules/atom/module.info
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
name = "Atom"
|
||||||
|
description = "Enable Atom feeds in your Gallery"
|
||||||
|
version = 1
|