1
1
Fork 0

Fix formatting all around

This commit is contained in:
Hypolite Petovan 2017-12-09 13:42:02 -05:00
commit fe89e7760e
7 changed files with 29 additions and 25 deletions

View file

@ -5,19 +5,18 @@
use Friendica\App;
use Friendica\Core\PConfig;
require_once("mod/display.php");
require_once("include/group.php");
require_once "mod/display.php";
function update_display_content(App $a) {
function update_display_content(App $a)
{
$profile_uid = intval($_GET["p"]);
header("Content-type: text/html");
echo "<!DOCTYPE html><html><body>\r\n";
echo "<section>";
$text = display_content($a,$profile_uid);
$text = display_content($a, $profile_uid);
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
$replace = "<img\${1} dst=\"\${2}\"";
$text = preg_replace($pattern, $replace, $text);