⌈⌋ ⎇ branch:  freshcode


Artifact [e62fc94319]

Artifact e62fc9431968cfa024190b8e0136a343f3a4c119:

  • File template/projects_release_entry.php — part of check-in [5cc3693148] at 2014-07-11 10:40:24 on branch trunk — Moved projects_ and index_ output into template/ Made pagination() reusable into aux.php (user: mario size: 697)

<?php
/**
 * api: include
 * type: template
 * title: Project version entry
 * description: Displays a release, with scope and changes
 * depends: strftime
 *
 * Shows versioning history of projects/
 *   → Date and Version
 *   → Scope and Changes
 *
 * This template, obviously, gets iterated over to output all
 * release entries.
 *
 */


print <<<VERSION_ENTRY
       <div class=release-entry>
          <span class=version>$entry[version]</span><span class=published_date>{$_(strftime("%d %b %Y %H:%M", $entry["t_published"]))}</span>
          <span class=release-notes>
             <b>$entry[scope]:</b>
             $entry[changes]
          </span>
       </div>
VERSION_ENTRY;


?>