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 = {'change':{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: 'textfield' ,fieldLabel: _('image_alt') ,name: 'prop_alttext' ,id: 'prop_alttext{/literal}{$tv}{literal}' ,value: params['alttext'] || '' ,anchor: '100%' ,listeners: oc },{ xtype: 'numberfield' ,fieldLabel: _('image_hspace') ,name: 'prop_hspace' ,id: 'prop_hspace{/literal}{$tv}{literal}' ,value: params['hspace'] || '' ,width: 200 ,listeners: oc },{ xtype: 'numberfield' ,fieldLabel: _('image_vspace') ,name: 'prop_vspace' ,id: 'prop_vspace{/literal}{$tv}{literal}' ,value: params['vspace'] || '' ,width: 200 ,listeners: oc },{ xtype: 'numberfield' ,fieldLabel: _('image_border_size') ,name: 'prop_borsize' ,id: 'prop_borsize{/literal}{$tv}{literal}' ,value: params['borsize'] || '' ,width: 200 ,listeners: oc },{ xtype: 'combo' ,name: 'prop_align' ,hiddenName: 'prop_align' ,id: 'prop_align{/literal}{$tv}{literal}' ,fieldLabel: _('image_align') ,store: new Ext.data.SimpleStore({ fields: ['v'] ,data: [['none'],['baseline'],['top'],['middle'],['bottom'],['texttop'],['absmiddle'],['absbottom'],['left'],['right']] }) ,displayField: 'v' ,valueField: 'v' ,mode: 'local' ,editable: true ,forceSelection: false ,typeAhead: false ,triggerAction: 'all' ,value: params['align'] || 'none' ,anchor: '100%' ,listeners: oc },{ xtype: 'textfield' ,fieldLabel: _('name') ,name: 'prop_name' ,id: 'prop_name{/literal}{$tv}{literal}' ,value: params['name'] || '' ,anchor: '100%' ,listeners: oc },{ xtype: 'textfield' ,fieldLabel: _('class') ,name: 'prop_class' ,id: 'prop_class{/literal}{$tv}{literal}' ,value: params['class'] || '' ,anchor: '100%' ,listeners: oc },{ xtype: 'textfield' ,fieldLabel: _('id') ,name: 'prop_id' ,id: 'prop_id{/literal}{$tv}{literal}' ,value: params['id'] || '' ,anchor: '100%' ,listeners: oc },{ xtype: 'textfield' ,fieldLabel: _('style') ,name: 'prop_style' ,id: 'prop_style{/literal}{$tv}{literal}' ,value: params['style'] || '' ,anchor: '100%' ,listeners: oc },{ xtype: 'textfield' ,fieldLabel: _('attributes') ,name: 'prop_attributes' ,id: 'prop_attributes{/literal}{$tv}{literal}' ,value: params['attributes'] || '' ,anchor: '100%' ,listeners: oc }] ,renderTo: 'tv-wprops-form{/literal}{$tv}{literal}' }); // ]]> </script> {/literal}