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

$i++;
$theme_config[$i]['name'] = "container_width";
$theme_config[$i]['text'] = TF_USE_CONTAINER_WIDTH;
$theme_config[$i]['desc'] = TF_USE_CONTAINER_WIDTH_DESC;
$theme_config[$i]['type'] = "text";
$theme_config[$i]['default'] = "100%";

$i++;
$theme_config[$i]['name'] = "page_shadow";
$theme_config[$i]['text'] = TF_SHADOW;
$theme_config[$i]['desc'] = TF_SHADOW_DESC . TF_PAGE_SHADOW_DESC;
$theme_config[$i]['type'] = "checkbox";
$theme_config[$i]['options'] = ['t' => TF_TOP, 'b' => TF_BOTTOM, 'l' => TF_LEFT, 'r' => TF_RIGHT];
$theme_config[$i]['default'] = [];

$i++;
$theme_config[$i]['name'] = "page_img";
$theme_config[$i]['text'] = TF_BG_IMG;
$theme_config[$i]['desc'] = TF_BG_IMG_DESC;
$theme_config[$i]['type'] = "bg_file";
$theme_config[$i]['default'] = "";
$theme_config[$i]['options'] = $bg_file;
$theme_config[$i]['repeat'] = "repeat";
$theme_config[$i]['position'] = "left top";
$theme_config[$i]['size'] = "auto";

$i++;
$theme_config[$i]['name'] = "page_style";
$theme_config[$i]['text'] = TF_STYLE;
$theme_config[$i]['desc'] = TF_STYLE_DESC;
$theme_config[$i]['type'] = "textarea";
$theme_config[$i]['default'] = "padding: 0px;";

$i++;
$theme_config[$i]['name'] = "font_family";
$theme_config[$i]['text'] = TF_FONT_FAMILY;
$theme_config[$i]['desc'] = TF_FONT_FAMILY_DESC;
$theme_config[$i]['type'] = "text";
$theme_config[$i]['default'] = "\"Helvetica Neue\",Helvetica,Arial,\"微軟正黑體\",sans-serif";
