AAAAhome/academiac/www/templates/ideas/classes/ArtxContentArticleBase.php000060400000011154151371716770022025 0ustar00_component = $component; $this->_componentParams = $componentParams; $this->_article = $article; $this->_articleParams = $articleParams; // Calculate properties: $this->title = $this->_article->title; $this->created = $this->_articleParams->get('show_create_date') ? $this->_article->created : ''; $this->modified = $this->_articleParams->get('show_modify_date') ? $this->_article->modified : ''; $this->published = $this->_articleParams->get('show_publish_date') ? $this->_article->publish_up : ''; $this->hits = $this->_articleParams->get('show_hits') ? $this->_article->hits : ''; $this->author = $this->_articleParams->get('show_author') && !empty($this->_article->author) ? ($this->_article->created_by_alias ? $this->_article->created_by_alias : $this->_article->author) : ''; $this->authorLink = strlen($this->author) && !empty($this->_article->contactid) && $this->_articleParams->get('link_author') ? 'index.php?option=com_contact&view=contact&id=' . $this->_article->contactid : ''; } /** * @see $created */ public function createdDateInfo($created) { return JText::sprintf('COM_CONTENT_CREATED_DATE_ON', JHtml::_('date', $created, JText::_('DATE_FORMAT_LC2'))); } /** * @see $modified */ public function modifiedDateInfo($modified) { return JText::sprintf('COM_CONTENT_LAST_UPDATED', JHtml::_('date', $modified, JText::_('DATE_FORMAT_LC2'))); } /** * @see $published */ public function publishedDateInfo($published) { return JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHtml::_('date', $published, JText::_('DATE_FORMAT_LC2'))); } /** * @see $author */ public function authorInfo($author, $authorLink) { if (strlen($authorLink)) return JText::sprintf('COM_CONTENT_WRITTEN_BY', JHtml::_('link', JRoute::_($authorLink), $author)); return JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); } public function articleSeparator() { return '
 
'; } /** * @see $section, $sectionLink, $category, $categoryLink */ public function categories($parentCategory, $parentCategoryLink, $category, $categoryLink) { if (0 == strlen($parentCategory) && 0 == strlen($category)) return ''; ob_start(); if (strlen($parentCategory)) { echo ''; if (strlen($parentCategoryLink)) echo '' . $this->_component->escape($parentCategory) . ''; else echo $this->_component->escape($parentCategory); echo ''; if (strlen($category)) echo ' / '; } if (strlen($category)) { echo ''; if (strlen($categoryLink)) echo '' . $this->_component->escape($category) . ''; else echo $this->_component->escape($category); echo ''; } return JText::sprintf('COM_CONTENT_CATEGORY', ob_get_clean()); } public function hitsInfo($hits) { return JText::sprintf('COM_CONTENT_ARTICLE_HITS', $hits); } public function event($name) { return $this->_article->event->{$name}; } public function getArticleViewParameters() { return array('metadata-header-icons' => array(), 'metadata-footer-icons' => array()); } public function article($article) { return artxPost($article); } } home/academiac/www/templates/puntopc/classes/ArtxContentArticleBase.php000060400000011404151371745410022417 0ustar00_component = $component; $this->_componentParams = $componentParams; $this->_article = $article; $this->_articleParams = $articleParams; // Calculate properties: $this->title = $this->_article->title; $this->created = $this->_articleParams->get('show_create_date') ? $this->_article->created : ''; $this->modified = $this->_articleParams->get('show_modify_date') ? $this->_article->modified : ''; $this->published = $this->_articleParams->get('show_publish_date') ? $this->_article->publish_up : ''; $this->hits = $this->_articleParams->get('show_hits') ? $this->_article->hits : ''; $this->author = $this->_articleParams->get('show_author') && !empty($this->_article->author) ? ($this->_article->created_by_alias ? $this->_article->created_by_alias : $this->_article->author) : ''; $this->authorLink = strlen($this->author) && !empty($this->_article->contactid) && $this->_articleParams->get('link_author') ? 'index.php?option=com_contact&view=contact&id=' . $this->_article->contactid : ''; } /** * @see $created */ public function createdDateInfo($created) { return JText::sprintf('COM_CONTENT_CREATED_DATE_ON', JHtml::_('date', $created, JText::_('DATE_FORMAT_LC2'))); } /** * @see $modified */ public function modifiedDateInfo($modified) { return JText::sprintf('COM_CONTENT_LAST_UPDATED', JHtml::_('date', $modified, JText::_('DATE_FORMAT_LC2'))); } /** * @see $published */ public function publishedDateInfo($published) { return JText::sprintf('COM_CONTENT_PUBLISHED_DATE_ON', JHtml::_('date', $published, JText::_('DATE_FORMAT_LC2'))); } /** * @see $author */ public function authorInfo($author, $authorLink) { if (strlen($authorLink)) return JText::sprintf('COM_CONTENT_WRITTEN_BY', JHtml::_('link', JRoute::_($authorLink), $author)); return JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); } public function articleSeparator() { return '
 
