Example #1
0
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 */
// No direct access
defined('_HZEXEC_') or die;
// Get creator name
$creator = $this->pub->creator('name') . ' (' . $this->pub->creator('username') . ')';
// Version status
$status = $this->pub->getStatusName();
$class = $this->pub->getStatusCss();
// Get block content
$blockcontent = $this->pub->_curationModel->parseBlock('edit');
// Write title
echo \Components\Publications\Helpers\Html::showPubTitle($this->pub, $this->title);
// Draw status bar
echo $this->pub->_curationModel->drawStatusBar();
?>
<div id="pub-body">
	<?php 
echo $blockcontent;
?>
</div>
<p class="rightfloat">
	<a href="<?php 
echo Route::url($this->pub->link('version'));
?>
" class="public-page" rel="external" title="<?php 
echo Lang::txt('PLG_PROJECTS_PUBLICATIONS_VIEW_PUB_PAGE');
?>