Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button for getting the standard-view (no results) #104

Open
LukasCBossert opened this issue May 14, 2020 · 2 comments
Open

Button for getting the standard-view (no results) #104

LukasCBossert opened this issue May 14, 2020 · 2 comments

Comments

@LukasCBossert
Copy link

I am wondering if there is the possibility to have a button which will delete all the search results and the page is shown with all entries as it is when you would refresh it.

Bildschirmfoto 2020-05-14 um 13 42 30

This is what I am playing around with:

  function searchView() {
    ?>
    <!-- added 2020 -->
    <form>
      <INPUT class="input_box" TYPE="button" onClick="" VALUE="see all entries">
    </form>
    <!-- ^^ added 2020 -->
    <form action="?" method="get" target="<?php echo BIBTEXBROWSER_MENU_TARGET;?>">
      <input type="text" name="<?php echo Q_SEARCH; ?>" class="input_box" size="12"/>
      <input type="hidden" name="<?php echo Q_FILE; ?>" value="<?php echo @$_GET[Q_FILE]; ?>"/>
      <!-- <br/> -->
      <input type="submit" value="search" class="input_box"/>
    </form>
    <?php
  }
@monperrus
Copy link
Owner

monperrus commented May 15, 2020 via email

@LukasCBossert
Copy link
Author

Just did : #105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants