예제 #1
0
<?php

$themes = TBGContext::getThemes();
$languages = TBGI18n::getLanguages();
?>
<table style="clear: both; width: 700px; margin-top: 5px;" class="padded_table" cellpadding=0 cellspacing=0>
	<tr>
		<td><label for="requirelogin"><?php 
echo __('Require re-authentication');
?>
</label></td>
		<td>
			<select name="<?php 
echo TBGSettings::SETTING_ELEVATED_LOGIN_DISABLED;
?>
" id="disableelevatedlogin" style="width: 400px;"<?php 
if ($access_level != TBGSettings::ACCESS_FULL) {
    ?>
 disabled<?php 
}
?>
>
				<option value=0<?php 
if (TBGSettings::isElevatedLoginRequired()) {
    ?>
 selected<?php 
}
?>
><?php 
echo __('You need to re-enter your password to access the configuration section');
?>
예제 #2
0
 public function componentAppearance()
 {
     $this->themes = TBGContext::getThemes();
     $this->icons = TBGContext::getIconSets();
 }