Sync with Wind theme
This commit is contained in:
parent
00a96536e2
commit
cb05ec6073
|
@ -284,22 +284,6 @@ fieldset {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#g-content form ul li {
|
||||
padding: .4em 0;
|
||||
}
|
||||
|
||||
#g-dialog form {
|
||||
width: 270px;
|
||||
}
|
||||
|
||||
#g-dialog fieldset {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Tables ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
table {
|
||||
|
@ -328,6 +312,19 @@ th {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Text ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
.g-text-small {
|
||||
font-size: .8em;
|
||||
}
|
||||
|
||||
.g-text-big {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.g-text-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/** *******************************************************************
|
||||
* 2) Reusable content blocks
|
||||
*********************************************************************/
|
||||
|
@ -393,7 +390,8 @@ th {
|
|||
|
||||
.g-unavailable {
|
||||
border-color: #999;
|
||||
opacity: 0.4;
|
||||
color: black;
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
.g-info td {
|
||||
|
@ -633,7 +631,7 @@ ul.enumeration li {
|
|||
padding: .3em .8em;
|
||||
}
|
||||
|
||||
/* In-line editing ~~~~~~~~~~~~~~~~~~~~ */
|
||||
/* In-line editing ~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
#g-in-place-edit-message {
|
||||
background-color: #FFF;
|
||||
}
|
||||
|
@ -929,10 +927,10 @@ button {
|
|||
background-position: .4em .3em;
|
||||
border: 1px solid #ccc;
|
||||
padding: 0;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#g-action-status {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#g-action-status li,
|
||||
|
@ -1033,7 +1031,7 @@ div#g-action-status {
|
|||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* Superfish menu overrides ~~~~~~~~~~~ */
|
||||
/* Superfish menu overrides ~~~~~~~~~~~~~~ */
|
||||
.sf-menu ul {
|
||||
width: 12em;
|
||||
}
|
||||
|
@ -1081,6 +1079,11 @@ ul.sf-menu li li li.sfHover ul {
|
|||
|
||||
/* jQuery UI Dialog ~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
.ui-widget-overlay {
|
||||
background: #000;
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
#g-admin-dashboard .ui-state-highlight,
|
||||
#g-sidebar .ui-state-highlight {
|
||||
height: 2em;
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
<?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">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" <?= $theme->html_attributes() ?> xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<? $theme->start_combining("script,css") ?>
|
||||
<title>
|
||||
<? if ($page_title): ?>
|
||||
<?= t("Gallery Admin: %page_title", array("page_title" => $page_title)) ?>
|
||||
|
@ -11,16 +12,9 @@
|
|||
<?= t("Admin dashboard") ?>
|
||||
<? endif ?>
|
||||
</title>
|
||||
<link rel="shortcut icon" href="<?= url::file(module::get_var("gallery", "favicon_url")) ?>" type="image/x-icon" />
|
||||
|
||||
<?= $theme->css("yui/reset-fonts-grids.css") ?>
|
||||
<?= $theme->css("themeroller/ui.base.css") ?>
|
||||
<?= $theme->css("superfish/css/superfish.css") ?>
|
||||
<?= $theme->css("screen.css") ?>
|
||||
<!--[if lt IE 8]>
|
||||
<link rel="stylesheet" type="text/css" href="<?= $theme->url("fix-ie.css") ?>"
|
||||
media="screen,print,projection" />
|
||||
<![endif]-->
|
||||
<link rel="shortcut icon"
|
||||
href="<?= url::file(module::get_var("gallery", "favicon_url")) ?>"
|
||||
type="image/x-icon" />
|
||||
|
||||
<?= $theme->script("jquery.js") ?>
|
||||
<?= $theme->script("jquery.form.js") ?>
|
||||
|
@ -33,9 +27,25 @@
|
|||
<?= $theme->script("gallery.ajax.js") ?>
|
||||
<?= $theme->script("gallery.dialog.js") ?>
|
||||
<?= $theme->script("superfish/js/superfish.js") ?>
|
||||
<?= $theme->script("ui.init.js") ?>
|
||||
|
||||
<?= $theme->admin_head() ?>
|
||||
|
||||
<? /* Theme specific CSS/JS goes last so that it can override module CSS/JS */ ?>
|
||||
<?= $theme->script("ui.init.js") ?>
|
||||
<?= $theme->css("yui/reset-fonts-grids.css") ?>
|
||||
<?= $theme->css("themeroller/ui.base.css") ?>
|
||||
<?= $theme->css("superfish/css/superfish.css") ?>
|
||||
<?= $theme->css("screen.css") ?>
|
||||
<!--[if lt IE 8]>
|
||||
<link rel="stylesheet" type="text/css" href="<?= $theme->url("fix-ie.css") ?>"
|
||||
media="screen,print,projection" />
|
||||
<![endif]-->
|
||||
|
||||
<!-- LOOKING FOR YOUR JAVASCRIPT? It's all been combined into the link below -->
|
||||
<?= $theme->get_combined("script") ?>
|
||||
|
||||
<!-- LOOKING FOR YOUR CSS? It's all been combined into the link below -->
|
||||
<?= $theme->get_combined("css") ?>
|
||||
</head>
|
||||
|
||||
<body <?= $theme->body_attributes() ?>>
|
||||
|
|
|
@ -1120,9 +1120,15 @@ div#g-action-status {
|
|||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* Autocomplete ~~~~~~~~~~ */
|
||||
.ac_loading {
|
||||
background: white url('../images/loading-small.gif') right center no-repeat !important;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* 10) Right to left language styles
|
||||
*********************************************************************/
|
||||
|
||||
.rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<ul class="g-message-block">
|
||||
<li class="g-warning"><?= t("No active sidebar blocks.") ?>
|
||||
<br/><a href="<?= url::site("admin/sidebar") ?>"><?= t("Add blocks") ?></a>
|
||||
<li class="g-warning">
|
||||
<? if (block_manager::get_active("site_sidebar")): ?>
|
||||
<?= t("Active sidebar blocks have no content.") ?>
|
||||
<? else: ?>
|
||||
<?= t("No active sidebar blocks.") ?>
|
||||
<? endif ?>
|
||||
<a href="<?= url::site("admin/sidebar") ?>"><?= t("configure blocks") ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -1,37 +1,27 @@
|
|||
<?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">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" <?= $theme->html_attributes() ?> xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<? $theme->start_combining("script,css") ?>
|
||||
<title>
|
||||
<? if ($page_title): ?>
|
||||
<?= $page_title ?>
|
||||
<? else: ?>
|
||||
<? if ($theme->item()): ?>
|
||||
<? if ($theme->item()->is_album()): ?>
|
||||
<?= t("Browse Album :: %album_title", array("album_title" => $theme->item()->title)) ?>
|
||||
<? elseif ($theme->item()->is_photo()): ?>
|
||||
<?= t("Photo :: %photo_title", array("photo_title" => $theme->item()->title)) ?>
|
||||
<? else: ?>
|
||||
<?= t("Movie :: %movie_title", array("movie_title" => $theme->item()->title)) ?>
|
||||
<? endif ?>
|
||||
<?= $theme->item()->title ?>
|
||||
<? elseif ($theme->tag()): ?>
|
||||
<?= t("Browse Tag :: %tag_title", array("tag_title" => $theme->tag()->name)) ?>
|
||||
<?= t("Photos tagged with %tag_title", array("tag_title" => $theme->tag()->name)) ?>
|
||||
<? else: /* Not an item, not a tag, no page_title specified. Help! */ ?>
|
||||
<?= t("Gallery") ?>
|
||||
<?= item::root()->title ?>
|
||||
<? endif ?>
|
||||
<? endif ?>
|
||||
</title>
|
||||
<link rel="shortcut icon" href="<?= url::file(module::get_var("gallery", "favicon_url")) ?>" type="image/x-icon" />
|
||||
<?= $theme->css("yui/reset-fonts-grids.css") ?>
|
||||
<?= $theme->css("superfish/css/superfish.css") ?>
|
||||
<?= $theme->css("themeroller/ui.base.css") ?>
|
||||
<?= $theme->css("screen.css") ?>
|
||||
<!--[if lte IE 8]>
|
||||
<link rel="stylesheet" type="text/css" href="<?= $theme->url("css/fix-ie.css") ?>"
|
||||
media="screen,print,projection" />
|
||||
<![endif]-->
|
||||
<link rel="shortcut icon"
|
||||
href="<?= url::file(module::get_var("gallery", "favicon_url")) ?>"
|
||||
type="image/x-icon" />
|
||||
|
||||
<? if ($theme->page_type == "collection"): ?>
|
||||
<? if ($thumb_proportion != 1): ?>
|
||||
<? $new_width = round($thumb_proportion * 213) ?>
|
||||
|
@ -45,6 +35,8 @@
|
|||
</style>
|
||||
<? endif ?>
|
||||
<? endif ?>
|
||||
|
||||
<?= $theme->script("json2-min.js") ?>
|
||||
<?= $theme->script("jquery.js") ?>
|
||||
<?= $theme->script("jquery.form.js") ?>
|
||||
<?= $theme->script("jquery-ui.js") ?>
|
||||
|
@ -57,9 +49,8 @@
|
|||
<?= $theme->script("gallery.dialog.js") ?>
|
||||
<?= $theme->script("superfish/js/superfish.js") ?>
|
||||
<?= $theme->script("jquery.localscroll.js") ?>
|
||||
<?= $theme->script("ui.init.js") ?>
|
||||
|
||||
<? /* These are page specific, but if we put them before $theme->head() they get combined */ ?>
|
||||
<? /* These are page specific but they get combined */ ?>
|
||||
<? if ($theme->page_subtype == "photo"): ?>
|
||||
<?= $theme->script("jquery.scrollTo.js") ?>
|
||||
<?= $theme->script("gallery.show_full_size.js") ?>
|
||||
|
@ -68,6 +59,23 @@
|
|||
<? endif ?>
|
||||
|
||||
<?= $theme->head() ?>
|
||||
|
||||
<? /* Theme specific CSS/JS goes last so that it can override module CSS/JS */ ?>
|
||||
<?= $theme->script("ui.init.js") ?>
|
||||
<?= $theme->css("yui/reset-fonts-grids.css") ?>
|
||||
<?= $theme->css("superfish/css/superfish.css") ?>
|
||||
<?= $theme->css("themeroller/ui.base.css") ?>
|
||||
<?= $theme->css("screen.css") ?>
|
||||
<!--[if lte IE 8]>
|
||||
<link rel="stylesheet" type="text/css" href="<?= $theme->url("css/fix-ie.css") ?>"
|
||||
media="screen,print,projection" />
|
||||
<![endif]-->
|
||||
|
||||
<!-- LOOKING FOR YOUR JAVASCRIPT? It's all been combined into the link below -->
|
||||
<?= $theme->get_combined("script") ?>
|
||||
|
||||
<!-- LOOKING FOR YOUR CSS? It's all been combined into the link below -->
|
||||
<?= $theme->get_combined("css") ?>
|
||||
</head>
|
||||
|
||||
<body <?= $theme->body_attributes() ?>>
|
||||
|
@ -80,7 +88,7 @@
|
|||
<?= $header_text ?>
|
||||
<? else: ?>
|
||||
<a id="g-logo" class="g-left" 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->url("images/logo.png") ?>" />
|
||||
<img alt="<?= t("Gallery logo: Your photos on your web site")->for_html_attr() ?>" src="<?= url::file("lib/images/logo.png") ?>" />
|
||||
</a>
|
||||
<? endif ?>
|
||||
<?= $theme->user_menu() ?>
|
||||
|
|
|
@ -284,22 +284,6 @@ fieldset {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#g-content form ul li {
|
||||
padding: .4em 0;
|
||||
}
|
||||
|
||||
#g-dialog form {
|
||||
width: 270px;
|
||||
}
|
||||
|
||||
#g-dialog fieldset {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Tables ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
table {
|
||||
|
@ -328,6 +312,19 @@ th {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Text ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
.g-text-small {
|
||||
font-size: .8em;
|
||||
}
|
||||
|
||||
.g-text-big {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.g-text-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/** *******************************************************************
|
||||
* 2) Reusable content blocks
|
||||
*********************************************************************/
|
||||
|
@ -393,7 +390,8 @@ th {
|
|||
|
||||
.g-unavailable {
|
||||
border-color: #999;
|
||||
opacity: 0.4;
|
||||
color: black;
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
.g-info td {
|
||||
|
@ -633,7 +631,7 @@ ul.enumeration li {
|
|||
padding: .3em .8em;
|
||||
}
|
||||
|
||||
/* In-line editing ~~~~~~~~~~~~~~~~~~~~ */
|
||||
/* In-line editing ~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
#g-in-place-edit-message {
|
||||
background-color: #FFF;
|
||||
}
|
||||
|
@ -929,10 +927,10 @@ button {
|
|||
background-position: .4em .3em;
|
||||
border: 1px solid #ccc;
|
||||
padding: 0;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#g-action-status {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#g-action-status li,
|
||||
|
@ -1033,7 +1031,7 @@ div#g-action-status {
|
|||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* Superfish menu overrides ~~~~~~~~~~~ */
|
||||
/* Superfish menu overrides ~~~~~~~~~~~~~~ */
|
||||
.sf-menu ul {
|
||||
width: 12em;
|
||||
}
|
||||
|
@ -1081,6 +1079,11 @@ ul.sf-menu li li li.sfHover ul {
|
|||
|
||||
/* jQuery UI Dialog ~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
.ui-widget-overlay {
|
||||
background: #000;
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
#g-admin-dashboard .ui-state-highlight,
|
||||
#g-sidebar .ui-state-highlight {
|
||||
height: 2em;
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
<?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">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" <?= $theme->html_attributes() ?> xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<? $theme->start_combining("script,css") ?>
|
||||
<title>
|
||||
<? if ($page_title): ?>
|
||||
<?= t("Gallery Admin: %page_title", array("page_title" => $page_title)) ?>
|
||||
|
@ -11,16 +12,9 @@
|
|||
<?= t("Admin dashboard") ?>
|
||||
<? endif ?>
|
||||
</title>
|
||||
<link rel="shortcut icon" href="<?= url::file(module::get_var("gallery", "favicon_url")) ?>" type="image/x-icon" />
|
||||
|
||||
<?= $theme->css("yui/reset-fonts-grids.css") ?>
|
||||
<?= $theme->css("themeroller/ui.base.css") ?>
|
||||
<?= $theme->css("superfish/css/superfish.css") ?>
|
||||
<?= $theme->css("screen.css") ?>
|
||||
<!--[if lt IE 8]>
|
||||
<link rel="stylesheet" type="text/css" href="<?= $theme->url("fix-ie.css") ?>"
|
||||
media="screen,print,projection" />
|
||||
<![endif]-->
|
||||
<link rel="shortcut icon"
|
||||
href="<?= url::file(module::get_var("gallery", "favicon_url")) ?>"
|
||||
type="image/x-icon" />
|
||||
|
||||
<?= $theme->script("jquery.js") ?>
|
||||
<?= $theme->script("jquery.form.js") ?>
|
||||
|
@ -33,9 +27,25 @@
|
|||
<?= $theme->script("gallery.ajax.js") ?>
|
||||
<?= $theme->script("gallery.dialog.js") ?>
|
||||
<?= $theme->script("superfish/js/superfish.js") ?>
|
||||
<?= $theme->script("ui.init.js") ?>
|
||||
|
||||
<?= $theme->admin_head() ?>
|
||||
|
||||
<? /* Theme specific CSS/JS goes last so that it can override module CSS/JS */ ?>
|
||||
<?= $theme->script("ui.init.js") ?>
|
||||
<?= $theme->css("yui/reset-fonts-grids.css") ?>
|
||||
<?= $theme->css("themeroller/ui.base.css") ?>
|
||||
<?= $theme->css("superfish/css/superfish.css") ?>
|
||||
<?= $theme->css("screen.css") ?>
|
||||
<!--[if lt IE 8]>
|
||||
<link rel="stylesheet" type="text/css" href="<?= $theme->url("fix-ie.css") ?>"
|
||||
media="screen,print,projection" />
|
||||
<![endif]-->
|
||||
|
||||
<!-- LOOKING FOR YOUR JAVASCRIPT? It's all been combined into the link below -->
|
||||
<?= $theme->get_combined("script") ?>
|
||||
|
||||
<!-- LOOKING FOR YOUR CSS? It's all been combined into the link below -->
|
||||
<?= $theme->get_combined("css") ?>
|
||||
</head>
|
||||
|
||||
<body <?= $theme->body_attributes() ?>>
|
||||
|
|
|
@ -27,6 +27,18 @@ body, html {
|
|||
font-family: 'Century gothic', Verdana, 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
||||
}
|
||||
|
||||
.ui-widget {
|
||||
font-family: 'Century gothic', Verdana, 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
||||
}
|
||||
|
||||
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
|
||||
font-family: 'Century gothic', Verdana, 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
||||
}
|
||||
|
||||
#g-user-profile #g-comment-detail .g-author {
|
||||
font-family: Cursive, Serif;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1em;
|
||||
text-shadow: 0px 1px 1px #F7F5F0;
|
||||
|
@ -742,13 +754,16 @@ form .g-error {
|
|||
.g-last {
|
||||
}
|
||||
|
||||
/* ~browny~ */
|
||||
.g-even {
|
||||
background-color: #fff;
|
||||
background-color: #BAAD8B;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* ~browny~ */
|
||||
.g-odd {
|
||||
background-color: #EDE4D5;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/** *******************************************************************
|
||||
|
@ -922,14 +937,6 @@ ul.sf-menu li li li.sfHover ul {
|
|||
|
||||
/* jQuery UI Dialog ~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
.ui-widget {
|
||||
font-family: 'Century gothic', Verdana, 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
||||
}
|
||||
|
||||
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
|
||||
font-family: 'Century gothic', Verdana, 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
||||
}
|
||||
|
||||
.ui-widget-overlay {
|
||||
background: #000;
|
||||
opacity: .7;
|
||||
|
@ -1113,9 +1120,15 @@ div#g-action-status {
|
|||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* Autocomplete ~~~~~~~~~~ */
|
||||
.ac_loading {
|
||||
background: white url('../images/loading-small.gif') right center no-repeat !important;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* 10) Right to left language styles
|
||||
*********************************************************************/
|
||||
|
||||
.rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
|
@ -1433,6 +1446,16 @@ div#g-action-status {
|
|||
padding-right: 0;
|
||||
}
|
||||
|
||||
/* ~browny~ */
|
||||
.rtl .g-even {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* ~browny~ */
|
||||
.rtl .g-odd {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/** *******************************************************************
|
||||
* 11) More Browny (Extra overrides for better Browny look)
|
||||
*********************************************************************/
|
||||
|
@ -1497,10 +1520,6 @@ div#g-action-status {
|
|||
margin-bottom: inherit;
|
||||
}
|
||||
|
||||
#g-user-profile #g-comment-detail .g-author {
|
||||
font-family: Cursive, Serif;
|
||||
}
|
||||
|
||||
#g-user-profile #g-comment-detail .g-author a {
|
||||
float: left;
|
||||
position: relative;
|
||||
|
@ -1582,12 +1601,6 @@ div#g-action-status {
|
|||
#g-exif-data {
|
||||
font-size: .85em !important;
|
||||
}
|
||||
.g-odd {
|
||||
background: #BAAD8B !important;
|
||||
}
|
||||
.g-even {
|
||||
background: #EDE4D5 !important;
|
||||
}
|
||||
|
||||
/* 3rd Party Modules ~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
|
@ -1620,3 +1633,10 @@ table.calendar td:hover {
|
|||
#g-view-menu #g-download-album-link {
|
||||
background-image: url('../images/ico-view-downloadalbum.png');
|
||||
}
|
||||
|
||||
/* comment_block */
|
||||
.g-odd .g-thumbnail,
|
||||
.g-even .g-thumbnail {
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
}
|
|
@ -1,6 +1,11 @@
|
|||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<ul class="g-message-block">
|
||||
<li class="g-warning"><?= t("No active sidebar blocks.") ?>
|
||||
<br/><a href="<?= url::site("admin/sidebar") ?>"><?= t("Add blocks") ?></a>
|
||||
<li class="g-warning">
|
||||
<? if (block_manager::get_active("site_sidebar")): ?>
|
||||
<?= t("Active sidebar blocks have no content.") ?>
|
||||
<? else: ?>
|
||||
<?= t("No active sidebar blocks.") ?>
|
||||
<? endif ?>
|
||||
<a href="<?= url::site("admin/sidebar") ?>"><?= t("configure blocks") ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -1,37 +1,27 @@
|
|||
<?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">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" <?= $theme->html_attributes() ?> xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<? $theme->start_combining("script,css") ?>
|
||||
<title>
|
||||
<? if ($page_title): ?>
|
||||
<?= $page_title ?>
|
||||
<? else: ?>
|
||||
<? if ($theme->item()): ?>
|
||||
<? if ($theme->item()->is_album()): ?>
|
||||
<?= t("Browse Album :: %album_title", array("album_title" => $theme->item()->title)) ?>
|
||||
<? elseif ($theme->item()->is_photo()): ?>
|
||||
<?= t("Photo :: %photo_title", array("photo_title" => $theme->item()->title)) ?>
|
||||
<? else: ?>
|
||||
<?= t("Movie :: %movie_title", array("movie_title" => $theme->item()->title)) ?>
|
||||
<? endif ?>
|
||||
<?= $theme->item()->title ?>
|
||||
<? elseif ($theme->tag()): ?>
|
||||
<?= t("Browse Tag :: %tag_title", array("tag_title" => $theme->tag()->name)) ?>
|
||||
<?= t("Photos tagged with %tag_title", array("tag_title" => $theme->tag()->name)) ?>
|
||||
<? else: /* Not an item, not a tag, no page_title specified. Help! */ ?>
|
||||
<?= t("Gallery") ?>
|
||||
<?= item::root()->title ?>
|
||||
<? endif ?>
|
||||
<? endif ?>
|
||||
</title>
|
||||
<link rel="shortcut icon" href="<?= url::file(module::get_var("gallery", "favicon_url")) ?>" type="image/x-icon" />
|
||||
<?= $theme->css("yui/reset-fonts-grids.css") ?>
|
||||
<?= $theme->css("superfish/css/superfish.css") ?>
|
||||
<?= $theme->css("themeroller/ui.base.css") ?>
|
||||
<?= $theme->css("screen.css") ?>
|
||||
<!--[if lte IE 8]>
|
||||
<link rel="stylesheet" type="text/css" href="<?= $theme->url("css/fix-ie.css") ?>"
|
||||
media="screen,print,projection" />
|
||||
<![endif]-->
|
||||
<link rel="shortcut icon"
|
||||
href="<?= url::file(module::get_var("gallery", "favicon_url")) ?>"
|
||||
type="image/x-icon" />
|
||||
|
||||
<? if ($theme->page_type == "collection"): ?>
|
||||
<? if ($thumb_proportion != 1): ?>
|
||||
<? $new_width = round($thumb_proportion * 213) ?>
|
||||
|
@ -45,6 +35,8 @@
|
|||
</style>
|
||||
<? endif ?>
|
||||
<? endif ?>
|
||||
|
||||
<?= $theme->script("json2-min.js") ?>
|
||||
<?= $theme->script("jquery.js") ?>
|
||||
<?= $theme->script("jquery.form.js") ?>
|
||||
<?= $theme->script("jquery-ui.js") ?>
|
||||
|
@ -57,9 +49,8 @@
|
|||
<?= $theme->script("gallery.dialog.js") ?>
|
||||
<?= $theme->script("superfish/js/superfish.js") ?>
|
||||
<?= $theme->script("jquery.localscroll.js") ?>
|
||||
<?= $theme->script("ui.init.js") ?>
|
||||
|
||||
<? /* These are page specific, but if we put them before $theme->head() they get combined */ ?>
|
||||
<? /* These are page specific but they get combined */ ?>
|
||||
<? if ($theme->page_subtype == "photo"): ?>
|
||||
<?= $theme->script("jquery.scrollTo.js") ?>
|
||||
<?= $theme->script("gallery.show_full_size.js") ?>
|
||||
|
@ -68,6 +59,23 @@
|
|||
<? endif ?>
|
||||
|
||||
<?= $theme->head() ?>
|
||||
|
||||
<? /* Theme specific CSS/JS goes last so that it can override module CSS/JS */ ?>
|
||||
<?= $theme->script("ui.init.js") ?>
|
||||
<?= $theme->css("yui/reset-fonts-grids.css") ?>
|
||||
<?= $theme->css("superfish/css/superfish.css") ?>
|
||||
<?= $theme->css("themeroller/ui.base.css") ?>
|
||||
<?= $theme->css("screen.css") ?>
|
||||
<!--[if lte IE 8]>
|
||||
<link rel="stylesheet" type="text/css" href="<?= $theme->url("css/fix-ie.css") ?>"
|
||||
media="screen,print,projection" />
|
||||
<![endif]-->
|
||||
|
||||
<!-- LOOKING FOR YOUR JAVASCRIPT? It's all been combined into the link below -->
|
||||
<?= $theme->get_combined("script") ?>
|
||||
|
||||
<!-- LOOKING FOR YOUR CSS? It's all been combined into the link below -->
|
||||
<?= $theme->get_combined("css") ?>
|
||||
</head>
|
||||
|
||||
<body <?= $theme->body_attributes() ?>>
|
||||
|
@ -80,7 +88,7 @@
|
|||
<?= $header_text ?>
|
||||
<? else: ?>
|
||||
<a id="g-logo" class="g-left" 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->url("images/logo.png") ?>" />
|
||||
<img alt="<?= t("Gallery logo: Your photos on your web site")->for_html_attr() ?>" src="<?= url::file("lib/images/logo.png") ?>" />
|
||||
</a>
|
||||
<? endif ?>
|
||||
<?= $theme->user_menu() ?>
|
||||
|
|
Reference in New Issue
Block a user