Added C++ syntax to SyntaxHighlighter autoloader
authorDylan Lloyd <dylan@psu.edu>
Wed, 15 Jun 2011 05:55:41 +0000 (01:55 -0400)
committerDylan Lloyd <dylan@psu.edu>
Wed, 15 Jun 2011 05:55:41 +0000 (01:55 -0400)
index.php

index 0355694..8245ec2 100644 (file)
--- a/index.php
+++ b/index.php
@@ -250,7 +250,8 @@ class page extends cms {
             SyntaxHighlighter.autoloader(
              'js /includes/syntax/scripts/shBrushJScript.js',
              'bash /includes/syntax/scripts/shBrushBash.js',
-             'sql /includes/syntax/scripts/shBrushSql.js');
+             'sql /includes/syntax/scripts/shBrushSql.js',
+             'cpp /includes/syntax/scripts/shBrushCpp.js');
             SyntaxHighlighter.defaults['gutter'] = false;
             SyntaxHighlighter.defaults['toolbar'] = false;
             SyntaxHighlighter.all();
@@ -352,7 +353,8 @@ class note extends cms {
             SyntaxHighlighter.autoloader(
              'js /includes/syntax/scripts/shBrushJScript.js',
              'bash /includes/syntax/scripts/shBrushBash.js',
-             'sql /includes/syntax/scripts/shBrushSql.js');
+             'sql /includes/syntax/scripts/shBrushSql.js',
+             'cpp /includes/syntax/scripts/shBrushCpp.js');
             SyntaxHighlighter.defaults['gutter'] = false;
             SyntaxHighlighter.defaults['toolbar'] = false;
             SyntaxHighlighter.all();