-118 Removals
+25 Additions
1{{$rowIds = array();}}1{{$rowIds = array();}}
2{{foreach $rows as $row}}2{{foreach $rows as $row}}
3 {{$idField = $row::$databaseColumnId;}}3 {{$idField = $row::$databaseColumnId;}}
4 {{$rowIds[] = $row->$idField;}}4 {{$rowIds[] = $row->$idField;}}
5{{endforeach}}5{{endforeach}}
6{{$iposted = ( $table AND method_exists( $table, 'container' ) AND $table->container() !== NULL ) ? $table->container()->contentPostedIn( null, $rowIds ) : array();}}6{{$iposted = ( $table AND method_exists( $table, 'container' ) AND $table->container() !== NULL ) ? $table->container()->contentPostedIn( null, $rowIds ) : array();}}
77
8{{foreach $rows as $row}}8{{foreach $rows as $row}}
9 {{$idField = $row::$databaseColumnId;}}9 {{$idField = $row::$databaseColumnId;}}
10 <li class="cCmsRecord_row ipsDataItem ipsDataItem_responsivePhoto {{if $row->unread()}}ipsDataItem_unread{{endif}} {{if method_exists( $row, 'tableClass' ) && $row->tableClass()}}ipsDataItem_{$row->tableClass()}{{endif}} {{if $row->hidden()}}ipsModerated{{endif}}" data-rowID='{$row->$idField}'>10 <li class="cCmsRecord_row {{if $row->hidden()}}ipsModerated{{endif}}" data-rowID='{$row->$idField}'>
11 {{if member.member_id}}11 <a href='{$row->url()}' class='cRelease' data-releaseID='{$row->$idField}' {{if $row->fieldValues()['field_163']}}data-currentRelease{{endif}}>
12 <div class='ipsDataItem_icon ipsPos_top'>12 {$row->customFieldDisplayByKey('security_release', 'listing')|raw}
13 {{if $row->unread()}}13 <h3 class='ipsType_sectionHead ipsType_break'>
14 <a href='{$row->url( 'getNewComment' )}' title='{lang="first_unread_post"}' data-ipsTooltip>14 {{if $row->_title}}{$row->_title}{{else}}<em class="ipsType_light">{lang="content_deleted"}</em>{{endif}}
15 <span class='ipsItemStatus'><i class="fa {{if in_array( $row->$idField, $iposted )}}fa-star{{else}}fa-circle{{endif}}"></i></span>15 {$row->customFieldDisplayByKey('current_release', 'listing')|raw}
16 </a>16 {$row->customFieldDisplayByKey('beta_release', 'listing')|raw}
17 {{else}}17 </h3>
18 {{if in_array( $row->$idField, $iposted )}}18 {{if $row->isFutureDate() || $row->mapped('pinned') || $row->mapped('featured') || $row->hidden() === -1 || $row->hidden() === 1}}
19 <span class='ipsItemStatus ipsItemStatus_read ipsItemStatus_posted'><i class="fa fa-star"></i></span>19 <span>
20 {{else}}20 {{if $row->isFutureDate()}}
21 &nbsp;21 <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$row->futureDateBlurb()}'><i class='fa fa-clock-o'></i></span>
22 {{elseif $row->hidden() === -1}}
23 <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$row->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span>
24 {{elseif $row->hidden() === 1}}
25 <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span>
26 {{endif}}
27 {{if $row->mapped('pinned')}}
28 <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="pinned"}'><i class='fa fa-thumb-tack'></i></span>
22 {{endif}}29 {{endif}}
23 {{endif}}30 {{if $row->mapped('featured')}}
24 </div>31 <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span>
25 {{endif}}32 {{endif}}
26 <div class='ipsDataItem_main'>33 </span>
27 <h4 class='ipsDataItem_title ipsType_break'>
28 {{if $row->locked()}}
29 <i class='fa fa-lock' data-ipsTooltip title='{lang="content_locked_record"}'></i>
30 {{endif}}
31
32 {{if $row->isFutureDate() || $row->mapped('pinned') || $row->mapped('featured') || $row->hidden() === -1 || $row->hidden() === 1}}
33 <span>
34 {{if $row->isFutureDate()}}
35 <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$row->futureDateBlurb()}'><i class='fa fa-clock-o'></i></span>
36 {{elseif $row->hidden() === -1}}
37 <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$row->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span>
38 {{elseif $row->hidden() === 1}}
39 <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span>
40 {{endif}}
41 {{if $row->mapped('pinned')}}
42 <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="pinned"}'><i class='fa fa-thumb-tack'></i></span>
43 {{endif}}
44 {{if $row->mapped('featured')}}
45 <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span>
46 {{endif}}
47 </span>
48 {{endif}}
49
50 {{if $row->prefix()}}
51 {template="prefix" group="global" app="core" params="$row->prefix( TRUE ), $row->prefix()"}
52 {{endif}}
53
54 <a href='{$row->url()}'>
55 {{if $row->_title}}{$row->_title}{{else}}<em class="ipsType_light">{lang="content_deleted"}</em>{{endif}}
56 </a>
57 </h4>
58
59 {{if $row->commentPageCount() > 1}}
60 {$row->commentPagination( array(), 'miniPagination' )|raw}
61 {{endif}}34 {{endif}}
62 {{if count( $row->customFieldsForDisplay('listing') )}}35 {{if count( $row->customFieldsForDisplay('listing') )}}
63 <div class='ipsDataItem_meta'>36 <div class='ipsDataItem_meta'>
64 {{foreach $row->customFieldsForDisplay('listing') as $fieldId => $fieldValue}}37 {{foreach $row->customFieldsForDisplay('listing') as $fieldId => $fieldValue}}
65 {{if $fieldValue}}38 {{if $fieldValue && $fieldId != 'current_release' && $fieldId != 'beta_release' && $fieldId != 'security_release'}}
66 {$fieldValue|raw}39 {$fieldValue|raw}
67 {{endif}}40 {{endif}}
68 {{endforeach}}41 {{endforeach}}
69 </div>42 </div>
70 {{endif}}43 {{endif}}
71 <div class='ipsDataItem_meta ipsType_blendLinks'>44 </a>
72 <p class='ipsType_reset ipsType_light'>{lang="byline" htmlsprintf="$row->author()->link( $row->warningRef() )"}{datetime="$row->_publishDate"}</p>
73 </div>
74 </div>
75 <ul class='ipsDataItem_stats'>
76 {{foreach $row->stats(TRUE) as $k => $v}}
77 <li {{if in_array( $k, $row->hotStats )}}class="ipsDataItem_stats_hot" data-text='{lang="hot_item"}' data-ipsTooltip title='{lang="hot_item_desc"}'{{endif}}>
78 <span class='ipsDataItem_stats_number'>{number="$v"}</span>
79 <span class='ipsDataItem_stats_type'>{lang="content_records_stat_{$k}" pluralize="$v"}</span>
80 </li>
81 {{endforeach}}
82 {{if $row::database()->options['reviews']}}
83 <li>
84 <ul class='ipsList_inline ipsList_noSpacing_left ipsClearfix ipsRating ipsRating_{{if \IPS\Settings::i()->reviews_rating_out_of > 5}}small{{else}}large{{endif}}'>
85 {{foreach range( 1, \IPS\Settings::i()->reviews_rating_out_of ) as $i}}
86 <li class='{{if $row->averageReviewRating() >= $i}}ipsRating_on{{else}}ipsRating_off{{endif}}'>
87 <i class='fa fa-star'></i>
88 </li>
89 {{endforeach}}
90 </ul>
91 </li>
92 {{endif}}
93 </ul>
94 <ul class='ipsDataItem_lastPoster ipsDataItem_withPhoto ipsType_blendLinks'>
95 {{if $row::database()->options['comments'] or $row::database()->options['reviews']}}
96 <li>
97 {{if $row->mapped('num_comments')}}
98 {template="userPhoto" app="core" group="global" params="$row->lastCommenter(), 'tiny'"}
99 {{else}}
100 {template="userPhoto" app="core" group="global" params="$row->author(), 'tiny'"}
101 {{endif}}
102 </li>
103 <li>
104 {{if $row->mapped('num_comments')}}
105 {lang="cms_row_commented_by" htmlsprintf="$row->lastCommenter()->link()"}
106 {{else}}
107 {lang="cms_row_added_by" htmlsprintf="$row->author()->link()"}
108 {{endif}}
109 </li>
110
111 <li class="ipsType_light">
112 <a href='{$row->url( 'getLastComment' )}' title='{lang="get_last_post"}'>
113 {{if $row->mapped('num_comments')}}{datetime="$row->mapped('last_comment')"}{{else}}{datetime="$row->mapped('date')"}{{endif}}
114 </a>
115 </li>
116 {{else}}
117 <li>
118 {template="userPhoto" app="core" group="global" params="$row->author(), 'tiny'"}
119 </li>
120 <li>
121 {$row->author()->link()|raw}
122 </li>
123 <li class="ipsType_light">
124 <a href='{$row->url()}' class='ipsType_blendLinks'>
125 {datetime="$row->mapped('date')"}
126 </a>
127 </li>
128 {{endif}}
129 </ul>
130 {{if $table and $table->canModerate()}}
131 <div class='ipsDataItem_modCheck'>
132 <span class='ipsCustomInput'>
133 <input type='checkbox' data-role='moderation' name="moderate[{$row->$idField}]" data-actions="{expression="implode( ' ', $table->multimodActions( $row ) )"}" data-state='{{if $row->tableStates()}}{$row->tableStates()}{{endif}}'>
134 <span></span>
135 </span>
136 </div>
137 {{endif}}
138 </li>45 </li>
139{{endforeach}}46{{endforeach}}
Editor
Original Text
Changed Text
Recommended videos