PHP Classes

File: Application/Module/Theme/View/Default/Controller/AdminController/Edit.tpl

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Application/Module/Theme/View/Default/Controller/AdminController/Edit.tpl   Download  
File: Application/Module/Theme/View/Default/Controller/AdminController/Edit.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 2,397 bytes
 

Contents

Class file image Download
{% extends "Master.tpl"%} {% block content %} <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-header with-border"> <h3 class="box-title"> <span class="ucfirst"> {{ Translate('theme.edit_controller_layout') }} </span> </h3> </div> <input type="hidden" value="{{ oExistedLayout.controller_id }}" id="item_id"/> {{ oFormItem.start({"action": sFormUrl,"method":"post","id": "form-page-infor","enctype":"multipart/form-data","onsubmit":"return MC.onEditLayout(this);"} ) }} <input type="hidden" value="controller" id="item_type" name="item_type"/> <input type="hidden" value="{{ oFormItem.controller_id }}" name="controller_id" id="item_id"/> <div class="box-body"> <div class="form-group "> <label for="url">{{ oFormItem.element('layout_id').hasRequired() }} {{ Translate('page.page_layout') }}</label> <select class="form-control" name="layout_id" id="page_layout"> {% for key,value in oFormItem.element('layout_id').getOptions() %} <option value="{{ key }}" {%if oFormItem.element('layout_id').getValue() == key %} selected {% endif %}> {{ value }}</option> {% endfor %} </select> <!-- <a class="btn btn-success" href="javascript:void(0)" onclick="ADMIN_PAGE.saveDesign({{ oExistedPage.page_id }});">{{ Translate('page.save_design') }}</a> --> </div> <input type="hidden" id="hide_header_layout" value="{{ oExistedLayout.hide_header_layout}}"/> <input type="hidden" id="hide_footer_layout" value="{{ oExistedLayout.hide_footer_layout}}"/> <div class="form-group" id="page-layout-design"> <iframe src="" allowfullscreen></iframe> </div> {{ oFormItem.render()}} </div> <div class="box-footer"> <button class="btn btn-primary" type="submit" id="btn-submit-page">{{ Translate('core.submit') }}</button> </div> {{ oFormPageItem.end() }} </div> </div> </div> {% endblock %}