Changeset 1878
- Timestamp:
- 08/30/06 14:45:59 (2 years ago)
- Files:
-
- tools/pake/trunk/lib/pake/pakeFunction.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/pake/trunk/lib/pake/pakeFunction.php
r1825 r1878 343 343 } 344 344 345 function pake_format_action($section, $text) 346 { 347 if (pakeApp::get_instance()->get_verbose()) 348 { 349 $width = 9 + strlen(pakeColor::colorize('', 'INFO')); 350 return sprintf('>> %-'.$width.'s %s', pakeColor::colorize($section, 'INFO'), pakeApp::excerpt($text))."\n"; 351 } 352 } 353 345 354 function pake_echo_action($section, $text) 346 355 { 347 if (pakeApp::get_instance()->get_verbose()) 348 { 349 $width = 9 + strlen(pakeColor::colorize('', 'INFO')); 350 echo sprintf('>> %-'.$width.'s %s', pakeColor::colorize($section, 'INFO'), pakeApp::excerpt($text))."\n"; 351 } 356 echo pake_format_action($section, $text); 352 357 } 353 358