Beispiel #1
0
<a href="<?php 
echo kGetDocumentURL();
?>
"><?php 
echo kGetDocumentCaption();
?>
</a>
Beispiel #2
0
    if (count(kGetPageDocuments()) > 0) {
        ?>
			<div id="pageDocuments"><ul>
			<?php 
        $i = 0;
        foreach (kGetPageDocuments() as $doc) {
            kSetDocument($doc);
            ?>
				<li><a href="<?php 
            echo kGetDocumentURL();
            ?>
" title="<?php 
            echo kGetDocumentAlt();
            ?>
"><?php 
            echo trim(kGetDocumentCaption()) != "" ? kGetDocumentCaption() : kGetDocumentFilename();
            ?>
</a></li>
				<?php 
            $i++;
        }
        ?>
</ul>
			</div>
			<?php 
    }
    ?>

		<div class="clearBoth"></div>
	</div>
	<?php