本文整理匯總了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() . '/';