Lines Matching +full:cell +full:- +full:c

8 …function connectTo($mode) { $this->Lexer->addSpecialPattern('\{\{nssize>[^}]*\}\}',$mode,'plugin_n…
12 $match = substr($match,8,-2);
31 $renderer->table_open(2);
32 $this->_nssize_header($renderer,'Namespace','Size');
34 foreach($paths as $c => $p) {
35 if($conf['display_'.$c]===0) continue;
36 $path = empty($conf[$c]) ? $conf['savedir'].'/'.$p.'/'.$match : $conf[$c].'/'.$match;
37 $conf[$c] = init_path($path);
38 $bytes = $this->_du($conf[$c]);
39 $nssize = $this->_formatSize($bytes);
40 $alert = ($bytes>$this->getConf('alert_size'));
41 $name = $this->getConf('show_abs_path')===1?$path:$p.'/'.$match;
42 $this->_row($renderer,$name,$nssize,$alert);
45 if($this->getConf('display_sum')){
46 $this->_nssize_header($renderer,'Sum',$this->_formatSize($total));
48 $renderer->table_close();
66 $total += $this->_du($location.'/'.$file);
83 * Date: 2011-06-06
84 * Website: http://www.darian-brown.com/get-and-display-hard-disk-space-usage-using-php/
89 for( $i = 0; $bytes >= 1024 && $i < ( count( $types ) -1 ); $bytes /= 1024, $i++ );
97 * @param string $cell
99 function _row(&$renderer,$head,$cell,$strong){ argument
100 if(empty($cell))return;
101 $renderer->tablerow_open();
102 $renderer->tablecell_open();
103 $renderer->doc.=$head;
104 $renderer->tablecell_close();
105 $renderer->tablecell_open();
106 if($strong) $renderer->strong_open();
107 $renderer->doc.=$cell;
108 if($strong) $renderer->strong_close();
109 $renderer->tablecell_close();
110 $renderer->tablerow_close();
120 $renderer->tablerow_open();
121 $renderer->tableheader_open();
122 $renderer->doc.=$name;
123 $renderer->tableheader_close();
124 $renderer->tableheader_open();
125 $renderer->doc.=$size;
126 $renderer->tableheader_close();
127 $renderer->tablerow_close();