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



canEdit || $access->canEditOwn ) && count( $other_categories ) > 0 ) { $link = sefRelToAbs( 'index.php?option=com_content&task=new&sectionid='. $id .'&Itemid='. $Itemid ); ?> <?php echo _CMN_NEW;?>  ...

1 ) || ( count( $other_categories ) < 2 && count( $items ) < 1 ) ) ) { if ( ( $params->get( 'type' ) == 'category' ) && $params->get( 'other_cat' ) ) { HTML_content::showCategories( $params, $items, $gid, $other_categories, $catid, $id, $Itemid ); } if ( ( $params->get( 'type' ) == 'section' ) && $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' )); // calculate Itemid HTML_content::_Itemid( $row ); ?> 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' ) ) { ?>
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(); ?>
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 ) { global $mainframe, $hide_js; global $mosConfig_live_site; global $_MAMBOTS; $mainframe->appendMetaTag( 'description', $row->metadesc ); $mainframe->appendMetaTag( 'keywords', $row->metakey ); // adds mospagebreak heading or title to Title if ( isset($row->page_title) && $row->page_title ) { $mainframe->setPageTitle( $row->title .' '. $row->page_title ); } // calculate Itemid HTML_content::_Itemid( $row ); // determines the link and `link text` of the readmore button & linked title HTML_content::_linkInfo( $row, $params ); // link used by print button $print_link = $mosConfig_live_site. '/index2.php?option=com_content&task=view&id=' . $row->id .'&pop=1&page='. $page . $row->Itemid_link; // process the new bots $_MAMBOTS->loadBotGroup( 'content' ); $results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, $page ), true ); if ( $params->get( 'item_title' ) || $params->get( 'pdf' ) || $params->get( 'print' ) || $params->get( 'email' ) ) { ?>
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 ); } /** * calculate Itemid */ function _Itemid( &$row ) { global $task, $Itemid, $mainframe; if ( $task != 'view' && $task != 'category' ) { $row->_Itemid = $mainframe->getItemid( $row->id, 0, 0 ); } else { // when viewing a content item, it is not necessary to calculate the Itemid $row->_Itemid = $Itemid; } if ( $row->_Itemid && $row->_Itemid != 99999999 ) { // where Itemid value is returned, do not add Itemid to url $row->Itemid_link = '&Itemid='. $row->_Itemid; } else { // where Itemid value is NOT returned, do not add Itemid to url $row->Itemid_link = ''; } } /** * determines the link and `link text` of the readmore button & linked title */ function _linkInfo( &$row, &$params ) { global $my; $row->link_on = ''; $row->link_text = ''; if ($params->get( 'readmore' ) || $params->get( 'link_titles' )) { if ( $params->get( 'intro_only' ) ) { // checks if the item is a public or registered/special item if ( $row->access <= $my->gid ) { $row->link_on = sefRelToAbs( 'index.php?option=com_content&task=view&id=' . $row->id . $row->Itemid_link ); if ( isset($row->readmore) && @$row->readmore) { // text for the readmore link $row->link_text = _READ_MORE; } } else { $row->link_on = sefRelToAbs( 'index.php?option=com_registration&task=register' ); if ( isset($row->readmore) && @$row->readmore ) { // text for the readmore link if accessible only if registered $row->link_text = _READ_MORE_REGISTER; } } } } } /** * Writes Title */ function Title( &$row, &$params, &$access ) { if ( $params->get( 'item_title' ) ) { if ( $params->get( 'link_titles' ) && $row->link_on != '' ) { ?> title;?> title;?> get( 'popup' ) ) { return; } if ( $row->state < 0 ) { return; } if ( !$access->canEdit && !( $access->canEditOwn && $row->created_by == $my->id ) ) { return; } mosCommonHTML::loadOverlib(); $link = 'index.php?option=com_content&task=edit&id='. $row->id . $row->Itemid_link .'&Returnid='. $row->_Itemid; $image = mosAdminMenus::ImageCheck( 'edit.png', '/images/M_images/', NULL, NULL, _E_EDIT, _E_EDIT ); if ( $row->state == 0 ) { $overlib = _CMN_UNPUBLISHED; } else { $overlib = _CMN_PUBLISHED; } $date = mosFormatDate( $row->created ); $author = $row->created_by_alias ? $row->created_by_alias : $row->author; $overlib .= '
'; $overlib .= $row->groups; $overlib .= '
'; $overlib .= $date; $overlib .= '
'; $overlib .= $author; ?> 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' ) ) { $image = mosAdminMenus::ImageCheck( 'pdf_button.png', '/images/M_images/', NULL, NULL, _CMN_PDF, _CMN_PDF ); } else { $image = _CMN_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'; if ($task == 'view') { $_Itemid = '&itemid='. $Itemid; } else { $_Itemid = ''; } $link = $mosConfig_live_site .'/index2.php?option=com_content&task=emailform&id='. $row->id . $_Itemid; if ( $params->get( 'icons' ) ) { $image = mosAdminMenus::ImageCheck( 'emailButton.png', '/images/M_images/', NULL, NULL, _CMN_EMAIL, _CMN_EMAIL ); } else { $image = ' '. _CMN_EMAIL; } ?> 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 != '' ) ) { ?> 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' ) && $row->link_text ) { ?> link_text;?> get( 'item_navigation' ) ) { if ( $row->prev ) { $row->prev = sefRelToAbs( $link_part . $row->prev . $row->Itemid_link ); } else { $row->prev = 0; } if ( $row->next ) { $row->next = sefRelToAbs( $link_part . $row->next . $row->Itemid_link ); } else { $row->next = 0; } } if ( $params->get( 'item_navigation' ) && ( $task == 'view' ) && !$params->get( 'popup' ) && ( $row->prev || $row->next ) ) { ?> 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, $mainframe; mosMakeHtmlSafe( $row ); require_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/HTML_toolbar.php' ); // used for spoof hardening $validate = josSpoofValue(); $Returnid = intval( mosGetParam( $_REQUEST, 'Returnid', $Itemid ) ); $tabs = new mosTabs(0, 1); $mainframe->addCustomHeadTag( '' ); ?> "._E_EXPIRES." "; $docinfo .= $row->publish_down."
"; $docinfo .= ""._E_VERSION." "; $docinfo .= $row->version."
"; $docinfo .= ""._E_CREATED." "; $docinfo .= $row->created."
"; $docinfo .= ""._E_LAST_MOD." "; $docinfo .= $row->modified."
"; $docinfo .= ""._E_HITS." "; $docinfo .= $row->hits."
"; ?>
/ id ? _E_EDIT : _E_ADD;?>      [Info]
sectionid) { ?> sectionid ) > 0) { ?> sectionid ) > 0) { ?>


: :
introtext , 'introtext', '600', '400', '70', '15' ) ; ?>
:
fulltext , 'fulltext', '600', '400', '70', '15' ) ; ?>
startPane( 'content-pane' ); $tabs->startTab( _E_IMAGES, 'images-page' ); ?>
::



:
:
:
:
<?php echo _E_NO_IMAGE; ?> <?php echo _E_NO_IMAGE; ?>
endTab(); $tabs->startTab( _E_PUBLISHING, 'publish-page' ); ?> canPublish) { ?>
frontpage ? 'checked="checked"' : ''; ?> />
endTab(); $tabs->startTab( _E_METADATA, 'meta-page' ); ?>
endTab(); $tabs->endPane(); ?>
setPageTitle( $title ); $mainframe->addCustomHeadTag( '' ); ?>
 
 
  
setPageTitle( $mosConfig_sitename ); $mainframe->addCustomHeadTag( '' ); ?>