Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
6bdf02dc
Commit
6bdf02dc
authored
Mar 02, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #2601
parent
af33e821
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
18 additions
and
19 deletions
+18
-19
eventDetails.php
extensions/apidoc/templates/html/views/eventDetails.php
+1
-1
eventSummary.php
extensions/apidoc/templates/html/views/eventSummary.php
+2
-3
propertyDetails.php
extensions/apidoc/templates/html/views/propertyDetails.php
+2
-2
summary.php
extensions/debug/views/default/panels/db/summary.php
+1
-1
view.php
extensions/gii/generators/controller/templates/view.php
+1
-1
create.php
extensions/gii/generators/crud/templates/views/create.php
+2
-2
index.php
extensions/gii/generators/crud/templates/views/index.php
+3
-3
update.php
extensions/gii/generators/crud/templates/views/update.php
+2
-2
view.php
extensions/gii/generators/crud/templates/views/view.php
+4
-4
No files found.
extensions/apidoc/templates/html/views/eventDetails.php
View file @
6bdf02dc
...
...
@@ -18,7 +18,7 @@ ArrayHelper::multisort($events, 'name');
<h2>
Event Details
</h2>
<?php
foreach
(
$events
as
$event
)
:
?>
<div
class=
"detailHeader h3"
id=
"
<?=
$event
->
name
.
'-detail'
?>
"
>
<?
php
echo
$event
->
name
;
?>
<?
=
$event
->
name
?>
<span
class=
"detailHeaderTag small"
>
event
<?php
if
(
!
empty
(
$event
->
since
))
:
?>
...
...
extensions/apidoc/templates/html/views/eventSummary.php
View file @
6bdf02dc
...
...
@@ -36,11 +36,11 @@ ArrayHelper::multisort($events, 'name');
<td>
<?=
ApiMarkdown
::
process
(
$event
->
shortDescription
,
$event
->
definedBy
,
true
)
?>
<?php
if
(
!
empty
(
$event
->
since
))
:
?>
(available since version
<?
php
echo
$event
->
since
;
?>
)
(available since version
<?
=
$event
->
since
?>
)
<?php
endif
;
?>
</td>
<td>
<?=
$this
->
context
->
typeLink
(
$event
->
definedBy
)
?>
</td>
</tr>
<?php
endforeach
;
?>
</table>
</div>
\ No newline at end of file
</div>
extensions/apidoc/templates/html/views/propertyDetails.php
View file @
6bdf02dc
...
...
@@ -21,7 +21,7 @@ ArrayHelper::multisort($properties, 'name');
<?php
foreach
(
$properties
as
$property
)
:
?>
<div
class=
"detailHeader h3"
id=
"
<?=
$property
->
name
.
'-detail'
?>
"
>
<?
php
echo
$property
->
name
;
?>
<?
=
$property
->
name
?>
<span
class=
"detailHeaderTag small"
>
<?=
$property
->
visibility
?>
<?php
if
(
$property
->
getIsReadOnly
())
echo
' <em>read-only</em> '
;
?>
...
...
@@ -33,7 +33,7 @@ ArrayHelper::multisort($properties, 'name');
</span>
</div>
<div
class=
"signature"
>
<?
php
echo
$this
->
context
->
renderPropertySignature
(
$property
);
?>
</div>
<div
class=
"signature"
>
<?
=
$this
->
context
->
renderPropertySignature
(
$property
)
?>
</div>
<?=
ApiMarkdown
::
process
(
$property
->
description
,
$type
)
?>
...
...
extensions/debug/views/default/panels/db/summary.php
View file @
6bdf02dc
<?php
if
(
$queryCount
)
:
?>
<div
class=
"yii-debug-toolbar-block"
>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
title=
"Executed
<?
php
echo
$queryCount
;
?>
database queries which took
<?=
$queryTime
?>
."
>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
title=
"Executed
<?
=
$queryCount
?>
database queries which took
<?=
$queryTime
?>
."
>
DB
<span
class=
"label label-info"
>
<?=
$queryCount
?>
</span>
<span
class=
"label"
>
<?=
$queryTime
?>
</span>
</a>
</div>
...
...
extensions/gii/generators/controller/templates/view.php
View file @
6bdf02dc
...
...
@@ -18,5 +18,5 @@ echo "<?php\n";
<p>
You may change the content of this page by modifying
the file
<code>
<?=
'<?
php'
?>
echo
__FILE__; ?>
</code>
.
the file
<code>
<?=
'<?
='
?>
__FILE__; ?>
</code>
.
</p>
extensions/gii/generators/crud/templates/views/create.php
View file @
6bdf02dc
...
...
@@ -26,8 +26,8 @@ $this->params['breadcrumbs'][] = $this->title;
<h1>
<?=
"<?= "
?>
Html::encode($this->title) ?>
</h1>
<?=
"<?
php "
?>
echo
$this->render('_form', [
<?=
"<?
= "
?>
$this->render('_form', [
'model' => $model,
])
;
?>
]) ?>
</div>
extensions/gii/generators/crud/templates/views/index.php
View file @
6bdf02dc
...
...
@@ -37,7 +37,7 @@ $this->params['breadcrumbs'][] = $this->title;
</p>
<?php
if
(
$generator
->
indexWidgetType
===
'grid'
)
:
?>
<?=
"<?
php "
?>
echo
GridView::widget([
<?=
"<?
= "
?>
GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
...
...
@@ -69,13 +69,13 @@ if (($tableSchema = $generator->getTableSchema()) === false) {
],
]); ?>
<?php
else
:
?>
<?=
"<?
php "
?>
echo
ListView::widget([
<?=
"<?
= "
?>
ListView::widget([
'dataProvider' => $dataProvider,
'itemOptions' => ['class' => 'item'],
'itemView' => function ($model, $key, $index, $widget) {
return Html::a(Html::encode($model->
<?=
$nameAttribute
?>
), ['view',
<?=
$urlParams
?>
]);
},
])
;
?>
]) ?>
<?php
endif
;
?>
</div>
extensions/gii/generators/crud/templates/views/update.php
View file @
6bdf02dc
...
...
@@ -29,8 +29,8 @@ $this->params['breadcrumbs'][] = 'Update';
<h1>
<?=
"<?= "
?>
Html::encode($this->title) ?>
</h1>
<?=
"<?
php "
?>
echo
$this->render('_form', [
<?=
"<?
= "
?>
$this->render('_form', [
'model' => $model,
])
;
?>
]) ?>
</div>
extensions/gii/generators/crud/templates/views/view.php
View file @
6bdf02dc
...
...
@@ -31,16 +31,16 @@ $this->params['breadcrumbs'][] = $this->title;
<p>
<?=
"<?= "
?>
Html::a('Update', ['update',
<?=
$urlParams
?>
], ['class' => 'btn btn-primary']) ?>
<?=
"<?
php "
?>
echo
Html::a('Delete', ['delete',
<?=
$urlParams
?>
], [
<?=
"<?
= "
?>
Html::a('Delete', ['delete',
<?=
$urlParams
?>
], [
'class' => 'btn btn-danger',
'data' => [
'confirm' => Yii::t('app', 'Are you sure to delete this item?'),
'method' => 'post',
],
])
;
?>
]) ?>
</p>
<?=
"<?
php "
?>
echo
DetailView::widget([
<?=
"<?
= "
?>
DetailView::widget([
'model' => $model,
'attributes' => [
<?php
...
...
@@ -56,6 +56,6 @@ if (($tableSchema = $generator->getTableSchema()) === false) {
}
?>
],
])
;
?>
]) ?>
</div>
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