File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
components/com_jtg/views/cat/tmpl Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 100100
101101<?php
102102if (empty ($ this ->items )) {
103- JFactory::getApplication ()->enqueueMessage (JText::_ ('COM_JTG_LIST_NO_TRACK ' ), 'Warning ' );
104103 echo '<b> ' . JText::_ ('COM_JTG_LIST_NO_TRACK ' ) . '</b> ' ;
105104} else {
106105
123122 ?>
124123</div>
125124<?php
126- }?>
125+ }
126+ }
127+ ?>
127128
128129<form action="<?php echo $ this ->action ; ?> " method="post"
129130 name="adminForm" id="adminForm">
130131<?php
131- if ($ this ->params ->get ('jtg_param_cat_filterbox ' , 1 )) {
132+ if ($ this ->params ->get ('jtg_param_cat_filterbox ' , 1 )) {
132133 $ addborder ='' ;
133134 if (version_compare (JVERSION , '4.0 ' , 'lt ' )) $ addborder ='style="padding: 15px 0 0" ' ;
134135?>
144145 </div>
145146<?php
146147 }
147- if ($ this ->showlist ) {
148+ if (! empty ( $ this -> items ) && $ this ->showlist ) {
148149?>
149150 <table class="tracktable" style="width:100%;">
150151 <tr>
@@ -302,7 +303,7 @@ class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_
302303 </tbody>
303304 </table>
304305 </div>
305- <?php }
306+ <?php
306307 } ?>
307308 <input type="hidden" name="option" value="com_jtg" /> <input
308309 type="hidden" name="task" value="" /> <input type="hidden"
You can’t perform that action at this time.
0 commit comments