96
Validation results

tc_theme24

tc_theme24

Joomla template 2.5
96
  • THEME TYPEJoomla template 2.5
  • FILE NAMEtc_theme24_free.zip
  • FILE SIZE691335 bytes
  • MD5b6766536e777a5a58820ddd56b8fc7e2
  • SHA177c309b896146712cb5d71a3e84000f17a9e474c
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, HTML, XML, Bitmap images, Adobe Illustrator
  • VERSION3.5.0
  • CREATION DATE2016-09-09
  • LAST FILE UPDATE2017-03-04
  • LAST VALIDATION2017-03-04 19:42
Warning
  1. Cdn : Use of CDNFound the URL of a CDN in the code: oss.maxcdn.com/libs/html5shiv. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  2. Security breaches : Use of base64_encode()Found base64_encode in file default_articles.php.
     <?php
    /**
    * @package     Joomla.Site
    * @subpackage  com_content
    * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
    * @license     GNU General Public License version 2 or later; see LICENSE.txt
    */
    defined('_JEXEC') or die;
    JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
    JHtml::_('behavior.framework');
    $params		= &$this->item->params;
    $n			= count($this->items);
    $listOrder	= $this->escape($this->state->get('list.ordering'));
    $listDirn	= $this->escape($this->state->get('list.direction'));
    // check for at least one editable article
    $isEditable = false;
    if (!empty($this->items))
    {
    foreach ($this->items as $article)
    {
    if ($article->params->get('access-edit'))
    {
    $isEditable = true;
    break;
    }
    }
    }
    ?>
    <?php if (empty($this->items)) : ?>
    <?php if ($this->params->get('show_no_articles', 1)) : ?>
    <p><?php echo JText::_('COM_CONTENT_NO_ARTICLES'); ?></p>
    <?php endif; ?>
    <?php else : ?>
    <form action='<?php echo htmlspecialchars(JUri::getInstance()->toString()); ?>' method='post' name='adminForm' id='adminForm' class='form-inline'>
    <?php if ($this->params->get('show_headings') || $this->params->get('filter_field') != 'hide' || $this->params->get('show_pagination_limit')) :?>
    <fieldset class='filters btn-toolbar clearfix'>
    <?php if ($this->params->get('filter_field') != 'hide') :?>
    <div class='btn-group'>
    <label class='filter-search-lbl element-invisible' for='filter-search'>
    <?php echo JText::_('COM_CONTENT_'.$this->params->get('filter_field').'_FILTER_LABEL').'&#160;'; ?>
    </label>
    <input type='text' name='filter-search' id='filter-search' value='<?php echo $this->escape($this->state->get('list.filter')); ?>' class='inputbox' onchange='document.adminForm.submit();' title='<?php echo JText::_('COM_CONTENT_FILTER_SEARCH_DESC'); ?>' placeholder='<?php echo JText::_('COM_CONTENT_'.$this->params->get('filter_field').'_FILTER_LABEL'); ?>' />
    </div>
    <?php endif; ?>
    <?php if ($this->params->get('show_pagination_limit')) : ?>
    <div class='btn-group pull-right'>
    <label for='limit' class='element-invisible'>
    <?php echo JText::_('JGLOBAL_DISPLAY_NUM'); ?>
    </label>
    <?php echo $this->pagination->getLimitBox(); ?>
    </div>
    <?php endif; ?>
    <input type='hidden' name='filter_order' value='' />
    <input type='hidden' name='filter_order_Dir' value='' />
    <input type='hidden' name='limitstart' value='' />
    <input type='hidden' name='task' value='' />
    </fieldset>
    <?php endif; ?>
    <table class='category table table-striped table-hover'>
    <?php if ($this->params->get('show_headings')) : ?>
    <thead>
    <tr>
    <th id='categorylist_header_title'>
    <?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?>
    </th>
    <?php if ($date = $this->params->get('list_show_date')) : ?>
    <th id='categorylist_header_date'>
    <?php if ($date == 'created') : ?>
    <?php echo JHtml::_('grid.sort', 'COM_CONTENT_'.$date.'_DATE', 'a.created', $listDirn, $listOrder); ?>
    <?php elseif ($date == 'modified') : ?>
    <?php echo JHtml::_('grid.sort', 'COM_CONTENT_'.$date.'_DATE', 'a.modified', $listDirn, $listOrder); ?>
    <?php elseif ($date == 'published') : ?>
    <?php echo JHtml::_('grid.sort', 'COM_CONTENT_'.$date.'_DATE', 'a.publish_up', $listDirn, $listOrder); ?>
    <?php endif; ?>
    </th>
    <?php endif; ?>
    <?php if ($this->params->get('list_show_author')) : ?>
    <th id='categorylist_header_author'>
    <?php echo JHtml::_('grid.sort', 'JAUTHOR', 'author', $listDirn, $listOrder); ?>
    </th>
    <?php endif; ?>
    <?php if ($this->params->get('list_show_hits')) : ?>
    <th id='categorylist_header_hits'>
    <?php echo JHtml::_('grid.sort', 'JGLOBAL_HITS', 'a.hits', $listDirn, $listOrder); ?>
    </th>
    <?php endif; ?>
    <?php if ($isEditable) : ?>
    <th id='categorylist_header_edit'><?php echo JText::_('COM_CONTENT_EDIT_ITEM'); ?></th>
    <?php endif; ?>
    </tr>
    </thead>
    <?php endif; ?>
    <tbody>
    <?php foreach ($this->items as $i => $article) : ?>
    <?php if ($this->items[$i]->state == 0) : ?>
    <tr class='system-unpublished cat-list-row<?php echo $i % 2; ?>'>
    <?php else: ?>
    <tr class='cat-list-row<?php echo $i % 2; ?>' >
    <?php endif; ?>
    <td headers='categorylist_header_title' class='list-title'>
    <?php if (in_array($article->access, $this->user->getAuthorisedViewLevels())) : ?>
    <a href='<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catid)); ?>'>
    <?php echo $this->escape($article->title); ?>
    </a>
    <?php else: ?>
    <?php
    echo $this->escape($article->title).' : ';
    $menu		= JFactory::getApplication()->getMenu();
    $active		= $menu->getActive();
    $itemId		= $active->id;
    $link = JRoute::_('index.php?option=com_users&view=login&Itemid='.$itemId);
    $returnURL = JRoute::_(ContentHelperRoute::getArticleRoute($article->slug));
    $fullURL = new JUri($link);
    $fullURL->setVar('return', base64_encode($returnURL));
    ?>
    <a href='<?php echo $fullURL; ?>' class='reg
    Found base64_encode in file default_login.php.
     <input type='hidden' name='return' value='<?php echo base64_encode($this->params->get('login_redirect_url', $this->form->getValu
    Found base64_encode in file default_logout.php.
     <input type='hidden' name='return' value='<?php echo base64_encode($this->params->get('logout_redirect_url', $this->form->getVal
    Found base64_encode in file offline.php.
     <input type='hidden' name='return' value='<?php echo base64_encode(JURI::base()); ?>' />
  3. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file default.php.Found a mix of \r\n and \n line endings in file positions.php.
  4. Fundamental theme elements : Definition of a charsetCould not find charset.
Other checked themes