[% IF itemobj.isRemoteURL || !cmd -%] [% ELSE -%] [% END -%] [% IF img -%][% cmdstring | string %][% ELSE %][% cmdstring | string -%][% END -%]