diff --git a/3.0/modules/tag_albums/-- Theme Files/greydragon/views/calpage.html.php b/3.1/modules/tag_albums/-- Theme Files/GreyDragon 3.0.8/views/calpage.html.php
similarity index 92%
rename from 3.0/modules/tag_albums/-- Theme Files/greydragon/views/calpage.html.php
rename to 3.1/modules/tag_albums/-- Theme Files/GreyDragon 3.0.8/views/calpage.html.php
index 9d3341de..6d39f820 100644
--- a/3.0/modules/tag_albums/-- Theme Files/greydragon/views/calpage.html.php
+++ b/3.1/modules/tag_albums/-- Theme Files/GreyDragon 3.0.8/views/calpage.html.php
@@ -56,8 +56,8 @@
endif; ?>
if ($theme->blendpagetrans): ?>
-
-
+
+
endif; ?>
@@ -124,12 +124,20 @@
endif; ?>
- if ($theme->item()): ?>
- $item = $theme->item(); ?>
- else: ?>
- $item = item::root(); ?>
- endif; ?>
-body_attributes() ?>= ($theme->show_root_page)? ' id="g-rootpage"' : null; ?> = ($theme->is_rtl)? "class=\"rtl\"" : null; ?> >
+ if ($theme->item()):
+ $item = $theme->item();
+ else:
+ $item = item::root();
+ endif;
+ if ($theme->is_rtl):
+ $body_class = "rtl";
+ else:
+ $body_class = "";
+ endif;
+ if ($theme->viewmode == "mini"):
+ $body_class .= "viewmode-mini";
+ endif; ?>
+body_attributes() ?>= ($theme->show_root_page)? ' id="g-rootpage"' : null; ?> = ($body_class)? 'class="' . $body_class . '"' : null; ?>>
= $theme->page_top() ?>
= $theme->site_status() ?>
if (((!$user->guest) or ($theme->show_guest_menu)) and ($theme->mainmenu_position == "bar")): ?>
@@ -140,14 +148,15 @@
endif ?>
endif; ?>
= $theme->page_bottom() ?>
diff --git a/3.0/modules/tag_albums/-- Theme Files/greydragon/views/paginator.html.php b/3.1/modules/tag_albums/-- Theme Files/GreyDragon 3.0.8/views/paginator.html.php
similarity index 98%
rename from 3.0/modules/tag_albums/-- Theme Files/greydragon/views/paginator.html.php
rename to 3.1/modules/tag_albums/-- Theme Files/GreyDragon 3.0.8/views/paginator.html.php
index 5918299c..cc552628 100644
--- a/3.0/modules/tag_albums/-- Theme Files/greydragon/views/paginator.html.php
+++ b/3.1/modules/tag_albums/-- Theme Files/GreyDragon 3.0.8/views/paginator.html.php
@@ -53,7 +53,7 @@
$siblings = $dynamic_siblings;
for ($i = 1; $i <= $total_pages; $i++):
if ($page_type == "item") {
- $_pagelist[$i] = url::site("tag_albums/show/" . $siblings[$i-1]->id . "/" . $tag_id . "/" . $album_id);
+ $_pagelist[$i] = url::site("tag_albums/show/" . $siblings[$i-1]->id . "/" . $tag_id . "/" . $album_id . "/" . urlencode($siblings[$i-1]->name));
} elseif ($page_type == "") {
}
endfor;
@@ -91,6 +91,7 @@
$_pagelist[1] = url::site();
break;
}
+
// rWatcher Mod
endif;
// End rWatcher Mod.
diff --git a/3.0/modules/tag_albums/-- Theme Files/greydragon/views/photo.html.php b/3.1/modules/tag_albums/-- Theme Files/GreyDragon 3.0.8/views/photo.html.php
similarity index 97%
rename from 3.0/modules/tag_albums/-- Theme Files/greydragon/views/photo.html.php
rename to 3.1/modules/tag_albums/-- Theme Files/GreyDragon 3.0.8/views/photo.html.php
index 5d3ede73..70fb4ca8 100644
--- a/3.0/modules/tag_albums/-- Theme Files/greydragon/views/photo.html.php
+++ b/3.1/modules/tag_albums/-- Theme Files/GreyDragon 3.0.8/views/photo.html.php
@@ -48,7 +48,7 @@
= $_title ?>
- = $theme->add_paginator("top"); ?>
+ = $theme->add_paginator("top", FALSE); ?>
= $theme->photo_top() ?>
if (($theme->photo_descmode == "top") and ($_description)): ?>
@@ -56,7 +56,7 @@
= $theme->resize_top($item) ?>
$_resizewidth = $item->resize_width;
-
+
// rWatcher Modification.
$siblings = "";
if (isset($dynamic_siblings)) {
@@ -116,7 +116,7 @@
if (($theme->photo_descmode == "bottom") and ($_description)): ?>
endif; ?>
- = $theme->add_paginator("bottom"); ?>
+ = $theme->add_paginator("bottom", FALSE); ?>
= $theme->photo_bottom() ?>
= $script ?>
\ No newline at end of file
diff --git a/3.1/modules/tag_albums/-- Theme Files/greydragon/views/tag_albums_album.html.php b/3.1/modules/tag_albums/-- Theme Files/GreyDragon 3.0.8/views/tag_albums_album.html.php
similarity index 100%
rename from 3.1/modules/tag_albums/-- Theme Files/greydragon/views/tag_albums_album.html.php
rename to 3.1/modules/tag_albums/-- Theme Files/GreyDragon 3.0.8/views/tag_albums_album.html.php
diff --git a/3.1/modules/tag_albums/-- Theme Files/clean_canvas/views/calpage.html.php b/3.1/modules/tag_albums/-- Theme Files/clean_canvas 1.0.7/views/calpage.html.php
similarity index 93%
rename from 3.1/modules/tag_albums/-- Theme Files/clean_canvas/views/calpage.html.php
rename to 3.1/modules/tag_albums/-- Theme Files/clean_canvas 1.0.7/views/calpage.html.php
index 54bb4db8..9b4635ef 100644
--- a/3.1/modules/tag_albums/-- Theme Files/clean_canvas/views/calpage.html.php
+++ b/3.1/modules/tag_albums/-- Theme Files/clean_canvas 1.0.7/views/calpage.html.php
@@ -132,7 +132,7 @@
= $theme->header_bottom() ?>
- // The following code was modifed to allow module-defined breadcrumbs.
+ // rWatcher EDIT: The following code was modifed to allow module-defined breadcrumbs.
// Everything else in this file is a copy of the default page.html.php file.
?>
if (!empty($breadcrumbs)): ?>
@@ -145,9 +145,14 @@
the immediate parent so that when you go back up a
level you're on the right page. -->
if ($breadcrumb->url) : ?>
-
= html::purify($breadcrumb->title) ?>
+
+ // limit the title length to something reasonable (defaults to 15) ?>
+ = html::purify(text::limit_chars($breadcrumb->title,
+ module::get_var("gallery", "visible_title_length"))) ?>
+
else : ?>
- = html::purify($breadcrumb->title) ?>
+ = html::purify(text::limit_chars($breadcrumb->title,
+ module::get_var("gallery", "visible_title_length"))) ?>
endif ?>
$i++ ?>
@@ -156,7 +161,7 @@
endif ?>
// End modified code ?>
-