print submitted block only if there is submitted data

stBorchert - March 3, 2007 - 15:43
Project:Gutenberg
Version:5.x-1.0
Component:Code
Category:feature request
Priority:minor
Assigned:Unassigned
Status:closed
Description

<span class="post-footers"><?php print $submitted ?></span> results in an empty <span></span> if $submitted is empty.
The patch fixes this and replaces "Permalink" with

<?php
print t('Permalink')
?>
.

Besides: what a great idea! Thank you.

AttachmentSize
node.tpl_.patch654 bytes

#1

eaton - March 7, 2007 - 21:50
Status:active» fixed

Fixed in the 1.1 release. Thanks!

#2

stBorchert - March 16, 2007 - 09:04
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.