init 4chan

This commit is contained in:
skidoodle 2025-04-17 09:20:34 +02:00
commit c850337f1e
Signed by: albert
SSH key fingerprint: SHA256:Cu/S7e7NSLXxcxcBsxd0qtCy6TJiN24ptIdit5aQXyI
390 changed files with 195936 additions and 0 deletions

26
lib/board_flags_test.php Normal file
View file

@ -0,0 +1,26 @@
<?php
// Flag code to name mapping
function get_board_flags_array() {
static $board_flags = array(
'FL1' => 'Flag 1',
'FL2' => 'Flag 2'
);
return $board_flags;
}
// Flag names as they appear in the selection menu
function get_board_flags_selector() {
static $board_flags = array(
'FL1' => 'Flag 1',
'FL2' => 'Flag 2'
);
return $board_flags;
}
function board_flag_code_to_name($code) {
$board_flags = get_board_flags_array();
return isset($board_flags[$code]) ? $board_flags[$code] : 'None';
}