#IF(#INPUT.PageSize)
#ENDIF#IF(#INPUT.OrderBy)
#ENDIF#IF(#INPUT.OrderDesc)
#ENDIF
#IF(#FormError)
{InputError}
#IF(#FormErrors.Reason.STRING_EMPTY)
{MandatoryNotice}
#ELSE
{PleaseCorrectErrors}
#ENDIF
#ENDIF
#IF(#DELETE)
{AcceptAction}
{AcceptActionInfo}
#LOOP(#DeleteObjects)
#ENDLOOP
#ENDIF
#BLOCK("Pager", #ChildObjects, 10)
#IF(NOT #DELETE)
#SNIPPET("INC-BatchActions", "BatchActions", "BatchActions")
#ENDIF
#INCLUDE("INC-PagerHeader")
|
#IF(#Pager.OrderBy NE "Subject")
{Posts}
|
#ELSIF(#INPUT.OrderDesc)
{Posts}
|
#ELSE
{Posts}
|
#ENDIF
#IF(#Pager.OrderBy NE "Tags")
{Keywords}
|
#ELSIF(#INPUT.OrderDesc)
{Keywords}
|
#ELSE
{Keywords}
|
#ENDIF
#IF(#Pager.OrderBy NE "CreationDate")
{Date}
|
#ELSIF(#INPUT.OrderDesc)
{Date}
|
#ELSE
{Date}
|
#ENDIF
#IF(#Pager.OrderBy NE "LastReply.CreationDate")
{LastComment}
|
#ELSIF(#INPUT.OrderDesc)
{LastComment}
|
#ELSE
{LastComment}
|
#ENDIF
#IF(#Pager.OrderBy NE "Replies")
{Comments}
|
#ELSIF(#INPUT.OrderDesc)
{Comments}
|
#ELSE
{Comments}
|
#ENDIF
|
#IF(#DELETE)
#LOOP(#DeleteObjects)
|
#IF(#Subject)#Subject#ELSE({NoSubject})#ENDIF
|
#JOIN(", ", #FUNCTION("FROMPLAINLOOP", #TagNames))#Element#ENDJOIN |
#CreationDate[date_tz] /
#IF(#DEFINED(#User))
#WITH(#User)#INCLUDE("User-ListDetails")#ENDWITH
#ELSE
{Guest}
#ENDIF
#CreationDate[datetime]
|
#IF(#DEFINED(#LastReply))
#LastReply.CreationDate[date] /
#IF(#DEFINED(#LastReply.User))
#WITH(#LastReply.User)#INCLUDE("User-ListDetails")#ENDWITH
#ELSE
{Guest}
#ENDIF
#LastReply.CreationDate[datetime]
#ENDIF
|
#IF(#IsClosed)#ENDIF
#COUNT(#Replies)
|
#ENDLOOP
#ELSE
#LOOP(#Pager.Items)
|
#IF(#Subject)#Subject#ELSE({NoSubject})#ENDIF
|
#JOIN(", ", #FUNCTION("FROMPLAINLOOP", #TagNames))#Element#ENDJOIN |
#CreationDate[date_tz] /
#IF(#DEFINED(#User))
#WITH(#User)#INCLUDE("User-ListDetails")#ENDWITH
#ELSE
{Guest}
#ENDIF
#CreationDate[datetime]
|
#IF(#DEFINED(#LastReply))
#LastReply.CreationDate[date] /
#IF(#DEFINED(#LastReply.User))
#WITH(#LastReply.User)#INCLUDE("User-ListDetails")#ENDWITH
#ELSE
{Guest}
#ENDIF
#LastReply.CreationDate[datetime]
#ENDIF
|
#IF(#IsClosed)#ENDIF
#COUNT(#Replies)
#IF(#COUNT(#Replies))
{Show}
#ENDIF
|
#ENDLOOP
#ENDIF
#IF(NOT #DELETE AND NOT #SEARCH)
{MandatoryStar}
|
#LOCAL("SavedText", #Text)
#IF(NOT #FormError_Text)#SET("Text", "")#ENDIF
#SNIPPET("INC-WYSIWYG", "Name,InputName,Head,BlogPost","Text", "Text", "{Text}", 1)
#SET("Text", #SavedText)
#ENDLOCAL
|
{UseCommas}
|
#ENDIF
#ENDBLOCK
#IF(#DELETE)
#ELSE
#ENDIF
#ENDBLOCK