History
   Show Presentation
 
 
 -17
Home • Plugins • RWDM_Docrotating2 • -17
 


<!--^ RWD/RWDM_Docrotating2/-17 T=<X-FC-REQUEST-TIME>-->
<!--#set var="TitleLower" expr="@lower(`<X-FC-LIST-ITEM COLUMN[Name]>`)" -->
<!--#set var="fext" expr="@indexof(`$TitleLower`, '.')"-->

<!--#set var="hasDot" value="0" --><!--#set var="IsImg" value="0" -->
<!--#while expr="@indexof(`$TitleLower`, `.`)!=-1" -->
<!--#set var="hasDot" value="1" -->
<!--#set var="TitleLower1" expr="@split($TitleLower, `.`)" -->
<!--#endwhile -->

<!--#if expr="$hasDot && @indexof($imgExtension, $TitleLower)!=-1" -->
<!--#set var="IsImg" value="1" -->
<!--#endif -->

<!--#if expr="!<X-FC-LIST-ITEM COLUMN[Status] Unapproved> && !<X-FC-LIST-ITEM COLUMN[Status] Deleted> && (<X-FC-LIST-ITEM COLUMN[ObjType] IsFile> || <X-FC-LIST-ITEM COLUMN[ObjType] IsLeaf> || <X-FC-LIST-ITEM COLUMN[ObjType] IsDoc> || $IsImg) && $TitleLower !=~ ${rwdpathfile}" it doesn't show upapproved or deleted items or the configuration file-->
<!--#set var="item_count" expr="++$item_count" -->

<!--#set var="modal_href" value="" -->

<!--#if expr="@indexof(`<X-FC-LIST-ITEM COLUMN[8022] STRING>`, `[`) != -1 && @indexof(`<X-FC-LIST-ITEM COLUMN[8022] STRING>`, `]`) != -1" url in Keywords, contained by `[` and `]`-->
<!--#set var="rwdtmp" value="<X-FC-LIST-ITEM COLUMN[8022] STRING>" -->
<!--#set var="modal_href" expr="@split($rwdtmp, `[`)" -->
<!--#set var="modal_href" expr="@split($rwdtmp, `]`)" -->
<!--#if expr="@indexof($modal_href, `#`) == 0" --><!--#set var="modal_href" value="JavaScript:void(0);" --><!--#endif -->
<!--#else url in Keywords-->
<!--#set var="modal_href" value="<X-FC-LIST-ITEM-URI>" -->
<!--#if expr="!$IsImg" --><!--#set var="modal_href" value="${modal_href}?Templates=RWD&FormID=96&noclosebutton&printversion=2" --><!--#endif -->
<!--#endif url in Keywords-->

<!--#if expr="<X-FC-URL-PARAMETER display_mode NUMBER> == 1" --><!--#set var="display_mode" value="1"--><!--#elif expr="<X-FC-URL-PARAMETER amp;display_mode NUMBER> == 1" --><!--#set var="display_mode" value="1"-->
<!--#else --><!--#set var="display_mode" value="2"--><!--#endif -->
<!--#macro name="Mro_LnkOpenTargetBy8021Category" get the target: modal, iframe, new, same from Category field-->

<div id="<X-FC-URL-PARAMETER cell_id><!--#echo var="item_count" -->" class="rmdr_cycle<X-FC-URL-PARAMETER cell_id><!--#if expr="@indexof($modal_href, `void(0)`) == -1" --><!--#if expr="$display_mode == 1" --> mu_modal_display<!--#elif expr="$display_mode == 2" --> mu_bodypart_display_dr<!--#elif expr="$display_mode == 3" --> mu_samewindow_display_dr<!--#elif expr="$display_mode == 4" --> mu_newwindow_display_dr<!--#endif --><!--#endif -->" style="<!--#if expr="$item_count==1" -->display:none;<!--#else -->display:none;<!--#endif -->overflow:hidden;" href="<!--#echo var="modal_href" -->"><!--#if expr="$IsImg" --><img src="<X-FC-LIST-ITEM-URI>" title="" alt="document rotating image" border="0" style="float:left;cursor:pointer;cursor:hand;" /><!--#endif --></div>
<!--#if expr="!$IsImg" -->
<!--#set var="when_val" value="${when_val}, jQuery.get('<X-FC-LIST-ITEM-URI ABSOLUTE>?Plugin=RWDMashup_Docrotating&FormID=96', function(data){jQuery('#<X-FC-URL-PARAMETER cell_id>${item_count}').html(data);})" -->
<!--#endif -->

<!--#endif it doesn't show upapproved or deleted items Mark 1-->