Updated
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
* Reads config and cache via cry01_chain.php functions.
|
||||
*/
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
// ASSOCIATION LANDING
|
||||
// ---------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
function cry01_render_landing($association_slug, $access) {
|
||||
// Renders the main cry01 page: balance display + signal board.
|
||||
@@ -23,6 +23,14 @@ function cry01_render_landing($association_slug, $access) {
|
||||
$out .= '<p class="text-muted">Value Layer — Ğ1 balance and capacity signals.</p>';
|
||||
$out .= '</div>';
|
||||
|
||||
// Optional participation notice.
|
||||
$out .= '<p class="text-muted small cry01-optional-notice">';
|
||||
$out .= 'The Value Layer and the Ğ1 Wallet are <strong>optional</strong>. ';
|
||||
$out .= 'Ğ1 is a libre currency independent of fiat, used for valuing and bartering surplus capacity among private individuals. ';
|
||||
$out .= 'The Civic Infrastructure implements it for participants who choose to engage in that economy. ';
|
||||
$out .= 'It is not required for participation in the diagnostic record system.';
|
||||
$out .= '</p>';
|
||||
|
||||
$out .= cry01_render_balance_display();
|
||||
$out .= cry01_render_signal_board($association_slug, $access);
|
||||
|
||||
@@ -46,9 +54,9 @@ function cry01_render_landing($association_slug, $access) {
|
||||
return $out;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
// BALANCE DISPLAY
|
||||
// ---------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
function cry01_render_balance_display() {
|
||||
// Renders the Ğ1 balance from cache. The cached key belongs to whoever last refreshed.
|
||||
@@ -78,9 +86,9 @@ function cry01_render_balance_display() {
|
||||
return $out;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
// SIGNAL BOARD
|
||||
// ---------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
function cry01_render_signal_board($association_slug, $access) {
|
||||
// Renders the signal board. Visible to participants and operator only.
|
||||
@@ -96,9 +104,9 @@ function cry01_render_signal_board($association_slug, $access) {
|
||||
return $out;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
// SIGNAL FORM
|
||||
// ---------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
function cry01_render_signal_form($association_slug, $access) {
|
||||
// Renders the capacity signal registration form.
|
||||
@@ -184,9 +192,9 @@ function cry01_render_signal_form($association_slug, $access) {
|
||||
return $out;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
// Ğ1 CERTIFICATION CANDIDATE LIST
|
||||
// ---------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
function cry01_render_g1_candidates($association_slug) {
|
||||
// Renders the operator-only list of SASE participants with registered Ğ1 keys.
|
||||
@@ -199,9 +207,9 @@ function cry01_render_g1_candidates($association_slug) {
|
||||
return $out;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
// MANAGE
|
||||
// ---------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
function cry01_render_manage($association_slug) {
|
||||
// Renders the operator manage page: cache refresh and config status.
|
||||
|
||||
Reference in New Issue
Block a user