</div> <div class="col-md-7"></div> </div> </div> </div> <?php } ?> <hr> <?php echo CHtml::submitButton(Yii::t('SpaceModule.views_admin_members', "Save"), array('class' => 'btn btn-primary')); ?> <?php echo \humhub\widgets\DataSaved::widget(); ?> <?php echo Chtml::endForm(); ?> </div> </div> <?php if (count($space->applicants) != 0) {
<div class="checkbox"> <label> <?php echo $form->checkBox($model, 'dashboardShowProfilePostForm'); ?> <?php echo $model->getAttributeLabel('dashboardShowProfilePostForm'); ?> </label> </div> </div> <hr> <?php echo CHtml::submitButton(Yii::t('AdminModule.views_setting_index', 'Save'), array('class' => 'btn btn-primary')); ?> <!-- show flash message after saving --> <?php \humhub\widgets\DataSaved::widget(); ?> <?php CActiveForm::end(); ?> </div> </div>
<p><?php echo Yii::t('UserModule.views_auth_login', "Don't have an account? Join the network by entering your e-mail address."); ?> </p> <?php $form = ActiveForm::begin(['id' => 'account-register-form']); ?> <?php echo $form->field($registerModel, 'email')->textInput(['id' => 'register-email', 'placeholder' => $registerModel->getAttributeLabel('email')])->label(false); ?> <hr> <?php echo CHtml::submitButton(Yii::t('UserModule.views_auth_login', 'Register'), array('class' => 'btn btn-primary')); ?> <?php ActiveForm::end(); ?> </div> </div> <?php } ?> <?php echo humhub\widgets\LanguageChooser::widget(); ?>
if (Yii::$app->getModule('user')->settings->get('auth.allowGuestAccess')) { ?> <?php echo $form->field($model, 'visibility')->dropdownList([1 => Yii::t('UserModule.views_account_editSettings', 'Registered users only'), 2 => Yii::t('UserModule.views_account_editSettings', 'Visible for all (also unregistered users)')]); ?> <?php } ?> <?php if (Yii::$app->getModule('tour')->settings->get('enable') == 1) { ?> <?php echo $form->field($model, 'show_introduction_tour')->checkbox(); ?> <?php } ?> <hr> <?php echo CHtml::submitButton(Yii::t('UserModule.views_account_editSettings', 'Save'), array('class' => 'btn btn-primary', 'data-ui-loader' => '')); ?> <?php ActiveForm::end(); $this->endContent();
<div class="form-group"> <?php echo $form->labelEx($model, 'name'); ?> <?php echo $form->textField($model, 'name', array('class' => 'form-control')); ?> <?php echo $form->error($model, 'name'); ?> </div> <hr> <?php echo CHtml::submitButton(Yii::t('InstallerModule.views_config_basic', 'Next'), array('class' => 'btn btn-primary', 'data-ui-loader' => '')); ?> <?php CActiveForm::end(); ?> </div> </div> <script type="text/javascript"> $(function () { // set cursor to email field $('#ConfigBasicForm_name').focus(); })
<?php echo $form->field($model, 'defaultUserIdleTimeoutSec')->textInput(['readonly' => Setting::IsFixed('auth.defaultUserIdleTimeoutSec', 'user')]); ?> <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> <?php echo $form->field($model, 'defaultUserProfileVisibility')->dropdownList([1 => Yii::t('AdminModule.views_setting_authentication', 'Visible for members only'), 2 => Yii::t('AdminModule.views_setting_authentication', 'Visible for members+guests')], ['readonly' => !Yii::$app->getModule('user')->settings->get('auth.allowGuestAccess')]); ?> <p class="help-block"><?php echo Yii::t('AdminModule.views_setting_authentication', 'Only applicable when limited access for non-authenticated users is enabled. Only affects new users.'); ?> </p> <hr> <?php echo CHtml::submitButton(Yii::t('AdminModule.views_setting_authentication', 'Save'), array('class' => 'btn btn-primary', 'data-ui-loader' => "")); ?> <?php echo \humhub\widgets\DataSaved::widget(); ?> <?php ActiveForm::end(); ?> </div> <?php $this->endContent();
</div> <div class="form-group"> <div class="checkbox"> <label> <?php echo $form->checkBox($group, 'can_create_private_spaces'); ?> <?php echo $group->getAttributeLabel('can_create_private_spaces'); ?> </label> </div> </div> <?php echo CHtml::submitButton(Yii::t('AdminModule.views_group_edit', 'Save'), array('class' => 'btn btn-primary')); ?> <?php if ($showDeleteButton) { echo Html::a(Yii::t('AdminModule.views_group_edit', 'Delete'), Url::toRoute(['/admin/group/delete', 'id' => $group->id]), array('class' => 'btn btn-danger')); } ?> <?php CActiveForm::end(); ?> </div> </div>
</div> <div class="form-group"> <?php echo $form->labelEx($model, 'newPasswordConfirm'); ?> <?php echo $form->passwordField($model, 'newPasswordConfirm', array('class' => 'form-control', 'maxlength' => 255, 'value' => '')); ?> <?php echo $form->error($model, 'newPasswordConfirm'); ?> </div> <hr> <?php echo CHtml::submitButton(Yii::t('UserModule.views_account_changePassword', 'Save'), array('class' => 'btn btn-primary')); ?> <!-- show flash message after saving --> <?php echo \humhub\widgets\DataSaved::widget(); ?> <?php CActiveForm::end(); ?> </div>
<strong><?php echo Yii::t('UserModule.views_account_emailing', 'Activities'); ?> </strong><br/> <?php echo Yii::t('UserModule.views_account_emailing', 'Get an email, by every activity from other users you follow or work<br>together in workspaces.'); ?> <?php echo $form->field($model, 'receive_email_activities')->dropdownList([User::RECEIVE_EMAIL_NEVER => Yii::t('UserModule.views_account_emailing', 'Never'), User::RECEIVE_EMAIL_DAILY_SUMMARY => Yii::t('UserModule.views_account_emailing', 'Daily summary'), User::RECEIVE_EMAIL_WHEN_OFFLINE => Yii::t('UserModule.views_account_emailing', 'When I´m offline'), User::RECEIVE_EMAIL_ALWAYS => Yii::t('UserModule.views_account_emailing', 'Always')]); ?> <hr> <?php echo CHtml::submitButton(Yii::t('UserModule.views_account_emailing', 'Save'), array('class' => 'btn btn-primary')); ?> <!-- show flash message after saving --> <?php echo \humhub\widgets\DataSaved::widget(); ?> <?php ActiveForm::end(); ?> </div>
<div class="form-group"> <div class="checkbox"> <label> <?php echo $form->checkBox($model, 'refreshUsers', array('readonly' => Setting::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')); ?> <?php echo \humhub\widgets\DataSaved::widget(); ?> <?php CActiveForm::end(); ?> </div> </div>
<?php $form = CActiveForm::begin(); ?> <p class="help-block">Fields with <span class="required">*</span> are required.</p><br> <?php echo $form->errorSummary($model); ?> <div class="form-group"> <?php echo $form->passwordField($model, 'currentPassword', array('class' => 'form-control', 'placeholder' => Yii::t('UserModule.views_account_delete', 'Enter your password to continue'), 'maxlength' => 45)); ?> </div> <?php echo CHtml::submitButton(Yii::t('UserModule.views_account_delete', 'Delete account'), array('class' => 'btn btn-danger')); ?> <!-- show flash message after saving --> <?php echo \humhub\widgets\DataSaved::widget(); ?> <?php CActiveForm::end(); ?> <?php } ?> </div>
echo $form->labelEx($model, 'ldap_dn'); ?> <?php echo $form->textField($model, 'ldap_dn', array('class' => 'form-control', 'maxlength' => 255)); ?> <?php echo $form->error($model, 'ldap_dn'); ?> </div> <hr> <?php } ?> <?php echo CHtml::submitButton(Yii::t('SpaceModule.views_admin_edit', 'Save'), array('class' => 'btn btn-primary')); ?> <?php echo \humhub\widgets\DataSaved::widget(); ?> <div class="pull-right"> <?php if ($model->status == Space::STATUS_ENABLED) { ?> <?php echo Html::a(Yii::t('SpaceModule.views_admin_edit', 'Archive'), $model->createUrl('/space/admin/archive'), array('class' => 'btn btn-warning')); ?> <?php } elseif ($model->status == Space::STATUS_ARCHIVED) {
<?php $form = CActiveForm::begin(); ?> <?php echo $form->errorSummary($model); ?> <div class="form-group"> <?php echo $form->dropDownList($model, 'group_id', $alternativeGroups, array('class' => 'form-control')); ?> <?php echo $form->error($model, 'group_id'); ?> </div> <hr> <?php echo CHtml::submitButton(Yii::t('AdminModule.views_group_delete', 'Delete group'), array('class' => 'btn btn-danger')); ?> <?php CActiveForm::end(); ?> </div></div>
<br> </div> <div class="form-group"> <?php echo $form->labelEx($model, 'expireTime'); ?> <?php echo $form->textField($model, 'expireTime', array('class' => 'form-control', 'readonly' => Setting::IsFixed('expireTime', 'cache'))); ?> <br> </div> <hr> <?php echo CHtml::submitButton(Yii::t('AdminModule.views_setting_caching', 'Save & Flush Caches'), array('class' => 'btn btn-primary')); ?> <?php echo \humhub\widgets\DataSaved::widget(); ?> <?php CActiveForm::end(); ?> </div> </div>