Skip to content

Commit

Permalink
[en] correct original text
Browse files Browse the repository at this point in the history
  • Loading branch information
blackpuppy committed Sep 5, 2015
1 parent 2ad5435 commit e00f1b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions en/core-libraries/helpers/html.rst
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ methods of the HtmlHelper and how to use them.

echo $this->Html->image('DebugKit.icon.png');

If you want to include a image file which shares a name with a loaded
If you want to include an image file which shares a name with a loaded
plugin you can do the following. For example if you had a ``Blog`` plugin,
and also wanted to include ``app/webroot/img/Blog.icon.png``, you would::

Expand Down Expand Up @@ -358,7 +358,7 @@ methods of the HtmlHelper and how to use them.

<a href="/pages/home" class="button" target="_blank">Enter</a>

Use ``'full_base'=>true`` option for absolute URLs::
Use ``'full_base' => true`` option for absolute URLs::

echo $this->Html->link(
'Dashboard',
Expand All @@ -376,7 +376,7 @@ methods of the HtmlHelper and how to use them.
<a href="http://www.yourdomain.com/dashboards/index">Dashboard</a>


Specify ``confirm`` key in options to display a JavaScript ``confirm()``
Specify ``confirm`` key in $options to display a JavaScript ``confirm()``
dialog::

echo $this->Html->link(
Expand Down Expand Up @@ -540,7 +540,7 @@ methods of the HtmlHelper and how to use them.
codecs='theora, vorbis'"/>
</video>
.. php:method:: tag(string $tag, string $text, array $htmlAttributes)
.. php:method:: tag(string $tag, string $text, array $options)
:param string $tag: The tag name being generated.
:param string $text: The contents for the tag.
Expand Down

0 comments on commit e00f1b5

Please sign in to comment.