Exemplo n.º 1
0
    /**
     * Writes Title
     */
    function Title(&$row, &$params, &$access)
    {
        if ($params->get('item_title')) {
            if ($params->get('link_titles') && $row->link_on != '') {
                ?>
				<td class="contentheading<?php 
                echo $params->get('pageclass_sfx');
                ?>
" width="100%">
					<a href="<?php 
                echo $row->link_on;
                ?>
" class="contentpagetitle<?php 
                echo $params->get('pageclass_sfx');
                ?>
">
						<?php 
                echo $row->title;
                ?>
</a>
					<?php 
                HTML_content::EditIcon($row, $params, $access);
                ?>
				</td>
				<?php 
            } else {
                ?>
				<td class="contentheading<?php 
                echo $params->get('pageclass_sfx');
                ?>
" width="100%">
					<?php 
                echo $row->title;
                ?>
					<?php 
                HTML_content::EditIcon($row, $params, $access);
                ?>
				</td>
				<?php 
            }
        } else {
            ?>
			<td class="contentheading<?php 
            echo $params->get('pageclass_sfx');
            ?>
" width="100%">
				<?php 
            HTML_content::EditIcon($row, $params, $access);
            ?>
			</td>
			<?php 
        }
    }
Exemplo n.º 2
0
    /**
     * Writes Title
     */
    function Title($row, $params, $link_on, $access)
    {
        global $mosConfig_live_site, $Itemid;
        if ($params->get('item_title')) {
            if ($params->get('link_titles') && $link_on != '') {
                ?>
				<td class="contentheading<?php 
                echo $params->get('pageclass_sfx');
                ?>
" width="100%">
				<a href="<?php 
                echo $link_on;
                ?>
" class="contentpagetitle<?php 
                echo $params->get('pageclass_sfx');
                ?>
">
				<?php 
                echo $row->title;
                ?>
				</a>
				<?php 
                HTML_content::EditIcon($row, $params, $access);
                ?>
				</td>
				<?php 
            } else {
                ?>
				<td class="contentheading<?php 
                echo $params->get('pageclass_sfx');
                ?>
" width="100%">
				<?php 
                echo $row->title;
                ?>
				<?php 
                HTML_content::EditIcon($row, $params, $access);
                ?>
				</td>
				<?php 
            }
        }
    }