本文整理汇总了PHP中HSetting::IsFixed方法的典型用法代码示例。如果您正苦于以下问题:PHP HSetting::IsFixed方法的具体用法?PHP HSetting::IsFixed怎么用?PHP HSetting::IsFixed使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HSetting
的用法示例。
在下文中一共展示了HSetting::IsFixed方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
?>
<?php
echo $form->textField($model, 'userFilter', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('userFilter', 'authentication_ldap')));
?>
<p class="help-block"><?php
echo Yii::t('AdminModule.views_setting_authentication_ldap', 'Limit access to users meeting this criteria. Example: "(objectClass=posixAccount)" or "(&(objectClass=person)(memberOf=CN=Workers,CN=Users,DC=myDomain,DC=com))"');
?>
</p>
</div>
<div class="form-group">
<?php
echo $form->labelEx($model, 'usernameAttribute');
?>
<?php
echo $form->textField($model, 'usernameAttribute', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('usernameAttribute', 'authentication_ldap')));
?>
<p class="help-block"><?php
echo Yii::t('AdminModule.views_setting_authentication_ldap', 'LDAP Attribute for Username. Example: "uid" or "sAMAccountName"');
?>
</p>
</div>
<hr>
<?php
echo CHtml::submitButton(Yii::t('AdminModule.views_setting_authentication_ldap', 'Save'), array('class' => 'btn btn-primary'));
?>
<!-- show flash message after saving -->
<?php
示例2: array
<div class="form-group">
<?php
echo $form->labelEx($model, 'port');
?>
<?php
echo $form->textField($model, 'port', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('port', 'mailing')));
?>
</div>
<div class="form-group">
<?php
echo $form->labelEx($model, 'encryption');
?>
<?php
echo $form->dropDownList($model, 'encryption', $encryptionTypes, array('class' => 'form-control', 'readonly' => HSetting::IsFixed('encryption', 'mailing')));
?>
</div>
</div>
<hr>
<?php
echo CHtml::submitButton(Yii::t('AdminModule.views_setting_mailing_server', 'Save'), array('class' => 'btn btn-primary'));
?>
<!-- show flash message after saving -->
<?php
$this->widget('application.widgets.DataSavedWidget');
?>
<?php
$this->endWidget();
示例3: array
<?php
echo $form->checkBox($model, 'internalRequireApprovalAfterRegistration');
?>
<?php
echo $model->getAttributeLabel('internalRequireApprovalAfterRegistration');
?>
</label>
</div>
</div>
<div class="form-group">
<?php
echo $form->labelEx($model, 'defaultUserGroup');
?>
<?php
echo $form->dropDownList($model, 'defaultUserGroup', $groups, array('class' => 'form-control', 'readonly' => HSetting::IsFixed('defaultUserGroup', 'authentication_internal')));
?>
</div>
<hr/>
<?php
echo CHtml::submitButton(Yii::t('AdminModule.views_setting_authentication', 'Save'), array('class' => 'btn btn-primary'));
?>
<!-- show flash message after saving -->
<?php
$this->widget('application.widgets.DataSavedWidget');
?>
<?php
示例4: array
echo $form->labelEx($model, 'usernameAttribute');
?>
<?php
echo $form->textField($model, 'usernameAttribute', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('usernameAttribute', 'authentication_ldap')));
?>
<p class="help-block"><?php
echo Yii::t('AdminModule.views_setting_authentication_ldap', 'LDAP Attribute for Username. Example: "uid" or "sAMAccountName"');
?>
</p>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<?php
echo $form->checkBox($model, 'refreshUsers', array('readonly' => HSetting::IsFixed('refreshUsers', 'authentication_ldap')));
?>
<?php
echo $model->getAttributeLabel('refreshUsers');
?>
</label>
</div>
</div>
<hr>
<?php
echo CHtml::submitButton(Yii::t('AdminModule.views_setting_authentication_ldap', 'Save'), array('class' => 'btn btn-primary'));
?>
<!-- show flash message after saving -->
示例5: array
<div class="form-group">
<?php
echo $form->labelEx($model, 'type');
?>
<?php
echo $form->dropDownList($model, 'type', $cacheTypes, array('class' => 'form-control', 'readonly' => HSetting::IsFixed('type', 'cache')));
?>
<br>
</div>
<div class="form-group">
<?php
echo $form->labelEx($model, 'expireTime');
?>
<?php
echo $form->textField($model, 'expireTime', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('expireTime', 'cache')));
?>
<br>
</div>
<hr>
<?php
echo CHtml::submitButton(Yii::t('AdminModule.views_setting_caching', 'Save & Flush Caches'), array('class' => 'btn btn-primary'));
?>
<!-- show flash message after saving -->
<?php
$this->widget('application.widgets.DataSavedWidget');
?>
<?php
示例6: array
<div class="form-group">
<?php
echo $form->labelEx($model, 'encryption');
?>
<?php
echo $form->dropDownList($model, 'encryption', $encryptionTypes, array('class' => 'form-control', 'readonly' => HSetting::IsFixed('encryption', 'mailing')));
?>
</div>
<div id="encryptionOptions">
<div class="form-group">
<strong>Encryption Options</strong>
<div class="checkbox">
<label>
<?php
echo $form->checkbox($model, 'allowSelfSignedCerts', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('allowSelfSignedCerts', 'mailing')));
?>
<?php
echo $model->getAttributeLabel('allowSelfSignedCerts');
?>
</label>
</div>
</div>
</div>
</div>
<hr>
<?php
echo CHtml::submitButton(Yii::t('AdminModule.views_setting_mailing_server', 'Save'), array('class' => 'btn btn-primary'));
?>
<!-- show flash message after saving -->
示例7: array
echo $form->labelEx($model, 'maxPreviewImageHeight');
?>
<?php
echo $form->textField($model, 'maxPreviewImageHeight', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('maxPreviewImageHeight', 'file')));
?>
<p class="help-block"><?php
echo Yii::t('AdminModule.views_setting_file', 'If not set, height will default to 200px.');
?>
</p>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<?php
echo $form->checkBox($model, 'hideImageFileInfo', array('disabled' => HSetting::IsFixed('hideImageFileInfo', 'file')));
?>
<?php
echo $model->getAttributeLabel('hideImageFileInfo');
?>
</label>
</div>
</div>
<div class="form-group">
<?php
echo $form->labelEx($model, 'allowedExtensions');
?>
<?php
echo $form->textField($model, 'allowedExtensions', array('class' => 'form-control'));
?>
示例8: array
?>
<?php
echo $form->textField($model, 'baseUrl', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('baseUrl')));
?>
<p class="help-block"><?php
echo Yii::t('AdminModule.views_setting_index', 'E.g. http://example.com/humhub');
?>
</p>
</div>
<div class="form-group">
<?php
echo $form->labelEx($model, 'defaultLanguage');
?>
<?php
echo $form->dropDownList($model, 'defaultLanguage', Yii::app()->params['availableLanguages'], array('class' => 'form-control', 'readonly' => HSetting::IsFixed('defaultLanguage')));
?>
</div>
<?php
echo $form->labelEx($model, 'defaultSpaceGuid');
?>
<?php
echo $form->textField($model, 'defaultSpaceGuid', array('class' => 'form-control', 'id' => 'space_select'));
?>
<?php
$this->widget('application.modules_core.space.widgets.SpacePickerWidget', array('inputId' => 'space_select', 'model' => $model, 'attribute' => 'defaultSpaceGuid'));
?>
<p class="help-block"><?php
echo Yii::t('AdminModule.views_setting_index', 'New users will automatically added to these space(s).');
示例9: array
</div>
<div class="panel-body">
<?php
$form = $this->beginWidget('CActiveForm', array('id' => 'proxy-settings-form', 'enableAjaxValidation' => false));
?>
<?php
echo $form->errorSummary($model);
?>
<div class="form-group">
<div class="checkbox">
<label>
<?php
echo $form->checkBox($model, 'enabled', array('readonly' => HSetting::IsFixed('enabled', 'proxy')));
?>
<?php
echo $model->getAttributeLabel('enabled');
?>
</label>
</div>
</div>
<hr>
<div class="form-group">
<?php
echo $form->labelEx($model, 'server');
?>
<?php
echo $form->textField($model, 'server', array('class' => 'form-control'));
示例10: array
?>
<?php
echo $form->textField($model, 'baseUrl', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('baseUrl')));
?>
<p class="help-block"><?php
echo Yii::t('AdminModule.views_setting_index', 'E.g. http://example.com/humhub');
?>
</p>
</div>
<div class="form-group">
<?php
echo $form->labelEx($model, 'defaultLanguage');
?>
<?php
echo $form->dropDownList($model, 'defaultLanguage', Yii::app()->getLanguages(), array('class' => 'form-control', 'readonly' => HSetting::IsFixed('defaultLanguage')));
?>
</div>
<?php
echo $form->labelEx($model, 'defaultSpaceGuid');
?>
<?php
echo $form->textField($model, 'defaultSpaceGuid', array('class' => 'form-control', 'id' => 'space_select'));
?>
<?php
$this->widget('application.modules_core.space.widgets.SpacePickerWidget', array('inputId' => 'space_select', 'model' => $model, 'attribute' => 'defaultSpaceGuid'));
?>
<p class="help-block"><?php
echo Yii::t('AdminModule.views_setting_index', 'New users will automatically added to these space(s).');
示例11: array
echo $form->labelEx($model, 'maxFileSize');
?>
<?php
echo $form->textField($model, 'maxFileSize', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('maxFileSize', 'file')));
?>
<p class="help-block"><?php
echo Yii::t('AdminModule.views_setting_file', 'PHP reported a maximum of {maxUploadSize} MB', array('{maxUploadSize}' => $maxUploadSize));
?>
</p>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<?php
echo $form->checkBox($model, 'useXSendfile', array('disabled' => HSetting::IsFixed('useXSendfile', 'file')));
?>
<?php
echo $model->getAttributeLabel('useXSendfile');
?>
</label>
</div>
</div>
<div class="form-group">
<?php
echo $form->labelEx($model, 'forbiddenExtensions');
?>
<?php
echo $form->textField($model, 'forbiddenExtensions', array('class' => 'form-control', 'hint' => Yii::t('AdminModule.views_setting_file', '(comma separated)')));
?>
示例12: array
<div class="form-group">
<?php
echo $form->labelEx($model, 'defaultUserGroup');
?>
<?php
echo $form->dropDownList($model, 'defaultUserGroup', $groups, array('class' => 'form-control', 'readonly' => HSetting::IsFixed('defaultUserGroup', 'authentication_internal')));
?>
</div>
<div class="form-group">
<?php
echo $form->labelEx($model, 'defaultUserIdleTimeoutSec');
?>
<?php
echo $form->textField($model, 'defaultUserIdleTimeoutSec', array('class' => 'form-control', 'readonly' => HSetting::IsFixed('defaultUserIdleTimeoutSec', 'authentication_internal')));
?>
<p class="help-block"><?php
echo Yii::t('AdminModule.views_setting_authentication', 'Min value is 20 seconds. If not set, session will timeout after 1400 seconds (24 minutes) regardless of activity (default session timeout)');
?>
</p>
</div>
<hr/>
<?php
echo CHtml::submitButton(Yii::t('AdminModule.views_setting_authentication', 'Save'), array('class' => 'btn btn-primary'));
?>
<!-- show flash message after saving -->
<?php