Check-in [5b3ec70a6d]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | New logo, initial tags:: handling, canonic autoloader (shared.phar). |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | 0.5 |
| Files: | files | file ages | folders |
| SHA1: |
5b3ec70a6de0de874fe2b747a24e350e |
| User & Date: | mario 2014-07-23 19:47:02 |
Context
|
2014-07-23
| ||
| 19:48 | Template for frontpage listings check-in: d01da6f0ff user: mario tags: trunk | |
| 19:47 | New logo, initial tags:: handling, canonic autoloader (shared.phar). check-in: 5b3ec70a6d user: mario tags: trunk, 0.5 | |
| 19:44 | Introduce language-specific links (Accept-Language), and Javascript confirm() for StackExchange sites. check-in: b7d1418ef5 user: mario tags: trunk | |
Changes
Changes to config.orig.php.
1 2 3 4 5 | <?php /** * api: freshcode * title: Freshcode.club config * description: initialization code | | > > > > > > > > | < < < < | < | 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 33 34 35 36 37 38 39 40 41 42 |
<?php
/**
* api: freshcode
* title: Freshcode.club config
* description: initialization code
* version: 0.5.0
* plugin-register: include_once("$FN");
*
*
* Automatic and manual dependencies.
* Base configuration.
*
*/
// autoloader
include("./shared.phar");
// input filter
define("INPUT_QUIET", 1);
define("INPUT_DIRECT", "raw");
include_once("lib/input.php");
// database
include_once("lib/db.php");
db(new PDO("sqlite:freshcode.db"));
// auth+session
define("LOGIN_REQUIRED", 0);
define("HTTP_HOST", $_SERVER->id["HTTP_HOST"]);
include_once("lib/deferred_openid_session.php");
// utility functions
include_once("aux.php");
// List of moderator OpenID handles
$moderator_ids = array(
);
?>
|
Changes to doc/logo.svgz.
cannot compute difference between binary files
Changes to freshcode.css.
1 2 3 4 5 | /** * api: css * type: stylesheet * title: freshcode.club layout+style * description: Simulates the late freecode.com layout and looks; well mostly. | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 |
/**
* api: css
* type: stylesheet
* title: freshcode.club layout+style
* description: Simulates the late freecode.com layout and looks; well mostly.
* version: 0.5.9
*
* Centered two-pane layout. The #main section is usually 33% of the screen width,
* while the #sidebar floats at the right. They're repositioned only using padding:
* to the outer html,body{}.
*
*/
|
| ︙ | ︙ | |||
185 186 187 188 189 190 191 |
#main h2, #main h3, #main h4 {
background: #ddd;
background: linear-gradient(#f3f3f3,#f0f0f0,#eee,#e7e7e7,#d3d3d3);
border-radius: 2pt;
padding: 3.5pt 5pt;
margin-top: 25pt;
}
| | | | | 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 |
#main h2, #main h3, #main h4 {
background: #ddd;
background: linear-gradient(#f3f3f3,#f0f0f0,#eee,#e7e7e7,#d3d3d3);
border-radius: 2pt;
padding: 3.5pt 5pt;
margin-top: 25pt;
}
#main label, #sidebar label {
display: block;
margin: 10pt 0;
font-weight: 700;
}
#main label input, #sidebar label input, #main label textarea {
display: block;
font-weight: 400;
}
#main label input[type=radio] {
display: inline;
}
#main label small, #sidebar label small {
display: block;
font-weight: 200;
font-size: 85%;
color: #777;
}
#main label.inline { font-weight: 200; margin: 4pt; }
#main label.inline input { display: inline; }
|
| ︙ | ︙ |
Changes to index.php.
1 2 3 4 5 | <?php /** * api: php * title: Freshcode.club * description: FLOSS software release tracking website | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 | <?php /** * api: php * title: Freshcode.club * description: FLOSS software release tracking website * version: 0.5.0 * author: mario * license: AGPL * * Implements a freshmeat/freecode-like directory for open source * release publishing / tracking. * */ |
| ︙ | ︙ |
lib/htmlpurifier.phar became a regular file.
cannot compute difference between binary files
Changes to shared.phar.
cannot compute difference between binary files
Changes to template/header.php.
| ︙ | ︙ | |||
11 12 13 14 15 16 17 |
*
*/
?>
<!DOCTYPE html>
<html>
<head>
<title><?= isset($title) ? $title : "freshcode.club" ?></title>
| | | | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
*
*/
?>
<!DOCTYPE html>
<html>
<head>
<title><?= isset($title) ? $title : "freshcode.club" ?></title>
<meta name=version content=0.5.0>
<meta charset=UTF-8>
<link rel=stylesheet href="/freshcode.css?0.5.9">
<link rel="shortcut icon" href="/img/changes.png">
<base href="//<?= HTTP_HOST ?>/">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="/gimmicks.js"></script>
<?php if (isset($header_add)) { print $header_add . "\n"; } ?>
</head>
<body>
|
| ︙ | ︙ |
Changes to template/search_form.php.
1 2 3 4 5 6 7 8 9 10 11 | <?php /** * api: include * type: template * title: Search from * description: Show simple search <form> * * */ $select = "form_select_options"; | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<?php
/**
* api: include
* type: template
* title: Search from
* description: Show simple search <form>
*
*
*/
$select = "form_select_options";
$licenses = array_merge(array(""=>"*Any*"), tags::$licenses);
?>
<h3>Search projects</h3>
<form action="/search" method=GET enctype="application/x-www-form-urlencode" accept-encoding=UTF-8>
|
| ︙ | ︙ |