parser->getStream();
$stream->expect(\Twig_Token::BLOCK_END_TYPE);
$body = $this->parser->subparse(array($this, 'decideEnd'), true);
$stream->expect(\Twig_Token::BLOCK_END_TYPE);
return new \phpbb\template\twig\node\php($body, $this->parser->getEnvironment(), $token->getLine(), $this->getTag());
}
public function decideEnd(\Twig_Token $token)
{
return $token->test('ENDPHP');
}
/**
* Gets the tag name associated with this token parser.
*
* @return string The tag name
*/
public function getTag()
{
return 'PHP';
}
}
Mageia Installer and base platform for many utilities
package install_interactive;# $Id$use diagnostics;use strict;use common;use partition_table;use partition_table::raw;use fs::type;use detect_devices;use install_steps;use install_any;use devices;use fsedit;uselog;sub tellAboutProprietaryModules {my($o) =@_;my@l=grep{$_}map{$_->{driver} =~/^Bad:(.*)/&&$1} detect_devices::probeall();$o->ask_warn('', formatAlaTeX(
N("Some hardware on your computer needs ``proprietary'' drivers to work.You can find some information about them at:%s",join(", ",@l))))if@l;}#- unit of $mb is mega bytes, min and max are in sectors, this