-150 Removals
+12 Additions
1<div class='ipsBox' data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table{{if $table->canModerate()}},core.front.core.moderation{{endif}}'>1<div class='ipsAreaBackground ipsPad_half' data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table{{if $table->canModerate()}},core.front.core.moderation{{endif}}'>
2
3 {{if $table->title}}
4 <h2 class='ipsType_sectionTitle ipsType_medium ipsType_reset ipsClear'>{lang="$table->title"}</h2>
5 {{endif}}
6 2
7 <div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">3 <div class='ipsAreaBackground_reset ipsColumns ipsColumns_collapsePhone' data-controller='pages.front.releaseNotes.main'>
8 {{if $table->canModerate()}}4 <div class='ipsColumn ipsColumn_wide ipsAreaBackground cReleaseColumn' data-role='releases'>
9 <ul class="ipsButtonRow ipsPos_right ipsClearfix">
10 <li>
11 <a class="ipsJS_show" href="#elCheck_menu" id="elCheck_{$table->uniqueId}" title='{lang="{$table->langPrefix}select_rows_tooltip"}' data-ipsTooltip data-ipsAutoCheck data-ipsAutoCheck-context="#elTable_{$table->uniqueId}" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active">
12 <span class="cAutoCheckIcon ipsType_medium"><i class="fa fa-square-o"></i></span> <i class="fa fa-caret-down"></i>
13 <span class='ipsNotificationCount' data-role='autoCheckCount'>0</span>
14 </a>
15 <ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide" id="elCheck_{$table->uniqueId}_menu">
16 <li class="ipsMenu_title">{lang="{$table->langPrefix}select_rows"}</li>
17 <li class="ipsMenu_item" data-ipsMenuValue="all"><a href="#">{lang="all"}</a></li>
18 <li class="ipsMenu_item" data-ipsMenuValue="none"><a href="#">{lang="none"}</a></li>
19 <li class="ipsMenu_sep"><hr></li>
20 <li class="ipsMenu_item" data-ipsMenuValue="read"><a href="#">{lang="read"}</a></li>
21 <li class="ipsMenu_item" data-ipsMenuValue="unread"><a href="#">{lang="unread"}</a></li>
22 <li class="ipsMenu_item" data-ipsMenuValue="hidden"><a href="#">{lang="hidden"}</a></li>
23 <li class="ipsMenu_item" data-ipsMenuValue="unapproved"><a href="#">{lang="unapproved"}</a></li>
24 <li class="ipsMenu_item" data-ipsMenuValue="locked"><a href="#">{lang="locked"}</a></li>
25 <li class="ipsMenu_item" data-ipsMenuValue="pinned"><a href="#">{lang="pinned"}</a></li>
26 <li class="ipsMenu_item" data-ipsMenuValue="featured"><a href="#">{lang="featured"}</a></li>
27 </ul>
28 </li>
29 </ul>
30 {{endif}}
31 <ul class="ipsButtonRow ipsPos_right ipsClearfix">
32 {{if isset( $table->sortOptions ) and !empty( $table->sortOptions )}}
33 <li>
34 <a href="#elSortByMenu_menu" id="elSortByMenu_{$table->uniqueId}" data-role='sortButton' data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="sort_by"} <i class="fa fa-caret-down"></i></a>
35 <ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide" id="elSortByMenu_{$table->uniqueId}_menu">
36 {{$custom = TRUE;}}
37 {{foreach $table->sortOptions as $k => $col}}
38 <li class="ipsMenu_item {{if $col === $table->sortBy}}{{$custom = FALSE;}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="{$col}" data-sortDirection='{{if $col == 'title'}}asc{{else}}desc{{endif}}'><a href="{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $col, 'sortdirection' => ( $col == 'title' ) ? 'asc' : 'desc', 'page' => '1' ) )}">{lang="{$table->langPrefix}sort_{$k}"}</a></li>
39 {{endforeach}}
40 {{if $table->advancedSearch}}
41 <li class="ipsMenu_item {{if $custom}}ipsMenu_itemChecked{{endif}}" data-noSelect="true">
42 <a href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="custom_sort"}'>{lang="custom"}</a>
43 </li>
44 {{endif}}
45 </ul>
46 </li>
47 {{endif}}
48 {{if !empty( $table->filters )}}
49 <li>
50 <a href="#elFilterByMenu_menu" data-role="tableFilterMenu" id="elFilterByMenu_{$table->uniqueId}" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="filter_by"} <i class="fa fa-caret-down"></i></a>
51 <ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterByMenu_{$table->uniqueId}_menu'>
52 <li data-action="tableFilter" data-ipsMenuValue='' class='ipsMenu_item {{if !$table->filter}}ipsMenu_itemChecked{{endif}}'>
53 <a href='{$table->baseUrl->setQueryString( array( 'filter' => '', 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection, 'page' => '1' ) )}'>{lang="{$table->langPrefix}all"}</a>
54 </li>
55 {{foreach $table->filters as $k => $q}}
56 <li data-action="tableFilter" data-ipsMenuValue='{$k}' class='ipsMenu_item {{if $k === $table->filter}}ipsMenu_itemChecked{{endif}}'>
57 <a href='{$table->baseUrl->setQueryString( array( 'filter' => $k, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection, 'page' => '1' ) )}'>{lang="{$table->langPrefix}{$k}"}</a>
58 </li>
59 {{endforeach}}
60 </ul>
61 </li>
62 {{endif}}
63 </ul>
64 {{if $table->pages > 1}}
65 <div data-role="tablePagination">
66 {template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
67 </div>
68 {{endif}}
69 </div>
70 {{if $table->canModerate()}}
71 <form action="{$table->baseUrl}" method="post" data-role='moderationTools' data-ipsPageAction>
72 {{endif}}
73 {{if ! count($rows)}}5 {{if ! count($rows)}}
74 <div class="ipsPad">6 <div class="ipsPad">
75 {lang="cms_no_records_to_show" sprintf="\IPS\cms\Databases::load( \IPS\cms\Databases\Dispatcher::i()->databaseId )->recordWord()"}7 {lang="cms_no_records_to_show" sprintf="\IPS\cms\Databases::load( \IPS\cms\Databases\Dispatcher::i()->databaseId )->recordWord()"}
76 </div>8 </div>
77 {{else}}9 {{else}}
78 <ol class='ipsDataList ipsDataList_zebra ipsClear cCmsListing {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">10 <ol class='ipsDataList ipsDataList_zebra ipsClear cCmsListing {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">
79 {template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}11 {template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
80 </ol>12 </ol>
81 {{endif}}13 {{endif}}
82 {{if $table->canModerate()}}14 {{if $table->pages > 1}}
83 <div class="ipsAreaBackground ipsPad ipsClearfix" data-role="pageActionOptions">15 <div data-role="tablePagination">
84 <div class="ipsPos_right">16 {template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
85 <select name="modaction" data-role="moderationAction">
86 {{if $table->canModerate('unhide')}}
87 <option value='approve' data-icon='check-circle'>{lang="approve"}</option>
88 {{endif}}
89 {{if $table->canModerate('feature') or $table->canModerate('unfeature')}}
90 <optgroup label="{lang="feature"}" data-icon='star' data-action='feature'>
91 {{if $table->canModerate('feature')}}
92 <option value='feature'>{lang="feature"}</option>
93 {{endif}}
94 {{if $table->canModerate('unhide')}}
95 <option value='unfeature'>{lang="unfeature"}</option>
96 {{endif}}
97 </optgroup>
98 {{endif}}
99 {{if $table->canModerate('pin') or $table->canModerate('unpin')}}
100 <optgroup label="{lang="pin"}" data-icon='thumb-tack' data-action='pin'>
101 {{if $table->canModerate('pin')}}
102 <option value='pin'>{lang="pin"}</option>
103 {{endif}}
104 {{if $table->canModerate('unpin')}}
105 <option value='unpin'>{lang="unpin"}</option>
106 {{endif}}
107 </optgroup>
108 {{endif}}
109 {{if $table->canModerate('hide') or $table->canModerate('unhide')}}
110 <optgroup label="{lang="hide"}" data-icon='eye' data-action='hide'>
111 {{if $table->canModerate('hide')}}
112 <option value='hide'>{lang="hide"}</option>
113 {{endif}}
114 {{if $table->canModerate('unhide')}}
115 <option value='unhide'>{lang="unhide"}</option>
116 {{endif}}
117 </optgroup>
118 {{endif}}
119 {{if $table->canModerate('lock') or $table->canModerate('unlock')}}
120 <optgroup label="{lang="lock"}" data-icon='lock' data-action='lock'>
121 {{if $table->canModerate('lock')}}
122 <option value='lock'>{lang="lock"}</option>
123 {{endif}}
124 {{if $table->canModerate('unlock')}}
125 <option value='unlock'>{lang="unlock"}</option>
126 {{endif}}
127 </optgroup>
128 {{endif}}
129 {{if $table->canModerate('move')}}
130 <option value='move' data-icon='arrow-right'>{lang="move"}</option>
131 {{endif}}
132 {{if $table->canModerate('split_merge')}}
133 <option value='merge' data-icon='level-up'>{lang="merge"}</option>
134 {{endif}}
135 {{if $table->canModerate('delete')}}
136 <option value='delete' data-icon='trash'>{lang="delete"}</option>
137 {{endif}}
138 {{if $table->canModerate('future_publish')}}
139 <option data-icon="arrow-circle-o-up" value='publish'>{lang="publish"}</option>
140 {{endif}}
141 {{if $table->savedActions}}
142 <optgroup label="{lang="saved_actions"}" data-icon='tasks' data-action='saved_actions'>
143 {{foreach $table->savedActions as $k => $v}}
144 <option value='savedAction-{$k}'>{$v}</option>
145 {{endforeach}}
146 </optgroup>
147 {{endif}}
148 </select>
149 <button type="submit" class="ipsButton ipsButton_alternate ipsButton_verySmall">{lang="submit"}</button>
150 </div>17 </div>
151 </div>18 {{endif}}
152 </form>
153 {{endif}}
154
155 {{if $table->pages > 1}}
156 <div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
157 <div data-role="tablePagination">
158 {template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
159 </div>
160 </div>19 </div>
161 {{endif}}20 <div class='ipsColumn ipsColumn_fluid'>
21 <div data-role='releaseInfo' class='ipsPad_double'></div>
22 </div>
23 </div>
162</div>24</div>
Editor
Original Text
Changed Text
Recommended videos