From 278191dd6d38bd939ccefb7a1c338611ee920b6e Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 6 Nov 2008 07:20:06 +0000 Subject: Change the theming module again, per a discussion with Chad and Jakob. Now we have an overall page layout (page.html.php) which has a $content variable, and that $content will be one of several possible secondary views. Currently, it is either photo.html.php or album.html.php. header, footer, breadcrumb, sidebar, anything common to all pages is in page.html.php. --- themes/default/views/album.html.php | 90 ++++++++++++--------------- themes/default/views/footer.html.php | 9 --- themes/default/views/header.html.php | 54 ----------------- themes/default/views/page.html.php | 51 +++++++++++++--- themes/default/views/photo.html.php | 111 +++++++++++++++------------------- themes/default/views/sidebar.html.php | 6 -- 6 files changed, 133 insertions(+), 188 deletions(-) delete mode 100644 themes/default/views/footer.html.php delete mode 100644 themes/default/views/header.html.php delete mode 100644 themes/default/views/sidebar.html.php (limited to 'themes') diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index 232e749b..ba995276 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -1,56 +1,44 @@ -display('header.html') ?> - -
-
-
-
-
-

title ?>

- description ?> - Slideshow -
- - $child): ?> - is_album()): ?> -
"> - id}") ?>"> - photo - -

Album title

- -
- -
"> - id}") ?>"> - photo - -

title ?>

-
- - +
+
+

title ?>

+ description ?> + Slideshow +
-
- Items 1-10 of 34 - first - previous - - last -
-
+ $child): ?> + is_album()): ?> +
"> + id}") ?>"> + photo + +

Album title

+ +
+ +
"> + id}") ?>"> + photo + +

title ?>

+
+ + -
+
+ Items 1-10 of 34 + first + previous + + last
- display('sidebar.html') ?>
- -display('footer.html') ?> diff --git a/themes/default/views/footer.html.php b/themes/default/views/footer.html.php deleted file mode 100644 index 9a080a57..00000000 --- a/themes/default/views/footer.html.php +++ /dev/null @@ -1,9 +0,0 @@ - -
-
- Powered by Gallery3 | About this Gallery | ... -
-
-
- - diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php deleted file mode 100644 index acecb885..00000000 --- a/themes/default/views/header.html.php +++ /dev/null @@ -1,54 +0,0 @@ - - - - - Browse Photos :: <?= $item->title ?> - - - - - - " media="screen,projection" /> - - - - - - - - - - - - -
-
- " src="url("images/logo.png") ?>" /> - -

title ?>

- -
- | - -
- - - - - -
- "/> - -
-
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php index 53ea57a5..620f15e8 100644 --- a/themes/default/views/page.html.php +++ b/themes/default/views/page.html.php @@ -3,12 +3,10 @@ Browse Photos :: <?= $item->title ?> - - - " media="screen,projection" /> + " media="screen,projection" /> @@ -21,17 +19,56 @@ -
- +
+ +
+ " src="url("images/logo.png") ?>" /> +

title ?>

+
+ | + +
+ +
    +
  • +
  • +
  • +
  • +
  • +
+ + + +
+ "/> + +
+
+
- + +
+ blocks() as $block): ?> + + +
- + +
+
+ Powered by Gallery3 | About this Gallery | ... +
+
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 8f7fa791..74e01050 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -1,66 +1,55 @@ -display('header.html') ?> -
-
-
+
+ Full size (1024x768) + Slideshow -
- Full size (1024x768) - Slideshow + photo +

title ?>

+

description ?>

+
- photo -

title ?>

-

description ?>

-
- -
-

Comments

+
+

Comments

-
    -
  • -

    Andy said 2 hours ago (October 23, 2008 11:30am)

    -
    - Lorem ipsum dolor sit amet. -
    -
  • -
  • -

    - Other user said 30 minutes ago (October 23, 2008 1:00pm) -

    -
    - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard - dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. - It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It - was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with - desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. -
    -
  • -
- -
-
- Add comment -
- - -
-
- - -
-
- - -
- -
-
-
+
    +
  • +

    Andy said 2 hours ago (October 23, 2008 11:30am)

    +
    + Lorem ipsum dolor sit amet. +
    +
  • +
  • +

    + Other user said 30 minutes ago (October 23, 2008 1:00pm) +

    +
    + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard + dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. + It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It + was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with + desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. +
    +
  • +
-
-
- display('sidebar.html') ?> -
-display('footer.html'); ?> +
+
+ Add comment +
+ + +
+
+ + +
+
+ + +
+ +
+
+
diff --git a/themes/default/views/sidebar.html.php b/themes/default/views/sidebar.html.php deleted file mode 100644 index 991c919f..00000000 --- a/themes/default/views/sidebar.html.php +++ /dev/null @@ -1,6 +0,0 @@ - -
- blocks() as $block): ?> - - -
-- cgit v1.2.3