Style the author pfp
This commit is contained in:
@@ -45,10 +45,10 @@ if (file_exists($dir) && is_dir($dir) ) {
|
||||
$link_title = str_replace($_replace,'',$link_title);
|
||||
if (file_exists($file."/pfp.png")){
|
||||
$pfp_path = "$file/pfp.png";
|
||||
echo("<ul><li><img src=\"$pfp_path\" class=\"pfp\" name=\"$file pfp\"><a href='$file'> $link_title </a></li></ul>\n");//Output the result.
|
||||
} else {
|
||||
$pfp_path = "";
|
||||
echo("<ul><li><a href='$file'> $link_title </a></li></ul>\n");//Output the result.
|
||||
}
|
||||
echo("<ul><li><img src=\"$pfp_path\" class=\"pfp\" name=\"$file pfp\" width=\"20\" height=\"20\"><a href='$file'> $link_title </a></li></ul>\n");//Output the result.
|
||||
}
|
||||
} else {
|
||||
echo "<ul><li><a>No Authors<a></li></ul>";
|
||||
|
||||
Reference in New Issue
Block a user