FreeMarker mark-up accepted. An object of the name "resource" is available which represents the resource to be embedded.
Function | Description |
---|
getCanonicalUrl() | The canonical URL to the actual file, bypassing all viewers. "Latest version" selection will not work with this URL. |
getDefaultViewerUrl() | Get the URL to view the resource with the default viewer. |
getTitle() | The title of the selected resource. |
getViewerUrl(String viewerId) | Get the URL to view the resource with a specific viewer. In particular, the 'file' viewer is most useful since it allows "Latest version" selection to work and ultimately points to the canonical URL. |
For example\:
<img src\="${resource.getViewerUrl('file')}" alt\="${title}" title\="${title}" />
<a href\="${resource.getDefaultViewerUrl()}">View "${title}" with the default viewer<a/>
+com.tle.web.htmleditor.tinymce.addon.tle.mimetemplate.migration=Upgrade embedding templates
+com.tle.web.htmleditor.tinymce.addon.tle.mimetemplate.title=Embedding template
+com.tle.web.htmleditor.tinymce.addon.tle.sessiontitle.tle_fileuploader=Upload a file or select a current attachment
+com.tle.web.htmleditor.tinymce.addon.tle.sessiontitle.tle_reslinker=Link to a resource
+com.tle.web.htmleditor.tinymce.addon.tle.sessiontitle.tle_scrapbookpicker=Embed a resource attachment
+com.tle.web.htmleditor.tinymce.addon.tle.upload.currentattachments=Select from current attachments
+com.tle.web.htmleditor.tinymce.addon.tle.upload.error.musthavedescription=You must enter a short description for this file
+com.tle.web.htmleditor.tinymce.addon.tle.upload.error.mustselectfile=You must select an existing file with a file size greater than 0
+com.tle.web.htmleditor.tinymce.addon.tle.upload.filedescription=Please enter a description (optional)
+com.tle.web.htmleditor.tinymce.addon.tle.upload.htmlcontrolattachments=Html Editor Control attachments
+com.tle.web.htmleditor.tinymce.addon.tle.upload.itemattachments=Item attachments
+com.tle.web.htmleditor.tinymce.addon.tle.upload.newfile=Upload a new file
+com.tle.web.htmleditor.tinymce.addon.tle.upload.select=Select
+com.tle.web.htmleditor.tinymce.addon.tle.upload.selectfile=Select a file to upload
+com.tle.web.htmleditor.tinymce.addon.tle.upload.upload=Upload
+com.tle.web.htmleditor.tinymce.button.abbr=Abbreviation
+com.tle.web.htmleditor.tinymce.button.absolute=Toggle Absolute Positioning
+com.tle.web.htmleditor.tinymce.button.acronym=Acronym
+com.tle.web.htmleditor.tinymce.button.advhr=Insert Horizontal Line
+com.tle.web.htmleditor.tinymce.button.anchor=Insert/Edit Anchor
+com.tle.web.htmleditor.tinymce.button.attribs=Insert/Edit Attributes
+com.tle.web.htmleditor.tinymce.button.backcolorpicker=Select Background Colour
+com.tle.web.htmleditor.tinymce.button.blockquote=Block Quote
+com.tle.web.htmleditor.tinymce.button.bold=Bold
+com.tle.web.htmleditor.tinymce.button.bullist=Insert/Remove Bulleted List
+com.tle.web.htmleditor.tinymce.button.cancel=Discard Changes
+com.tle.web.htmleditor.tinymce.button.cell_props=Table Cell Properties
+com.tle.web.htmleditor.tinymce.button.charmap=Insert Special Character
+com.tle.web.htmleditor.tinymce.button.cite=Citation
+com.tle.web.htmleditor.tinymce.button.code=Edit HTML Source
+com.tle.web.htmleditor.tinymce.button.col_after=Insert Column After
+com.tle.web.htmleditor.tinymce.button.col_before=Insert Column Before
+com.tle.web.htmleditor.tinymce.button.copy=Copy
+com.tle.web.htmleditor.tinymce.button.cut=Cut
+com.tle.web.htmleditor.tinymce.button.del=Deletion
+com.tle.web.htmleditor.tinymce.button.delete_col=Delete Column
+com.tle.web.htmleditor.tinymce.button.delete_row=Delete Row
+com.tle.web.htmleditor.tinymce.button.emotions=Emotions
+com.tle.web.htmleditor.tinymce.button.fontselect=Font Family
+com.tle.web.htmleditor.tinymce.button.fontsizeselect=Font Size
+com.tle.web.htmleditor.tinymce.button.forecolorpicker=Select Text Colour
+com.tle.web.htmleditor.tinymce.button.formatselect=Format
+com.tle.web.htmleditor.tinymce.button.fullscreen=Toggle Full Screen Mode
+com.tle.web.htmleditor.tinymce.button.help=About
+com.tle.web.htmleditor.tinymce.button.hr=Insert Horizontal Line
+com.tle.web.htmleditor.tinymce.button.image=Insert/Edit Image
+com.tle.web.htmleditor.tinymce.button.indent=Increase Indent
+com.tle.web.htmleditor.tinymce.button.ins=Insertion
+com.tle.web.htmleditor.tinymce.button.insertdate=Insert Date
+com.tle.web.htmleditor.tinymce.button.insertlayer=Insert New Layer
+com.tle.web.htmleditor.tinymce.button.inserttime=Insert Time
+com.tle.web.htmleditor.tinymce.button.italic=Italic
+com.tle.web.htmleditor.tinymce.button.justifycenter=Align Center
+com.tle.web.htmleditor.tinymce.button.justifyfull=Align Full
+com.tle.web.htmleditor.tinymce.button.justifyleft=Align Left
+com.tle.web.htmleditor.tinymce.button.justifyright=Align Right
+com.tle.web.htmleditor.tinymce.button.link=Insert/Edit Link
+com.tle.web.htmleditor.tinymce.button.ltr=Direction Left to Right
+com.tle.web.htmleditor.tinymce.button.media=Insert/Edit Embedded Media
+com.tle.web.htmleditor.tinymce.button.merge_cells=Merge Table Cells
+com.tle.web.htmleditor.tinymce.button.movebackward=Move Backward
+com.tle.web.htmleditor.tinymce.button.moveforward=Move Forward
+com.tle.web.htmleditor.tinymce.button.newdocument=New Document
+com.tle.web.htmleditor.tinymce.button.nonbreaking=Insert Non-Breaking Space Character
+com.tle.web.htmleditor.tinymce.button.numlist=Insert/Remove Numbered List
+com.tle.web.htmleditor.tinymce.button.outdent=Descrease Indent
+com.tle.web.htmleditor.tinymce.button.pagebreak=Insert Page Break for Printing
+com.tle.web.htmleditor.tinymce.button.paste=Paste
+com.tle.web.htmleditor.tinymce.button.preview=Preview
+com.tle.web.htmleditor.tinymce.button.print=Print
+com.tle.web.htmleditor.tinymce.button.redo=Redo
+com.tle.web.htmleditor.tinymce.button.removeformat=Remove format
+com.tle.web.htmleditor.tinymce.button.replace=Find/Replace
+com.tle.web.htmleditor.tinymce.button.row_after=Insert Row After
+com.tle.web.htmleditor.tinymce.button.row_before=Insert Row Before
+com.tle.web.htmleditor.tinymce.button.row_props=Table Row Properties
+com.tle.web.htmleditor.tinymce.button.rtl=Direction Right to Left
+com.tle.web.htmleditor.tinymce.button.save=Save
+com.tle.web.htmleditor.tinymce.button.search=Find
+com.tle.web.htmleditor.tinymce.button.selectall=Select All
+com.tle.web.htmleditor.tinymce.button.separator=Separator
+com.tle.web.htmleditor.tinymce.button.spellchecker=Toggle Spell Checker
+com.tle.web.htmleditor.tinymce.button.split_cells=Split Merged Table Cells
+com.tle.web.htmleditor.tinymce.button.strikethrough=Strikethrough
+com.tle.web.htmleditor.tinymce.button.styleprops=Edit CSS Style
+com.tle.web.htmleditor.tinymce.button.styleselect=Styles
+com.tle.web.htmleditor.tinymce.button.sub=Subscript
+com.tle.web.htmleditor.tinymce.button.sup=Superscript
+com.tle.web.htmleditor.tinymce.button.table=Insert/Edit Table
+com.tle.web.htmleditor.tinymce.button.template=Insert Predefined Template Content
+com.tle.web.htmleditor.tinymce.button.underline=Underline
+com.tle.web.htmleditor.tinymce.button.undo=Undo
+com.tle.web.htmleditor.tinymce.button.unlink=Unlink
+com.tle.web.htmleditor.tinymce.button.visualaid=Show/Hide Guidelines/Invisible Elements
+com.tle.web.htmleditor.tinymce.button.visualchars=Show/Hide Visual Control Characters
+com.tle.web.htmleditor.tinymce.dropdown.fontfamily=Font Family
+com.tle.web.htmleditor.tinymce.dropdown.fontsize=Font Size
+com.tle.web.htmleditor.tinymce.dropdown.format=Format
+com.tle.web.htmleditor.tinymce.dropdown.styles=Styles
+com.tle.web.htmleditor.tinymce.editor.link.fullscreen=Toggle full-screen
+com.tle.web.htmleditor.tinymce.exception.unsupportedaction=Unsupported action
+com.tle.web.ims.export.export=Download IMS package with updated metadata
+com.tle.web.ims.export.imstitle=IMS Package
+com.tle.web.ims.export.original=Download original IMS package
+com.tle.web.ims.imsimport.notloaded=Could not load IMS manifest
+com.tle.web.ims.imspackage=IMS Package
+com.tle.web.ims.scormpackage=SCORM Package
+com.tle.web.inplaceeditor.alert.beinguploaded=The file is currently being uploaded.
+com.tle.web.inplaceeditor.confirm.changesdetected=There are changes in the editor not yet uploaded.\nDo you wish to upload and save these changes?\nSelect Cancel to discard unsaved changes.
+com.tle.web.institution.clusternodes.debug.checkbox=Enable cluster debugging
+com.tle.web.institution.clusternodes.health=Health check
+com.tle.web.institution.clusternodes.ids=The following Nodes have been recognised as part of this cluster
+com.tle.web.institution.clusternodes.node.id=Node ID
+com.tle.web.institution.clusternodes.node.ips=IP addresses
+com.tle.web.institution.clusternodes.nonclustered=clustering is not enabled
+com.tle.web.institution.clusternodes.services=Services
+com.tle.web.institution.clusternodes.tasks.task.label.nodeid=Node ID
+com.tle.web.institution.clusternodes.tasks.task.label.title=Title
+com.tle.web.institution.clusternodes.tasks.title=Active tasks
+com.tle.web.institution.clusternodes.thisnode=You are using this node
+com.tle.web.institution.column.actions=Actions
+com.tle.web.institution.column.institution=Institution
+com.tle.web.institution.column.status=Status
+com.tle.web.institution.databases.add=Add database
+com.tle.web.institution.databases.add.receipt=Database added
+com.tle.web.institution.databases.bringonline=Bring online
+com.tle.web.institution.databases.bringonline.receipt=Database is now available
+com.tle.web.institution.databases.cell.actions=Actions
+com.tle.web.institution.databases.cell.name=Name
+com.tle.web.institution.databases.cell.status=Status
+com.tle.web.institution.databases.delete=Remove this database
+com.tle.web.institution.databases.delete.confirm=Are you sure you want to remove this database? Any institutions residing on this database will become unavailable.
+com.tle.web.institution.databases.delete.receipt=Database successfully removed
+com.tle.web.institution.databases.dialog.add=Add
+com.tle.web.institution.databases.dialog.addonline=Add and bring online
+com.tle.web.institution.databases.dialog.addonline.confirm=If you are adding an existing EQUELLA database please confirm that you have backed it up.
+com.tle.web.institution.databases.dialog.description=Description
+com.tle.web.institution.databases.dialog.main.description=These setting are used by EQUELLA to access and manipulate the schema and all the contained data. All databases must be from the same vendor, so you may only have connections to {0} databases.
+com.tle.web.institution.databases.dialog.main.description.oracle=Oracle
+com.tle.web.institution.databases.dialog.main.description.postgresql=PostgreSQL
+com.tle.web.institution.databases.dialog.main.description.sqlserver=Microsoft SQL Server
+com.tle.web.institution.databases.dialog.main.heading=Main connection
+com.tle.web.institution.databases.dialog.otherdetails=Other details
+com.tle.web.institution.databases.dialog.password=Password
+com.tle.web.institution.databases.dialog.reporting.description=These setting are used when executing reports. It is highly recommended that credentials with lower privileges are used to avoid report designers from performing queries against data you wish to remain secret or perform data manipulation. Any fields that are left blank will use the respective value from the main connection above.
+com.tle.web.institution.databases.dialog.reporting.heading=Reporting connection
+com.tle.web.institution.databases.dialog.save=Save
+com.tle.web.institution.databases.dialog.title.add=Add database
+com.tle.web.institution.databases.dialog.title.edit=Edit database
+com.tle.web.institution.databases.dialog.url=JDBC URL
+com.tle.web.institution.databases.dialog.url.oracle=This should be in the form