walid hack title -> h2

Your code modifications and patches you want to share with others.
Locked
User avatar
vist
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 133
Joined: Sun Oct 16, 2005 5:48 pm
Contact:

walid hack title -> h2

Post by vist » Wed Dec 12, 2007 11:02 am

line 614

Code: Select all


	/**
	* Writes Title
	*/
	function Title( &$row, &$params, &$access ) {
		if ( $params->get( 'item_title' ) ) {
			if ( $params->get( 'link_titles' ) && $row->link_on != '' ) {
				?>
				<td>
				<h2>	<a href="<?php echo $row->link_on;?>">
						<?php echo $row->title;?></a>   </h2>
					<?php HTML_content::EditIcon( $row, $params, $access ); ?>
				</td>
				<?php
			} else {
				?>
				<td>
				<h2>	<?php echo $row->title;?> </h2>
					<?php HTML_content::EditIcon( $row, $params, $access ); ?>
				</td>
				<?php
			}
		} else {
			?>
			<td>
				<?php HTML_content::EditIcon( $row, $params, $access ); ?>
			</td>
			<?php
		}
	}


||NeX||
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 177
Joined: Mon May 29, 2006 6:58 pm
Location: Stuttgart - Travnik
Contact:

Re: walid hack title -> h2

Post by ||NeX|| » Sat Aug 22, 2009 8:20 am

Which file is this? Is this for 1.5?


Locked

Return to “Core Hacks and Patches”