Check-in [c489e4d6f3]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Transition to microformats2 |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
c489e4d6f3f41c5f25b3e0e4f3e07b5c |
| User & Date: | mario 2021-12-21 13:48:12 |
Context
|
2021-12-21
| ||
| 13:48 | Log submit failures check-in: 51269b3994 user: mario tags: trunk | |
| 13:48 | Transition to microformats2 check-in: c489e4d6f3 user: mario tags: trunk | |
| 13:47 | Introduce twitter tags. check-in: a1ee3e9889 user: mario tags: trunk | |
Changes
Changes to template/index_project.php.
| ︙ | ︙ | |||
29 30 31 32 33 34 35 |
$license_long = isset(tags::$licenses[$entry["license"]]) ? tags::$licenses[$entry["license"]] : $entry["license"];
if (strlen($entry["title"]) >= 64) {
$entry["title"] = substr($entry["title"], 0, 64) . "…";
}
// Write
print <<<HTML
| > | | | | | | | | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
$license_long = isset(tags::$licenses[$entry["license"]]) ? tags::$licenses[$entry["license"]] : $entry["license"];
if (strlen($entry["title"]) >= 64) {
$entry["title"] = substr($entry["title"], 0, 64) . "…";
}
// Write
print <<<HTML
<article class="project$css_class h-product" $css_flags itemscope itemtype="http://schema.org/SoftwareApplication">
<h3>
<a href="/projects/$entry[name]" class="p-name"><span itemprop=name>$entry[title]</span>
<em class=version itemprop=softwareVersion>$entry[version]</em></a>
<span class=links>
<span class=published_date itemprop=datePublished>$entry[formatted_date]</span>
<a href="$entry[homepage]" itemprop=url class=u-url><img src="img/home.png" width=20 height=20 alt="⛵"></a>
<a href="$entry[download]" itemprop=downloadUrl><img src="img/disk.png" width=20 height=20 alt="💾"></a>
</span>
</h3>
<a href="$entry[homepage]"><img class="preview u-photo" itemprop=image src="$entry[image]" align=right width=120 height=90 border=0></a>
<p class="description trimmed e-description" itemprop=featureList>$entry[description]</p>
<p class="release-notes trimmed" itemprop=releaseNotes><b>$entry[scope]:</b> $entry[changes]</p>
<p class=tags itemprop=keywords><img src="img/tag.png" width=30 align=middle height=22 border=0><a class="license p-category" title="$license_long">$entry[license] </a>{$_(wrap_tags($entry["tags"]))}</p>
</article>\n\n\n
HTML;
?>
|