mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
Syntax highlighter now knows about built in functions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@599 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -80,6 +80,8 @@ function fromfile_page() {
|
||||
return drupal_not_found();
|
||||
}
|
||||
$raw = file($full_path);
|
||||
global $current_doc_file;
|
||||
$current_doc_file = "$file";
|
||||
|
||||
foreach($raw as $k=>$l) $raw[$k] = preg_replace("/\r?\n/","",$l);
|
||||
|
||||
@@ -106,6 +108,7 @@ function fromfile_page() {
|
||||
|
||||
// done
|
||||
drupal_set_breadcrumb($breadcrumbs);
|
||||
drupal_set_title($title);
|
||||
// view as a node
|
||||
$node = array(
|
||||
'title' => $title,
|
||||
|
||||
Reference in New Issue
Block a user