From 4929ea5eb8089e0616a422814cf3e6903649f3b5 Mon Sep 17 00:00:00 2001 From: manfromhuh Date: Fri, 15 Jul 2022 21:09:05 -0400 Subject: [PATCH] Remove formatting from directory list --- blog/authors/index.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/blog/authors/index.php b/blog/authors/index.php index f74ea42..78ab949 100644 --- a/blog/authors/index.php +++ b/blog/authors/index.php @@ -41,12 +41,8 @@ if (file_exists($dir) && is_dir($dir) ) { } if (sizeof($file_array) != 0){ foreach($file_array as $file) {//Renders the folder names as more readable titles. - $_replace = array('.php', '.html', '.htm');//Remove file extensions from webpages. $link_title = str_replace('_',' ',$file);//Remove undersores and replace them with spaces $link_title = str_replace($_replace,'',$link_title); - $link_title = ucwords($link_title);//Set the first letter of each word to upercase. - $link_title = get_month_name($link_title);// - $link_title = remove_sorting_number($link_title);//Removes the number used to keep articles in post order from the displayed title. echo("\n");//Output the result. } } else {