From a093e02ca7db5298e60f99b5fef8384345bed063 Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Sun, 3 Jan 2010 23:25:25 +0000 Subject: Cloned default wind theme so that I could make small changes without affecting default theme. --- themes/wind_npk/views/album.html.php | 42 +++++++++ themes/wind_npk/views/block.html.php | 10 ++ themes/wind_npk/views/dynamic.html.php | 29 ++++++ themes/wind_npk/views/movie.html.php | 18 ++++ themes/wind_npk/views/no_sidebar.html.php | 6 ++ themes/wind_npk/views/page.html.php | 149 ++++++++++++++++++++++++++++++ themes/wind_npk/views/paginator.html.php | 87 +++++++++++++++++ themes/wind_npk/views/photo.html.php | 39 ++++++++ themes/wind_npk/views/sidebar.html.php | 16 ++++ 9 files changed, 396 insertions(+) create mode 100644 themes/wind_npk/views/album.html.php create mode 100644 themes/wind_npk/views/block.html.php create mode 100644 themes/wind_npk/views/dynamic.html.php create mode 100644 themes/wind_npk/views/movie.html.php create mode 100644 themes/wind_npk/views/no_sidebar.html.php create mode 100644 themes/wind_npk/views/page.html.php create mode 100644 themes/wind_npk/views/paginator.html.php create mode 100644 themes/wind_npk/views/photo.html.php create mode 100644 themes/wind_npk/views/sidebar.html.php (limited to 'themes/wind_npk/views') diff --git a/themes/wind_npk/views/album.html.php b/themes/wind_npk/views/album.html.php new file mode 100644 index 00000000..eabe07c3 --- /dev/null +++ b/themes/wind_npk/views/album.html.php @@ -0,0 +1,42 @@ + + +
+ album_top() ?> +

title) ?>

+
description)) ?>
+
+ + +album_bottom() ?> + +paginator() ?> diff --git a/themes/wind_npk/views/block.html.php b/themes/wind_npk/views/block.html.php new file mode 100644 index 00000000..699d7c22 --- /dev/null +++ b/themes/wind_npk/views/block.html.php @@ -0,0 +1,10 @@ + + + + +
+

+
+ +
+
diff --git a/themes/wind_npk/views/dynamic.html.php b/themes/wind_npk/views/dynamic.html.php new file mode 100644 index 00000000..a4ab11e7 --- /dev/null +++ b/themes/wind_npk/views/dynamic.html.php @@ -0,0 +1,29 @@ + +
+
+ dynamic_top() ?> +
+

+
+ + +dynamic_bottom() ?> + +paginator() ?> diff --git a/themes/wind_npk/views/movie.html.php b/themes/wind_npk/views/movie.html.php new file mode 100644 index 00000000..27c293ce --- /dev/null +++ b/themes/wind_npk/views/movie.html.php @@ -0,0 +1,18 @@ + +
+ photo_top() ?> + + paginator() ?> + +
+ movie_img(array("class" => "g-movie", "id" => "g-movie-id-{$item->id}")) ?> + context_menu($item, "#g-movie-id-{$item->id}") ?> +
+ +
+

title) ?>

+
description)) ?>
+
+ + photo_bottom() ?> +
diff --git a/themes/wind_npk/views/no_sidebar.html.php b/themes/wind_npk/views/no_sidebar.html.php new file mode 100644 index 00000000..378bd971 --- /dev/null +++ b/themes/wind_npk/views/no_sidebar.html.php @@ -0,0 +1,6 @@ + + diff --git a/themes/wind_npk/views/page.html.php b/themes/wind_npk/views/page.html.php new file mode 100644 index 00000000..2dcc5d70 --- /dev/null +++ b/themes/wind_npk/views/page.html.php @@ -0,0 +1,149 @@ + + + + + + + <? 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" /> + css("yui/reset-fonts-grids.css") ?> + css("superfish/css/superfish.css") ?> + css("themeroller/ui.base.css") ?> + css("gallery.common.css") ?> + css("screen.css") ?> + + page_type == "collection"): ?> + + + + + + + script("jquery.js") ?> + script("jquery.form.js") ?> + script("jquery-ui.js") ?> + script("gallery.common.js") ?> + + + script("gallery.ajax.js") ?> + script("gallery.dialog.js") ?> + script("superfish/js/superfish.js") ?> + script("jquery.localscroll.js") ?> + script("ui.init.js") ?> + + head() they get combined */ ?> + page_subtype == "photo"): ?> + script("jquery.scrollTo.js") ?> + script("gallery.show_full_size.js") ?> + page_subtype == "movie"): ?> + script("flowplayer.js") ?> + + + head() ?> + + + body_attributes() ?>> + page_top() ?> +
+ site_status() ?> +
+
+ + + + + + user_menu() ?> + header_top() ?> + + + + + + header_bottom() ?> +
+ + item() && !empty($parents)): ?> + + +
+
+
+
+
+ messages() ?> + +
+
+
+
+ page_subtype != "login"): ?> + + +
+
+ +
+ page_bottom() ?> + + diff --git a/themes/wind_npk/views/paginator.html.php b/themes/wind_npk/views/paginator.html.php new file mode 100644 index 00000000..5034c965 --- /dev/null +++ b/themes/wind_npk/views/paginator.html.php @@ -0,0 +1,87 @@ + + + + diff --git a/themes/wind_npk/views/photo.html.php b/themes/wind_npk/views/photo.html.php new file mode 100644 index 00000000..e0fae3f1 --- /dev/null +++ b/themes/wind_npk/views/photo.html.php @@ -0,0 +1,39 @@ + + +item())): ?> + + + + +
+ photo_top() ?> + + paginator() ?> + +
+ resize_top($item) ?> + + for_html_attr() ?>"> + + resize_img(array("id" => "g-photo-id-{$item->id}", "class" => "g-resize")) ?> + + + + resize_bottom($item) ?> + context_menu($item, "#g-photo-id-{$item->id}") ?> +
+ +
+

title) ?>

+
description)) ?>
+
+ + photo_bottom() ?> +
diff --git a/themes/wind_npk/views/sidebar.html.php b/themes/wind_npk/views/sidebar.html.php new file mode 100644 index 00000000..086d1359 --- /dev/null +++ b/themes/wind_npk/views/sidebar.html.php @@ -0,0 +1,16 @@ + +sidebar_top() ?> +
+ + album_menu() ?> + + photo_menu() ?> + + movie_menu() ?> + + tag_menu() ?> + +
+ +sidebar_blocks() ?> +sidebar_bottom() ?> -- cgit v1.2.3