Browse Source

added comment to explain tpl_img() params

master
Anika Henke 13 years ago
parent
commit
a60087d326
  1. 2
      detail.php

2
detail.php

@ -37,7 +37,7 @@ if (!defined('DOKU_INC')) die();
<h1><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></h1> <h1><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></h1>
<div class="content"> <div class="content">
<?php tpl_img(900,700) ?>
<?php tpl_img(900,700); /* parameters: maximum width, maximum height (and more) */ ?>
<div class="img_detail"> <div class="img_detail">
<h2><?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?></h2> <h2><?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?></h2>

Loading…
Cancel
Save