-18 Removals
+14 Additions
{{if !\IPS\Request::i()->advancedSearchForm}}{{if !\IPS\Request::i()->advancedSearchForm}}
<div class="ipsPageHeader ipsClearfix ipsSpacer_bottom"> <div class="ipsType_center ipsSpacer_bottom ipsSpacer_top">
<div class='ipsPos_right ipsResponsive_noFloat ipsResponsive_hidePhone'> <h1 class="ipsType_veryLarge ipsType_reset">{$category->_title}</h1>
<div class="ipsType_richText ipsType_large ipsType_light ipsSpacer_bottom">
{$category->_description|raw}
</div>
<div class='ipsResponsive_noFloat ipsResponsive_hidePhone'>
{template="follow" app="core" group="global" params="'cms','categories' . $category->database_id, $category->_id, \IPS\cms\Records::containerFollowerCount( $category )"} {template="follow" app="core" group="global" params="'cms','categories' . $category->database_id, $category->_id, \IPS\cms\Records::containerFollowerCount( $category )"}
</div> </div>
<h1 class="ipsType_pageTitle">{$category->_title}</h1>
</div>
<div class='ipsType_richText ipsType_medium'>
{$category->_description|raw}
</div> </div>
{{endif}}{{endif}}
{{if $category->hasChildren() AND ! isset( \IPS\Request::i()->advancedSearchForm )}}{{if $category->hasChildren() AND ! isset( \IPS\Request::i()->advancedSearchForm )}}
<div class="ipsBox ipsSpacer_bottom"> <div class="ipsBox ipsSpacer_bottom">
<h2 class='ipsType_sectionTitle ipsType_reset'>{lang="content_subcategories_title"}</h2> <h2 class='ipsType_sectionTitle ipsType_reset'>{lang="content_subcategories_title"}</h2>
<ol class="ipsDataList"> <ol class="ipsDataList">
{{foreach $category->children() as $cat}} {{foreach $category->children() as $cat}}
{template="categoryRow" group="category_index" location="database" app="cms" params="$cat"} {template="categoryRow" group="category_index" location="database" app="cms" params="$cat"}
{{endforeach}} {{endforeach}}
</ol> </ol>
</div> </div>
{{endif}}{{endif}}
{{if ! \IPS\Request::i()->isAjax() AND ! isset( \IPS\Request::i()->advancedSearchForm ) AND $category->show_records}}{{if $category->can('add')}}
<ul class="ipsToolList ipsToolList_horizontal ipsClearfix ipsSpacer_both ipsResponsive_hidePhone"> {{if ! \IPS\Request::i()->isAjax() AND ! isset( \IPS\Request::i()->advancedSearchForm ) AND $category->show_records}}
{{if $category->can('add')}} <ul class="ipsToolList ipsToolList_horizontal ipsClearfix ipsSpacer_both ipsResponsive_hidePhone">
<li class='ipsToolList_primaryAction'> <li class='ipsToolList_primaryAction'>
<a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{$category->url()->setQueryString( array( 'do' => 'form', 'd' => \IPS\cms\Databases\Dispatcher::i()->databaseId ) )}">{lang="cms_add_new_record_button" sprintf="\IPS\cms\Databases::load( $category->database_id )->recordWord( 1 )"}</a> <a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{$category->url()->setQueryString( array( 'do' => 'form', 'd' => \IPS\cms\Databases\Dispatcher::i()->databaseId ) )}">{lang="cms_add_new_record_button" sprintf="\IPS\cms\Databases::load( $category->database_id )->recordWord( 1 )"}</a>
</li> </li>
{{endif}} </ul>
{{if \IPS\Member::loggedIn()->member_id}} {{endif}}
<li>
<a class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_link" href="{$category->url()->setQueryString( 'do', 'markRead' )->csrf()}"><i class="fa fa-check"></i> {lang="cms_mark_read"}</a>
</li>
{{endif}}
</ul>
{{endif}}{{endif}}
{{if count( $activeFilters ) AND ! isset( \IPS\Request::i()->advancedSearchForm )}}{{if count( $activeFilters ) AND ! isset( \IPS\Request::i()->advancedSearchForm )}}
{template="filterMessage" group="listing" location="database" app="cms" params="$activeFilters, $category"} {template="filterMessage" app="cms" location="database" group="release_notes" params="$activeFilters, $category"}
{{endif}}{{endif}}
Editor
Original Text
Changed Text
Recommended videos