<%

' ---- [Public] This subroutine generates the html to show the "Preview Page" link
Sub ShowPreviewLink()
 %><a target="_self" href="#" onclick="WBC_openWindowOnFocus('<%= GetPreviewUrl(GetCurrentObject()) %>', IDS_WIN_PREVIEW, WBC_getPoppedUpWindowFeatures(IDS_WIN_PREVIEW_FEATURES, window.top));return false" ><%=IDS_UI_CONSOLE_PREVIEW%></a><%
End Sub

' ---- [Public] This subroutine generates the html to show the "Preview Connected Page" link
Sub ShowGoToConnectedPagesLink()
%><a target="_self" href="#" onclick="WBC_openWindowOnFocus('<%= GetConnectedPostingQuickJumpUrl() %>', IDS_WIN_GOTO_CONNECTED_SELECTION, WBC_getPoppedUpWindowFeatures(IDS_WIN_GOTO_CONNECTED_SELECTION_FEATURES, window.top));return false" ><%=IDS_UI_CONSOLE_GOTO_CONNECTED%></a><%
End Sub
' ---- [Public] This subroutine generates the html to show the "Edit Page" link
Sub ShowEditLink()
%><a target="_self" href="#" onclick="window.top.location='<%= GetAuthoringUrl(AutoSession.ThisPosting) %>';return false" ><%=IDS_UI_CONSOLE_EDIT%></a><%
End Sub

' ---- [Public] This subroutine generates the html to show the "Delete Page" link
Sub ShowDeleteLink()
%><a target="_top" href="<%= GetDeleteUrl() %>" onclick="return confirm(IDS_DELETE_CONFIRM)" ><%=IDS_UI_CONSOLE_DELETE%></a><%
End Sub

' ---- [Public] This subroutine generates the html to show the "Page Properties" link
Sub ShowPropertiesLink()
%><a href="#" onclick="WBC_openWindowOnFocus('<%=GetPropertiesUrl()%>', IDS_WIN_PAGEPROPS_NAME, IDS_WIN_PAGEPROPS_FEATURES);return false"><%=IDS_UI_CONSOLE_PAGE_PROPERTIES%></a><%
End Sub

' ---- [Public] This subroutine generates the html to show the "Channel Properties" link
Sub ShowChannelPropsDialogLink()
%><a href="#" onclick="WBC_openWindowOnFocus('<%=GetChannelPropertiesUrl()%>', IDS_WIN_PAGEPROPS_NAME, IDS_WIN_PAGEPROPS_FEATURES);return false"><%=IDS_UI_CONSOLE_CHANNEL_PROPERTIES%></a><%
End Sub

' ---- [Public] This subroutine generates the html to show the "Submit Page" link
Sub ShowSubmitLink()
%><a target="_top" href="<%= GetSubmitUrl() %>"><%=IDS_UI_CONSOLE_SUBMIT%></a><%
End Sub

' ---- [Public] This subroutine generates the html to show the "Approve Page" link
Sub ShowApproveLink()
%><a target="_top" href="<%= GetApproveUrl() %>" ><%=IDS_UI_CONSOLE_APPROVE%></a><%
End Sub

' ---- [Public] This subroutine generates the html to show the "Decline Page" link
Sub ShowDeclineLink()
%><a target="_top" href="<%= GetDeclineUrl() %>" ><%=IDS_UI_CONSOLE_DECLINE%></a><%
End Sub
' ---- [Public] This subroutine generates the html to show the "Copy Page" link
Sub ShowCopyLink()
%><a href="#" onclick="WBC_openWindowOnFocus('<%= GetPostingCopyUrl() %>', IDS_WIN_PAGECOPYDLG_NAME, IDS_WIN_PAGECOPYDLG_FEATURES);return false"><%=IDS_UI_CONSOLE_COPY%></a><%
End Sub

' ---- [Public] This subroutine generates the html to show the "Move Page" link
Sub ShowMoveLink()
%><a href="#" onclick="WBC_openWindowOnFocus('<%= GetPostingMoveUrl() %>', IDS_WIN_PAGEMOVEDLG_NAME, IDS_WIN_PAGEMOVEDLG_FEATURES);return false"><%=IDS_UI_CONSOLE_MOVE%></a><%
End Sub

' ---- [Public] This subroutine generates the html to show the "Page Revision History" link
Sub ShowPageRevisionDialogLink()
%><a href="#" onclick="WBC_openWindowOnFocus('<%=GetPageRevisionReportUrl()%>', IDS_WIN_PAGEREVISION_NAME, WBC_getPoppedUpWindowFeatures(IDS_WIN_PAGEREVISION_FEATURES, window.top));return false" ><%=IDS_UI_CONSOLE_REVISION_HISTORY%></a><%
End Sub

' ---- [Public] This subroutine generates the html to show the "View Revisions By Date" link
Sub ShowViewPageRevisionByDateDialogLink()
%><a href="#" onclick="WBC_openWindowOnFocus('<%=GetPageRevisionByDateUrl()%>', IDS_WIN_PAGEREVISION_BY_DATE_NAME, IDS_WIN_PAGEREVISION_BY_DATE_FEATURES);return false" ><%=IDS_UI_CONSOLE_VIEW_REVISION_BY_DATE%></a><%
End Sub

%>

