<#-- The parts common to the creation and the modification forms of a portlet (create_portlet.html, modify_portlet.html) --> <#-- The places in a column: the order the server gives the portlet, 1 for the top, n + 1 after the n-th other portlet of the column (PortletHome.placeInColumn) - others: the other portlets of the column, in their order - selected: the place selected, 0 for none --> <#macro placeOptions others selected=0> <#list others as other> <#-- The places of each column of the page, which the place list takes when the column changes - places: the other portlets of each column, by column number - otherPage: also the places of a column of another page, whose portlets are not known: the top or the end --> <#macro placeTemplates places otherPage=false> <#list places as column, others> <#if otherPage> <#-- The behaviour of the form: the button showing or hiding the properties, and the place list following the page and the column. The place list (#order) keeps the current place when the portlet stays in its column (data-current-column, data-current-place), and goes to the end of the column otherwise. With data-from-url, the column and the place come from the parameters portlet_column and portlet_order of the address, as the buttons and the drag and drop of the site administration give them --> <#macro portletFormScript>