*/ use rho_my\helpers\ViewHelper as vh; $this->title .= Yii::t('my', 'Phone'); $this->beginContent('@rho_my/views/layouts/main.php'); echo vh::markBegin('layouts/phone/main'); ?> <div class="row"> <div class="col-md-9 col-sm-8"> <div class="panel panel-default"> <div class="panel-heading"> <?php echo $this->render('_head', ['newModel' => $this->params['newModel']]); ?> </div> <hr> <div class="panel-body"> <?php echo $content; ?> </div> </div> </div> <div class="profile-nav-container col-md-3 col-sm-4"> <?php //$this->render('_sidebar') ?> </div> </div> <?php echo vh::markEnd('layouts/phone/main'); $this->endContent();
<?php /** * _ __ __ _____ _____ ___ ____ _____ * | | / // // ___//_ _// || __||_ _| * | |/ // /(__ ) / / / /| || | | | * |___//_//____/ /_/ /_/ |_||_| |_| * @link http://vistart.name/ * @copyright Copyright (c) 2016 vistart * @license http://vistart.name/license/ */ use rho_my\helpers\ViewHelper as vh; use rho_my\widgets\NotificationAlertWidget as na; /* @var $message string */ if (is_array($message)) { ?> <?php echo vh::markBegin('Notification Alert'); ?> <?php echo na::widget($message); ?> <?php echo vh::markEnd('Notification Alert'); }
*/ use rho_my\helpers\ViewHelper as vh; $this->title .= Yii::t('my', 'Anniversary'); $this->beginContent('@rho_my/views/layouts/main.php'); echo vh::markBegin('layouts/anniversary/main'); ?> <div class="row"> <div class="col-md-9 col-sm-8"> <div class="panel panel-default"> <div class="panel-heading"> <?php echo $this->render('_head', ['newModel' => $this->params['newModel']]); ?> </div> <hr> <div class="panel-body"> <?php echo $content; ?> </div> </div> </div> <div class="profile-nav-container col-md-3 col-sm-4"> <?php //$this->render('_sidebar') ?> </div> </div> <?php echo vh::markEnd('layouts/aniversary/main'); $this->endContent();
*/ use rho_my\helpers\ViewHelper as vh; $this->title .= Yii::t('my', 'IM'); $this->beginContent('@rho_my/views/layouts/main.php'); echo vh::markBegin('layouts/IM/main'); ?> <div class="row"> <div class="col-md-9 col-sm-8"> <div class="panel panel-default"> <div class="panel-heading"> <?php echo $this->render('_head', ['newModel' => $this->params['newModel']]); ?> </div> <hr> <div class="panel-body"> <?php echo $content; ?> </div> </div> </div> <div class="profile-nav-container col-md-3 col-sm-4"> <?php //$this->render('_sidebar') ?> </div> </div> <?php echo vh::markEnd('layouts/IM/main'); $this->endContent();
echo vh::markBegin('layouts/profile/main'); ?> <div class="row"> <div class="col-md-9 col-sm-8"> <div class="panel panel-default"> <div class="panel-heading"> <strong><?php echo Yii::t('my', 'Profile'); ?> </strong> </div> <hr> <div class="panel-body"> <?php echo Nav::widget(['items' => [['label' => 'Basic', 'url' => ['/profile/basic']], ['label' => 'Icon', 'url' => ['/profile/icon']], ['label' => 'Location', 'url' => ['/profile/location']], ['label' => 'Preferences', 'url' => ['/profile/preference']]], 'options' => ['class' => 'nav-tabs']]); ?> <?php echo $content; ?> </div> </div> </div> <div class="profile-nav-container col-md-3 col-sm-4"> <?php //$this->render('_sidebar') ?> </div> </div> <?php echo vh::markEnd('layouts/profile/main'); $this->endContent();
*/ use rho_my\helpers\ViewHelper as vh; $this->title .= Yii::t('my', 'Email'); $this->beginContent('@rho_my/views/layouts/main.php'); echo vh::markBegin('layouts/email/main'); ?> <div class="row"> <div class="col-md-9 col-sm-8"> <div class="panel panel-default"> <div class="panel-heading"> <?php echo $this->render('_head', ['newModel' => $this->params['newModel']]); ?> </div> <hr> <div class="panel-body"> <?php echo $content; ?> </div> </div> </div> <div class="profile-nav-container col-md-3 col-sm-4"> <?php //$this->render('_sidebar') ?> </div> </div> <?php echo vh::markEnd('layouts/email/main'); $this->endContent();
$lastNameAttribute = 'last_name'; echo vh::divWithMark('name', vh::divWithMark($firstNameAttribute, $form->field($profile, $firstNameAttribute, ['template' => $activeFieldTemplate['twoOfRow']]), true, 'col-md-6') . vh::divWithMark($lastNameAttribute, $form->field($profile, $lastNameAttribute, ['template' => $activeFieldTemplate['twoOfRow']]), true, 'col-md-6')); ?> <?php $appellationAttribute = 'appellation'; $genderAttribute = 'gender'; echo vh::divWithMark('name', vh::divWithMark($appellationAttribute, $form->field($profile, $appellationAttribute, ['template' => $activeFieldTemplate['twoOfRow']])->dropDownList(Profile::$appellations), true, 'col-md-6') . vh::divWithMark($genderAttribute, $form->field($profile, $genderAttribute, ['template' => $activeFieldTemplate['twoOfRow']])->dropDownList(Profile::$genders), true, 'col-md-6')); ?> <?php $languageAttribute = 'language'; $timezoneAttribute = 'timezone'; echo vh::divWithMark('name', vh::divWithMark($languageAttribute, $form->field($profile, $languageAttribute, ['template' => $activeFieldTemplate['twoOfRow']]), true, 'col-md-6') . vh::divWithMark($timezoneAttribute, $form->field($profile, $timezoneAttribute, ['template' => $activeFieldTemplate['twoOfRow']])->dropDownList(vistart\helpers\Timezone::generateList()), true, 'col-md-6')); ?> <div class="row"> <div class="form-group"> <div class="col-md-offset-2" style="padding: 0px 15px;"> <?php echo Html::submitButton(Yii::t('my', 'Submit'), ['class' => 'btn btn-primary']); ?> <?php echo Html::resetButton(Yii::t('my', 'Reset'), ['class' => 'btn btn-danger']); ?> </div> </div> </div> <?php ActiveForm::end(); echo vh::markEnd($formId);
*/ use rho_my\helpers\ViewHelper as vh; $this->title .= Yii::t('my', 'URL'); $this->beginContent('@rho_my/views/layouts/main.php'); echo vh::markBegin('layouts/URL/main'); ?> <div class="row"> <div class="col-md-9 col-sm-8"> <div class="panel panel-default"> <div class="panel-heading"> <?php echo $this->render('_head', ['newModel' => $this->params['newModel']]); ?> </div> <hr> <div class="panel-body"> <?php echo $content; ?> </div> </div> </div> <div class="profile-nav-container col-md-3 col-sm-4"> <?php //$this->render('_sidebar') ?> </div> </div> <?php echo vh::markEnd('layouts/URL/main'); $this->endContent();
*/ use rho_my\helpers\ViewHelper as vh; $this->title .= Yii::t('my', 'Address'); $this->beginContent('@rho_my/views/layouts/main.php'); echo vh::markBegin('layouts/address/main'); ?> <div class="row"> <div class="col-md-9 col-sm-8"> <div class="panel panel-default"> <div class="panel-heading"> <?php echo $this->render('_head', ['newModel' => $this->params['newModel']]); ?> </div> <hr> <div class="panel-body"> <?php echo $content; ?> </div> </div> </div> <div class="profile-nav-container col-md-3 col-sm-4"> <?php //$this->render('_sidebar') ?> </div> </div> <?php echo vh::markEnd('layouts/address/main'); $this->endContent();