summaryrefslogtreecommitdiff
path: root/templates/center_list_generic.tpl
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-09-29 11:56:30 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-09-29 11:56:30 +0000
commit20b756c6259fe2fed0186f6aa6f44e1d4d5a74a5 (patch)
tree9a31c0690c3ab599800b5e889c10e11857dad763 /templates/center_list_generic.tpl
parent5bf11e5d095cb770b5d2c857de019de91545bd0e (diff)
downloadliberty-20b756c6259fe2fed0186f6aa6f44e1d4d5a74a5.tar.gz
liberty-20b756c6259fe2fed0186f6aa6f44e1d4d5a74a5.tar.bz2
liberty-20b756c6259fe2fed0186f6aa6f44e1d4d5a74a5.zip
inline css in liberty, kernel, themes replaced with classes from inline.css (loaded by themes pkg)
Diffstat (limited to 'templates/center_list_generic.tpl')
-rw-r--r--templates/center_list_generic.tpl14
1 files changed, 8 insertions, 6 deletions
diff --git a/templates/center_list_generic.tpl b/templates/center_list_generic.tpl
index beed221..d77a4ed 100644
--- a/templates/center_list_generic.tpl
+++ b/templates/center_list_generic.tpl
@@ -40,7 +40,7 @@
<caption>{tr}{if $contentType}{$contentType}s{else}Content{/if} Listing{/tr} <span class="total">[ {$listInfo.total_records} ]</span></caption>
<tr>
{counter name=cols start=-1 print=false}
- <th style="width:2%;">{smartlink ititle="ID" isort=content_id list_page=$listInfo.current_page ihash=$listInfo.ihash}</th>
+ <th class="width2p">{smartlink ititle="ID" isort=content_id list_page=$listInfo.current_page ihash=$listInfo.ihash}</th>
{counter name=cols assign=cols print=false}
<th>{smartlink ititle="Title" isort=title list_page=$listInfo.current_page idefault=1 ihash=$listInfo.ihash}</th>
{counter name=cols assign=cols print=false}
@@ -59,20 +59,22 @@
</tr>
{foreach from=$contentList item=item}
<tr class="{cycle values='odd,even'}">
- <td style="text-align:center;">{$item.content_id}</td>
+ <td class="aligncenter">{$item.content_id}</td>
<td>{$item.display_link}</td>
<td>{assign var=content_type_guid value=`$item.content_type_guid`}{$contentTypes.$content_type_guid}</td>
<td>{displayname real_name=$item.creator_real_name user=$item.creator_user}</td>
<td>{displayname real_name=$item.modifier_real_name user=$item.modifier_user}</td>
<td>{$item.last_modified|bit_short_date}</td>
{if $gBitUser->hasPermission('p_liberty_view_all_status')}
- <td style="text-align:center;">{$item.ip}</td>
+ <td class="aligncenter">{$item.ip}</td>
{/if}
</tr>
{foreachelse}
- <tr class="norecords"><td style="text-align:center;" colspan="{$cols}">
- {tr}No records found{/tr}
- </td></tr>
+ <tr class="norecords">
+ <td class="aligncenter" colspan="{$cols}">
+ {tr}No records found{/tr}
+ </td>
+ </tr>
{/foreach}
</table>
{/form}