本文整理汇总了PHP中thebuggenie\core\framework\Settings::setIconsetName方法的典型用法代码示例。如果您正苦于以下问题:PHP Settings::setIconsetName方法的具体用法?PHP Settings::setIconsetName怎么用?PHP Settings::setIconsetName使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类thebuggenie\core\framework\Settings
的用法示例。
在下文中一共展示了Settings::setIconsetName方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<?php
/**
* Configuration for theme
*/
$tbg_response->addStylesheet(make_url('asset_css', array('theme_name' => 'oxygen', 'css' => 'theme.css')));
\thebuggenie\core\framework\Settings::setIconsetName('oxygen');
?>
<style>
#tbg3_username, #fieldusername { background-image: url('<?php
echo $webroot . 'iconsets/' . \thebuggenie\core\framework\Settings::getIconsetName() . '/';
?>
user_mono.png'); }
#fieldusername.invalid { background-image: url('<?php
echo $webroot . 'iconsets/' . \thebuggenie\core\framework\Settings::getIconsetName() . '/';
?>
icon_error.png'); background-color: rgba(255, 220, 220, 0.5); }
#fieldusername.valid { background-image: url('<?php
echo $webroot . 'iconsets/' . \thebuggenie\core\framework\Settings::getIconsetName() . '/';
?>
icon_ok.png'); background-color: rgba(220, 255, 220, 0.5); }
.login_popup input[type=password] { background-image: url('<?php
echo $webroot . 'iconsets/' . \thebuggenie\core\framework\Settings::getIconsetName() . '/';
?>
password_mono.png'); }
#openid-signin-button.persona-button span:after{ background-image: url('<?php
echo $webroot . 'iconsets/' . \thebuggenie\core\framework\Settings::getIconsetName() . '/';
?>
openid_providers.small/openid.ico.png'); }
#regular-signin-button.persona-button span:after{ background-image: url('<?php
echo $webroot . 'iconsets/' . \thebuggenie\core\framework\Settings::getIconsetName() . '/';