mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
feature 280: Allow visitors/users to choose image ordering inside a category
improvement 82: Viewing pictures from remote galleries does not check anymore for the high pictures (existence flag added to create_listing_file and db) correction: link element in picture is in the head instead of body (w3c spec) correction: in profile.php the current template was not selected by default git-svn-id: http://piwigo.org/svn/trunk@1020 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -533,6 +533,15 @@ function get_query_string_diff($rejects = array())
|
||||
return $query_string;
|
||||
}
|
||||
|
||||
function url_is_remote($url)
|
||||
{
|
||||
if (preg_match('/^https?:\/\/[~\/\.\w-]+$/', $url))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns available templates/themes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user