fixed bugs in code_file and code_blame

This commit is contained in:
hyung-hwan 2014-05-25 15:03:52 +00:00
parent f0e4289de0
commit 2fc504b47f
2 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ if ($fileext == 'adb' || $fileext == 'ads') $fileext = 'ada';
else if ($fileext == 'pas') $fileext = 'pascal';
else if ($fileext == 'bas') $fileext = 'basic';
if ($fileext != '') $prettyprint_lang = "lang-$fileext";
$prettyprint_lang = ($fileext != '')? "lang-$fileext": '';
$prettyprint_linenums = 'linenums';
if ($login['settings'] != NULL &&

View File

@ -183,7 +183,7 @@ if ($fileext == 'adb' || $fileext == 'ads') $fileext = 'ada';
else if ($fileext == 'pas') $fileext = 'pascal';
else if ($fileext == 'bas') $fileext = 'basic';
if ($fileext != '') $prettyprint_lang = "lang-$fileext";
$prettyprint_lang = ($fileext != '')? "lang-$fileext": '';
$prettyprint_linenums = 'linenums';
if ($login['settings'] != NULL &&