Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
2d3ce9eb
Commit
2d3ce9eb
authored
Jun 28, 2016
by
andre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1255 п2
parent
2d22dbcb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
common/modules/blog/views/post/_sidebar.php
common/modules/blog/views/post/_sidebar.php
+5
-3
No files found.
common/modules/blog/views/post/_sidebar.php
View file @
2d3ce9eb
...
...
@@ -25,8 +25,9 @@ use common\modules\languages\models\Languages;
?>
<?php
if
(
$tags
)
:
?>
<div
class=
"sidebar_module"
>
<h2>
<?=
\Yii
::
t
(
'blog'
,
'Categories'
);
?>
</h2>
<!-- add 22.05.16 -->
<?
if
(
Yii
::
$app
->
controller
->
action
->
id
!=
'view'
)
:
?>
<h2>
<?=
\Yii
::
t
(
'blog'
,
'Categories'
);
?>
</h2>
<div
class=
"categories_form"
>
<form
action=
"/blog/post/tag-index"
>
<?
$cookie
=
\Yii
::
$app
->
controller
->
getCookie
()
?>
...
...
@@ -36,10 +37,11 @@ use common\modules\languages\models\Languages;
<?php
endforeach
;
?>
</form>
</div>
<?
endif
?>
<!-- add 22.05.16 -->
</div>
<?php
endif
;
?>
<?
if
(
Yii
::
$app
->
controller
->
action
->
id
!=
'view'
)
:
?>
<br/><br/>
<div
class=
"sidebar_module"
>
<div
class=
"sidebar_module_body"
>
...
...
@@ -53,7 +55,7 @@ use common\modules\languages\models\Languages;
</div>
</div>
<?
endif
?>
<?php
$posts
=
Post
::
find
();
if
(
$model
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment