Ejemplo n.º 1
0
                echo clean($comment->getCreatedBy()->getObjectName());
                ?>
" />
					</div>
					<?php 
            }
            // if
            ?>
					
					<div class="commentText"><?php 
            echo escape_html_whitespace(convert_to_links(clean($comment->getText())));
            ?>
</div>
					<div class="clear"></div>
					<?php 
            $object_links_render = render_object_links($comment, $comment->canEdit(logged_user()) && !$__comments_object->isTrashed(), true, false);
            if ($object_links_render != '') {
                echo '<div>' . $object_links_render . '</div>';
            }
            ?>
				</div>
			</div>
	<?php 
        }
        // foreach
    } else {
        ?>
		<p><?php 
        echo lang('no comments associated with object');
        ?>
</p>
Ejemplo n.º 2
0
	<col width=12/><col width=216/><col width=12/>
	<tr>
		<td class="coViewHeader coViewSmallHeader" colspan=2 rowspan=2><div class="coViewPropertiesHeader"><?php echo lang("properties") ?></div></td>
		<td class="coViewTopRight"></td>
	</tr>
		
	<tr><td class="coViewRight" rowspan=2></td></tr>
	
	<tr>
		<td class="coViewBody" colspan=2>
			<div class="prop-col-div" style="width:200;">
				<span style="color:#333333;font-weight:bolder;"><?php echo lang('unique id') ?>:&nbsp;</span><?php echo $object->getUniqueObjectId() ?>
			</div>
			
	<?php if(false && $object->isLinkableObject() && !$object->isTrashed()) {?>
		<div id="linked_objects_in_prop_panel" class="prop-col-div" style="width:200;"><?php echo render_object_links($object, $object->canEdit(logged_user()))?></div>
	<?php } ?>
	
    <?php if ($object instanceof ContentDataObject && !isset($is_user)) { ?>

	<div class="prop-col-div" style="width:200;">
		<div id="<?php echo $genid ?>subscribers_in_prop_panel">
			<?php  echo render_object_subscribers($object)?>
		</div>
		<?php if ($object->canEdit(logged_user())) {
				$onclick_fn = "og.show_hide_subscribers_list('". $object->getId() ."', '". $genid ."');";
		?>
			<a id="<?php echo $genid.'add_subscribers_link' ?>" onclick="<?php echo $onclick_fn ?> return false;" href="#" class="ico-add internalLink" style="background-repeat: no-repeat; padding-left: 18px; padding-bottom: 3px;"><?php echo lang('modify object subscribers')?></a>
		<?php } ?>
	</div>
		
Ejemplo n.º 3
0
	<tr>
		<td class="coViewBody" style="border:1px solid #ccc;" colspan=2>
			<div class="prop-col-div" style="width:200;">
				<span style="color:#333333;font-weight:bolder;"><?php 
echo lang('unique id');
?>
:&nbsp;</span><?php 
echo $object->getUniqueObjectId();
?>
			</div>
			
	<?php 
if (false && $object->isLinkableObject() && !$object->isTrashed()) {
    ?>
		<div id="linked_objects_in_prop_panel" class="prop-col-div" style="width:200;"><?php 
    echo render_object_links($object, $object->canEdit(logged_user()));
    ?>
</div>
	<?php 
}
?>
	
    <?php 
if ($object instanceof ContentDataObject && !isset($is_user)) {
    ?>

	<div class="prop-col-div" style="width:200;">
		<div id="<?php 
    echo $genid;
    ?>
subscribers_in_prop_panel">