diff options
| author | spiderr <spider@viovio.com> | 2013-04-05 13:36:16 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-05 13:36:16 -0400 |
| commit | 1fa7dd13e7323497b2bb23a34cd57d4095e96931 (patch) | |
| tree | df154a4b3bce57ef00468e1aa66dc138b784ce3c /templates/header_inc.tpl | |
| parent | c85d48b79803ae4457780e6737450f2a70a5d35e (diff) | |
| download | blogs-1fa7dd13e7323497b2bb23a34cd57d4095e96931.tar.gz blogs-1fa7dd13e7323497b2bb23a34cd57d4095e96931.tar.bz2 blogs-1fa7dd13e7323497b2bb23a34cd57d4095e96931.zip | |
rename header_inc.tpl to html_head_inc.tpl for naming consistency and avoiding abiguiuty with new html5 header tag
Diffstat (limited to 'templates/header_inc.tpl')
| -rw-r--r-- | templates/header_inc.tpl | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl deleted file mode 100644 index f05a7da..0000000 --- a/templates/header_inc.tpl +++ /dev/null @@ -1,39 +0,0 @@ -{* $Header$ *} -{strip} -{if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'blogs_rss' ) and $smarty.const.ACTIVE_PACKAGE eq 'blogs' and $gBitUser->hasPermission( 'p_blogs_view' )} - {if isset($gContent->mBlogId)} - <link rel="alternate" type="application/rss+xml" title="{$gContent->getTitle()}" href="{$smarty.const.BLOGS_PKG_URL}blogs_rss.php?blog_id={$gContent->blog_content_id}&version={$gBitSystem->getConfig('rssfeed_default_version',0)}" /> - {elseif isset($post_info.blogs)} - {foreach from=$post_info.blogs item=memberBlog key=blogContentId name=memberBlogLoop} - <link rel="alternate" type="application/rss+xml" title="{$memberBlog.title}" href="{$smarty.const.BLOGS_PKG_URL}blogs_rss.php?blog_id={$memberBlog.blog_id}&version={$gBitSystem->getConfig('rssfeed_default_version',0)}" /> - {/foreach} - {else} - <link rel="alternate" type="application/rss+xml" title="{$gBitSystem->getConfig('blogs_rss_title',"{tr}Blogs{/tr} RSS")}" href="{$smarty.const.BLOGS_PKG_URL}blogs_rss.php?version={$gBitSystem->getConfig('rssfeed_default_version',0)}" /> - {/if} -{/if} -{* this is for ajaxing the readmore portion of blog posts. - * this is ugly, but because recent posts are handled by dynamic center outside of the blog package we have - * no way to assign the appropriate ajax library needs the propery way - so we force it here. - * - * this is configured for using center_list_blog_posts in the user pkg, as this is a common configuration, - * but it can be used in other pkgs, like wiki for example. Expand this set of conditionals as - * needed for your site configuation by creating a custom version of this tpl in your theme. Target the - * conditionals to the pkg you are including center_list_blog_posts in. - *} -{if $ajax_more} -{* @TODO develop custom callback - for now override ajax callback for cool scroll effect *} -{literal} -<script type="text/javascript">/* <![CDATA[ */ - BitAjax.updaterCallback = function(target, rslt){ - BitBase.hideSpinner(); - var e = document.getElementById(target); - if (e != null){ - e.style.display = 'none'; - e.innerHTML = rslt.responseText; - MochiKit.Visual.blindDown( e, {duration:1} ); - } - } -/* ]]> */</script> -{/literal} -{/if} -{/strip} |
