<?php
require XOOPS_ROOT_PATH . '/themes/school2022/bg_config.php';
$i = 0;

$i++;
$theme_config[$i]['name'] = "show_var";
$theme_config[$i]['text'] = TF_SHOW_VAR;
$theme_config[$i]['desc'] = TF_SHOW_VAR_DESC;
$theme_config[$i]['type'] = "yesno";
$theme_config[$i]['default'] = "0";

$i++;
$theme_config[$i]['name'] = "my_code";
$theme_config[$i]['text'] = TF_MY_CODE;
$theme_config[$i]['desc'] = TF_MY_CODE_DESC;
$theme_config[$i]['type'] = "textarea";
$theme_config[$i]['default'] = "<style>
#logo-display h1 a{
    padding: 10px;
    color: green;
    text-shadow: 1px 1px 6px rgba(255,255,255,0.5);
    font-size: 2.5rem;
    margin-top: 30px;
    margin-bottom: 10px;
}

#logo-display h1+div{
    padding-left: 10px;
    margin-bottom: 20px;
    color: #FFFFFF;
}
</style>";

$i++;
$theme_config[$i]['name'] = "og_image";
$theme_config[$i]['text'] = TF_OG_FILE;
$theme_config[$i]['desc'] = TF_OG_FILE_DESC;
$theme_config[$i]['type'] = "file";
$theme_config[$i]['default'] = "";

$i++;
$theme_config[$i]['name'] = "pin_zone";
$theme_config[$i]['text'] = TF_PIN;
$theme_config[$i]['desc'] = TF_PIN_DESC;
$theme_config[$i]['type'] = "select";
$theme_config[$i]['options'] = ['' => TF_NONE, 'top' => TF_TOP_ZONE, 'logo' => TF_LOGO_ZONE, 'nav' => TF_NAV_ZONE, 'slide' => TF_SLIDE_ZONE, 'middle' => TF_MIDDEL_ZONE];
$theme_config[$i]['default'] = "";
