Development

Changeset 2969

You must first sign up to be able to contribute.

Changeset 2969

Show
Ignore:
Timestamp:
12/08/06 12:46:38 (2 years ago)
Author:
fabien
Message:

pake: added size parameter to pake_format_action() function

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tools/pake/trunk/lib/pake/pakeFunction.php

    r2430 r2969  
    350350} 
    351351 
    352 function pake_format_action($section, $text
     352function pake_format_action($section, $text, $size = null
    353353{ 
    354354  if (pakeApp::get_instance()->get_verbose()) 
    355355  { 
    356356    $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"; 
    358358  } 
    359359}