'; } /** * @see $section, $sectionLink, $category, $categoryLink */ public function categories($parentCategory, $parentCategoryLink, $category, $categoryLink) { if (0 == strlen($parentCategory) && 0 == strlen($category)) return ''; ob_start(); if (strlen($parentCategory)) { echo ''; if (strlen($parentCategoryLink)) echo '' . $this->_component->escape($parentCategory) . ''; else echo $this->_component->escape($parentCategory); echo ''; if (strlen($category)) echo ' / '; } if (strlen($category)) { echo ''; if (strlen($categoryLink)) echo '' . $this->_component->escape($category) . ''; else echo $this->_component->escape($category); echo ''; } return JText::sprintf('COM_CONTENT_CATEGORY', ob_get_clean()); } public function hitsInfo($hits) { return JText::sprintf('COM_CONTENT_ARTICLE_HITS', $hits); } public function event($name) { return $this->_article->event->{$name}; } public function getArticleViewParameters() { return array('metadata-header-icons' => array(), 'metadata-footer-icons' => array()); } public function article($article) { return artxPost($article); } } home/academiac/www/templates/nicelya/classes/ArtxContentArticleBase.php000060400000011154151371752250022355 0ustar00_component = $component; $this->_componentParams = $componentParams; $this->_article = $article; $this->_articleParams = $articleParams; // Calculate properties: $this->title = $this->_article->title; $this->created = $this->_articleParams->get('show_create_date') ? $this->_article->created : ''; $this->modified = $this->_articleParams->get('show_modify_date') ? $this->_article->modified : ''; $this->published = $this->_articleParams->get('show_publish_date') ? $this->_article->publish_up : ''; $this->hits = $this->_articleParams->get('show_hits') ? $this->_article->hits : ''; $this->author = $this->_articleParams->get('show_author') && !empty($this->_article->author) ? ($this->_article->created_by_alias ? $this->_article->created_by_alias : $this->_article->author) : ''; $this->authorLink = strlen($this->author) && !empty($this->_article->contactid) && $this->_articleParams->get('link_author') ? 'index.php?option=com_contact&view=contact&id=' . $this->_article->contactid : ''; } /** * @see $created */ public function createdDateInfo($created) { return JText::sprintf('COM_CONTENT_CREATED_DATE_ON', JHtml::_('date', $created, JText::_('DATE_FORMAT_LC2'))); } /** * @see $modified */ public function modifiedDateInfo($modified) { return JText::sprintf('COM_CONTENT_LAST_UPDATED', JHtml::_('date', $modified, JText::_('DATE_FORMAT_LC2'))); } /** * @see $published */ public function publishedDateInfo($published) { return JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHtml::_('date', $published, JText::_('DATE_FORMAT_LC2'))); } /** * @see $author */ public function authorInfo($author, $authorLink) { if (strlen($authorLink)) return JText::sprintf('COM_CONTENT_WRITTEN_BY', JHtml::_('link', JRoute::_($authorLink), $author)); return JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); } public function articleSeparator() { return '
 
