summaryrefslogtreecommitdiff
path: root/themes/admin_default/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-15 01:52:04 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-15 01:52:04 +0000
commit2842a1a8be748f6ec1024ea3a8ecc97471f70a3f (patch)
tree6ce04d0118907f4299d2d39e23aaf305b2d7f80f /themes/admin_default/views
parent1127257f638ce641f23751928c449c3121622a8d (diff)
Argh, fix a bad rename.
Diffstat (limited to 'themes/admin_default/views')
-rw-r--r--themes/admin_default/views/album.html.php32
-rw-r--r--themes/admin_default/views/block.html.php7
-rw-r--r--themes/admin_default/views/footer.html.php6
-rw-r--r--themes/admin_default/views/header.html.php18
-rw-r--r--themes/admin_default/views/page.html.php56
-rw-r--r--themes/admin_default/views/pager.html.php25
-rw-r--r--themes/admin_default/views/photo.html.php14
-rw-r--r--themes/admin_default/views/sidebar.html.php10
-rw-r--r--themes/admin_default/views/tag.html.php33
9 files changed, 0 insertions, 201 deletions
diff --git a/themes/admin_default/views/album.html.php b/themes/admin_default/views/album.html.php
deleted file mode 100644
index addd6c3a..00000000
--- a/themes/admin_default/views/album.html.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
-<div id="gAlbumHeader">
- <?= $theme->album_top() ?>
- <h1><?= $item->title_edit ?></h1>
- <div class="gDescription"><?= $item->description_edit ?></div>
-</div>
-
-<ul id="gAlbumGrid">
- <? foreach ($children as $i => $child): ?>
- <? $album_class = ""; ?>
- <? if ($child->is_album()): ?>
- <? $album_class = "gAlbum "; ?>
- <? endif ?>
- <li class="gItem <?= $album_class ?>">
- <?= $theme->thumbnail_top($child) ?>
- <a href="<?= url::site("{$child->type}s/{$child->id}") ?>">
- <img id="gPhotoID-<?= $child->id ?>" class="gThumbnail"
- alt="photo" src="<?= $child->thumbnail_url() ?>"
- width="<?= $child->thumbnail_width ?>"
- height="<?= $child->thumbnail_height ?>" />
- </a>
- <h2><?= $child->title_edit ?></h2>
- <?= $theme->thumbnail_bottom($child) ?>
- <ul class="gMetadata">
- <?= $theme->thumbnail_info($child) ?>
- </ul>
- </li>
- <? endforeach ?>
-</ul>
-<?= $theme->album_bottom() ?>
-
-<?= $theme->pager() ?>
diff --git a/themes/admin_default/views/block.html.php b/themes/admin_default/views/block.html.php
deleted file mode 100644
index f084b674..00000000
--- a/themes/admin_default/views/block.html.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
-<div id="<?= $id ?>" class="gBlock">
- <h3><?= $title ?></h3>
- <div class="gBlockContent">
- <?= $content ?>
- </div>
-</div>
diff --git a/themes/admin_default/views/footer.html.php b/themes/admin_default/views/footer.html.php
deleted file mode 100644
index 7f011735..00000000
--- a/themes/admin_default/views/footer.html.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
-<ul id="gCredits">
- <li class="first"> Powered by <a href="http://gallery.menalto.com">Gallery3</a> </li>
- <?= $theme->credits() ?>
- <li> <a href="#">About this Gallery</a> </li>
-</ul>
diff --git a/themes/admin_default/views/header.html.php b/themes/admin_default/views/header.html.php
deleted file mode 100644
index 89d105fb..00000000
--- a/themes/admin_default/views/header.html.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
-<?= $theme->header_top() ?>
-<img id="gLogo" alt="<?= _("Logo") ?>" src="<?= $theme->url("images/logo.png") ?>" />
-
-<div id="gSiteMenu" class="gClearFix">
-<?= $theme->site_navigation() ?>
-</div>
-
-<?= $theme->header_bottom() ?>
-
-<? if ($page_type != "tag"): ?>
-<ul id="gBreadcrumbs" class="gClearFix">
- <? foreach ($parents as $parent): ?>
- <li><a href="<?= url::site("albums/{$parent->id}") ?>"><?= $parent->title ?></a></li>
- <? endforeach ?>
- <li class="active"><?= $item->title ?></li>
-</ul>
-<? endif ?>
diff --git a/themes/admin_default/views/page.html.php b/themes/admin_default/views/page.html.php
deleted file mode 100644
index 3801d23e..00000000
--- a/themes/admin_default/views/page.html.php
+++ /dev/null
@@ -1,56 +0,0 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tranisitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>
- <? if ($page_type == "tag"): ?>
- <?= _("Browse Tags") ?> :: <?= $tag->name ?>
- <? else: ?>
- <?= _("Browse Photos") ?> :: <?= $item->title ?>
- <? endif ?>
- </title>
- <link rel="stylesheet" type="text/css" href="<?= url::file("lib/yui/reset-fonts-grids.css") ?>"
- media="screen,print,projection" />
- <link rel="stylesheet" type="text/css" href="<?= $theme->url("jquery/superfish.css") ?>"
- media="screen" />
- <link rel="stylesheet" type="text/css" href="<?= $theme->url("css/screen.css") ?>"
- media="screen,print,projection" />
- <script src="<?= url::file("lib/jquery.js") ?>" type="text/javascript"></script>
- <script src="<?= url::file("lib/jquery.form.js") ?>" type="text/javascript"></script>
- <script src="<?= $theme->url("jquery/superfish.js") ?>" type="text/javascript"></script>
- <?= $theme->head() ?>
- <script src="<?= $theme->url("lib/jquery-ui.packed.js") ?>" type="text/javascript"></script>
- <script src="<?= $theme->url("js/ui.init.js") ?>" type="text/javascript"></script>
- </head>
-
- <body>
- <?= $theme->page_top() ?>
- <div id="doc4" class="yui-t5 gView">
- <div id="hd">
- <div id="gHeader">
- <?= $theme->display("header.html") ?>
- </div>
- </div>
- <div id="bd">
- <div id="yui-main">
- <div class="yui-b">
- <div id="gContent" class="yui-g">
- <?= $content ?>
- </div>
- </div>
- </div>
- <div id="gSidebar" class="yui-b">
- <?= $theme->display("sidebar.html") ?>
- </div>
- </div>
- <div id="ft">
- <div id="gFooter">
- <?= $theme->display("footer.html") ?>
- </div>
- </div>
- </div>
- <?= $theme->page_bottom() ?>
- </body>
-</html>
diff --git a/themes/admin_default/views/pager.html.php b/themes/admin_default/views/pager.html.php
deleted file mode 100644
index 76cb35cd..00000000
--- a/themes/admin_default/views/pager.html.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
-<? // See http://docs.kohanaphp.com/libraries/pagination ?>
-<ul id="gPager">
- <li><?= sprintf(_("Items %d - %d of %d"), $current_first_item, $current_last_item, $total_items) ?></li>
- <? if ($first_page): ?>
- <li class="first"><a href="<?= str_replace('{page}', 1, $url) ?>"><?= _("first") ?></a></li>
- <? else: ?>
- <li class="first_inactive"><?= _("first") ?></li>
- <? endif ?>
- <? if ($previous_page): ?>
- <li class="previous"><a href="<?= str_replace('{page}', $previous_page, $url) ?>"><?= _("previous") ?></a></li>
- <? else: ?>
- <li class="previous_inactive"><?= _("previous") ?></li>
- <? endif ?>
- <? if ($next_page): ?>
- <li class="next"><a href="<?= str_replace('{page}', $next_page, $url) ?>"><?= _("next") ?></a></li>
- <? else: ?>
- <li class="next_inactive"><?= _("next") ?></li>
- <? endif ?>
- <? if ($last_page): ?>
- <li class="last"><a href="<?= str_replace('{page}', $last_page, $url) ?>"><?= _("last") ?></a></li>
- <? else: ?>
- <li class="last_inactive"><?= _("last") ?></li>
- <? endif ?>
-</ul>
diff --git a/themes/admin_default/views/photo.html.php b/themes/admin_default/views/photo.html.php
deleted file mode 100644
index 8b00f0a5..00000000
--- a/themes/admin_default/views/photo.html.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
-<div id="gItemHeader">
- <?= $theme->photo_top() ?>
- <h1><?= $item->title_edit ?></h1>
-</div>
-
-<div id="gItem">
- <img id="gPhotoID-<?= $item->id ?>" alt="<?= $item->title ?>" src="<?= $item->resize_url() ?>"
- width="<?= $item->resize_width ?>"
- height="<?= $item->resize_height ?>" />
- <div><?= $item->description_edit ?></div>
-
- <?= $theme->photo_bottom() ?>
-</div>
diff --git a/themes/admin_default/views/sidebar.html.php b/themes/admin_default/views/sidebar.html.php
deleted file mode 100644
index d030a242..00000000
--- a/themes/admin_default/views/sidebar.html.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
-<ul id="gViewMenu" class="sf-menu">
- <li><a href="#" id="gFullsizeLink" title="<?= _("View full size image") ?>"><?= _("View full size image") ?></a></li>
- <li><a href="#" id="gAlbumLink" title="<?= _("View album") ?>"><?= _("Album view") ?></a></li>
- <li><a href="#" id="gHybridLink" title="<?= _("View album in hybrid mode") ?>"><?= _("Hybrid view") ?></a></li>
- <li><?= $theme->sidebar_top() ?></li>
-</ul>
-
-<?= $theme->sidebar_blocks() ?>
-<?= $theme->sidebar_bottom() ?>
diff --git a/themes/admin_default/views/tag.html.php b/themes/admin_default/views/tag.html.php
deleted file mode 100644
index 4c507d0d..00000000
--- a/themes/admin_default/views/tag.html.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<? defined("SYSPATH") or die("No direct script access."); ?>
-<div id="gAlbumHeader">
- <div id="gAlbumHeaderButtons">
- <?= $theme->tag_top() ?>
- </div>
- <h1><?= $tag->name ?></h1>
-</div>
-
-<ul id="gAlbumGrid">
- <? foreach ($children as $i => $child): ?>
- <? $album_class = ""; ?>
- <? if ($child->is_album()): ?>
- <? $album_class = "gAlbum "; ?>
- <? endif ?>
- <li class="gItem <?= $album_class ?>">
- <?= $theme->thumbnail_top($child) ?>
- <a href="<?= url::site("{$child->type}s/{$child->id}") ?>">
- <img id="gPhotoID-<?= $child->id ?>" class="gThumbnail"
- alt="photo" src="<?= $child->thumbnail_url() ?>"
- width="<?= $child->thumbnail_width ?>"
- height="<?= $child->thumbnail_height ?>" />
- </a>
- <h2><?= $child->title_edit ?></h2>
- <?= $theme->thumbnail_bottom($child) ?>
- <ul class="gMetadata">
- <?= $theme->thumbnail_info($child) ?>
- </ul>
- </li>
- <? endforeach ?>
-</ul>
-<?= $theme->tag_bottom() ?>
-
-<?= $theme->pager() ?>