Project

General

Profile

Feature #18838 » tstemplate_overview.diff

Administrator Admin, 2008-05-25 13:32

View differences:

typo3/sysext/tstemplate/ts/index.php (working copy)
$lines = array();
$lines[] = '<tr class="bgColor5">
<td nowrap><strong>Page name</strong></td>
<td nowrap><strong># Templates</strong></td>
<td nowrap><strong>Is Root?</strong></td>
<td nowrap><strong>Is Ext?</strong></td>
<td nowrap>&nbsp;<strong>Page name</strong>&nbsp;</td>
<td nowrap>&nbsp;<strong># Templates</strong>&nbsp;</td>
<td nowrap>&nbsp;<strong>Is Root?</strong>&nbsp;</td>
<td nowrap>&nbsp;<strong>Is Ext?</strong>&nbsp;</td>
</tr>';
$lines = array_merge($lines,$this->renderList($pArray));
......
'<a href="'.t3lib_div::linkThisScript(array("id"=>$k)).'">'.
t3lib_iconWorks::getIconImage("pages",t3lib_BEfunc::getRecordWSOL("pages",$k),$GLOBALS["BACK_PATH"],' align="top" title="ID: '.$k.'"').
t3lib_div::fixed_lgd_cs($pArray[$k],30).'</a></td>
<td align=center>'.$pArray[$k."_"]["count"].'</td>
<td align=center>'.($pArray[$k."_"]["root_max_val"]>0?"x":"&nbsp;").'</td>
<td align=center>'.($pArray[$k."_"]["root_min_val"]==0?"x":"&nbsp;").'</td>
<td align="center">'.$pArray[$k."_"]["count"].'</td>
<td align="center" class="bgColor5">'.($pArray[$k."_"]["root_max_val"]>0 ? '<img' .
t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'],'gfx/perm-allowed.gif','width="10" height="9"').' align="top" alt="" />' : "&nbsp;") .
'</td>
<td align="center">'.($pArray[$k."_"]["root_min_val"]==0 ? '<img' .
t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'],'gfx/perm-allowed.gif','width="10" height="9"').' align="top" alt="" />' : "&nbsp;") .
'</td>
</tr>';
} else {
$lines[]='<tr>
<td nowrap colspan=3><img src=clear.gif width=1 height=1 hspace='.($c*10).' align=top>'.
<td nowrap ><img src=clear.gif width=1 height=1 hspace='.($c*10).' align=top>'.
t3lib_iconWorks::getIconImage("pages",t3lib_BEfunc::getRecordWSOL("pages",$k),$GLOBALS["BACK_PATH"]," align=top").
t3lib_div::fixed_lgd_cs($pArray[$k],30).'</td>
<td align="center">
<td align="center" class="bgColor5">
<td align="center">
</tr>';
}
$lines=$this->renderList($pArray[$k."."],$lines,$c+1);
(2-2/2)