fixed bugs in code_file and code_blame
This commit is contained in:
parent
f0e4289de0
commit
2fc504b47f
@ -180,7 +180,7 @@ if ($fileext == 'adb' || $fileext == 'ads') $fileext = 'ada';
|
|||||||
else if ($fileext == 'pas') $fileext = 'pascal';
|
else if ($fileext == 'pas') $fileext = 'pascal';
|
||||||
else if ($fileext == 'bas') $fileext = 'basic';
|
else if ($fileext == 'bas') $fileext = 'basic';
|
||||||
|
|
||||||
if ($fileext != '') $prettyprint_lang = "lang-$fileext";
|
$prettyprint_lang = ($fileext != '')? "lang-$fileext": '';
|
||||||
|
|
||||||
$prettyprint_linenums = 'linenums';
|
$prettyprint_linenums = 'linenums';
|
||||||
if ($login['settings'] != NULL &&
|
if ($login['settings'] != NULL &&
|
||||||
|
@ -183,7 +183,7 @@ if ($fileext == 'adb' || $fileext == 'ads') $fileext = 'ada';
|
|||||||
else if ($fileext == 'pas') $fileext = 'pascal';
|
else if ($fileext == 'pas') $fileext = 'pascal';
|
||||||
else if ($fileext == 'bas') $fileext = 'basic';
|
else if ($fileext == 'bas') $fileext = 'basic';
|
||||||
|
|
||||||
if ($fileext != '') $prettyprint_lang = "lang-$fileext";
|
$prettyprint_lang = ($fileext != '')? "lang-$fileext": '';
|
||||||
|
|
||||||
$prettyprint_linenums = 'linenums';
|
$prettyprint_linenums = 'linenums';
|
||||||
if ($login['settings'] != NULL &&
|
if ($login['settings'] != NULL &&
|
||||||
|
Loading…
Reference in New Issue
Block a user