Changeset 17491
- Timestamp:
- 04/21/09 15:37:32 (4 years ago)
- Files:
-
- plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/_archives.php (modified) (1 diff)
- plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/_blogFooter.php (modified) (1 diff)
- plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/_blogSidebar.php (modified) (1 diff)
- plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/_tagList.php (modified) (1 diff)
- plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/blogPostsSuccess.php (modified) (1 diff)
- plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/blogsSuccess.php (modified) (1 diff)
- plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/indexSuccess.php (modified) (1 diff)
- plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/postsSuccess.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/_archives.php
r17444 r17491 1 1 <?php use_helper('Date') ?> 2 <?php if (isset($blog)): ?> 3 4 <?php else: ?> 5 <?php endif ?> 2 <?php $link = $sf_data->getRaw('link') ?> 6 3 <h2><?php echo __('Archives') ?></h2> 7 4 <ul> plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/_blogFooter.php
r17444 r17491 1 1 <?php use_helper('I18N') ?> 2 2 <?php slot('sfBlog_footer') ?> 3 <?php echo $blog->getCopyright() ? $blog->getCopyright( ) : sfConfig::get('app_sfBlogs_copyright', __('Blogs hosted in this site have various copyright rules. Please refer to the page footer of each post for copyright.')) ?>3 <?php echo $blog->getCopyright() ? $blog->getCopyright(ESC_RAW) : sfConfig::get('app_sfBlogs_copyright', __('Blogs hosted in this site have various copyright rules. Please refer to the page footer of each post for copyright.')) ?> 4 4 <?php end_slot() ?> plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/_blogSidebar.php
r17444 r17491 1 1 <?php slot('sfBlog_sidebar') ?> 2 2 <h1><?php echo link_to_blog($blog) ?></h1> 3 <div id="tagline"><?php echo $blog->getTagline( ) ?></div>3 <div id="tagline"><?php echo $blog->getTagline(ESC_RAW) ?></div> 4 4 <?php foreach(sfConfig::get('app_sfBlogs_sidebar', array('custom', 'blog_recent_posts', 'archives', 'tags', 'feeds', 'blogroll', 'meta')) as $widget): ?> 5 5 plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/_tagList.php
r17444 r17491 1 <?php $link = $sf_data->getRaw('link') ?> 1 2 <h2><?php echo __('Tags') ?></h2> 2 3 <ul> plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/blogPostsSuccess.php
r17489 r17491 1 1 <?php use_helper('I18N', 'Date', 'sfBlog') ?> 2 <?php $raw_params = $ params instanceof sfOutputEscaper ? $sf_data->getRaw('params') : $params?>2 <?php $raw_params = $sf_data->getRaw('params') ?> 3 3 <?php $http_params = http_build_query($raw_params) ?> 4 4 <?php $title = get_post_list_title($raw_params, $sf_params->get('page')) ?> plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/blogsSuccess.php
r17444 r17491 19 19 <div class="details"> 20 20 <div class="tagline"> 21 <?php echo $blog->getTagline( ) ?>21 <?php echo $blog->getTagline(ESC_RAW) ?> 22 22 </div> 23 23 </div> plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/indexSuccess.php
r17489 r17491 1 1 <?php use_helper('I18N', 'Date') ?> 2 2 <?php $sf_context->getResponse()->setTitle(sfConfig::get('app_sfBlogs_title', 'All Blogs')) ?> 3 <?php if($posts instanceof sfOutputEscaperArrayDecorator)$posts = $sf_data->getRaw('posts') ?>3 <?php $posts = $sf_data->getRaw('posts') ?> 4 4 5 5 <?php if(sfConfig::get('app_sfBlogs_use_feeds', true)): ?> plugins/sfBlogsPlugin/trunk/modules/sfBlog/templates/postsSuccess.php
r17444 r17491 1 1 <?php use_helper('I18N', 'Date', 'sfBlog') ?> 2 <?php $raw_params = $ params instanceof sfOutputEscaper ? $params->getRaw() : $params?>2 <?php $raw_params = $sf_data->getRaw('params') ?> 3 3 <?php $http_params = http_build_query($raw_params) ?> 4 4 <?php $title = get_post_list_title($raw_params, $sf_params->get('page')) ?>