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
c3d55cff
Commit
c3d55cff
authored
Oct 09, 2014
by
pana1990
Committed by
Carsten Brandt
Oct 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix code style php5.4 syntax
close 5458
parent
0d98452c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
report_html.php
build/controllers/views/translation/report_html.php
+13
-10
No files found.
build/controllers/views/translation/report_html.php
View file @
c3d55cff
<?php
<?php
use
yii\helpers\Html
;
use
yii\helpers\Html
;
?><!doctype html>
?><!doctype html>
<html>
<html>
<head>
<head>
...
@@ -27,21 +29,21 @@ use yii\helpers\Html;
...
@@ -27,21 +29,21 @@ use yii\helpers\Html;
</style>
</style>
</head>
</head>
<body>
<body>
<h1>
<?
php
echo
Html
::
encode
(
$title
)
?>
</h1>
<h1>
<?
=
Html
::
encode
(
$title
)
?>
</h1>
<ul>
<ul>
<li><strong>
Source:
</strong>
<?
php
echo
Html
::
encode
(
$sourcePath
)
?>
</li>
<li><strong>
Source:
</strong>
<?
=
Html
::
encode
(
$sourcePath
)
?>
</li>
<li><strong>
Translation:
</strong>
<?
php
echo
Html
::
encode
(
$translationPath
)
?>
</li>
<li><strong>
Translation:
</strong>
<?
=
Html
::
encode
(
$translationPath
)
?>
</li>
</ul>
</ul>
<?php
foreach
(
$results
as
$name
=>
$result
)
:?>
<?php
foreach
(
$results
as
$name
=>
$result
)
:
?>
<
h2
class
="<?
php
echo
empty
(
$result
[
'errors'
])
?
'ok'
:
'errors'
?>
">
<?php
echo
$name
?>
</h2>
<h2
class=
"
<?
=
empty
(
$result
[
'errors'
])
?
'ok'
:
'errors'
?>
"
>
<?=
$name
?>
</h2>
<?php
foreach
(
$result
[
'errors'
]
as
$error
)
:?>
<?php
foreach
(
$result
[
'errors'
]
as
$error
)
:
?>
<
p
><?
php
echo
Html
::
encode
(
$error
)
?>
</p>
<p>
<?
=
Html
::
encode
(
$error
)
?>
</p>
<?php
endforeach
?>
<?php
endforeach
?>
<?php
if
(
!
empty
(
$result
[
'diff'
]))
:
?>
<?php
if
(
!
empty
(
$result
[
'diff'
]))
:
?>
<
code
class
="
diff
"><pre><?
php echo
$this->context
->highlightDiff(
$result['diff']
)
?></pre></code>
<code
class=
"diff"
><pre>
<?
=
$this
->
context
->
highlightDiff
(
$result
[
'diff'
])
?>
</pre></code>
<?php endif?>
<?php
endif
?>
<?php
endforeach
?>
<?php
endforeach
?>
</body>
</body>
</html>
</html>
\ No newline at end of file
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