From 65051a4bf77321518a0cf80bc328a7ed609dfc90 Mon Sep 17 00:00:00 2001
From: Tim Almdal
Date: Wed, 23 Sep 2009 15:06:17 -0700
Subject: Rename the default themes to wind and admin_wind. Change
xss_data.txt file to reflect this move. Not completely moved yet, but the
git st is rather large so lets commit this now as a base for the cleanup.
---
themes/wind/views/page.html.php | 142 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 142 insertions(+)
create mode 100644 themes/wind/views/page.html.php
(limited to 'themes/wind/views/page.html.php')
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php
new file mode 100644
index 00000000..19d8cc00
--- /dev/null
+++ b/themes/wind/views/page.html.php
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+ 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 ?>
+ elseif ($theme->tag()): ?>
+ = t("Browse Tag :: %tag_title", array("tag_title" => $theme->tag()->name)) ?>
+ else: /* Not an item, not a tag, no page_title specified. Help! */ ?>
+ = t("Gallery") ?>
+ endif ?>
+ endif ?>
+
+ " 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 ($theme->page_type == 'album'): ?>
+ if ($thumb_proportion != 1): ?>
+ $new_width = $thumb_proportion * 213 ?>
+ $new_height = $thumb_proportion * 240 ?>
+
+ endif ?>
+ endif ?>
+ = $theme->script("jquery.js") ?>
+ = $theme->script("jquery.form.js") ?>
+ = $theme->script("jquery-ui.js") ?>
+ = $theme->script("gallery.common.js") ?>
+ /* MSG_CANCEL is required by gallery.dialog.js */ ?>
+
+ = $theme->script("gallery.ajax.js") ?>
+ = $theme->script("gallery.dialog.js") ?>
+ = $theme->script("gallery.form.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 */ ?>
+ if ($theme->page_type == "photo"): ?>
+ = $theme->script("jquery.scrollTo.js") ?>
+ = $theme->script("gallery.show_full_size.js") ?>
+ elseif ($theme->page_type == "movie"): ?>
+ = $theme->script("flowplayer.js") ?>
+ endif ?>
+
+ = $theme->head() ?>
+
+
+ body_attributes() ?>>
+ = $theme->page_top() ?>
+
+ = $theme->site_status() ?>
+
+
+
+
+
+ = $theme->messages() ?>
+ = $content ?>
+
+
+
+
+
+
+
+ = $theme->page_bottom() ?>
+
+
--
cgit v1.2.3
From ef35f0900170c9c375d5c1c87fc79c613ee96c51 Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Sat, 26 Sep 2009 14:28:43 -0600
Subject: Force IE 8 into IE 8 compatiblility mode
---
themes/wind/views/page.html.php | 1 +
1 file changed, 1 insertion(+)
(limited to 'themes/wind/views/page.html.php')
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php
index 19d8cc00..59b02f95 100644
--- a/themes/wind/views/page.html.php
+++ b/themes/wind/views/page.html.php
@@ -4,6 +4,7 @@
+
if ($page_title): ?>
= $page_title ?>
--
cgit v1.2.3
From 484dd7abaa03009c66edad50ce60dd872a80ae92 Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Sat, 26 Sep 2009 15:50:16 -0600
Subject: Remove IE 8 compatibility mode, it's not really needed after the
latest context menu update
---
themes/wind/views/page.html.php | 1 -
1 file changed, 1 deletion(-)
(limited to 'themes/wind/views/page.html.php')
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php
index 59b02f95..19d8cc00 100644
--- a/themes/wind/views/page.html.php
+++ b/themes/wind/views/page.html.php
@@ -4,7 +4,6 @@
-
if ($page_title): ?>
= $page_title ?>
--
cgit v1.2.3
From daa3a2b43cd6e1458014e763e9640b8db16cc0c1 Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Wed, 30 Sep 2009 00:32:52 -0600
Subject: First round of CSS refactor updates. Added calls to
gallery.common.css from wind and admin_wind. Replaced basic text align and
block float classes. Removed section #2 from both themes screen styles.
---
lib/gallery.common.css | 10 +++++----
modules/comment/views/admin_comments.html.php | 2 +-
modules/gallery/views/admin_maintenance.html.php | 6 +++---
.../gallery/views/admin_maintenance_task.html.php | 2 +-
modules/tag/views/admin_tags.html.php | 4 ++--
modules/user/views/admin_users.html.php | 2 +-
themes/admin_wind/css/screen.css | 24 ----------------------
themes/admin_wind/views/admin.html.php | 1 +
themes/admin_wind/views/pager.html.php | 2 +-
themes/wind/css/fix-ie.css | 2 +-
themes/wind/css/screen.css | 24 ----------------------
themes/wind/views/movie.html.php | 2 +-
themes/wind/views/page.html.php | 1 +
themes/wind/views/pager.html.php | 2 +-
themes/wind/views/photo.html.php | 2 +-
15 files changed, 21 insertions(+), 65 deletions(-)
(limited to 'themes/wind/views/page.html.php')
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
index eb686bcf..0aa9cc29 100644
--- a/lib/gallery.common.css
+++ b/lib/gallery.common.css
@@ -108,12 +108,14 @@ form .g-error {
* 3) Positioning and order
**********************************************************************/
-.g-right {
- float: right;
-}
-
.g-left {
float: left;
+ margin: 1em 1em 1em 0;
+}
+
+.g-right {
+ float: right;
+ margin: 1em 0 1em 1em;
}
.g-first {
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php
index 455cd714..5e9ffb1a 100644
--- a/modules/comment/views/admin_comments.html.php
+++ b/modules/comment/views/admin_comments.html.php
@@ -116,7 +116,7 @@
title="= html::clean_attribute($comment->author_email()) ?>"> = html::clean($comment->author_name()) ?>
-
+
$item = $comment->item() ?>
@@ -136,7 +136,7 @@
= t("Action") ?>
"
- class="gButtonLink ui-icon-left ui-state-default ui-corner-all right">
+ class="gButtonLink g-right ui-icon-left ui-state-default ui-corner-all">
= t("remove all finished") ?>
diff --git a/modules/gallery/views/admin_maintenance_task.html.php b/modules/gallery/views/admin_maintenance_task.html.php
index ddd5bd17..c0bc0d43 100644
--- a/modules/gallery/views/admin_maintenance_task.html.php
+++ b/modules/gallery/views/admin_maintenance_task.html.php
@@ -57,7 +57,7 @@
= t("Starting up...") ?>
-
+
= t("Pause") ?>
= t("Close") ?>
diff --git a/modules/tag/views/admin_tags.html.php b/modules/tag/views/admin_tags.html.php
index 8f3693aa..23a00567 100644
--- a/modules/tag/views/admin_tags.html.php
+++ b/modules/tag/views/admin_tags.html.php
@@ -23,7 +23,7 @@
$column_tag_count = 0 ?>
-
+
= t2("There is one tag", "There are %count tags", $tags->count()) ?>
@@ -48,7 +48,7 @@
= html::clean($tag->name) ?>
- (= $tag->count ?>)
+ (= $tag->count ?>)
id") ?>"
class="gDialogLink delete-link gButtonLink">
= t("Delete this tag") ?>
diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php
index c065e4b1..348747dd 100644
--- a/modules/user/views/admin_users.html.php
+++ b/modules/user/views/admin_users.html.php
@@ -43,7 +43,7 @@