Example #1
0
}
$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 {
    $asset->add_cms_js("bootstrap/js/bootstrap.min.js");
}
$asset->add_themes_js('script.js', '{{ used_theme }}', 'default');
echo $asset->compile_js();
?>
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <script type="text/javascript">{{ widget_name:section_custom_script }}</script>
        <div id="__background-image"></div>
        <div id="__background-color"></div>
        {{ widget_name:section_top_fix }}
        {{ widget_name:static_accessories_slideshow }}
        <div class="container">
            <div class="row-fluid">
Example #2
0
}
?>
                        </select>
                        <p class="help-block">Enable AOL login</p>
                    </div>
                </div>

            </div>

        </div>
        <button class="btn btn-primary btn-lg">Apply Changes</button>
    </form>
</div>
<script type="text/javascript" src="{{ base_url }}assets/nocms/js/jquery.autosize.js"></script>
<?php 
$asset->add_cms_js("grocery_crud/js/jquery_plugins/jquery.chosen.min.js");
$asset->add_cms_js("grocery_crud/js/jquery_plugins/config/jquery.chosen.config.js");
echo $asset->compile_js();
?>
<script type="text/javascript">
    // magic to do insertAtCaret
    $.fn.extend({
        insertAtCaret: function(myValue){
            return this.each(function(i) {
                  if (document.selection) {
                      //For browsers like Internet Explorer
                      this.focus();
                      var sel = document.selection.createRange();
                      sel.text = myValue;
                      this.focus();
                  }
Example #3
0
    echo '<option value="' . $key . '" ' . $selected . '>' . $value . '</option>';
}
?>
                        </select>
                        <p class="help-block">Enable AOL login</p>
                    </div>
                </div>

            </div>

        </div>
        <button class="btn btn-primary btn-lg">Apply Changes</button>
    </form>
</div>
<?php 
$asset->add_cms_js("nocms/js/jquery.autosize.js");
$asset->add_cms_js("grocery_crud/js/jquery_plugins/jquery.chosen.min.js");
//$asset->add_cms_js("grocery_crud/js/jquery_plugins/config/jquery.chosen.config.js");
echo $asset->compile_js();
?>
<script type="text/javascript">
    // magic to do insertAtCaret
    $.fn.extend({
        insertAtCaret: function(myValue){
            return this.each(function(i) {
                  if (document.selection) {
                      //For browsers like Internet Explorer
                      this.focus();
                      var sel = document.selection.createRange();
                      sel.text = myValue;
                      this.focus();
}
// 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();
        var change_password_checked = $('input[name="change_password"]').attr("checked")=='checked';
        $("#img_ajax_loader").show();
        if(REQUEST_EXISTS){
        	REQUEST.abort();