- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Publish Link
Template Tag: Item Publish Link
Display link to publish a post if user has permission.
Useful for quick moderation.
== Example ==
$Item->publish_link( $before = ' ', $after = ' ', $text = '#', $title = '#', $class = '', $glue = '&', $save_context = true );
== Parameters ==
* Name: before
* Default: (1 space)
* Usage: String to display before link.
* Name: after
* Default: (1 space)
* Usage: String to display after link.
* Name: text
* Default: ‘#’
* Usage: Link text. If it is ‘#’ then regular text will be displayed.
* Name: title
* Default: ‘#’
* Usage: Link title/alt. If it is ‘#’ then regular title will be displayed.
* Name: class
* Default: (no space)
* Usage: CSS class for the link.
* Name: glue
* Default: ‘&’
* Usage: Glue between URL parameters.
* Name: save_context
* Default: true
* Usage: True if save content and publish.
== Return value ==
This tag displays content only, it does not have a return value.