@@ -25,9 +25,9 @@ |
||
| 25 | 25 | |
| 26 | 26 | "; |
| 27 | 27 | ?> |
| 28 | - <?php echo Html::a('<i class="fa fa-facebook" style="font-size:16px;color:#3a5795"> </i>', 'https://www.facebook.com/sharer/sharer.php?u=' . urlencode($permalink) . '&description=' . urlencode($object->getContentDescription()),['onclick'=> $option]);?> |
|
| 29 | - <?php echo Html::a('<i class="fa fa-twitter" style="font-size:16px;color:#55acee"> </i> </i>', 'https://twitter.com/intent/tweet?text=' . urlencode($object->getContentDescription()) . '&url=' . urlencode($permalink),['onclick'=> $option]);?> |
|
| 30 | - <?php echo Html::a('<i class="fa fa-linkedin-square" style="font-size:16px;color:#0177b5"></i>', 'https://www.linkedin.com/shareArticle?summary=&mini=true&source=&title=' . urlencode($object->getContentDescription()) . '&url=' . urlencode($permalink) . '&ro=false', ['onclick'=> $option]);?> |
|
| 28 | + <?php echo Html::a('<i class="fa fa-facebook" style="font-size:16px;color:#3a5795"> </i>', 'https://www.facebook.com/sharer/sharer.php?u='.urlencode($permalink).'&description='.urlencode($object->getContentDescription()), ['onclick'=> $option]); ?> |
|
| 29 | + <?php echo Html::a('<i class="fa fa-twitter" style="font-size:16px;color:#55acee"> </i> </i>', 'https://twitter.com/intent/tweet?text='.urlencode($object->getContentDescription()).'&url='.urlencode($permalink), ['onclick'=> $option]); ?> |
|
| 30 | + <?php echo Html::a('<i class="fa fa-linkedin-square" style="font-size:16px;color:#0177b5"></i>', 'https://www.linkedin.com/shareArticle?summary=&mini=true&source=&title='.urlencode($object->getContentDescription()).'&url='.urlencode($permalink).'&ro=false', ['onclick'=> $option]); ?> |
|
| 31 | 31 | </div> |
| 32 | 32 | </div> |
| 33 | 33 | </div> |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | <?php if ($canWrite): ?> |
| 25 | 25 | <li> |
| 26 | 26 | <?= |
| 27 | - AjaxButton::widget([ |
|
| 27 | + AjaxButton::widget([ |
|
| 28 | 28 | 'label' => '<i class="fa fa-pencil"></i> '.Yii::t('CommentModule.widgets_views_showComment', 'Edit'), |
| 29 | 29 | 'ajaxOptions' => [ |
| 30 | 30 | 'type' => 'POST', |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | <!-- load modal confirm widget --> |
| 45 | 45 | <?= |
| 46 | - humhub\widgets\ModalConfirm::widget(array( |
|
| 46 | + humhub\widgets\ModalConfirm::widget(array( |
|
| 47 | 47 | 'uniqueID' => 'modal_commentdelete_'.$comment->id, |
| 48 | 48 | 'linkOutput' => 'a', |
| 49 | 49 | 'title' => Yii::t('CommentModule.widgets_views_showComment', '<strong>Confirm</strong> comment deleting'), |