Revert "Updated modules to allow for partial overrides without errors"
This reverts commit db949bb802.
This commit is contained in:
parent
d6cf791677
commit
b202e02fbf
123 changed files with 471 additions and 768 deletions
|
|
@ -1,14 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
/**
|
||||
* @file mod/parse_url.php
|
||||
*
|
||||
*
|
||||
* @todo https://developers.google.com/+/plugins/snippet/
|
||||
*
|
||||
*
|
||||
* @verbatim
|
||||
* <meta itemprop="name" content="Toller Titel">
|
||||
* <meta itemprop="description" content="Eine tolle Beschreibung">
|
||||
* <meta itemprop="image" content="http://maple.libertreeproject.org/images/tree-icon.png">
|
||||
*
|
||||
*
|
||||
* <body itemscope itemtype="http://schema.org/Product">
|
||||
* <h1 itemprop="name">Shiny Trinket</h1>
|
||||
* <img itemprop="image" src="{image-url}" />
|
||||
|
|
@ -27,7 +27,6 @@ if(!function_exists('deletenode')) {
|
|||
}
|
||||
}
|
||||
|
||||
if(! function_exists('completeurl')) {
|
||||
function completeurl($url, $scheme) {
|
||||
$urlarr = parse_url($url);
|
||||
|
||||
|
|
@ -54,9 +53,7 @@ function completeurl($url, $scheme) {
|
|||
|
||||
return($complete);
|
||||
}
|
||||
}
|
||||
|
||||
if(! function_exists('parseurl_getsiteinfo_cached')) {
|
||||
function parseurl_getsiteinfo_cached($url, $no_guessing = false, $do_oembed = true) {
|
||||
|
||||
if ($url == "")
|
||||
|
|
@ -80,9 +77,7 @@ function parseurl_getsiteinfo_cached($url, $no_guessing = false, $do_oembed = tr
|
|||
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
||||
if(! function_exists('parseurl_getsiteinfo')) {
|
||||
function parseurl_getsiteinfo($url, $no_guessing = false, $do_oembed = true, $count = 1) {
|
||||
require_once("include/network.php");
|
||||
require_once("include/Photo.php");
|
||||
|
|
@ -405,15 +400,11 @@ function parseurl_getsiteinfo($url, $no_guessing = false, $do_oembed = true, $co
|
|||
|
||||
return($siteinfo);
|
||||
}
|
||||
}
|
||||
|
||||
if(! function_exists('arr_add_hashes')) {
|
||||
function arr_add_hashes(&$item,$k) {
|
||||
$item = '#' . $item;
|
||||
}
|
||||
}
|
||||
|
||||
if(! function_exists('parse_url_content')) {
|
||||
function parse_url_content(&$a) {
|
||||
|
||||
$text = null;
|
||||
|
|
@ -567,5 +558,4 @@ function parse_url_content(&$a) {
|
|||
|
||||
killme();
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue