⌈⌋ branch:  freshcode


Check-in [b137de1697]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:More shortags (use `phptags --long` to reverse...)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b137de16976cf40e039a7b2576b020d35493d0ac
User & Date: mario 2021-04-05 06:25:54
Context
2021-04-05
06:32
bump version of openid/indieauth include check-in: 45949e3e63 user: mario tags: trunk
06:25
More shortags (use `phptags --long` to reverse...) check-in: b137de1697 user: mario tags: trunk
06:24
Comment out some test snippets check-in: b7d70e6f66 user: mario tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to template/bottom.php.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32


<footer id=spotlight>
<div class=container-width style="min-width:720pt">
<?php include("template/spotlight.htm"); ?>
</div>
</footer>

<footer id=bottom>
<div class=container-width>
<a href="http://fossil.include-once.org/freshcode/wiki/About">About</a> |
<a href="http://fossil.include-once.org/freshcode/wiki/Privacy">Privacy / Policy</a> |
<a href="http://fossil.include-once.org/freshcode/wiki/Contribute">Contribute</a> |
<small>
   <a href="/login"><i>optional</i> Login</a>
</small>
| <span style="color:#9AF"><b>🐦</b> twitter</span> <a href="https://twitter.com/versiontracker">@versiontracker</a>
<small style=float:right>
<span style="display:inline-block; vertical-align:middle;">bookmark<br>freshcode</span>
&nbsp;on&nbsp; <?php print social_share_links("freshcode", "http://freshcode.club/"); ?>
</small>
<br>
<small style="font-size:90%">
This is a non-commercial project.
<br>
All project entries are licensed as CC-BY-SA. There will be <a href="/feed">/atom+json feeds</a>..
</small>
</div>
</footer>

</body>
</html>




|














|












1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32


<footer id=spotlight>
<div class=container-width style="min-width:720pt">
<? include("template/spotlight.htm"); ?>
</div>
</footer>

<footer id=bottom>
<div class=container-width>
<a href="http://fossil.include-once.org/freshcode/wiki/About">About</a> |
<a href="http://fossil.include-once.org/freshcode/wiki/Privacy">Privacy / Policy</a> |
<a href="http://fossil.include-once.org/freshcode/wiki/Contribute">Contribute</a> |
<small>
   <a href="/login"><i>optional</i> Login</a>
</small>
| <span style="color:#9AF"><b>🐦</b> twitter</span> <a href="https://twitter.com/versiontracker">@versiontracker</a>
<small style=float:right>
<span style="display:inline-block; vertical-align:middle;">bookmark<br>freshcode</span>
&nbsp;on&nbsp; <?=social_share_links("freshcode", "http://freshcode.club/"); ?>
</small>
<br>
<small style="font-size:90%">
This is a non-commercial project.
<br>
All project entries are licensed as CC-BY-SA. There will be <a href="/feed">/atom+json feeds</a>..
</small>
</div>
</footer>

</body>
</html>

Changes to template/header.php.

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

39
40
41
42
43
44
45
// Content license
header("X-Content-License: Creative Commons (CC-BY-SA); version=0.8.3; spdx=CC-BY-3.0; source=https://creativecommons.org/licenses/by-sa/3.0/");

?>
<!DOCTYPE html>
<html>
<head> 
    <title><?= isset($title) ? $title : "freshcode.club" ?></title>
    <meta name=version content=0.8.3>
    <meta charset=UTF-8>
    <link rel=stylesheet href="/freshcode.css?0.8.0">
    <link rel="shortcut icon" href="/img/changes.png">
    <base href="/index">
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script><![endif]-->
    <script src="/gimmicks.js?2"></script>
    <?php if (isset($header_add)) { print $header_add . "\n"; } ?>
</head>
<body>

<nav id=topbar>
<div class=container-width>
Open source software release tracking.
<?= is_int(strpos(HTTP_HOST, ".")) ? '<small style="color:#cd9" class=version>[0.8.3 beta]</small>' : '<b style="color:#c54">[local dev]</b>'; ?>
<span style=float:right>

<a href="//freshfoss.com/">freshfoss.com</a> |
<b><a href="//freshcode.club/">freshcode.club</a></b>
</span>
</div>
</nav>

<footer id=logo>







|








|






|

>







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Content license
header("X-Content-License: Creative Commons (CC-BY-SA); version=0.8.3; spdx=CC-BY-3.0; source=https://creativecommons.org/licenses/by-sa/3.0/");

?>
<!DOCTYPE html>
<html>
<head> 
    <title><?=isset($title) ? $title : "freshcode.club" ?></title>
    <meta name=version content=0.8.3>
    <meta charset=UTF-8>
    <link rel=stylesheet href="/freshcode.css?0.8.0">
    <link rel="shortcut icon" href="/img/changes.png">
    <base href="/index">
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script><![endif]-->
    <script src="/gimmicks.js?2"></script>
    <? if (isset($header_add)) { print $header_add . "\n"; } ?>
</head>
<body>

<nav id=topbar>
<div class=container-width>
Open source software release tracking.
<?=is_int(strpos(HTTP_HOST, ".")) ? '<small style="color:#cd9" class=version>[0.8.3 beta]</small>' : '<b style="color:#c54">[local dev]</b>'; ?>
<span style=float:right>
<a href="https://open-source-security-software.net/">freshermeat</a> |
<a href="//freshfoss.com/">freshfoss.com</a> |
<b><a href="//freshcode.club/">freshcode.club</a></b>
</span>
</div>
</nav>

<footer id=logo>

Changes to template/index_sidebar.php.

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
?>

<!--aside-->
<td id=sidebar valign=top>

    <section class="article-links untrimmed feed-fossies">
        <a href="http://fossies.org/"><h5><span class=green>Fossies</span>.org <small class=blue>/misc</small></h5></a>
        <?php  readfile("template/feed.fossies.htm");  ?>
    </section>

    <section class="article-links trimmed">
        <h5>reddit<em>/r/linux</em></h5>
        <?php  readfile("template/feed.reddit.htm");  ?>
    </section>

    <section class="article-links untrimmed">
        <h5>DistroWatch</h5>
        <?php  readfile("template/feed.distrowatch.htm");  ?>
    </section>

    <section class="article-links trimmed">
        <h5>Games <a href="http://www.linuxgames.com/" style=display:inline>LG</a>, <a href="http://www.gamingonlinux.com/" style=display:inline>GoL</a>, <a href="http://freegamer.blogspot.com/" style=display:inline>FG</a></h5>
        <?php  readfile("template/feed.gamingonlinux.htm");  ?>
        <?php  readfile("template/feed.linuxgames.htm");  ?>
        <?php  readfile("template/feed.linuxgamenews.htm");  ?>
        <?php  readfile("template/feed.freegamer.htm");  ?>
    </section>

    <section class="article-links untrimmed">
        <h5>Sourceforge Files</h5>
        <?php  readfile("template/feed.sourceforge.htm");  ?>
    </section>

    <section class="article-links trimmed">
        <h5>beOpen</h5>
        <?php  readfile("template/feed.beopen.htm");  ?>
    </section>

    <section class="article-links trimmed">
        <h5>openDesktop</h5>
        <?php  readfile("template/feed.gtkapps.htm");  ?>
        <?php  readfile("template/feed.kdeapps.htm");  ?>
        <?php  readfile("template/feed.qtapps.htm");  ?>
        <?php  readfile("template/feed.cliapps.htm");  ?>
    </section>

    <section class="article-links" style="max-width: 220px; overflow: hidden;">
        <a href="/github-releases"><h5>GitHub releases →</h5></a>
        <?php  readfile("template/feed.github.htm");  ?>
    </section>

    <section class="article-links">
        <a href="/launchpad-releases"><h5>LaunchPad news →</h5></a>
        <?php  readfile("template/feed.launchpad.htm");  ?>
    </section>

</td>
<!--/aside-->







|




|




|




|
|
|
|




|




|




|
|
|
|




|




|




14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
?>

