mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 10:04:35 +02:00
Code cleanup
This commit is contained in:
@@ -784,16 +784,15 @@ class page_admin_ui extends e_admin_ui
|
|||||||
|
|
||||||
$chap = intval($row['page_chapter']);
|
$chap = intval($row['page_chapter']);
|
||||||
|
|
||||||
$this->tabs[] = "Additional Fields";
|
|
||||||
|
|
||||||
$curVal = e107::unserialize($row['page_fields']);
|
|
||||||
|
|
||||||
$tabCount = count($this->tabs) -1;
|
|
||||||
|
|
||||||
$this->getModel()->set('page_fields', null);
|
$this->getModel()->set('page_fields', null);
|
||||||
|
|
||||||
if(!empty($this->chapterFields[$chap]))
|
if(!empty($this->chapterFields[$chap]))
|
||||||
{
|
{
|
||||||
|
$curVal = e107::unserialize($row['page_fields']);
|
||||||
|
|
||||||
|
$this->tabs[] = "Additional Fields";
|
||||||
|
$tabCount = count($this->tabs) -1;
|
||||||
|
|
||||||
foreach($this->chapterFields[$chap] as $key=>$fld)
|
foreach($this->chapterFields[$chap] as $key=>$fld)
|
||||||
{
|
{
|
||||||
|
@@ -5786,7 +5786,7 @@ e107::getDebug()->log($sc_parameters);
|
|||||||
$text .= "
|
$text .= "
|
||||||
<tr><td colspan='2'>";
|
<tr><td colspan='2'>";
|
||||||
|
|
||||||
$text .= (varset($writeParms['nolabel']) == 2) ? '' : "<div style='padding-bottom:8px'>".$leftCell."</div>" ;
|
$text .= (isset($writeParms['nolabel']) && $writeParms['nolabel'] == 2) ? '' : "<div style='padding-bottom:8px'>".$leftCell."</div>" ;
|
||||||
$text .= $rightCell."
|
$text .= $rightCell."
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user