Browse Source

remove MIME filters from explorer search form

main
ghost 2 years ago
parent
commit
fcda6b9885
  1. 5
      public/explore.php

5
public/explore.php

@ -59,7 +59,7 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
} }
main { main {
margin-top: 110px; margin-top: 80px;
margin-bottom: 76px; margin-bottom: 76px;
padding: 0 20px; padding: 0 20px;
} }
@ -202,9 +202,6 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
<form name="search" method="GET" action="<?php echo WEBSITE_DOMAIN; ?>/search.php"> <form name="search" method="GET" action="<?php echo WEBSITE_DOMAIN; ?>/search.php">
<h1><a href="<?php echo WEBSITE_DOMAIN; ?>"><?php echo _('YGGo!') ?></a></h1> <h1><a href="<?php echo WEBSITE_DOMAIN; ?>"><?php echo _('YGGo!') ?></a></h1>
<input type="text" name="q" placeholder="<?php echo $placeholder ?>" value="" /> <input type="text" name="q" placeholder="<?php echo $placeholder ?>" value="" />
<?php foreach ($sphinx->getHostPagesMime() as $mime) { ?>
<label><input type="radio" name="t" value="<?php echo $mime->mime ?>" /><?php echo $mime->mime ?></label>
<?php } ?>
<button type="submit"><?php echo _('Search'); ?></button> <button type="submit"><?php echo _('Search'); ?></button>
</form> </form>
</header> </header>

Loading…
Cancel
Save