<!--aside-->
<td id=sidebar valign=top>

    <section class="article-links untrimmed feed-fossies">
        <a href="http://fossies.org/"><h5><span class=green>Fossies</span>.org <small class=blue>/misc</small></h5></a>
        <?  readfile("template/feed.fossies.htm");  ?>
    </section>

    <section class="article-links trimmed">
        <h5>reddit<em>/r/linux</em></h5>
        <?  readfile("template/feed.reddit.htm");  ?>
    </section>

    <section class="article-links untrimmed">
        <h5>DistroWatch</h5>
        <?  readfile("template/feed.distrowatch.htm");  ?>
    </section>

    <section class="article-links trimmed">
        <h5>Games <a href="http://www.linuxgames.com/" style=display:inline>LG</a>, <a href="http://www.gamingonlinux.com/" style=display:inline>GoL</a>, <a href="http://freegamer.blogspot.com/" style=display:inline>FG</a></h5>
        <?  readfile("template/feed.gamingonlinux.htm");  ?>
        <?  readfile("template/feed.linuxgames.htm");  ?>
        <?  readfile("template/feed.linuxgamenews.htm");  ?>
        <?  readfile("template/feed.freegamer.htm");  ?>
    </section>

    <section class="article-links untrimmed">
        <h5>Sourceforge Files</h5>
        <?  readfile("template/feed.sourceforge.htm");  ?>
    </section>

    <section class="article-links trimmed">
        <h5>beOpen</h5>
        <?  readfile("template/feed.beopen.htm");  ?>
    </section>

    <section class="article-links trimmed">
        <h5>openDesktop</h5>
        <?  readfile("template/feed.gtkapps.htm");  ?>
        <?  readfile("template/feed.kdeapps.htm");  ?>
        <?  readfile("template/feed.qtapps.htm");  ?>
        <?  readfile("template/feed.cliapps.htm");  ?>
    </section>

    <section class="article-links" style="max-width: 220px; overflow: hidden;">
        <a href="/github-releases"><h5>GitHub releases →</h5></a>
        <?  readfile("template/feed.github.htm");  ?>
    </section>

    <section class="article-links">
        <a href="/launchpad-releases"><h5>LaunchPad news →</h5></a>
        <?  readfile("template/feed.launchpad.htm");  ?>
    </section>

</td>
<!--/aside-->

Changes to template/search_form.php.

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
        <input name=tag type=text size=50>
        <small>Comma-separated list of tags you want to include.</small>
    </label>

    <label>
        Licenses<br>
        <select name="license[]" multiple size=3>
            <?php print form_select_options($licenses, NULL); ?>
        </select>
        <small>Constrain results to a specific libre / open source / free software licenses.</small>
    </label>
    
    <label> 
       <input type=submit title=Search>
    </label>
    
</form>







|









28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
        <input name=tag type=text size=50>
        <small>Comma-separated list of tags you want to include.</small>
    </label>

    <label>
        Licenses<br>
        <select name="license[]" multiple size=3>
            <?=form_select_options($licenses, NULL); ?>
        </select>
        <small>Constrain results to a specific libre / open source / free software licenses.</small>
    </label>
    
    <label> 
       <input type=submit title=Search>
    </label>
    
</form>

Changes to template/submit_form.php.

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 * Also prints out a trivial diversion form for crawlbots.
 *
 */


// inline placeholders
if (!strlen(trim($data["urls"]))) {
    $data["urls"] = "SourceForge = \r\nGitHub = \r\nForum-Manual = \r\n";
}

// editors note
$editor_note = !empty($data["editor_note"]) ? "<var class=editor-note>$data[editor_note]</var>" : "";

// lock field from OpenID and/or password
$lock_default = $_SESSION["openid"];







|







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 * Also prints out a trivial diversion form for crawlbots.
 *
 */


// inline placeholders
if (!strlen(trim($data["urls"]))) {
    $data["urls"] = "SourceForge = \r\nGitLab = \r\nForum-Manual = \r\n";
}

// editors note
$editor_note = !empty($data["editor_note"]) ? "<var class=editor-note>$data[editor_note]</var>" : "";

// lock field from OpenID and/or password
$lock_default = $_SESSION["openid"];

Changes to template/submit_sidebar.php.

27
28
29
30
31
32
33
34
35
36
37
        if ($is_new) {
           print "<p>Or <a class='action submit-import'
           style='color:blue'>import</a> a project..</p>";
        }
        ?>
    </section>

    <?php include("template/submit_import.php"); ?>
    
</td>








|



27
28
29
30
31
32
33
34
35
36
37
        if ($is_new) {
           print "<p>Or <a class='action submit-import'
           style='color:blue'>import</a> a project..</p>";
        }
        ?>
    </section>

    <? include("template/submit_import.php"); ?>
    
</td>