1
0

Add spaces after commas.

This commit is contained in:
Bharat Mediratta 2009-11-27 15:15:03 -08:00
parent e8302ffcc8
commit fe468a6014

View File

@ -9,14 +9,14 @@
$children_all = $item->viewable()->children();
$theme->pagination = new Pagination();
$theme->pagination->initialize(
array("query_string" => "page","total_items" => $children_count,"items_per_page" => $page_size,"style" => "classic"));
array("query_string" => "page", "total_items" => $children_count, "items_per_page" => $page_size, "style" => "classic"));
$children_offset = ($theme->pagination->current_page -1) * $page_size ;
?>
<ul id="g-album-grid" class="ui-helper-clearfix">
<? if (count($children)): ?>
<? for ($i = 0; $i < $children_offset; $i++): ?>
<? $child = $children_all[$i] ?>
<?= 3nids::fancylink($child,"header") ?>
<?= 3nids::fancylink($child, "header") ?>
<? endfor ?>
<? foreach ($children as $i => $child): ?>
@ -26,7 +26,7 @@ $children_offset = ($theme->pagination->current_page -1) * $page_size ;
<? endif ?>
<li id="g-item-id-<?= $child->id ?>" class="g-item <?= $item_class ?>">
<?= $theme->thumb_top($child) ?>
<?= 3nids::fancylink($child,"album") ?>
<?= 3nids::fancylink($child, "album") ?>
<?= $theme->thumb_bottom($child) ?>
<?= $theme->context_menu($child, "#g-item-id-{$child->id} .g-thumbnail") ?>
</li>
@ -34,7 +34,7 @@ $children_offset = ($theme->pagination->current_page -1) * $page_size ;
<? for($i=$children_offset+$page_size;$i<$children_count;$i++): ?>
<? $child = $children_all[$i] ?>
<?= 3nids::fancylink($child,"header") ?>
<?= 3nids::fancylink($child, "header") ?>
<? endfor ?>
<? else: ?>
<? if ($user->admin || access::can("add", $item)): ?>