Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
grep #macro confluence-6.6.2-source\confluence-project\confluence-core\confluence-webapp\src\main\webapp\template\includes\macros.vm
#macro (iconSpan $type $text $additionalClasses)
#macro (contentIcon $content)
#macro (contentIconWithLinkPrefix $content $prefix)
#macro (contentIcon2 $content $linkColor $linkHref $linkTitle)
#macro (typeIcon $type)
#macro (icon $imageName $size $title)<img src="$staticResourceUrlPrefix/images/icons/${imageName}" height="$size" width="$size" style="vertical-align: middle" #if($title != '')title="$title"#end/>#end
#macro (contentHref $content)
#macro (contentHrefWithLinkPrefix $content $prefix)
#macro (contentOther $content)
#macro (contentLink2 $content $showIcon $showSpace)
#macro (contentLink2WithLinkPrefix $content $showIcon $showSpace $baseUrl)
#macro (contentLink $content)
#macro (contentLinkWithLinkPrefix $content $prefix)
#macro (contentLinkWithAnchor $content $anchor)
#macro (includePage $spaceKey $pageTitle)
#macro (includePageWithId $pageId)
#macro (userLinkUrl $baseUrl $username)
#macro (userLinkUrlPrefix $baseUrl)
#macro (userLink $user)
#macro (userLinkWithCustomBaseUrl $user $baseurl)
#macro (userLinkParentWindow $user)
#macro (emailUserLink $user $baseurl)
#macro (userNonLink $username)
#macro (fullNameOrAnonymous $user)#if ($user && $user.fullName)$user.fullName#else$action.getText('anonymous.name')#end#end
#macro (siteTitle)$settingsManager.globalSettings.siteTitle#end
#macro (paginationBase $paginationSupport $actionContext $showTotal)
#macro(pagination $paginationSupport $actionContext)
#macro(entityPagination $paginationSupport $actionContext)
#macro(breadcrumbs)
#macro (colourRow $name $colour $isDefault)
#macro (trackbackRdf $identifier $title $ping)
#macro (onoff $test)
#macro (yesno $test)
#macro (fielderrorExecuteFunction $fieldname $javascriptFunctionHtml)
#macro (fielderror $fieldname)
#macro (fielderrorRow $fieldname)
#macro(adminMacros_renderAdminBreadcrumbs)
#macro(infoPanelInit)
#macro(infoPanelInitFromParams)
#macro(fixonlyHeader)
#macro(standardHeaderWithStylesheetAction $stylesheetAction)
#macro(standardHeader)
#macro(standardHeaderForAdmin)
#macro(javascripts)
#macro(rssautodiscovery $rssDescriptor)
#macro(displayGlobalMessages)
#macro(infoPanel $incomingLinks $trackbacks $referrers $externalReferences)
#macro (userList $users)
#macro (blogPostsCalendar $cal)
#macro (blogPostsCalendarWithDateLinks $action $datePostArrows)
#macro (blogPostsByMonth $action)
#macro(showOlderNewerBlogNavigation $action)
#macro (showPermissionsHeader)
#macro (showGlobalPermissionsHeader)
#macro (anyUserCanViewSpaceInfoBanner $isUnlicensedGlobalPermissionEnabled $spaceKey)
#macro (themeResource $resourcePath)$req.contextPath$req.getAttribute("theme.resource.path")$resourcePath#end
#macro (showPermissions $who $action $edit )
#macro(permissionValues $row $spacePermissionGroups $username $groupname)
#macro(permissionValueCell $row $permission $isFirstPermissionGroup $username $groupname)
#macro(checkboxSelector)
#macro (alternateRowColors)
#macro (spaceTitleLink)
#macro (pageTitleLink)
#macro (quickSearch)
#macro (customQuickSearch $prefix $accessKey $quickNavEnabled $searchOptions)
#macro (editBlogPostWithImageLink )
#macro (renderChildren)
#macro (renderComments)
#macro (onLoad)
#macro (onLoadAttr)
#macro (versionInfo)
#macro (versionComment)
#macro (versionCommentByPage $thePage)
#macro (labelLinkUrl $label)
#macro (logo $spaceKeyOrUsername)
#macro (logoBlock $spaceKeyOrUsername)
#macro (spaceLogoBlock $spaceKey)
#macro (userLogoBlock $user)
#macro (defaultSpaceLogoBlock)
#macro (logoForUserIfExists $username)
#macro (userLogoBlockOtherwise $username $otherwiseHtml)
#macro (logoForUserOrSpacer $username)
#macro (profilePictureSpacer)
#macro (addProfilePictureHint)
#macro (userLogo $username)
#macro (tinyLink )
#macro (includeJavascript $src)
#macro (requireResource $resourceModuleKey)
#macro (requireResourcesForContext $context)
#macro (webPanelForLocation $location $context)
#macro (includePluginJavascript $pluginCompleteKey $scriptName)
#macro (node $p $idsToExpandAsList $openId)
#macro (permitSearchEngines)
#macro (searchResultContentLink $searchResult)
#macro (searchResult $searchResult $showExcerpts $queryString)
#macro (commaDelimitedList $list)
#macro (doc $link $body)
#macro (hint $hintKey)
#macro (addClassName $existingClass $newClass)
#macro (captchaImage $captchaId)
#macro (displayContentPermission $perm)
#macro (favicon)
#macro(dashboard_renderGlobalActions $menuId $webSectionKeys)
#macro(unencoded $assumedHtml)
#macro(form_xsrfToken)
#macro(url_xsrfToken)
#macro (showCacheStatistics $cacheStatistics, $expiredCountHeaderProperty)
#macro (sortLink $sortByLink $destination $label)
#macro (jsI18n $key)
#macro (putMetadata $key $valHtml)
#macro (renderMetadata)
#macro (renderMetadatum $key $val)
#macro (attr $name $value)
#macro (assistiveLegend $label)
#macro (assistiveSkipLink $label $value)
#macro (assistiveLabel $label $value)
#macro (blankExperience $type $hasCreatePermission $textKey $noPermissionTextKey $buttonTextKey $buttonLink $textParams $noPermissionTextParams)
#macro (pageByline $page $dateFormatter $renderStatic)
#macro (alertAnonymous)
#macro (confluenceServerPerformanceSpan)
#macro (flushResponse)
#macro (httpStatsElapse $tag)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment