Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
@@ -96,18 +96,25 @@
|
||||
</i-data>
|
||||
</div>
|
||||
</section>]]></template>
|
||||
<template template_group="browse" template_name="index" template_data="$table, $featured, $blogs=array(), $viewMode=NULL, $category=NULL" template_location="front" template_app="blog"><![CDATA[<header class="ipsPageHeader ipsPageHeader--blogs-index">
|
||||
<template template_group="browse" template_name="index" template_data="$table, $featured, $blogs=array(), $viewMode=NULL, $category=NULL" template_location="front" template_app="blog"><![CDATA[<header class="ipsPageHeader ipsPageHeader--blogs-index {{if $category !== null}}ipsBox ipsPull{{endif}}">
|
||||
<div class="ipsPageHeader__row">
|
||||
<div data-ips-hook="header" class='ipsPageHeader__primary'>
|
||||
<h1 data-ips-hook="title" class='ipsPageHeader__title'>{lang="blogs"}</h1>
|
||||
<h1 data-ips-hook="title" class='ipsPageHeader__title'>{{if $category !== null}}{$category->_title}{{else}}{lang="blogs"}{{endif}}</h1>
|
||||
</div>
|
||||
{{if \count( $blogs ) || \IPS\blog\Blog::canCreate()}}
|
||||
{{if $category === null and ( \count( $blogs ) || \IPS\blog\Blog::canCreate() )}}
|
||||
<div data-ips-hook="buttons">
|
||||
{template="indexButtons" group="browse" params="$blogs, $viewMode, FALSE, $category"}
|
||||
</div>
|
||||
{{endif}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{if $category !== null and ( \count( $blogs ) || \IPS\blog\Blog::canCreate() )}}
|
||||
<div data-ips-hook="buttons" class='ipsBlockSpacer'>
|
||||
{template="indexButtons" group="browse" params="$blogs, $viewMode, FALSE, $category"}
|
||||
</div>
|
||||
{{endif}}
|
||||
|
||||
{{if \count( $featured )}}
|
||||
{template="featuredEntries" group="browse" params="$featured"}
|
||||
{{endif}}
|
||||
@@ -169,18 +176,26 @@
|
||||
{{endif}}
|
||||
</ul>
|
||||
{{endif}}]]></template>
|
||||
<template template_group="browse" template_name="indexGrid" template_data="$entries, $featured, $blogs, $pagination, $viewMode, $category" template_location="front" template_app="blog"><![CDATA[<header class="ipsPageHeader ipsPageHeader--blogs-grid">
|
||||
<template template_group="browse" template_name="indexGrid" template_data="$entries, $featured, $blogs, $pagination, $viewMode, $category" template_location="front" template_app="blog"><![CDATA[
|
||||
<header class="ipsPageHeader ipsPageHeader--blogs-grid {{if $category !== null}}ipsBox ipsPull{{endif}}">
|
||||
<div class="ipsPageHeader__row">
|
||||
<div data-ips-hook="header" class='ipsPageHeader__primary'>
|
||||
<h1 data-ips-hook="title" class='ipsPageHeader__title'>{lang="blogs"}</h1>
|
||||
<h1 data-ips-hook="title" class='ipsPageHeader__title'>{{if $category !== null}}{$category->_title}{{else}}{lang="blogs"}{{endif}}</h1>
|
||||
</div>
|
||||
{{if \count( $blogs ) || \IPS\blog\Blog::canCreate()}}
|
||||
<div data-ips-hook="buttons">
|
||||
{template="indexButtons" group="browse" params="$blogs, $viewMode, FALSE, $category"}
|
||||
</div>
|
||||
{{endif}}
|
||||
{{if $category === null and ( \count( $blogs ) || \IPS\blog\Blog::canCreate() )}}
|
||||
<div data-ips-hook="buttons">
|
||||
{template="indexButtons" group="browse" params="$blogs, $viewMode, FALSE, $category"}
|
||||
</div>
|
||||
{{endif}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{if $category !== null and ( \count( $blogs ) || \IPS\blog\Blog::canCreate() )}}
|
||||
<div data-ips-hook="buttons" class='ipsBlockSpacer'>
|
||||
{template="indexButtons" group="browse" params="$blogs, $viewMode, FALSE, $category"}
|
||||
</div>
|
||||
{{endif}}
|
||||
|
||||
{{if \count( $featured )}}
|
||||
{template="featuredEntries" group="browse" params="$featured"}
|
||||
{{endif}}
|
||||
@@ -636,9 +651,7 @@
|
||||
</div>]]></template>
|
||||
<template template_group="submit" template_name="createBlog" template_data="$form" template_location="front" template_app="blog"><![CDATA[
|
||||
{template="pageHeader" group="global" app="core" params="\IPS\Member::loggedIn()->language()->get('create_blog')"}
|
||||
<div class='ipsBox'>
|
||||
{$form|raw}
|
||||
</div>]]></template>
|
||||
{$form|raw}]]></template>
|
||||
<template template_group="submit" template_name="submit" template_data="$form, $blog=NULL" template_location="front" template_app="blog"><![CDATA[
|
||||
{{if $blog and $club = $blog->club()}}
|
||||
{{if settings.clubs and settings.clubs_header == 'full'}}
|
||||
@@ -658,7 +671,7 @@
|
||||
{{if $blog and $blog->club()}}
|
||||
</div>
|
||||
{{endif}}]]></template>
|
||||
<template template_group="submit" template_name="submitFormTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class=''" template_location="front" template_app="blog"><![CDATA[<section class='ipsBox'>
|
||||
<template template_group="submit" template_name="submitFormTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class=''" template_location="front" template_app="blog"><![CDATA[<section class='ipsBox ipsBox--submitBlog ipsPull'>
|
||||
<form accept-charset='utf-8' class="ipsForm ipsForm--blog-submit {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} data-ipsForm data-ipsFormSubmit>
|
||||
<input type="hidden" name="{$id}_submitted" value="1">
|
||||
{{foreach $hiddenValues as $k => $v}}
|
||||
@@ -685,6 +698,9 @@
|
||||
{{foreach $contents as $inputName => $input}}
|
||||
{$input|raw}
|
||||
{{endforeach}}
|
||||
<li class='ipsSubmitRow'>
|
||||
<button type='submit' class='ipsButton ipsButton--primary'>{lang="entry_submit"}</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{{endforeach}}
|
||||
@@ -696,12 +712,11 @@
|
||||
{$input|raw}
|
||||
{{endforeach}}
|
||||
{{endforeach}}
|
||||
<li class='ipsSubmitRow'>
|
||||
<button type='submit' class='ipsButton ipsButton--primary'>{lang="entry_submit"}</button>
|
||||
</li>
|
||||
</ul>
|
||||
{{endif}}
|
||||
|
||||
<div class='ipsSubmitRow'>
|
||||
<button type='submit' class='ipsButton ipsButton--primary'>{lang="entry_submit"}</button>
|
||||
</div>
|
||||
</form>
|
||||
</section>]]></template>
|
||||
<template template_group="view" template_name="blogHeader" template_data="$blog, $showCover=true" template_location="front" template_app="blog"><![CDATA[
|
||||
@@ -789,7 +804,7 @@
|
||||
</div>]]></template>
|
||||
<template template_group="view" template_name="blogTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="blog"><![CDATA[<section class='ipsBox ipsPull' data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table{{if $table->canModerate()}},core.front.core.moderation{{endif}}' id='elTable_{$table->uniqueId}'>
|
||||
{{if $table->title}}
|
||||
<h2 class='ipsBox__header' hidden>{lang="$table->title"}</h2>
|
||||
<h2 class='ipsInvisible'>{lang="$table->title"}</h2>
|
||||
{{endif}}
|
||||
|
||||
{{if $table->canModerate() OR (isset( $table->sortOptions ) and !empty( $table->sortOptions )) OR !empty( $table->filters ) OR $table->pages > 1 OR $table->advancedSearch}}
|
||||
@@ -1032,7 +1047,7 @@
|
||||
</a>
|
||||
</h2>
|
||||
<p class='i-color_soft i-link-color_inherit'>
|
||||
{{if $entry->category_id}}<span class="i-color_hard i-font-weight_600">{$entry->category()->name}</span>{{endif}} · {lang="byline_name_date" htmlsprintf="$entry->author()->link()"}{datetime="$entry->date"}
|
||||
{{if $entry->category_id}}<span class="i-color_hard i-font-weight_600">{$entry->category()->name}</span>{{endif}} · {lang="byline_name_date" htmlsprintf="$entry->author()->link(), \IPS\DateTime::ts( $entry->date )"}
|
||||
</p>
|
||||
</div>
|
||||
</header>
|
||||
@@ -1082,7 +1097,7 @@
|
||||
<template template_group="view" template_name="comments" template_data="$entry" template_location="front" template_app="blog"><![CDATA[<section class='ipsBox ipsBox--comments ipsPull'>
|
||||
<h2 class='ipsBox__header' data-role="comment_count">{lang="num_comments_uc" pluralize="$entry->num_comments"}</h2>
|
||||
<div class='ipsBox__content'>
|
||||
<div data-controller='core.front.core.commentFeed, core.front.core.ignoredComments' {{if settings.auto_polling_enabled}}data-autoPoll{{endif}} data-baseURL='{$entry->url()}' data-feedID='{$entry->feedId}' id='comments'>
|
||||
<div data-controller='core.front.core.commentFeed, core.front.core.ignoredComments' {{if settings.auto_polling_enabled}}data-autoPoll{{endif}} data-baseURL='{$entry->url()}' data-feedID='{$entry->feedId}' id='comments' data-follow-area-id="entry-{$entry->id}">
|
||||
|
||||
{template="featuredComments" group="global" app="core" params="$entry->featuredComments(), $entry->url()->setQueryString( 'recommended', 'comments' )"}
|
||||
|
||||
@@ -1303,7 +1318,7 @@
|
||||
<div class='ipsBox ipsBox--padding ipsPull ipsResponsive_showPhone'>
|
||||
<div class='ipsPageActions'>
|
||||
{{if \count( $entry->shareLinks() )}}
|
||||
{template="shareButton" app="core" group="sharelinks" params="$entry, 'verySmall', 'light'"}
|
||||
{template="shareButton" app="core" group="sharelinks" params="$entry"}
|
||||
{{endif}}
|
||||
{{if \IPS\Application::appIsEnabled('cloud')}}
|
||||
{template="spam" app="cloud" group="spam" params="$entry"}
|
||||
|
||||
Reference in new issue
Block a user