| 1 |
<?php |
<?php |
| 2 |
// $Id: moviereview.module,v 1.7 2006/05/15 02:12:03 emiliano Exp $ |
// $Id: moviereview.module,v 1.8 2006/05/15 23:34:18 emiliano Exp $ |
| 3 |
|
|
| 4 |
// Adapted by Emiliano <emiliano@webinteligente.com.br> |
// Adapted by Emiliano <emiliano@webinteligente.com.br> |
| 5 |
// from bookreview module written by Jeremy Andrews <jeremy@kerneltrap.org> |
// from bookreview module written by Jeremy Andrews <jeremy@kerneltrap.org> |
| 719 |
if($node->body) { |
if($node->body) { |
| 720 |
$output .= " <div class=\"synopsis\">\n"; |
$output .= " <div class=\"synopsis\">\n"; |
| 721 |
$output .= " <span class=\"label4\">". t('Synopsis') ."</span><br />\n"; |
$output .= " <span class=\"label4\">". t('Synopsis') ."</span><br />\n"; |
| 722 |
$output .= " <span class=\"content2\">". check_plain($node->body, $node->format) ."</span>\n"; |
$output .= " <span class=\"content2\">". check_markup($node->body, $node->format) ."</span>\n"; |
| 723 |
$output .= " </div><br />\n"; |
$output .= " </div><br />\n"; |
| 724 |
} |
} |
| 725 |
if($node->location) { |
if($node->location) { |
| 726 |
$output .= " <div class=\"location\">\n"; |
$output .= " <div class=\"location\">\n"; |
| 727 |
$output .= " <span class=\"label4\">". t('Location') ."</span><br />\n"; |
$output .= " <span class=\"label4\">". t('Location') ."</span><br />\n"; |
| 728 |
$output .= " <span class=\"content2\">". check_plain($node->location, $node->format) ."</span>\n"; |
$output .= " <span class=\"content2\">". check_markup($node->location, $node->format) ."</span>\n"; |
| 729 |
$output .= " </div><br />\n"; |
$output .= " </div><br />\n"; |
| 730 |
} |
} |
| 731 |
if($node->review) { |
if($node->review) { |
| 732 |
$output .= " <div class=\"review\">\n"; |
$output .= " <div class=\"review\">\n"; |
| 733 |
$output .= " <span class=\"label4\">". t('Review') ."</span><br />\n"; |
$output .= " <span class=\"label4\">". t('Review') ."</span><br />\n"; |
| 734 |
$output .= " <span class=\"content2\">". check_plain($node->review, $node->format) ."</span>\n"; |
$output .= " <span class=\"content2\">". check_markup($node->review, $node->format) ."</span>\n"; |
| 735 |
$output .= " </div><br />\n"; |
$output .= " </div><br />\n"; |
| 736 |
} |
} |
| 737 |
if($node->movielinks[0]) { |
if($node->movielinks[0]) { |