Menu

[r99]: / trunk / Src / Res / HTML / info-snippet-tplt.html  Maximize  Restore  History

Download this file

151 lines (132 with data), 4.9 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!--
* info-snippet-tplt.html
*
* Information pane template.
* Used to display details of currently selected snippet.
*
* Renamed from info-routine-tplt.html to info-snippet-tplt.html as at v3.1.
*
* v0.1 of 20 Feb 2005 - Original version, named info-routine-tplt.html.
* v0.2 of 19 Apr 2005 - Moved these comments below xml and doctype tags.
* v0.3 of 03 Jun 2005 - Now contains only inner HTML of body tag rather than
* complete XHTML document.
* v1.0 of 04 Jun 2006 - Reformatted update log comments.
* - Changed to Mozilla Public License.
* v1.1 of 25 Nov 2006 - Added pas-source CSS class to source code pre tag.
* v2.0 of 03 Dec 2006 - Removed all template placeholders except compiler
* table rows and added ids to relevant tags for details
* to be updated via DHTML.
* v2.1 of 14 Sep 2008 - Added "Edit snippet" link to title line that can be
* hidden dynamically for non-user defined routines. This
* link has classes that make it alos appear in context
* menus.
* v3.0 of 25 Jan 2009 - Reinstated and modified template placeholders to
* be used instead of dynamic updating via DHTML.
* v3.1 of 20 Jun 2009 - Replaced reference to "routines" with "snippets".
* - Added new "snippet type" paragraph and <%Kind%>
* placeholder.
* - Added div round compiler table that can show or hide
* it depending on new <%ShowCompilations%> placeholder.
* - Replaced <p> tag round <%Extra%> placeholder with a
* <div>: One or more <p> tags now added as part of
* template replacement.
* - Renamed as info-snippet-tplt.html.
* v3.2 of 12 Jul 2009 - Added new "category" paragraph and <%Category%>
* placeholder.
*
*
* ***** BEGIN LICENSE BLOCK *****
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
*
* The Original Code is info-snippet-tplt.html
*
* The Initial Developer of the Original Code is Peter Johnson
* (http://www.delphidabbler.com/).
*
* Portions created by the Initial Developer are Copyright (C) 2005-2009 Peter
* Johnson. All Rights Reserved.
*
* ***** END LICENSE BLOCK *****
-->
<div class="details">
<div>
<div
id="editlink"
class="option"
style="<%EditLink%>
padding:-0.1em 0 0.3em 0;position:relative;float:right;"
>
<a
id="editimglink"
class="command-link"
href="javascript:void(0);"
onclick="<%EditEventHandler%>;return false;"
onmouseover="showHint(vEditSnippet);"
onmouseout="clearHint();"
><img
src="editsnippet.gif"
class="option-img"
style="width:16px;height:16px;vertical-align:middle;"
title="Edit Snippet"
></a>
<a
id="edittextlink"
class="command-link menu-item"
href="javascript:void(0);"
onclick="<%EditEventHandler%>;return false;"
onmouseover="showHint(vEditSnippet);"
onmouseout="clearHint();"
>Edit Snippet</a>
</div>
<!-- Routine name common with info-routine-tplt.html -->
<h1 id="routinename" class="<%RoutineCSSClass%>">
<%RoutineName%>
</h1>
</div>
<p id="description">
<%Description%>
</p>
<div id="sourcecode">
<%SourceCode%>
</div>
<p>
<strong>Snippet type:</strong>
<span id="kind"><%Kind%></span>
</p>
<p>
<strong>Category:</strong>
<span id="category"><%Category%></span>
</p>
<p>
<strong>Required units:</strong>
<span id="units"><%Units%></span>
</p>
<p>
<strong>Required snippets:</strong>
<span id="depends"><%Depends%></span>
</p>
<p>
<strong>See also:</strong>
<span id="xrefs"><%XRefs%></span>
</p>
<div style="<%ShowCompilations%>">
<p>
<strong>Supported Compilers:</strong>
</p>
<table class="comptable" cellspacing="1" cellpadding="4">
<%CompilerTableRows%>
</table>
</div>
<div id="extra">
<%Extra%>
</div>
</div>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.