Beispiel #1
0
        ?>
>
									<span class="hasTip" title="<?php 
        echo Lang::txt('COM_SUPPORT_DETAILS');
        ?>
 :: <?php 
        echo Lang::txt('COM_SUPPORT_COL_STATUS') . ': ' . $row->status('text');
        ?>
">
										<span class="ticket-id">
											<?php 
        echo $row->get('id');
        ?>
										</span>
										<span class="<?php 
        echo ($row->isOpen() ? 'open' : 'closed') . ' ' . $row->status('class');
        ?>
 status">
											<?php 
        echo $row->status('text');
        echo !$row->isOpen() ? ' (' . $this->escape($row->get('resolved')) . ')' : '';
        ?>
										</span>
									</span>
								</td>
								<td colspan="6">
									<p>
										<span class="ticket-author">
											<?php 
        echo $this->escape($row->get('name'));
        echo $row->submitter()->get('id') ? ' (<a href="' . Route::url('index.php?option=com_members&id=' . $row->submitter()->get('id')) . '">' . $this->escape($row->get('login')) . '</a>)' : ($row->get('login') ? ' (' . $this->escape($row->get('login')) . ')' : '');
Beispiel #2
0
        $lastcomment = '0000-00-00 00:00:00';
        if (isset($lastactivities[$row->get('id')])) {
            $lastcomment = $lastactivities[$row->get('id')]['lastactivity'];
        }
        // Was there any activity on this item?
        /*if ($lastcomment && $lastcomment != '0000-00-00 00:00:00')
        		{
        			$comments = 1;
        		}*/
        $tags = '';
        if (isset($alltags[$row->get('id')])) {
            $tags = $row->tags('linkedlist');
        }
        ?>
						<li class="<?php 
        echo !$row->isOpen() ? 'closed' : 'open';
        ?>
" data-id="<?php 
        echo $row->get('id');
        ?>
" id="ticket-<?php 
        echo $row->get('id');
        ?>
">
							<div class="ticket-wrap"<?php 
        if ($row->get('status')) {
            echo $row->status('color') ? ' style="border-left-color: #' . $row->status('color') . ';"' : '';
        }
        ?>
>
								<p>