mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
a lot of enhancements related to tags: tags list is now sorted, shows number of articles, autocomplete added according to #477, #542
This commit is contained in:
parent
17b2afefad
commit
fb26cc9375
27 changed files with 3225 additions and 25 deletions
10
inc/poche/Tools.class.php
Normal file → Executable file
10
inc/poche/Tools.class.php
Normal file → Executable file
|
@ -311,4 +311,14 @@ class Tools
|
|||
|
||||
return json_decode($json, true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether we handle an AJAX (XMLHttpRequest) request.
|
||||
* @return boolean whether we handle an AJAX (XMLHttpRequest) request.
|
||||
*/
|
||||
public static function isAjaxRequest()
|
||||
{
|
||||
return isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER['HTTP_X_REQUESTED_WITH']==='XMLHttpRequest';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue