当前位置: 首页>>代码示例>>PHP>>正文


PHP HSetting::IsFixed方法代码示例

本文整理汇总了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: &quot(objectClass=posixAccount)&quot; or &quot;(&(objectClass=person)(memberOf=CN=Workers,CN=Users,DC=myDomain,DC=com))&quot;');
?>
</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: &quotuid&quot; or &quot;sAMAccountName&quot;');
?>
</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 
开发者ID:luizreginaldo,项目名称:humhub,代码行数:31,代码来源:authentication_ldap.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();
开发者ID:ahdail,项目名称:humhub,代码行数:30,代码来源:mailing_server.php

示例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 
开发者ID:ahdail,项目名称:humhub,代码行数:31,代码来源:authentication.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: &quotuid&quot; or &quot;sAMAccountName&quot;');
?>
</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 -->
开发者ID:alefernie,项目名称:intranet,代码行数:31,代码来源:authentication_ldap.php

示例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 
开发者ID:alefernie,项目名称:intranet,代码行数:31,代码来源:caching.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 -->
开发者ID:alefernie,项目名称:intranet,代码行数:31,代码来源:mailing_server.php

示例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'));
?>
开发者ID:alefernie,项目名称:intranet,代码行数:31,代码来源:file.php

示例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).');
开发者ID:alefernie,项目名称:intranet,代码行数:31,代码来源:index.php

示例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'));
开发者ID:alefernie,项目名称:intranet,代码行数:31,代码来源:proxy.php

示例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).');
开发者ID:ahdail,项目名称:humhub,代码行数:31,代码来源:index.php

示例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)')));
?>
开发者ID:ahdail,项目名称:humhub,代码行数:31,代码来源:file.php

示例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 
开发者ID:alefernie,项目名称:intranet,代码行数:30,代码来源:authentication.php


注:本文中的HSetting::IsFixed方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。