<title><?php echo $template['title']; ?> </title> <?php echo $template['metadata']; ?> <link rel="icon" href="{{ site_favicon }}"> <!-- Le styles --> <?php echo $template['css']; $asset = new Cms_asset(); if ($__is_bootstrap_cdn_connected) { $asset->add_css('//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'); } else { $asset->add_cms_css('bootstrap/css/bootstrap.min.css'); } $asset->add_themes_css('bootstrap.min.css', '{{ used_theme }}', 'default'); $asset->add_themes_css('style.css', '{{ used_theme }}', 'default'); echo $asset->compile_css(); ?> <!-- Le fav and touch icons --> <link rel="shortcut icon" href="{{ site_favicon }}"> <style type="text/css">{{ widget_name:section_custom_style }}</style> </head> <body> <?php echo $template['js']; if ($__is_bootstrap_cdn_connected) { $asset->add_js('//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js'); } else {
<?php defined('BASEPATH') or exit('No direct script access allowed'); $asset = new Cms_asset(); $asset->add_cms_css('grocery_crud/css/jquery_plugins/chosen/chosen.css'); $asset->add_cms_css('grocery_crud/themes/flexigrid/css/flexigrid.css'); echo $asset->compile_css(); ?> <style type="text/css"> textarea#description{ resize: none; word-wrap: no-wrap; white-space: pre-wrap; overflow-x: auto; width:95%; min-width: 385px!important; min-height: 75px!important; margin-top: 10px!important; font-family: Courier; font-size: small; } .chzn-container-multi .chzn-choices .search-field input{ height:28px; } </style> <?php echo '<h3> Edit ' . $name . ' sub-site</h3>'; if ($save) { echo '<div class="alert alert-success">Changes has been saved</div>'; } echo form_open_multipart($edit_url, 'class="form form-horizontal"');
} // option for languages $option_language = ''; foreach ($language_list as $language) { $selected = $language->code == $current_language ? 'selected' : ''; $option_language .= '<option ' . $selected . ' value="' . $language->code . '">' . ucwords(str_replace('_', ' ', $language->name)) . '</option>'; } // option for layouts $option_layout = '<option selected value="' . $config_list['site_layout'] . '">' . ucwords(str_replace('_', ' ', $config_list['site_layout'])) . '</option>'; foreach ($layout_list as $layout) { if ($layout != $config_list['site_layout']) { $option_layout .= '<option value="' . $layout . '">' . ucwords(str_replace('_', ' ', $layout)) . '</option>'; } } $asset = new Cms_asset(); $asset->add_cms_css('grocery_crud/css/jquery_plugins/chosen/chosen.css'); echo $asset->compile_css(); ?> <style type="text/css"> .text-area-section{ reblur: none; word-wrap: no-wrap; white-space: pre-wrap; overflow-x: auto; width:95%; min-width: 385px!important; min-height: 75px!important; margin-top: 10px!important; font-family: Courier; font-blur: small; }
<?php if (!defined('BASEPATH')) { exit('No direct script access allowed'); } // include css $asset = new Cms_asset(); $asset->add_cms_css('grocery_crud/css/jquery_plugins/chosen/chosen.css'); $asset->add_cms_css('grocery_crud/css/ui/simple/jquery-ui-1.10.1.custom.min.css'); echo $asset->compile_css(); ?> <style type="text/css"> #message:empty{ display:none; } </style> <?php // include php $asset->add_cms_js('grocery_crud/js/jquery_plugins/jquery.chosen.min.js'); $asset->add_cms_js('grocery_crud/js/jquery_plugins/ui/jquery-ui-1.10.3.custom.min.js'); echo $asset->compile_js(); ?> <script type="text/javascript"> var REQUEST_EXISTS = false; var REQUEST = ""; function check_change_profile(){ var email = $('input[name="email"]').val(); var password = $('input[name="password"]').val(); var confirm_password = $('input[name="confirm_password"]').val();