function tag_file_download_description() { return tdb(tb('file_download_description')); }
function tag_search_result_date() { return tdb(tb('search_result_date')); }
function tag_file_download_description() { global $step, $endform, $tag_name; $atts = gpsa(array('class', 'escape', 'wraptag')); extract($atts); $out = form(startTable('tagbuilder') . tr(tdcs(hed(gTxt('tag_' . $tag_name), 3), 2)) . tagRow('escape', escape_pop($escape)) . tagRow('wraptag', input_tag('wraptag', $wraptag)) . tagRow('class', fInput('text', 'class', $class, 'edit', '', '', 25)) . $endform); if ($step == 'build') { $out .= tdb(tb($tag_name, $atts)); } return $out; }
function test_binary() { vecho("Binary mode: Positive powers of 2 to 30\n"); $r = 1; for ($n = 0; $n <= 30; $n++) { tb($r, 8); $r *= 2; } vecho("Binary mode: Negative powers of 2 to -30\n"); $r = 1; for ($n = 0; $n <= 30; $n++) { tb($r, 8); $r /= 2; } vecho("Binary mode: From 1 to 100 with min 5, showing step points\n"); for ($r = 1; $r <= 100; $r++) { tb($r, 5); } vecho("Binary mode: Changing minsteps from 2 thru 20\n"); for ($min = 2; $min <= 20; $min += 2) { tb(252, $min); } }