<br/> <br/> <br/> <br/> <input id="agree-checkbox1" type="checkbox" style="margin-right:5px"/><a target="_blank" href="/site/term">I have read GigaDB's Terms and Conditions</a> <br/> <div class="clear"></div> <?php echo MyHtml::form(Yii::app()->createUrl('dataset/create1'), 'post', array('enctype' => 'multipart/form-data')); ?> <div class="pull-right"> <?php echo MyHtml::submitButton('Submission wizard', array('id' => 'online', 'class' => 'btn-green', 'disabled' => 'disabled', 'title' => 'You must agree to the terms and conditions before continuing.')); ?> </div> <br/> </div> </div> </td> </tr> </table> <script> $(function() { $('#agree-checkbox').click(function() { if ($(this).is(':checked')) { $('.upload-control').attr('disabled', false);
?> <label disabled="disabled"><?php echo Yii::t('app', 'Add me to GigaDB\'s mailing list'); ?> </label> </div> </div> <div class="control-group"> <div class="controls"> <a id="cancel-btn" class="btn" style="display:none"><?php echo Yii::t('app', 'Cancel'); ?> </a> <?php echo MyHtml::submitButton(Yii::t('app', 'Save'), array('id' => 'save-btn', 'class' => 'btn-green', 'style' => 'display:none')); ?> </div> </div> </div><!--well--> <? $this->endWidget() ?> </div><!--span8--> </div><!-- user-form --> </td> <td style="padding-left: 50px;"> <div class="row"> <div class="form"> <div class="left4">
"> <button class="btn btn_filter" id="btn_release_date"><? if(empty($model->size_from) && empty($model->size_to)) echo Yii::t('app' , 'Enable'); else echo Yii::t('app' , 'Disable'); ?></button> <div class="options <? if(empty($model->size_from) && empty($model->size_to)) echo 'disabled'; ?>"> <label>From</label> <? echo Myhtml::textField("size_from",$model->size_from,array('class'=>'size')); echo Myhtml::dropDownList("size_from_unit",$model->size_from_unit,array("1"=>"KB","2"=>"MB","3"=>"GB","4"=>"TB"),array('class'=>'unit')); ?> <div style="clear:both"></div> <label>To</label> <? echo Myhtml::textField("size_to",$model->size_to,array('class'=>'size')); echo Myhtml::dropDownList("size_to_unit",$model->size_to_unit,array("1"=>"KB","2"=>"MB","3"=>"GB","4"=>"TB"),array('class'=>'unit'));?> <div style="clear:both"></div> </div> </div> </div> </div> <?php echo MyHtml::submitButton(Yii::t('app', 'Apply Filters'), array('class' => 'span2 btn-green filter')); echo MyHtml::endForm(); ?> <script> submitFilter = function(){ var action=$(this).attr("action"); var tab=$("#filter_tab").val(); if(tab!="" && action.indexOf("#") ==-1){ action=action+tab; } $(this).attr("action",action); $(this).submit(); return false; }; $(function () {
<div class="controls"> <?php echo $form->checkbox($model,'newsletter'); ?> <label><?=Yii::t('app' , 'Add me to GigaDB\'s mailing list')?></label> </div> </div> <? if ($model->isNewRecord) { ?> <div class="control-group"> <div class="controls"> <?= $form->labelEx($model,'validacion') ?> <? $this->widget('application.extensions.recaptcha.EReCaptcha', array('model'=>$model, 'attribute'=>'validacion', 'theme'=>'clean', 'language'=>'zh_TW', 'publicKey'=>Yii::app()->params['recaptcha_publickey'])) ?> <?= $form->error($model,'validacion') ?> </div> </div> <? } ?> </div><!--well--> <div class="pull-right"> <?= MyHtml::submitButton($model->isNewRecord ? Yii::t('app' , 'Register') : 'Save', array('class'=>'btn-green')) ?> </div> <? $this->endWidget() ?> </div><!--span8--> </div><!-- user-form -->
<div class="controls"> <?php echo $form->passwordField($model, 'password'); ?> <?php echo $form->error($model, 'password'); ?> </div> </div> <div class="controls"> <?php echo $form->checkBox($model, 'rememberMe'); ?> <?php echo $form->label($model, 'rememberMe'); ?> </div> </div><!--form--> <p class="pull-left"><?php echo MyHtml::link(Yii::t('app', "Lost Password"), array('user/reset', 'username' => $model->username)); ?> </p> <?php echo MyHtml::submitButton(Yii::t('app', 'Login'), array('class' => 'btn-green pull-right')); ?> <? $this->endWidget() ?> </div> </div><!--login-->
?> <?php if (isset($previous_doi)) { ?> <a class="carousel-doi gigadb-arrow-button left" href="/dataset/<?php echo $previous_doi; ?> ">‹</a> <?php } ?> <?php $this->widget('zii.widgets.jui.CJuiAutoComplete', array('name' => 'keyword', 'source' => array_values(array()), 'options' => array('minLength' => '2'), 'htmlOptions' => array('class' => 'span8 offset1'))); echo MyHtml::submitButton(Yii::t('app', 'Search'), array('class' => 'span2 btn-green')); ?> <?php if (isset($next_doi)) { ?> <a class="carousel-doi gigadb-arrow-button right" href="/dataset/<?php echo $next_doi; ?> ">›</a> <?php } ?> <!-- <a data-toggle="modal" href="#how-to-use-advanced-search" class="hint advanced-search-hint"></a> -->
</div> </div> <div class="control-group"> <div class="controls"> <?php echo $form->labelEx($model, 'validacion'); ?> <? $this->widget('application.extensions.recaptcha.EReCaptcha', array('model'=>$model, 'attribute'=>'validacion', 'theme'=>'clean', 'language'=>'zh_TW', 'publicKey'=>Yii::app()->params['recaptcha_publickey'])) ?> </div> </div> </div><!-- form --> </div> <div class="span8 offset2"><?php echo MyHtml::submitButton('Submit', array('class' => 'btn-green pull-right')); ?> </div> <? $this->endWidget(); ?> </div> <? } ?>
<?php $this->pageTitle = Yii::app()->name . ' - Reset Password'; ?> <h2><?php echo Yii::t('app', 'Reset Password'); ?> </h2> <div class="row" id="login"> <div class="span6 offset3"> <p><?php echo Yii::t('app', 'If you have lost your password, enter your email and we will send a new password to the email address associated with your account.'); ?> </p> <div class="form form-horizontal well center"> <?php echo MyHtml::form(); ?> <label for='reset_user' class="required"><?php echo Yii::t('app', 'Email'); ?> </label> <input name="reset_user" id="reset_user" type="text" value="" /> <?php echo MyHtml::submitButton(Yii::t('app', 'Reset'), array('class' => 'btn-green')); ?> </form> </div> </div> </div><!--login-->