diff options
Diffstat (limited to 'views/default/widgets/latest_photos/view.php')
-rw-r--r-- | views/default/widgets/latest_photos/view.php | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/views/default/widgets/latest_photos/view.php b/views/default/widgets/latest_photos/view.php index 0c3193907..d6bc4a0df 100644 --- a/views/default/widgets/latest_photos/view.php +++ b/views/default/widgets/latest_photos/view.php @@ -1,15 +1,16 @@ <div class="contentWrapper"> <?php - //the number of files to display - $number = (int) $vars['entity']->num_display; - //if no number has been set, default to 6 - if (!$number) - $number = 6; +//the number of files to display +$number = (int) $vars['entity']->num_display; +//if no number has been set, default to 6 +if (!$number) { + $number = 6; +} - echo '<div class="tidypics_widget_latest">'; - echo tp_get_latest_photos($number, page_owner()); - echo '</div>'; +echo '<div class="tidypics_widget_latest">'; +echo tp_get_latest_photos($number, page_owner()); +echo '</div>'; ?> </div>
\ No newline at end of file |