| | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
レンダラの例Context レンダラ
<?php以下の出力を生成します: ***************
*** 3,13 ****
<head>
! <title>PEAR Bug Tracking</title>
</head>
<body>
<h1>PEAR Bug Tracking System</h1>
! <div class="bug-box">
! <h2>Report new Bug</h2>
! <p>Got a test case?</p>
!
! <p>Reproducable steps?</p>
</div>
</body>
</html>
--- 3,13 ----
<head>
! <title>PEAR Bug Tracker</title>
</head>
<body>
<h1>PEAR Bug Tracking System</h1>
! <div class="bug-box bug-box-first">
! <h2>Report New Bug</h2>
! <p>
! Got a test case or reproducible steps?
! </p>
</div>
</body>
</html>
Inline レンダラ
<?php以下の出力を生成します: <?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<title>PEAR Bug <del>Tracking</title></del><ins>Tracker</title></ins>
</head>
<body>
<h1>PEAR Bug Tracking System</h1>
<div <del>class="bug-box"></del><ins>class="bug-box bug-box-first"></ins>
<h2>Report <del>new</del><ins>New</ins> Bug</h2><del>
<p>Got</del><ins>
<p>
Got</ins> a test <del>case?</p>
<p>Reproducable steps?</p></del><ins>case or reproducible steps?
</p></ins>
</div>
</body>
</html>
Unified レンダラ
<?php以下の出力を生成します: @@ -3,13 +3,13 @@ <head> - <title>PEAR Bug Tracking</title> + <title>PEAR Bug Tracker</title> </head> <body> <h1>PEAR Bug Tracking System</h1> - <div class="bug-box"> - <h2>Report new Bug</h2> - <p>Got a test case?</p> - - <p>Reproducable steps?</p> + <div class="bug-box bug-box-first"> + <h2>Report New Bug</h2> + <p> + Got a test case or reproducible steps? + </p> </div> </body> </html> |
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「レンダラの例」をGoogle検索
|