Searched defs:geshi (Results 1 - 6 of 6) sorted by relevance

/external/libvpx/examples/includes/geshi/contrib/
H A Dcssgen2.php5 * the CSS file. On *NIX you can also do a simple `php cssgen.php > geshi.css`.
23 * @package geshi
31 require dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'geshi.php';
32 $geshi = new GeSHi; variable
35 if ($handle = opendir($geshi->language_path)) {
47 header('Content-Disposition: attachment; filename="geshi.css"');
51 " * (http://qbnz.com/highlighter/ and http://geshi.org/)\n".
55 $geshi->set_language($language);
57 $css = $geshi->get_stylesheet(false);
H A Daliased.php7 * 'Alias /viewmysource /var/www/geshi/contrib/aliased.php'. Don't forget
22 // Assume you've put geshi in the include_path already
23 require_once("geshi.php");
44 $geshi =& new GeSHi($contents, "PHP"); variable
45 $geshi->set_header_type(GESHI_HEADER_PRE);
46 $geshi->enable_classes();
47 $geshi->enable_line_numbers(GESHI_FANCY_LINE_NUMBERS, 10);
48 $geshi->set_overall_style('color: #000066; border: 1px solid #d0d0d0; background-color: #f0f0f0;', true);
49 $geshi->set_line_style('font: normal normal 95% \'Courier New\', Courier, monospace; color: #003030;', 'font-weight: bold; color: #006060;', true);
50 $geshi
[all...]
H A Dexample.php5 * Just point your browser at this script (with geshi.php in the parent directory,
6 * and the language files in subdirectory "../geshi/")
18 if (is_readable('../geshi.php')) {
20 } elseif (is_readable('geshi.php')) {
23 die('Could not find geshi.php - make sure it is in your include path!');
25 require $path . 'geshi.php';
34 $_POST['source'] = implode('', @file($path . 'geshi/' . $_POST['language'] . '.php'));
46 $geshi = new GeSHi($_POST['source'], $_POST['language']); variable
54 $geshi->set_header_type(GESHI_HEADER_PRE_VALID);
58 $geshi
[all...]
/external/libvpx/examples/includes/
H A Dvp8_doc_tools.php35 include_once('geshi/geshi.php');
39 $geshi_lang = 'geshi/geshi/'; // GeSHi language files
150 $geshi = new GeSHi($matches[1], $lang); variable
151 $geshi->set_language_path($geshi_lang);
152 $blob_new = $geshi->parse_code();
158 unset($geshi);
/external/libvpx/examples/
H A Dgen_example_doxy.php22 $geshi_path = dirname($argv[0])."/includes/geshi/geshi/"; // Language files
30 if(!include_once('includes/geshi/geshi.php'))
78 $geshi = new GeSHi($matches[1], $language); variable
79 $geshi->set_language_path($geshi_path);
80 $block_new = $geshi->parse_code();
86 unset($geshi); // Clean up
/external/libvpx/examples/includes/geshi/
H A Dgeshi.php28 * @package geshi
30 * @author Nigel McNie <nigel@geshi.org>, Benny Baumann <BenBE@omorphia.de>
53 define('GESHI_LANG_ROOT', GESHI_ROOT . 'geshi' . DIRECTORY_SEPARATOR);
249 * @package geshi
250 * @author Nigel McNie <nigel@geshi.org>, Benny Baumann <BenBE@omorphia.de>
694 * geshi.php, NOT geshi.php itself.
1319 * Given a file extension, this method returns either a valid geshi language
3714 $this->overall_id = 'geshi-' . substr(md5(microtime()), 0, 4);
4237 " * (http://qbnz.com/highlighter/ and http://geshi
4603 $geshi = new GeSHi($string, $language, $path); variable
[all...]

Completed in 110 milliseconds