id; } if ( $params->get( 'page_title' ) ) { ?>
name; ?>
get( 'description' ) || $params->get( 'description_image' ) ) { if ( $title->image ) { $link = $mosConfig_live_site .'/images/stories/'. $title->image; ?> <?php echo $title->image;?> get( 'description' ) ) { echo $title->description; } } ?>



1 OR count($items) < 1)) { $paramtype = $params->get('type'); if (($paramtype == 'category' AND $params->get('other_cat')) OR ($paramtype == 'section' AND $params->get('other_cat_section'))) { HTML_content::showCategories( $params, $items, $gid, $other_categories, $catid, $id, $Itemid ); } } ?>
get( 'filter' ) | $params->get( 'order_select' ) | $params->get( 'display' ) ) { ?> get( 'headings' ) ) { ?> get( 'date' ) ) { ?> get( 'title' ) ) { ?> get( 'author' ) ) { ?> get( 'hits' ) ) { ?> created = mosFormatDate ($row->created, $params->get( 'date_format' )); ?> get( 'date' ) ) { ?> get( 'title' ) ) { if( $row->access <= $gid ){ $link = sefRelToAbs( 'index.php?option=com_content&task=view&id='. $row->id .'&Itemid='. $Itemid ); ?> get( 'author' ) ) { ?> get( 'hits' ) ) { ?> get( 'navigation' ) ) { ?> canEdit || $access->canEditOwn ) { $link = sefRelToAbs( 'index.php?option=com_content&task=new&sectionid='. $id .'&cid='. $row->id .'&Itemid='. $Itemid ); ?>
get( 'filter' ) ) { ?> get( 'order_select' ) ) { ?> get( 'display' ) ) { ?>
getLimitBox( $link ); ?>
 
created; ?> title; ?> title .' : '; $link = sefRelToAbs( 'index.php?option=com_registration&task=register' ); ?> created_by_alias ? $row->created_by_alias : $row->author; ?> hits ? $row->hits : '-'; ?>
 
writePagesLinks( $link ); ?>
writePagesCounter(); ?>
<?php echo T_('New');?>  
false, the print button links to a popup window. If true then the print button invokes the browser print method. */ function show( $row, $params, $access, $page=0, $option, $ItemidCount=NULL ) { global $mainframe, $my, $hide_js; global $mosConfig_sitename, $Itemid, $mosConfig_live_site, $task; global $_MAMBOTS; if (!$ItemidCount) { $mainframe->appendMetaTag( 'description', $row->metadesc ); $mainframe->appendMetaTag( 'keywords', $row->metakey ); } $gid = $my->gid; $_Itemid = $Itemid; $link_on = ''; $link_text = ''; // process the new bots $_MAMBOTS->loadBotGroup( 'content' ); $results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, $page ), true ); // adds mospagebreak heading or title to Title if ( @$row->page_title ) { $mainframe->SetPageTitle( $row->title .': '. $row->page_title ); } // determines the link and link text of the readmore button if ( $params->get( 'intro_only' ) ) { // checks if the item is a public or registered/special item if ( $row->access <= $gid ) { $_Itemid = $mainframe->getItemid( $row->id); $link_on = sefRelToAbs("index.php?option=com_content&task=view&id=".$row->id."&Itemid=".$_Itemid); if ( strlen( trim( $row->fulltext ) )) { $link_text = T_('Read more...'); } } else { $link_on = sefRelToAbs("index.php?option=com_registration&task=register"); if (strlen( trim( $row->fulltext ) )) { $link_text = T_('Register to read more...'); } } } $no_html = mosGetParam( $_REQUEST, 'no_html', null); // for pop-up page if ( $params->get( 'popup' ) && $no_html == 0) { ?> <?php echo $mosConfig_sitename .' :: '. $row->title; ?> get( 'item_navigation' ) ) { if ( $row->prev ) { $row->prev = sefRelToAbs( 'index.php?option=com_content&task=view&id='. $row->prev .'&Itemid='. $_Itemid ); } else { $row->prev = 0; } if ( $row->next ) { $row->next = sefRelToAbs( 'index.php?option=com_content&task=view&id='. $row->next .'&Itemid='. $_Itemid ); } else { $row->next = 0; } } if ( $params->get( 'item_title' ) || $params->get( 'pdf' ) || $params->get( 'print' ) || $params->get( 'email' ) ) { // link used by print button $print_link = $mosConfig_live_site. '/index2.php?option=com_content&task=view&id='. $row->id .'&Itemid='. $Itemid .'&pop=1&page='. @$page; ?>
canEdit ) { // edit icon when item title set to hide ?>
get( 'intro_only' ) ) { $results = $_MAMBOTS->trigger( 'onAfterDisplayTitle', array( &$row, &$params, $page ) ); echo trim( implode( "\n", $results ) ); } $results = $_MAMBOTS->trigger( 'onBeforeDisplayContent', array( &$row, &$params, $page ) ); echo trim( implode( "\n", $results ) ); ?>
text; ?>
trigger( 'onAfterDisplayContent', array( &$row, &$params, $page ) ); echo trim( implode( "\n", $results ) ); // displays the next & previous buttons HTML_content::Navigation ( $row, $params ); // displays close button in pop-up window mosHTML::CloseButton ( $params, $hide_js ); // displays back button in pop-up window mosHTML::BackButton ( $params, $hide_js ); } /** * 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 != '' ) { ?> title;?> title;?> get( 'popup' ) ) { return; } if ( $row->state < 0 ) { return; } if ( !$access->canEdit && !( $access->canEditOwn && $row->created_by == $my->id ) ) { return; } $link = 'index.php?option=com_content&task=edit&id='. $row->id; $mainframe =& mosMainFrame::getInstance(); $image = $mainframe->ImageCheck( 'edit.png', '/images/M_images/', NULL, NULL, T_('Edit') ); ?> state == 0 ) { echo '( '. T_('Unpublished') .' )'; } echo ' ( '. $row->groups .' )'; } /** * Writes PDF icon */ function PdfIcon( $row, $params, $link_on, $hide_js ) { global $mosConfig_live_site; if ( $params->get( 'pdf' ) && !$params->get( 'popup' ) && !$hide_js ) { $status = 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no'; $link = $mosConfig_live_site. '/index2.php?option=com_content&do_pdf=1&id='. $row->id; if ( $params->get( 'icons' ) ) { $mainframe =& mosMainFrame::getInstance(); $image = $mainframe->ImageCheck( 'pdf_button.png', '/images/M_images/', NULL, NULL, T_('PDF') ); } else { $image = T_('PDF') .' '; } ?> get( 'email' ) && !$params->get( 'popup' ) && !$hide_js ) { $status = 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=400,height=250,directories=no,location=no'; $link = $mosConfig_live_site .'/index2.php?option=com_content&task=emailform&id='. $row->id; if ( $params->get( 'icons' ) ) { $mainframe =& mosMainFrame::getInstance(); $image = $mainframe->ImageCheck( 'emailButton.png', '/images/M_images/', NULL, NULL, T_('E-mail') ); } else { $image = ' '. T_('E-mail'); } ?> get( 'section' ) || $params->get( 'category' ) ) { ?> get( 'section' ) || $params->get( 'category' ) ) { ?> get( 'section' ) ) { ?> section; // writes dash between section & Category Name when both are active if ( $params->get( 'category' ) ) { echo ' - '; } ?> get( 'category' ) ) { ?> category; ?> get( 'author' ) ) && ( $row->author != "" ) ) { $grp = $acl->getAroGroup( $row->created_by ); $is_frontend_user = $acl->is_group_child_of( intval( $grp->group_id ), 'Public Frontend', 'ARO' ); $by = $is_frontend_user ? T_('Contributed by') : T_('Written by'); ?> created_by_alias ? $row->created_by_alias : $row->author ); ?>    created ) != 0 ) { $create_date = mosFormatDate( $row->created ); } if ( $params->get( 'createdate' ) ) { ?> get( 'url' ) && $row->urls ) { ?> urls; ?> toc ) { echo $row->toc; } } /** * Writes Modified Date */ function ModifiedDate( $row, $params ) { $mod_date = null; if ( intval( $row->modified ) != 0) { $mod_date = mosFormatDate( $row->modified ); } if ( ( $mod_date != '' ) && $params->get( 'modifydate' ) ) { ?> ( ) get( 'readmore' ) ) { if ( $params->get( 'intro_only' ) && $link_text ) { ?> get( 'item_navigation' ) && ( $task == "view" ) && !$params->get( 'popup' ) ) { ?> prev ) { ?> prev && $row->next ) { ?> next ) { ?>
<   >
$row is passed with the id * property set to 0. * @param mosContent The category object * @param string The html for the groups select list */ function editContent( &$row, $section, &$lists, &$images, &$access, $myid, $sectionid, $task, $Itemid ) { global $mosConfig_live_site; mosMakeHtmlSafe( $row ); $Returnid = intval( mosGetParam( $_REQUEST, 'Returnid', $Itemid ) ); ?> ".T_('Subject:')." "; //$docinfo .= $row->title."
"; $docinfo = "".T_('Expiry Date:')." "; $docinfo .= $row->publish_down."
"; $docinfo .= "".T_('Version:')." "; $docinfo .= $row->version."
"; $docinfo .= "".T_('Created:')." "; $docinfo .= $row->created."
"; $docinfo .= "".T_('Last Modified:')." "; $docinfo .= $row->modified."
"; $docinfo .= "".T_('Hits:')." "; $docinfo .= $row->hits."
"; ?>
/ id ? T_('Edit') : T_('Add');?>      []
sectionid) { ?> sectionid ) > 0) { ?> sectionid ) > 0) { ?>
: :
introtext , 'introtext', '500', '200', '65', '20' ) ; ?>
:
fulltext , 'fulltext', '500', '400', '65', '20' ) ; ?>
startPane( 'content-pane' ); $tabs->startTab( T_('Images'), 'images-page' ); ?>
::


:
:
:
:
<?php echo T_('No Image'); ?> <?php echo T_('No Image'); ?>
endTab(); $tabs->startTab( T_('Publishing'), 'publish-page' ); ?> canPublish) { ?>
frontpage ? 'checked="checked"' : ''; ?> />
endTab(); $tabs->startTab( T_('Metadata'), 'meta-page' ); ?>
endTab(); $tabs->endPane(); ?>
<?php echo $mosConfig_sitename; ?> :: <?php echo $title; ?>
 
 
  
<?php echo $mosConfig_sitename; ?>