Код: Выделить всё
INSERT INTO `phpbb_config` (`config_name`, `config_value`, `is_dynamic`) VALUES ('uniform_style', '', '0');
Код: Выделить всё
'allow_birthdays' => array('lang' => 'ALLOW_BIRTHDAYS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'allow_quick_reply' => array('lang' => 'ALLOW_QUICK_REPLY', 'validate' => 'bool', 'type' => 'custom', 'method' => 'quick_reply', 'explain' => true),
Код: Выделить всё
//PPK START US
'uniform_style' => array('lang' => 'UNIFORM_STYLE', 'validate' => 'string', 'type' => 'custom', 'method' => 'select_uniform_style', 'explain' => true),
//PPK END US
Код: Выделить всё
function store_feed_forums($option, $key)
{
Код: Выделить всё
//PPK START US
function select_uniform_style($value, $key)
{
$style_list=array('default', 'aristo', 'agent', 'jeans');
$s_style_options = '<select id="' . $key . '" name="config[' . $key . ']">';
$s_style_options .= '<option value=""></option>';
foreach ($style_list as $style)
{
$s_style_options .= '<option value="' . $style . '"' . ($value==$style ? ' selected="selected"' : '') . '>' . $style . '</option>';
}
$s_style_options .= '</select>';
return $s_style_options;
}
//PPK END US
Код: Выделить всё
// The following assigns all _common_ variables that may be used at any point in a template.
$template->assign_vars(array(
Код: Выделить всё
//PPK START US
'S_UNIFORM_STYLE' => $config['uniform_style'] ? basename($config['uniform_style']) : false,
//PPK END US
Код: Выделить всё
'BOARD_PM' => 'Разрешить личные сообщения',
'BOARD_PM_EXPLAIN' => 'Включение обмена личными сообщениями для всех пользователей.',
Код: Выделить всё
//PPK START US
'UNIFORM_STYLE' => 'Стилизация кнопок и форм',
'UNIFORM_STYLE_EXPLAIN' => 'Стилизовать кнопки и формы форума с помощью Uniform используя указанный стиль',
//PPK END US
Код: Выделить всё
<script type="text/javascript">
// <![CDATA[
var jump_page = '{LA_JUMP_PAGE}:';
Код: Выделить всё
<!-- IF S_UNIFORM_STYLE -->
<link rel="stylesheet" href="{ROOT_PATH}tracker/addons/css/uniform._base.css" />
<link rel="stylesheet" href="{ROOT_PATH}tracker/addons/css/uniform.{S_UNIFORM_STYLE}.css" />
<script src="{ROOT_PATH}tracker/addons/js/jquery.uniform.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
jQuery(document).ready(
function($)
{
$("select, input, button, textarea").uniform();
}
);
// ]]>
</script>
<!-- ENDIF -->
Код: Выделить всё
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
popup('{UA_POPUP_PM}', 400, 225, '_php
Код: Выделить всё
<!-- IF S_UNIFORM_STYLE -->
<link rel="stylesheet" href="{ROOT_PATH}tracker/addons/css/uniform._base.css" />
<link rel="stylesheet" href="{ROOT_PATH}tracker/addons/css/uniform.{S_UNIFORM_STYLE}.css" />
<script src="{ROOT_PATH}tracker/addons/js/jquery.uniform.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
jQuery(document).ready(
function($)
{
$("select, input, button, textarea").uniform();
}
);
// ]]>
</script>
<!-- ENDIF -->
Код: Выделить всё
$("select, input, button, textarea").uniform();
Код: Выделить всё
<link rel="stylesheet" href="{ROOT_PATH}tracker/addons/css/uniform._base.css" />
<link rel="stylesheet" href="{ROOT_PATH}tracker/addons/css/uniform.{S_UNIFORM_STYLE}.css" />
<script src="{ROOT_PATH}tracker/addons/js/jquery.uniform.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
jQuery(document).ready(
function($)
{
$("select, input, button, textarea").uniform();
}
);
// ]]>
</script>
PPK
Код: Выделить всё
<input class="button" type="button" value=" B " name="codeB" title="Bold (Ctrl+B)" style="font-weight: bold; width: 30px" />
Код: Выделить всё
<input class="button" type="button" value=" B " name="codeB" title="Bold (Ctrl+B)" style="font-weight: bold; width: 30px" />
Код: Выделить всё
<input type="button" type="button" value=" B " name="codeB" title="Bold (Ctrl+B)" style="font-weight: bold; width: 30px" />
SelinaAnt
9CaraTT
На почти всех работает отлично. Стандартный Просилвер красивее смотрится. Серия шаблонов ART (легкие воздушные стили) вообще идеально!9CaraTT писал(а):На каком стиле работает?
SelinaAnt
9CaraTT
9CaraTT писал(а):На саб сильвере снеси этот класс и увидешь что получается
Спасибо.9CaraTT писал(а):с праздником, единственная ты наша
SelinaAnt
vulkan3
vulkan3
PPK писал(а):Для работы скрипта необходимо предварительное подключение библиотеки JQuery.
PPK
vulkan3