Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
CommentsFormWidget_Login.php
1 <?php
2 /**
3  * Gentics Portal.Node PHP
4  * Author & Copyright (c) by Gentics Software GmbH
5  * sales@gentics.com
6  * http://www.gentics.com
7  * Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8  * You must not use this software without a valid license agreement.
9  *
10  */
11 ?>
12 <div class="comments-form-widget" id="comments-form-<?php echo $this->contentId?>">
13  <span class="comments-form-widget-login">
14  <?php echo CHtml::link(CommentsModule::t('Log in to leave a comment'),
15  Yii::app()->createUrl('/comments/comment/login', array('return_url' => Yii::app()->request->getRequestUri() . '#' . $this->contentId))) ?>
16  </span>
17 </div>