-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Исправлены проблемы с фильтрами для типов контента по умолчанию,
- Loading branch information
Showing
32 changed files
with
256 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
templates/modern/controllers/content/category_form.tpl.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
|
||
$page_title = $do=='add' ? | ||
$ctype['title'] . ': <span class="text-muted">' . LANG_ADD_CATEGORY . '</span>': | ||
$ctype['title'] . ': <span class="text-muted">' . LANG_EDIT_CATEGORY . '</span>'; | ||
|
||
$this->setPageTitle($do=='add' ? LANG_ADD_CATEGORY : LANG_EDIT_CATEGORY); | ||
|
||
if ($ctype['options']['list_on']){ | ||
$this->addBreadcrumb($ctype['title'], href_to($ctype['name'])); | ||
} | ||
|
||
$this->addBreadcrumb($do=='add' ? LANG_ADD_CATEGORY : LANG_EDIT_CATEGORY); | ||
|
||
$this->addToolButton(array( | ||
'class' => 'save', | ||
'icon' => 'save', | ||
'title' => LANG_SAVE, | ||
'href' => "javascript:icms.forms.submit()" | ||
)); | ||
|
||
$this->addToolButton(array( | ||
'class' => 'cancel', | ||
'icon' => 'window-close', | ||
'title' => LANG_CANCEL, | ||
'href' => $back_url ? $back_url : href_to($ctype['name']) | ||
)); | ||
|
||
?> | ||
|
||
<h1><?php echo $page_title ?></h1> | ||
|
||
<?php | ||
|
||
$category['ctype_name'] = $ctype['name']; | ||
|
||
$this->renderForm($form, $category, array( | ||
'action' => '', | ||
'cancel' => array('show' => true, 'href' => $back_url ? $back_url : href_to($ctype['name'])), | ||
'method' => 'post', | ||
'toolbar' => false | ||
), $errors); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
$this->setPageTitle(LANG_EDIT_FOLDER); | ||
|
||
if ($ctype['options']['list_on']){ | ||
$this->addBreadcrumb($ctype['title'], href_to($ctype['name'])); | ||
} | ||
|
||
$this->addBreadcrumb(LANG_EDIT_CATEGORY); | ||
|
||
$this->addToolButton(array( | ||
'class' => 'save', | ||
'icon' => 'save', | ||
'title' => LANG_SAVE, | ||
'href' => "javascript:icms.forms.submit()" | ||
)); | ||
|
||
$this->addToolButton(array( | ||
'class' => 'cancel', | ||
'icon' => 'window-close', | ||
'title' => LANG_CANCEL, | ||
'href' => href_to($ctype['name']) | ||
)); | ||
|
||
?> | ||
|
||
<h1><?php echo LANG_EDIT_FOLDER; ?></h1> | ||
|
||
<?php | ||
|
||
$this->renderForm($form, $folder, array( | ||
'action' => '', | ||
'method' => 'post', | ||
'toolbar' => false | ||
), $errors); |
Oops, something went wrong.