<?php if ($headerRow): ?>
<thead>
<tr>
<th width="20">#</th>
<th width="25" class="title"><input type="checkbox" name="toggle" value=""
onClick="checkAll(<?php echo count( $this->rows ) ?>);" /></th>
<th width="20%" class="title"><?php echo _T( 'TITLE' ) ?></th>
<th width="20%" class="title"><?php echo _T( 'HOST' ) ?></th>
<th width="20%" class="title"><?php echo _T( 'BASE_URL' ) ?></th>
<th width="8%" class="title" style="text-align: center"><?php echo _T( 'LANGUAGE' ) ?></th>
<th width="8%" class="title" style="text-align: center"><?php echo _T( 'LOCALE' ) ?></th>
<th width="8%" class="title" style="text-align: center"><?php echo _T( 'PUBLISHED' ) ?></th>
<th width="8%" class="title" style="text-align: center"><?php echo _T( 'ONLINE' ) ?></th>
<th width="8%" class="title" style="text-align: center"><?php echo _T( 'ACCESS' ) ?></th>
</tr>
</thead>
<?php else: ?>
<tr class="<?php echo "row" . ($rowNo % 2 == 0 ? 0 : 1) ?>">
<td><?php echo $rowNo + 1 + $this->pageNav->limitstart ?></td>
<td align="left">
<?php
if (!$row->isDefault() || true) {
echo mosHTML::idBox( $rowNo, $row->id );
}
else {
?>
<input type="checkbox" readonly="1" disabled="1" />
<?php
}
?>
</td>
<td align="left">
<a href="#edit" onClick="return listItemTask('cb<?php echo $rowNo ?>', 'edit')"><?php
echo $row->isDefault() ? _T( 'DEFAULT' ) : ($row->title ? $row->title : '(' . _T( 'UNTITLED' ) . ')') ?></a>
</td>
<td align="left"><?php echo $row->host ?></td>
<td align="left"><?php echo $row->base_url ?></td>
<td align="center">
<?php echo (!$row->lang ? _T( 'DEFAULT' ) : xclGetLangTitle( $row->lang )) ?>
</td>
<td align="center">
<?php echo $row->locale ?>
</td>
<td align="center">
<?php $this->plugin( 'Joomla', 'publishToggle', array( $rowNo,
(!$row->isDefault() ? 'published' : null), $row->published ) ); ?>
</td>
<td align="center">
<?php $this->plugin( 'Joomla', 'publishToggle', array( $rowNo,
(!$row->isDefault() ? 'offline' : null),
(strlen( $row->offline ) == 0 ? '0' : $row->offline ), true ) ); ?>
</td>
<td align="center">
<?php $this->plugin( 'Joomla', 'accessToggle', array( $rowNo,
(!$row->isDefault() ? 'access' : null), $row->access ) ); ?>
</td>
</tr>
<?php endif; ?>