Check-in [5fdce9467d]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Cut down the title length to 64 chars beforehand. (New layout expands too much else.) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
5fdce9467d8044437136f4edd7370628 |
User & Date: | mario 2015-04-05 18:18:46 |
Context
2015-04-05
| ||
18:19 | Fixed "TUV" link. And raise preview size to 120x90 now. check-in: f1a7b0b015 user: mario tags: trunk | |
18:18 | Cut down the title length to 64 chars beforehand. (New layout expands too much else.) check-in: 5fdce9467d user: mario tags: trunk | |
18:18 | Full sized preview image 160x120 check-in: 0ab86b164c user: mario tags: trunk | |
Changes
Changes to template/index_project.php.
︙ | ︙ | |||
23 24 25 26 27 28 29 30 31 32 33 34 35 36 | // greying out flagged entries? $css_flags = ($entry["flag"] < 2) ? "" : "style=\"opacity: " . (1.0 - 0.2 * $entry["flag"]) . "\""; $css_class = preg_match("/^\d+\.0(\.0)+$/", $entry["version"]) ? " sponsored" : ""; // desc $license_long = isset(tags::$licenses[$entry["license"]]) ? tags::$licenses[$entry["license"]] : $entry["license"]; // Write print <<<HTML <article class="project$css_class" $css_flags itemscope itemtype="http://schema.org/SoftwareApplication"> <h3> <a href="/projects/$entry[name]"><span itemprop=name>$entry[title]</span> <em class=version itemprop=softwareVersion>$entry[version]</em></a> | > > > | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | // greying out flagged entries? $css_flags = ($entry["flag"] < 2) ? "" : "style=\"opacity: " . (1.0 - 0.2 * $entry["flag"]) . "\""; $css_class = preg_match("/^\d+\.0(\.0)+$/", $entry["version"]) ? " sponsored" : ""; // desc $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" $css_flags itemscope itemtype="http://schema.org/SoftwareApplication"> <h3> <a href="/projects/$entry[name]"><span itemprop=name>$entry[title]</span> <em class=version itemprop=softwareVersion>$entry[version]</em></a> |
︙ | ︙ |