init 4chan

This commit is contained in:
2025-04-17 09:20:34 +02:00
commit c850337f1e
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';
}