-18 Removals
+14 Additions
1{{if !\IPS\Request::i()->advancedSearchForm}}1{{if !\IPS\Request::i()->advancedSearchForm}}
2 <div class="ipsPageHeader ipsClearfix ipsSpacer_bottom">2 <div class="ipsType_center ipsSpacer_bottom ipsSpacer_top">
3 <div class='ipsPos_right ipsResponsive_noFloat ipsResponsive_hidePhone'>3 <h1 class="ipsType_veryLarge ipsType_reset">{$category->_title}</h1>
4 <div class="ipsType_richText ipsType_large ipsType_light ipsSpacer_bottom">
5 {$category->_description|raw}
6 </div>
7 <div class='ipsResponsive_noFloat ipsResponsive_hidePhone'>
4 {template="follow" app="core" group="global" params="'cms','categories' . $category->database_id, $category->_id, \IPS\cms\Records::containerFollowerCount( $category )"}8 {template="follow" app="core" group="global" params="'cms','categories' . $category->database_id, $category->_id, \IPS\cms\Records::containerFollowerCount( $category )"}
5 </div>9 </div>
6 <h1 class="ipsType_pageTitle">{$category->_title}</h1>
7 </div>
8 <div class='ipsType_richText ipsType_medium'>
9 {$category->_description|raw}
10 </div>10 </div>
11{{endif}}11{{endif}}
1212
13{{if $category->hasChildren() AND ! isset( \IPS\Request::i()->advancedSearchForm )}}13{{if $category->hasChildren() AND ! isset( \IPS\Request::i()->advancedSearchForm )}}
14 <div class="ipsBox ipsSpacer_bottom">14 <div class="ipsBox ipsSpacer_bottom">
15 <h2 class='ipsType_sectionTitle ipsType_reset'>{lang="content_subcategories_title"}</h2>15 <h2 class='ipsType_sectionTitle ipsType_reset'>{lang="content_subcategories_title"}</h2>
16 <ol class="ipsDataList">16 <ol class="ipsDataList">
17 {{foreach $category->children() as $cat}}17 {{foreach $category->children() as $cat}}
18 {template="categoryRow" group="category_index" location="database" app="cms" params="$cat"}18 {template="categoryRow" group="category_index" location="database" app="cms" params="$cat"}
19 {{endforeach}}19 {{endforeach}}
20 </ol>20 </ol>
21 </div>21 </div>
22{{endif}}22{{endif}}
2323
24{{if ! \IPS\Request::i()->isAjax() AND ! isset( \IPS\Request::i()->advancedSearchForm ) AND $category->show_records}}24{{if $category->can('add')}}
25 <ul class="ipsToolList ipsToolList_horizontal ipsClearfix ipsSpacer_both ipsResponsive_hidePhone">25 {{if ! \IPS\Request::i()->isAjax() AND ! isset( \IPS\Request::i()->advancedSearchForm ) AND $category->show_records}}
26 {{if $category->can('add')}}26 <ul class="ipsToolList ipsToolList_horizontal ipsClearfix ipsSpacer_both ipsResponsive_hidePhone">
27 <li class='ipsToolList_primaryAction'>27 <li class='ipsToolList_primaryAction'>
28 <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>28 <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>
29 </li>29 </li>
30 {{endif}}30 </ul>
31 {{if \IPS\Member::loggedIn()->member_id}}31 {{endif}}
32 <li>
33 <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>
34 </li>
35 {{endif}}
36 </ul>
37{{endif}}32{{endif}}
3833
39{{if count( $activeFilters ) AND ! isset( \IPS\Request::i()->advancedSearchForm )}}34{{if count( $activeFilters ) AND ! isset( \IPS\Request::i()->advancedSearchForm )}}
40 {template="filterMessage" group="listing" location="database" app="cms" params="$activeFilters, $category"}35 {template="filterMessage" app="cms" location="database" group="release_notes" params="$activeFilters, $category"}
41{{endif}}36{{endif}}
Editor
Original Text
Changed Text
Recommended videos