# this file must be UTF-8 encoded
package document
#######################################################################
# macros set from within the server
#######################################################################
_imagethispage_ {}
_httpprevarrow_ {}
_httpnextarrow_ {}
_pagetitle_ {}
_phindclassifier_ {}
_collageclassifier_ {}
# custom header for individual document
_documentheader_ {}
#custom css links for individual document
_csslink_{
}
_tocclose_ {}
_nextsearchresult_ {_If_("_cgiargsrn_" ne "0",
_prevarrow_
_nextarrow_
}
#######################################################################
# section for adding user comments: consists of form and its javascript
#######################################################################
# The div that loads the user comments that were already submitted
# associated javascript function loadUserComments is in style.dm's _globalscripts_ macro
_usercomments_ {
_If_(_cgiargd_,
)
}
# Display the add-user-comment form on actual document pages and not when browsing/searching
# This means the form should only be displayed on pages where the _cgiargd_ (the docid) is set
# If the user's logged in, show the comment form, else show the link to the login page
_addusercomment_ {
_If_(_cgiargd_,
_If_(_cgiargun_,_usercommentform_,_loginlink_)
)
}
_docurl_ {_gwcgi_?e=_compressedoptions_&a=_cgiargaUrlsafe_&c=_cgiargcUrlsafe_&cl=_cgiargclUrlsafe_&d=_cgiargdUrlsafe_}
_loginlink_ {
}
# For getting the submitbutton to make Ajax calls, see
# http://stackoverflow.com/questions/4264091/input-type-submit-instead-of-input-type-button-with-ajax
# http://stackoverflow.com/questions/8869341/ajax-form-submit-with-submit-button
_usercommentform_ {
}
#######################################################################
# the goto form
#######################################################################
_gotoform_ {
}
_textnumpages_ { (_1_ _pages_)}
_parentarrow_ {}
_prevtitle_ {}
_nexttitle_ {}
#######################################################################
# the phind applet
#
# The phind applet is only required on phind classifier pages.
# Consequently, the _phindclassifier_ macro is not usually set. On screens
# where it is required, _phindclassifier_ resolves to _phindapplet_, and
# the following macro is loaded into the web page.
#######################################################################
_phindapplet_ {
}
_collageapplet_ {
_endspacer__htmlfooter_
}
package Global
# Social network support
# Defined here in document, as the most likely place this will be used in
# within a document view, however its package is 'Global' because you
# might equally want this in a search or browse list
# _1_ = e.g. title
# _2_ = [srclink] or left empty. If left empty, then it will share the internal GS document
_sharemescript_ {
}
_shareme_ {