Changeset 4460
- Timestamp:
- 01/06/12 16:28:50 (5 months ago)
- Location:
- plugins/apostropheBlogPlugin/branches/1.5/modules/aBlog/templates
- Files:
-
- 1 added
- 2 modified
-
_excerptTemplate.php (added)
-
_post.php (modified) (1 diff)
-
indexSuccess.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostropheBlogPlugin/branches/1.5/modules/aBlog/templates/_post.php
r3557 r4460 14 14 </ul> 15 15 <?php endif ?> 16 17 <?php include_partial('aBlog/'.$a_blog_post->getTemplate(), array('a_blog_post' => $a_blog_post, 'edit' => false)) ?>16 17 <?php include_partial('aBlog/'.$a_blog_post->getTemplate(), array('a_blog_post' => $a_blog_post, 'edit' => false)) ?> 18 18 19 19 </div> -
plugins/apostropheBlogPlugin/branches/1.5/modules/aBlog/templates/indexSuccess.php
r4015 r4460 12 12 <div class="a-subnav-inner"> 13 13 <?php include_component('aBlog', 'sidebar', array('params' => $params, 'dateRange' => $dateRange, 'info' => $info, 'url' => 'aBlog/index', 'searchLabel' => a_('Search Posts'), 'newLabel' => a_('New Post'), 'newModule' => 'aBlogAdmin', 'newComponent' => 'newPost')) ?> 14 </div> 14 </div> 15 15 </div> 16 16 <?php end_slot() ?> … … 22 22 <?php if (count($slots) || $page->userHasPrivilege('edit')): ?> 23 23 <?php a_area('blog-heading', array( 24 'areaLabel' => a_('Add Blog Heading'), 24 'areaLabel' => a_('Add Blog Heading'), 25 25 'allowed_types' => array( 26 'aRichText', 27 'aSlideshow', 26 'aRichText', 27 'aSlideshow', 28 28 'aSmartSlideshow' 29 29 ), … … 33 33 'height' => 280, 34 34 'resizeType' => 'c', 35 'flexHeight' => false, 36 'constraints' => array('minimum-width' => 720, 'minimum-height' => 280), 37 ), 35 'flexHeight' => false, 36 'constraints' => array('minimum-width' => 720, 'minimum-height' => 280), 37 ), 38 38 'aSmartSlideshow' => array( 39 39 'width' => 720, 40 40 'height' => 280, 41 41 'resizeType' => 'c', 42 'flexHeight' => false, 43 'constraints' => array('minimum-width' => 720, 'minimum-height' => 280), 42 'flexHeight' => false, 43 'constraints' => array('minimum-width' => 720, 'minimum-height' => 280), 44 44 ), 45 ), 45 ), 46 46 )) ?> 47 47 <?php endif ?> … … 54 54 55 55 <?php foreach ($pager->getResults() as $a_blog_post): ?> 56 57 <?php if (sfConfig::get('app_aBlog_excerpts_show')): ?> 58 <?php include_partial('aBlog/excerptTemplate', array('a_blog_post' => $a_blog_post, 'edit' => false)) ?> 59 <?php else: ?> 56 60 <?php echo include_partial('aBlog/post', array('a_blog_post' => $a_blog_post)) ?> 61 <?php endif ?> 57 62 <hr class="a-hr" /> 63 58 64 <?php endforeach ?> 59 65 … … 61 67 <?php include_partial('aBlog/pager', array('max_per_page' => $max_per_page, 'pager' => $pager, 'pagerUrl' => url_for('aBlog/index?' . http_build_query($params['pagination'])))) ?> 62 68 <?php endif ?> 63 69 64 70 </div>

