#if($menu && $EnabledMenuItemExists) #toolbar($menu) #end #set ($SiteColumnFlag = 0) #foreach ($item in $showMessagesList2) #set ($ref = $entityManager.newReference($item.Reference)) #set ($origChannelRef = $service.channelReference($ref.Context,$ref.Container)) #if (!$origChannelRef.equals($channel.Reference)) #set ($SiteColumnFlag = $SiteColumnFlag + 1) #end #end #if ($alertMessage)
$tlang.getFormattedMessage("gen.alert.message", $alertMessage)
#end ##end navPanel #if ($messageListVector.iterator().hasNext())
#if (!$currentSortedBy.equals("subject")) $tlang.getString('gen.sortby') #else #if ($currentSortAsc.equals("true")) $tlang.getString('gen.sortby') $tlang.getString('gen.sortbyasc') #else $tlang.getString('gen.sortby') $tlang.getString('gen.sortbydesc') #end #end
#if (!$currentSortedBy.equals("from")) $tlang.getString('gen.sortbyauth') #else #if ($currentSortAsc.equals("true")) $tlang.getString('gen.sortbyauth') $tlang.getString('gen.sortbyauthasc') #else $tlang.getString('gen.sortbyauth') $tlang.getString('gen.sortbyauthdesc') #end #end
#if (!$currentSortedBy.equals("releasedate")) $tlang.getString('gen.sortbyreleasedate') #else #if ($currentSortAsc.equals("true")) $tlang.getString('gen.sortbyreleasedate') $tlang.getString('gen.sortbyreleasedateasc') #else $tlang.getString('gen.sortbyreleasedate') $tlang.getString('gen.sortbyreleasedatedesc') #end #end
#if (!$currentSortedBy.equals("retractdate")) $tlang.getString('gen.sortbyretractdate') #else #if ($currentSortAsc.equals("true")) $tlang.getString('gen.sortbyretractdate') $tlang.getString('gen.sortbyretractdateasc') #else $tlang.getString('gen.sortbyretractdate') $tlang.getString('gen.sortbyretractdatedesc') #end #end
#if (!$currentSortedBy.equals("date")) $tlang.getString('gen.sortbydate') #else #if ($currentSortAsc.equals("true")) $tlang.getString('gen.sortbydate') $tlang.getString('gen.sortbydateasc') #else $tlang.getString('gen.sortbydate') $tlang.getString('gen.sortbydatedesc') #end #end

#else ##there are no announcements
#if ($!view == "view.public") $tlang.getString("gen.therearepublic") #elseif ($!view == "view.bygroup") $tlang.getString("gen.therearegroup") #else $tlang.getString("gen.thereare") #end
#end ##end of for each loop