snippet_close_on_esc [line 362]
void snippet_close_on_esc(
)
|
|
snippet_comments [line 297]
string snippet_comments(
[string $order = 'ascending']
)
|
|
Wrapper for smarty_comments.
Parameters:
snippet_download [line 101]
void snippet_download(
string $filename, string $icon, string $text, string $title
)
|
|
Inserts a link to a downloadable file... Just a wrapper for backwards compatibility.
Parameters:
|
string |
$filename: |
|
|
string |
$icon: |
Insert a suitable icon if set to "icon" |
|
string |
$text: |
The text of the download link. |
|
string |
$title: |
The text of the title attribue of the link. |
snippet_editlink [line 379]
void snippet_editlink(
[ $name = '']
)
|
|
Parameters:
snippet_encrypt_mail [line 245]
string snippet_encrypt_mail(
string $email, string $display, [string $title = '']
)
|
|
Encrypts the given email address using JavaScript. Wrapper for smarty_link.
If "Encode Email Address" is not selected for the current weblog, the output will be a plain mailto-link.
Parameters:
|
string |
$email: |
|
|
string |
$display: |
Text of the mailto-link. |
|
string |
$title: |
Title of the mailto-link. |
API Tags:
snippet_entry_data [line 169]
void snippet_entry_data(
[ $word = ''], [ $image = ''], [ $download = '']
)
|
|
Parameters:
|
|
$word: |
|
|
|
$image: |
|
|
|
$download: |
|
snippet_image [line 28]
void snippet_image(
$filename, [ $alt = ''], [ $meta = ''], [ $compl = 0]
)
|
|
Inserts an image. Just a wrapper for backwards compatibility.
Parameters:
|
|
$filename: |
|
|
|
$alt: |
|
|
|
$meta: |
|
|
|
$compl: |
|
snippet_jscookies [line 219]
void snippet_jscookies(
)
|
|
snippet_keywords [line 267]
string snippet_keywords(
[string $text = ''], [string $sep = '']
)
|
|
Displays the keywords for the entry.
Parameters:
|
string |
$text: |
The output format. The default values is "%keywords%". |
|
string |
$sep: |
The separator between the keywords. The default value is comma. The value "clear" will output the keywords exactly as it was inserted with the entry. |
API Tags:
| Return: | The text to display. |
snippet_lang [line 372]
void snippet_lang(
[ $type = '']
)
|
|
wrapper for smarty_lang
Parameters:
API Tags:
snippet_last_comments [line 356]
void snippet_last_comments(
)
|
|
snippet_link [line 124]
string snippet_link(
string $filename, string $name
)
|
|
Creates a link to a file. This snippet has changed meaning in PivotX.
The snippet will check the parent driectory of Pivot and the upload directory for a file with the given name.
Parameters:
|
string |
$filename: |
|
|
string |
$name: |
(Link text) |
snippet_nextentry [line 308]
void snippet_nextentry(
[ $text = ''], [ $cutoff = 20]
)
|
|
Placeholder for backwards compatibility
Parameters:
snippet_nextentryincategory [line 328]
void snippet_nextentryincategory(
[ $text = ''], [ $cutoff = '']
)
|
|
Placeholder for backwards compatibility
Parameters:
snippet_popup [line 66]
void snippet_popup(
$filename, [ $thumbname = ''], [ $alt = ''], [ $align = 'center'], [ $border = '']
)
|
|
Insert a popup to an image.. Just a wrapper for backwards compatibility.
Parameters:
|
|
$filename: |
|
|
|
$thumbname: |
|
|
|
$alt: |
|
|
|
$align: |
|
|
|
$border: |
|
snippet_previousentry [line 318]
void snippet_previousentry(
[ $text = ''], [ $cutoff = 20]
)
|
|
Placeholder for backwards compatibility
Parameters:
snippet_previousentryincategory [line 338]
void snippet_previousentryincategory(
[ $text = ''], [ $cutoff = '']
)
|
|
Placeholder for backwards compatibility
Parameters:
snippet_subweblog [line 153]
void snippet_subweblog(
[ $sub = ''], [ $count = ''], [ $order = 'lasttofirst']
)
|
|
Parameters:
snippet_tags [line 391]
void snippet_tags(
[ $text = ''], [ $sep = '']
)
|
|
Wrapper for smarty_introduction
Parameters:
API Tags:
snippet_trackback_autodiscovery [line 349]
void snippet_trackback_autodiscovery(
)
|
|
deprecate this!! We need to add these via a hook!
snippet_tt [line 455]
string snippet_tt(
string $tagName, [string $externalLink = ''], [string $template = '']
)
|
|
Display a Tag, as used in the introduction or body. Just a wrapper for backwards compatibility.
Parameters:
|
string |
$tagName: |
|
|
string |
$externalLink: |
|
|
string |
$template: |
|
snippet_ttaglist [line 405]
string snippet_ttaglist(
[string $template = '']
)
|
|
Get detailed info for tags used in an entry
Parameters:
snippet_weblog [line 159]
void snippet_weblog(
[ $sub = ''], [ $count = '']
)
|
|
Parameters:
snippet_weblogtitle [line 146]
string snippet_weblogtitle(
[string $strip = '']
)
|
|
Returns the title (name) of the current weblog. Just a wrapper for backwards compatibility.
Parameters:
|
string |
$strip: |
if equal to 'strip' all HTML tags will be removed. |