'; } /** * @see $section, $sectionLink, $category, $categoryLink */ public function categories($parentCategory, $parentCategoryLink, $category, $categoryLink) { if (0 == strlen($parentCategory) && 0 == strlen($category)) return ''; ob_start(); if (strlen($parentCategory)) { echo ''; if (strlen($parentCategoryLink)) echo '' . $this->_component->escape($parentCategory) . ''; else echo $this->_component->escape($parentCategory); echo ''; if (strlen($category)) echo ' / '; } if (strlen($category)) { echo ''; if (strlen($categoryLink)) echo '' . $this->_component->escape($category) . ''; else echo $this->_component->escape($category); echo ''; } return JText::sprintf('COM_CONTENT_CATEGORY', ob_get_clean()); } public function hitsInfo($hits) { return JText::sprintf('COM_CONTENT_ARTICLE_HITS', $hits); } public function event($name) { return $this->_article->event->{$name}; } public function getArticleViewParameters() { return array('metadata-header-icons' => array(), 'metadata-footer-icons' => array()); } public function article($article) { return artxPost($article); } } home/academiac/www/templates/mw_business/classes/ArtxContentArticleBase.php000060400000011154151372533760023273 0ustar00_component = $component; $this->_componentParams = $componentParams; $this->_article = $article; $this->_articleParams = $articleParams; // Calculate properties: $this->title = $this->_article->title; $this->created = $this->_articleParams->get('show_create_date') ? $this->_article->created : ''; $this->modified = $this->_articleParams->get('show_modify_date') ? $this->_article->modified : ''; $this->published = $this->_articleParams->get('show_publish_date') ? $this->_article->publish_up : ''; $this->hits = $this->_articleParams->get('show_hits') ? $this->_article->hits : ''; $this->author = $this->_articleParams->get('show_author') && !empty($this->_article->author) ? ($this->_article->created_by_alias ? $this->_article->created_by_alias : $this->_article->author) : ''; $this->authorLink = strlen($this->author) && !empty($this->_article->contactid) && $this->_articleParams->get('link_author') ? 'index.php?option=com_contact&view=contact&id=' . $this->_article->contactid : ''; } /** * @see $created */ public function createdDateInfo($created) { return JText::sprintf('COM_CONTENT_CREATED_DATE_ON', JHtml::_('date', $created, JText::_('DATE_FORMAT_LC2'))); } /** * @see $modified */ public function modifiedDateInfo($modified) { return JText::sprintf('COM_CONTENT_LAST_UPDATED', JHtml::_('date', $modified, JText::_('DATE_FORMAT_LC2'))); } /** * @see $published */ public function publishedDateInfo($published) { return JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHtml::_('date', $published, JText::_('DATE_FORMAT_LC2'))); } /** * @see $author */ public function authorInfo($author, $authorLink) { if (strlen($authorLink)) return JText::sprintf('COM_CONTENT_WRITTEN_BY', JHtml::_('link', JRoute::_($authorLink), $author)); return JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); } public function articleSeparator() { return '
 
'; } /** * @see $section, $sectionLink, $category, $categoryLink */ public function categories($parentCategory, $parentCategoryLink, $category, $categoryLink) { if (0 == strlen($parentCategory) && 0 == strlen($category)) return ''; ob_start(); if (strlen($parentCategory)) { echo ''; if (strlen($parentCategoryLink)) echo '' . $this->_component->escape($parentCategory) . ''; else echo $this->_component->escape($parentCategory); echo ''; if (strlen($category)) echo ' / '; } if (strlen($category)) { echo ''; if (strlen($categoryLink)) echo '' . $this->_component->escape($category) . ''; else echo $this->_component->escape($category); echo ''; } return JText::sprintf('COM_CONTENT_CATEGORY', ob_get_clean()); } public function hitsInfo($hits) { return JText::sprintf('COM_CONTENT_ARTICLE_HITS', $hits); } public function event($name) { return $this->_article->event->{$name}; } public function getArticleViewParameters() { return array('metadata-header-icons' => array(), 'metadata-footer-icons' => array()); } public function article($article) { return artxPost($article); } }