Correct document page of HTML page.
No exist secure_link() function, so changed to link_to_secure(). The 2nd parameter of HTML::style() is array, but passed a string in sample code. Signed-off-by:Hirohisa Kawase <hiro.soft@gmail.com>
This commit is contained in:
parent
205cc4869d
commit
6bef39b0f1
|
@ -40,7 +40,7 @@ #### Generating a reference to a CSS file:
|
||||||
|
|
||||||
#### Generating a reference to a CSS file using a given media type:
|
#### Generating a reference to a CSS file using a given media type:
|
||||||
|
|
||||||
echo HTML::style('css/common.css', 'print');
|
echo HTML::style('css/common.css', array('media' => 'print'));
|
||||||
|
|
||||||
*Further Reading:*
|
*Further Reading:*
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ #### Generating a link from a URI:
|
||||||
|
|
||||||
#### Generating a link that should use HTTPS:
|
#### Generating a link that should use HTTPS:
|
||||||
|
|
||||||
echo HTML::secure_link('user/profile', 'User Profile');
|
echo HTML::link_to_secure('user/profile', 'User Profile');
|
||||||
|
|
||||||
#### Generating a link and specifying extra HTML attributes:
|
#### Generating a link and specifying extra HTML attributes:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue