PATH:
home
/
letacommog
/
letaweb
/
admin
/
modules
/
contactform
<div class="form row-fluid"> <?php echo CHtml::form('', 'post', array('name' => 'form'.$this->page_id, 'id' => 'form'.$this->page_id)); ?> <?php foreach ($this->forms as $field) { $type = $field['type']; echo '<div class="form_field">'; $this->includeViewFile('contactform/'.$type, array('item' => $field)); echo '</div>'; ?> <?php } ?> <?php $defaultButtonClass = $this->getDefaultSkin('button', 0); $submitButtonSkin = $this->getSubModuleSkin('submit'); if ($submitButtonSkin == false) { $submitButtonSkin = $defaultButtonClass; } $resetButtonSkin = $this->getSubModuleSkin('reset'); if ($resetButtonSkin == false) { $resetButtonSkin = $defaultButtonClass; } ?> <div class="form-group success"> <p class="aleft alert-succes"><?php echo $this->successmsg;?></p> </div> <div class="form-actions align-right"> <span class="module-button submit_button <?php echo $submitButtonSkin ?>"> <button class="button" type="submit"> <i class="font-left-icon"></i> <span class="button_text"><?php Yii::app()->lang->t('LBL_BUTTON_SUBMIT') ?></span> <i class="font-right-icon"></i> </button> </span> <span class="module-button reset_button <?php echo $resetButtonSkin ?>"> <button class="button" type="reset"> <i class="font-left-icon"></i> <span class="button_text"><?php Yii::app()->lang->t('LBL_BUTTON_RESET') ?></span> <i class="font-right-icon"></i> </button> </span> </div> <?php echo CHtml::endForm(); ?> </div> <script type="text/javascript"> $(document).ready(function() { $('#form<?php echo $this->page_id ?>').forms({type:'contact',ownerEmail:'<?php echo $this->mailto; ?>',mailHandlerURL:'<?php echo Yii::app()->createUrl('builder/ajax/module_id/'.$this->page_id); ?>'}); }); </script>
[+]
..
[-] backend.php
[edit]
[-] backend.js
[edit]
[-] frontend_class.php
[edit]
[-] frontend_script.php
[edit]
[-] frontend_view.php
[edit]