예제 #1
0
 public function getOpenGraphURLs()
 {
     return OpenGraph::extract($this->description);
 }
예제 #2
0
파일: _post.php 프로젝트: ratbird/hope
            
            <span data-show-topic="<?php 
echo $post['topic_id'];
?>
" data-topic-content="<?php 
echo $post['topic_id'];
?>
" <?php 
echo $edit_posting != $post['topic_id'] ? '' : 'style="display: none;"';
?>
>
                <?php 
echo ForumHelpers::highlight($post['content'], $highlight);
?>
                <?php 
echo OpenGraph::extract($post['content'])->render();
?>
            </span>
        </div>

        <!-- Buttons for this Posting -->
        <div class="buttons">
            <div class="button-group">

        <span data-edit-topic="<?php 
echo $post['topic_id'];
?>
" <?php 
echo $edit_posting == $post['topic_id'] ? '' : 'style="display: none;"';
?>
>