forked from 20xd6/simple_blog
Fix variable being tested for empty file in PR #21
This commit is contained in:
parent
7ff2cf1d0f
commit
206f94f5db
@ -5,7 +5,7 @@
|
|||||||
echo "<article><h1 id=\"page_title\">Posts by Tag</h1></article>";
|
echo "<article><h1 id=\"page_title\">Posts by Tag</h1></article>";
|
||||||
echo "<div id=\"search_inputs\"><input type=\"text\" id=\"tag_sort\" onkeyup=\"tag_search()\" placeholder=\"Search Tags...\" title=\"Type a tage to search\"><input id=\"search_toggle\" type=\"button\" value=\"Search Titles\" onclick=\"search_toggle()\"></div><!--End Div Search Inputs-->";
|
echo "<div id=\"search_inputs\"><input type=\"text\" id=\"tag_sort\" onkeyup=\"tag_search()\" placeholder=\"Search Tags...\" title=\"Type a tage to search\"><input id=\"search_toggle\" type=\"button\" value=\"Search Titles\" onclick=\"search_toggle()\"></div><!--End Div Search Inputs-->";
|
||||||
function read_tags($tags_file){
|
function read_tags($tags_file){
|
||||||
if (filesize($tags_vile) == 0){
|
if (filesize($tags_file) == 0){
|
||||||
echo "<br/>\n<br/>";
|
echo "<br/>\n<br/>";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user