ver. 0.285: Tpl → Shared\Tpl namespace, CurlServer removal, thumb.php fix
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?= \Tpl::view('components/form-edit', ['form' => $this->form]); ?>
|
||||
<?= \Tpl::view('articles/article-edit-custom-script', [
|
||||
<?= \Shared\Tpl\Tpl::view('components/form-edit', ['form' => $this->form]); ?>
|
||||
<?= \Shared\Tpl\Tpl::view('articles/article-edit-custom-script', [
|
||||
'article' => $this->article,
|
||||
'user' => $this->user,
|
||||
'languages' => $this->form->languages ?? []
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?= \Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>
|
||||
<?= \Shared\Tpl\Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>
|
||||
|
||||
<?php if (!empty($this->viewModel->customScriptView)): ?>
|
||||
<?= \Tpl::view($this->viewModel->customScriptView, ['list' => $this->viewModel]); ?>
|
||||
<?= \Shared\Tpl\Tpl::view($this->viewModel->customScriptView, ['list' => $this->viewModel]); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?= \Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>
|
||||
<?= \Shared\Tpl\Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>
|
||||
|
||||
<?php if (!empty($this->viewModel->customScriptView)): ?>
|
||||
<?= \Tpl::view($this->viewModel->customScriptView, ['list' => $this->viewModel]); ?>
|
||||
<?= \Shared\Tpl\Tpl::view($this->viewModel->customScriptView, ['list' => $this->viewModel]); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<input type="checkbox" class="g-checkbox" name="pages[]" id="article_page_<?= $page['id'];?>" value="<?= $page['id'];?>" <? if ( is_array( $this -> article_pages ) and in_array( $page['id'], $this -> article_pages ) ):?>checked="checked"<? endif;?> />
|
||||
<label for="article_page_<?= $page['id'];?>" class="mb0"><?= $page['title'];?></label>
|
||||
</div>
|
||||
<?= \Tpl::view( 'articles/subpages-list', [
|
||||
<?= \Shared\Tpl\Tpl::view( 'articles/subpages-list', [
|
||||
'pages' => $page['subpages'],
|
||||
'article_pages' => $this->article_pages,
|
||||
'parent_id' => $page['id'],
|
||||
|
||||
Reference in New Issue
Block a user