page content load in edit
This commit is contained in:
parent
ccb5ccdf42
commit
44ab41289e
@ -57,7 +57,7 @@ class page extends common {
|
||||
'parents' => 'Le menu',
|
||||
'children' => 'Le sous-menu de la page parente'
|
||||
];
|
||||
public static $content = '';
|
||||
|
||||
|
||||
/**
|
||||
* Duplication
|
||||
|
@ -96,7 +96,7 @@ echo template::formOpen('pageEditForm');
|
||||
<div class="col12">
|
||||
<?php echo template::textarea('pageEditContent', [
|
||||
'class' => 'editorWysiwyg',
|
||||
'value' => $module::$content
|
||||
'value' => file_get_contents(self::DATA_DIR . self::$i18n . '/content/' . $this->getData(['page', $this->getUrl(2), 'content']))
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user