diff --git a/themes/3nids/controllers/movie_3nids.php b/themes/3nids/controllers/movie_3nids.php deleted file mode 100644 index a57def2f..00000000 --- a/themes/3nids/controllers/movie_3nids.php +++ /dev/null @@ -1,33 +0,0 @@ -item = $item; - $view->attrs = array( - "class" => "g-movie", "id" => "g-movie-id-{$item->id}", - "style" => "display:block;width:{$item->width}px;height:{$item->height}px"); - print $view; - } -} \ No newline at end of file diff --git a/themes/3nids/helpers/theme_3nids.php b/themes/3nids/helpers/theme_3nids.php index c585594d..7742f0a3 100644 --- a/themes/3nids/helpers/theme_3nids.php +++ b/themes/3nids/helpers/theme_3nids.php @@ -26,7 +26,7 @@ class theme_3nids_Core { access::required("view", $item); $photo_size = module::get_var("3nids", "photo_size"); - if ($photo_size == "full"){ + if ($photo_size == "full" || $item->is_movie()){ $width = $item->width; $height = $item->height; }else{ @@ -79,6 +79,12 @@ class theme_3nids_Core { } } else if ($item->is_album() && $view_type != "header") { $link .= "url() . "\">"; + } else { + // NOTE: we don't want to open an here because $view_type is "header", but lower down + // we're going to close one, so that's going to generate a mismatch. For now, just open a + // link anyway. + // @todo: figure out what we really should be doing here. + $link .= "url() . "\">"; } if ($view_type != "header") { diff --git a/themes/3nids/views/movie.html.php b/themes/3nids/views/movie.html.php index 74aa88bf..efc3d89b 100644 --- a/themes/3nids/views/movie.html.php +++ b/themes/3nids/views/movie.html.php @@ -1,39 +1,45 @@ -
- photo_top() ?> - -
  • - - - - - - - -
  • -
  • $position, "total" => $sibling_count)) ?>
  • -
  • - - - - - - - -
  • - -*/ ?> - - - movie_img(array("class" => "g-movie", "id" => "g-movie-id-{$item->id}")) ?> - -
    -

    title) ?>

    -
    description)) ?>
    -
    - - photo_bottom() ?> - context_menu($item, "#g-movie-id-{$item->id}") ?> -
    + + + + + css("yui/reset-fonts-grids.css") ?> + css("superfish/css/superfish.css") ?> + css("themeroller/ui.base.css") ?> + css("gallery.common.css") ?> + css("jquery.fancybox.css") ?> + css("screen.css") ?> + css("3nids.css") ?> + 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("jquery.easing.js") ?> + script("jquery.fancybox.js") ?> + script("ui.init.js") ?> + script("flowplayer.js") ?> + head() ?> + + +
    +
    + movie_img( + array("class" => "g-movie", "id" => "g-movie-id-{$item->id}", + "style" => "display:block;width:{$item->width}px;height:{$item->height}px")) ?> + context_menu($item, "#g-movie-id-{$item->id}") ?> +
    +

    title) ?>

    +
    description)) ?>
    +
    +
    + + diff --git a/themes/3nids/views/movie_3nids.html.php b/themes/3nids/views/movie_3nids.html.php deleted file mode 100644 index d3a18cdd..00000000 --- a/themes/3nids/views/movie_3nids.html.php +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - css("yui/reset-fonts-grids.css") ?> - css("superfish/css/superfish.css") ?> - css("themeroller/ui.base.css") ?> - css("gallery.common.css") ?> - css("jquery.fancybox.css") ?> - css("screen.css") ?> - css("3nids.css") ?> - 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("jquery.easing.js") ?> - script("jquery.fancybox.js") ?> - script("ui.init.js") ?> - script("flowplayer.js") ?> -head() ?> - - -
    -
    - -file_url(true), "", $attrs) ?> - - - context_menu($item, "#g-movie-id-{$item->id}") ?> - -
    -

    title) ?>

    -
    description)) ?>
    -
    - -
    - - diff --git a/themes/3nids/views/page.html.php b/themes/3nids/views/page.html.php index fdb24fd4..0de01788 100644 --- a/themes/3nids/views/page.html.php +++ b/themes/3nids/views/page.html.php @@ -1,6 +1,7 @@ - - + + +