diff --git a/bl-kernel/admin/views/content.php b/bl-kernel/admin/views/content.php index 27dc9581..0815a6c7 100644 --- a/bl-kernel/admin/views/content.php +++ b/bl-kernel/admin/views/content.php @@ -15,7 +15,7 @@ function table($type) { if ($type=='published') { $list = $published; if (empty($list)) { - echo '
'; + echo '
'; echo $L->g('There are no pages at this moment.'); echo '
'; return false; @@ -23,7 +23,7 @@ function table($type) { } elseif ($type=='draft') { $list = $drafts; if (empty($list)) { - echo ''; + echo '
'; echo $L->g('There are no draft pages at this moment.'); echo '
'; return false; @@ -31,7 +31,7 @@ function table($type) { } elseif ($type=='scheduled') { $list = $scheduled; if (empty($list)) { - echo ''; + echo '
'; echo $L->g('There are no scheduled pages at this moment.'); echo '
'; return false; @@ -39,7 +39,7 @@ function table($type) { } elseif ($type=='static') { $list = $static; if (empty($list)) { - echo ''; + echo '
'; echo $L->g('There are no static pages at this moment.'); echo '
'; return false; @@ -47,7 +47,7 @@ function table($type) { } elseif ($type=='sticky') { $list = $sticky; if (empty($list)) { - echo ''; + echo '
'; echo $L->g('There are no sticky pages at this moment.'); echo '
'; return false; @@ -57,9 +57,10 @@ function table($type) { } echo ' -'.$L->g('Title').' | '; @@ -67,7 +68,7 @@ function table($type) { echo ''.$L->g('URL').' | '; } - echo ''.$L->g('Actions').' | + echo ''.$L->g('Actions').' | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
'
@@ -95,11 +96,11 @@ function table($type) {
echo ' '.$friendlyURL.' | ';
}
- echo ''.PHP_EOL;
- echo ''.$L->g('View').''.PHP_EOL;
- echo ''.$L->g('Edit').''.PHP_EOL;
+ echo ' | '.PHP_EOL;
+ echo ''.$L->g('View').''.PHP_EOL;
+ echo ''.$L->g('Edit').''.PHP_EOL;
if (count($page->children())==0) {
- echo ''.$L->g('Delete').''.PHP_EOL;
+ echo ''.$L->g('Delete').''.PHP_EOL;
}
echo ' | ';
@@ -107,7 +108,7 @@ function table($type) {
foreach ($page->children() as $child) {
//if ($child->published()) {
- echo '
|
'
@@ -124,12 +125,12 @@ function table($type) {
echo ' '.$friendlyURL.' | ';
}
- echo ''.PHP_EOL;
+ echo ' | '.PHP_EOL;
if ($type=='published' || $type=='static' || $type=='sticky') {
- echo ''.$L->g('View').''.PHP_EOL;
+ echo ''.$L->g('View').''.PHP_EOL;
}
- echo ''.$L->g('Edit').''.PHP_EOL;
- echo ''.$L->g('Delete').''.PHP_EOL;
+ echo ''.$L->g('Edit').''.PHP_EOL;
+ echo ''.$L->g('Delete').''.PHP_EOL;
echo ' | ';
echo '
|
'
@@ -161,13 +162,13 @@ function table($type) {
echo ' '.$friendlyURL.' | ';
}
- echo ''.PHP_EOL;
+ echo ' | '.PHP_EOL;
if ($type=='published' || $type=='static' || $type=='sticky') {
- echo ''.$L->g('View').''.PHP_EOL;
+ echo ''.$L->g('View').''.PHP_EOL;
}
- echo ''.$L->g('Edit').''.PHP_EOL;
+ echo ''.$L->g('Edit').''.PHP_EOL;
if (count($page->children())==0) {
- echo ''.$L->g('Delete').''.PHP_EOL;
+ echo ''.$L->g('Delete').''.PHP_EOL;
}
echo ' | ';
@@ -181,13 +182,14 @@ function table($type) {
echo '
|