{* /** * Copyright (c) 2014, Kairat Bakytow * All rights reserved. * ATTENTION: This commercial software is intended for use with Oxwall Free Community Software http://www.oxwall.org/ * and is licensed under Oxwall Store Commercial License. * Full text of this license can be found at http://www.oxwall.org/store/oscl */ *} {$menu}
{form name='smileys-settings'}
{label name='width'} {input name='width'} {error name='width'}
{submit name='save'}
{/form}
{foreach $smileys as $smile} {/foreach}
{script}{literal} ;(function( $ ) { $(document.forms['smileys-settings']['width']).on("input", function() { var width = +this.value || 40; $(document.getElementById("smileys-panel-admin")).css("width", width + "px"); }); })(jQuery); {/literal}{/script}