-200
 • Plugins • FM5 • editor • -200
 
<!--#if expr="<X-FC-URL-PARAMETER subscribed exists>=1"--><!--#rem startInc --><!--#include virtual="//Setup?formid=2658" --><!--#include virtual="/.templates/fmlibrary/terms.inc" --><!--#include virtual="/.templates/firstmagicplugin/FMServerSettings?formid=2655" --><!--#if expr="$CUSTOMLANG=true"--><!--#include virtual="$FMLANGFILE" --><!--#endif--><!--#rem endInc --><script>
function delOnMove(){delID='.id'+xfclistidnumber; fcIDobject = $(document.body).getElements(delID); for(i=0; i<fcIDobject.length; i++) {fcIDobject[i].set('morph',{duration:200,transition:Fx.Transitions.Expo.easeIn,link:'chain'}), fcIDobject[i].morph({'opacity':0}).morph({'height':0}).morph({'display':'none'});}}
$$('.dragme').each(function(drag){drag.addEvent('touchmove', function(){this.setStyle('zIndex', '99');});});
$$('.dragme').makeDraggable({droppables: $$('.dropme'), onEnter: function(draggable, droppable){draggable.setStyle('background', 'url(/.templates/fmlibrary/graphics/overlay.png)').setStyle('zIndex', '99'); droppable.setStyle('background', '#999999 url(/.templates/fmlibrary/graphics/editmover.png) center right no-repeat').setStyle('zIndex', '98'); xfclistidnumber=draggable.className.slice(9); getpathId= ('path'+droppable.className.slice(9)); $('todest').value=thismovefragment; doremove='true'; if (xfclistidnumber==droppable.className.slice(9)) droppable.style.background = '', draggable.setStyle('background', ''), doremove='false', $('targ').value = ('<!--#echo var="LOCALPATHHERE"-->'); else if ((getpathId)=='pathup') $('targ').value = ('<!--#echo var="LOCALPATHUP"-->'); else if ((getpathId)=='path<!--#echo var="FMROOTLIBRARY"-->') $('targ').value = ('<!--#echo var="XLOGIN"--><!--#echo var="FMROOTLIBRARY"-->'); else if ((getpathId)=='path<!--#echo var="FMROOTPORTAL"-->') $('targ').value = ('<!--#echo var="XLOGIN"--><!--#echo var="FMROOTPORTAL"-->'); else if ((getpathId)=='path<!--#echo var="FMROOTMENU"-->') $('targ').value = ('<!--#echo var="XLOGIN"--><!--#echo var="FMROOTMENU"-->'); else if ((getpathId)=='path<!--#echo var="FMROOTSIDEBAR"-->') $('targ').value = ('<!--#echo var="XLOGIN"--><!--#echo var="FMROOTSIDEBAR"-->'); else if ((getpathId)=='path<!--#echo var="FMROOTFOOTER"-->') $('targ').value = ('<!--#echo var="XLOGIN"--><!--#echo var="FMROOTFOOTER"-->'); else if ((getpathId)=='pathorthome') $('targ').value = ('/login/__www/'); else if ((getpathId)=='pathortpers') $('targ').value = ('<!--#echo var="XLOGIN"--><!--#echo var="FMROOTPORTAL"-->/<!--#echo var="SUBSITENAME"-->/'); else if ((getpathId)=='pathortarch') $('targ').value = ('<!--#echo var="ARCHIVEPATH"-->'); else if ((getpathId)=='pathortiml') $('targ').value = ('<!--#echo var="IMGARCHIVEPATH"-->'); else $('targ').value = ($(getpathId).value);}, onLeave: function(draggable, droppable){draggable.setStyle('background', '').setStyle('zIndex', '0'); droppable.style.background = '';}, onDrop: function(draggable, droppable){if (droppable) {draggable.setStyle('background', '').setStyle('zIndex', '0'); droppable.style.background = ''; if (doremove=='true')  delOnMove(),cleanupfail=1, $('movesubmit').click(); else draggable.setStyle('background', '').setStyle('zIndex', '0').setStyle('left', '0px').setStyle('top', '0px');} else draggable.setStyle('background', '').setStyle('zIndex', '0').setStyle('left', '0px').setStyle('top', '0px');}});
</script><!--#endif--><!--#set var="THISLISTDOMAIN" expr="@lower('<X-FC-HTTP-DOMAIN-NAME>')"--><!--#set var="THISLISTDOMAINWWW" expr="@lower('www.<X-FC-HTTP-DOMAIN-NAME>')"-->