Esempio n. 1
0
defined('_JEXEC') || die('=;)');
/**
 * @package    EasyCreator
 * @subpackage Views
 * @author     Nikolai Plath
 * @author     Created on 09-Sep-2009
 * @license    GNU/GPL, see JROOT/LICENSE.php
 */
$sniffer = new EcrPearHelperCodesniffer();
if (false == $sniffer->checkEnv()) {
    echo 'Env check failed.. cannot continue :(';
    return;
}
$standard = JFactory::getApplication()->input->get('sniff_standard');
$standards = $sniffer->getStandards();
//-- @todo provide own standards ¿ JFolder::folders(JPATH_COMPONENT.DS.'helpers'.DS.'CodeSniffer');
$easyStandards = array();
$formats = array('full', 'xml', 'checkstyle', 'csv', 'emacs', 'source', 'summary');
ecrLoadMedia('php_file_tree');
$fileTree = drawFileTree($this->project);
?>

<div class="ecr_floatbox">
    <?php 
echo $fileTree;
?>
    <div onclick="sniffFolder();" class="btn block left">
        <i class="img32 icon32-nose"></i>
        <?php 
echo jgettext('Sniff folder');