forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Kugelblitz on February 14, 2006, 01:38:12 pm

Title: Display Date in template_display_media
Post by: Kugelblitz on February 14, 2006, 01:38:12 pm
Hey

how do I display the Date in the template_display_media ?
http://groups.kisd.de/sydney_06/swaptv/displayimage.php?album=1&pos=0 (http://groups.kisd.de/sydney_06/swaptv/displayimage.php?album=1&pos=0)

I want it on the top left above the Movie Clip.

Code: [Select]
// HTML template for intermediate image display - HS: valign
$template_display_media = <<<EOT
                <td colspan="4" align="left" valign="top" class="display_media" height="{CELL_HEIGHT}" style="white-space: nowrap; padding: 0px;">
                        <table cellspacing="2" cellpadding="0" class="imageborder">
<!-- BEGIN title -->
                        <tr>
                         <td class="title">
                             {TITLE}
                            </td>
                           <td class="date">
                           {DATE} DD.MM.YYYY
                            </td>

                        </tr>
<!-- END title -->
<!-- BEGIN HR -->
                        <tr>
                         <td colspan="2" class="unterstrichen" >&nbsp;</td>
                        </tr>
<!-- END HR -->

<!-- BEGIN Media -->
                        <tr>
                         <td align="left" colspan="2">
                             {IMAGE}
                                {ADMIN_MENU}
                            </td>
                        </tr>
<!-- END Media -->                        
<!-- BEGIN img_desc -->
                        
<!-- BEGIN caption -->
               <tr>
                        <td class="tableb" colspan="2">
         {CAPTION}
                            </td>
                       </tr>
<!-- END caption -->
                   </table>
<!-- END img_desc -->
             </td>
EOT;