Home | History | Annotate | Download | only in contrib

Lines Matching refs:language

6  * and the language files in subdirectory "../geshi/")
33 $_POST['language'] = preg_replace('#[^a-zA-Z0-9\-_]#', '', $_POST['language']);
34 $_POST['source'] = implode('', @file($path . 'geshi/' . $_POST['language'] . '.php'));
35 $_POST['language'] = 'php';
42 // First the initialisation: source code to highlight and the language to use. Make sure
46 $geshi = new GeSHi($_POST['source'], $_POST['language']);
95 // make sure we don't preselect any language
96 $_POST['language'] = null;
162 include_path, and that the language files are in a subdirectory of GeSHi's directory called <strong>geshi/</strong>.</p>
163 <p>Enter your source and a language to highlight the source in and submit, or just choose a language to
164 have that language file highlighted in PHP.</p>
177 <h3>Choose a language</h3>
179 <select name="language" id="language">
197 if (isset($_POST['language']) && $_POST['language'] == $lang) {
210 <input type="submit" name="clear" onclick="document.getElementById('source').value='';document.getElementById('language').value='';return false" value="clear" />