catalog/admin/includes/modules/dashboard/d_latest_addons.php 1 location
|
@@ 67-78 (lines=12) @@
|
64 |
|
</thead> |
65 |
|
<tbody>'; |
66 |
|
|
67 |
|
if (is_array($entries) && (count($entries) === 5)) { |
68 |
|
foreach ($entries as $item) { |
69 |
|
$output .= ' <tr> |
70 |
|
<td><a href="' . HTML::outputProtected($item['link']) . '" target="_blank">' . HTML::outputProtected($item['title']) . '</a></td> |
71 |
|
<td class="text-right" style="white-space: nowrap;">' . HTML::outputProtected(DateTime::toShort($item['date'])) . '</td> |
72 |
|
</tr>'; |
73 |
|
} |
74 |
|
} else { |
75 |
|
$output .= ' <tr> |
76 |
|
<td colspan="2">' . MODULE_ADMIN_DASHBOARD_LATEST_ADDONS_FEED_ERROR . '</td> |
77 |
|
</tr>'; |
78 |
|
} |
79 |
|
|
80 |
|
$output .= ' <tr> |
81 |
|
<td class="text-right" colspan="2"><a href="http://addons.oscommerce.com" target="_blank" title="' . HTML::outputProtected(MODULE_ADMIN_DASHBOARD_LATEST_ADDONS_ICON_SITE) . '"><span class="fa fa-fw fa-home"></span></a></td> |
catalog/admin/includes/modules/dashboard/d_latest_news.php 1 location
|
@@ 67-78 (lines=12) @@
|
64 |
|
</thead> |
65 |
|
<tbody>'; |
66 |
|
|
67 |
|
if (is_array($entries) && (count($entries) === 5)) { |
68 |
|
foreach ($entries as $item) { |
69 |
|
$output .= ' <tr> |
70 |
|
<td><a href="' . HTML::outputProtected($item['link']) . '" target="_blank">' . HTML::outputProtected($item['title']) . '</a></td> |
71 |
|
<td class="text-right" style="white-space: nowrap;">' . HTML::outputProtected(DateTime::toShort($item['date'])) . '</td> |
72 |
|
</tr>'; |
73 |
|
} |
74 |
|
} else { |
75 |
|
$output .= ' <tr> |
76 |
|
<td colspan="2">' . MODULE_ADMIN_DASHBOARD_LATEST_NEWS_FEED_ERROR . '</td> |
77 |
|
</tr>'; |
78 |
|
} |
79 |
|
|
80 |
|
$output .= ' <tr> |
81 |
|
<td class="text-right" colspan="2"> |