Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /home/palandch/public_html/manager/templates/default/element/tv/renders/properties/ |
<div id="tv-wprops-form{$tv}"></div> {literal} <script type="text/javascript"> // <![CDATA[ var params = { {/literal}{foreach from=$params key=k item=v name='p'} '{$k}': '{$v|escape:"javascript"}'{if NOT $smarty.foreach.p.last},{/if} {/foreach}{literal} }; var oc = {'select':{fn:function(){Ext.getCmp('modx-panel-tv').markDirty();},scope:this}}; MODx.load({ xtype: 'panel' ,layout: 'form' ,autoHeight: true ,labelAlign: 'top' ,cls: 'form-with-labels' ,border: false ,items: [{ xtype: 'combo' ,fieldLabel: _('string_format') ,name: 'prop_format' ,hiddenName: 'prop_format' ,id: 'prop_format{/literal}{$tv}{literal}' ,store: new Ext.data.SimpleStore({ fields: ['v','d'] ,data: [['',_('none')],['Upper Case',_('upper_case')],['Lower Case',_('lower_case')],['Sentence Case',_('sentence_case')],['Capitalize',_('capitalize')]] }) ,displayField: 'd' ,valueField: 'v' ,mode: 'local' ,editable: false ,forceSelection: true ,typeAhead: false ,triggerAction: 'all' ,value: params['format'] || '' ,listeners: oc ,anchor: '100%' }] ,renderTo: 'tv-wprops-form{/literal}{$tv}{literal}' }); // ]]> </script> {/literal}