You are here

function _filebrowser_url_query in Filebrowser 7.2

Same name and namespace in other branches
  1. 8 filebrowser.common.inc \_filebrowser_url_query()
  2. 6.2 includes/helpers.inc \_filebrowser_url_query()
  3. 7.4 filebrowser.common.inc \_filebrowser_url_query()
  4. 7.3 filebrowser.common.inc \_filebrowser_url_query()
3 calls to _filebrowser_url_query()
filebrowser_form_create_folder_submit in ./filebrowser.module
create folder submition.
filebrowser_form_upload_submit in ./filebrowser.module
uploads submition.
_filebrowser_folder_url in ./filebrowser.common.inc
Build an URL with current pager settings.

File

./filebrowser.common.inc, line 182
Misc filebrowser common functions.

Code

function _filebrowser_url_query($options = array()) {
  $query = array();
  foreach ($_GET as $key => $value) {
    if ($key != 'q') {
      $query[$key] = urlencode(filter_xss($value));
    }
  }
  return $query;
}