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:
2026-02-17 00:13:59 +01:00
parent 6922b66eed
commit d2c9d97710
144 changed files with 385 additions and 285 deletions

View File

@@ -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 ?? []

View File

@@ -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; ?>

View File

@@ -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; ?>

View File

@@ -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'],