Display Date in template_display_media Display Date in template_display_media
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Display Date in template_display_media

Started by Kugelblitz, February 14, 2006, 01:38:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kugelblitz

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

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

// 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;