Changeset 2969
- Timestamp:
- 12/08/06 12:46:38 (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
r2430 r2969 350 350 } 351 351 352 function pake_format_action($section, $text )352 function pake_format_action($section, $text, $size = null) 353 353 { 354 354 if (pakeApp::get_instance()->get_verbose()) 355 355 { 356 356 $width = 9 + strlen(pakeColor::colorize('', 'INFO')); 357 return sprintf('>> %-'.$width.'s %s', pakeColor::colorize($section, 'INFO'), pakeApp::excerpt($text ))."\n";357 return sprintf('>> %-'.$width.'s %s', pakeColor::colorize($section, 'INFO'), pakeApp::excerpt($text, $size))."\n"; 358 358 } 359 359 }