]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #6055 from zeroadam/FileTagHotFix
authorHypolite Petovan <hypolite@mrpetovan.com>
Wed, 31 Oct 2018 17:57:33 +0000 (13:57 -0400)
committerGitHub <noreply@github.com>
Wed, 31 Oct 2018 17:57:33 +0000 (13:57 -0400)
Misspelling in use statement

1  2 
mod/editpost.php

diff --combined mod/editpost.php
index 329e0c9a0a59b1c4dee8297df20a4061c047c5ab,f1d3b5392b22aa0c7ae3223dac880edf63c109a8..0023e35edd963dd069f0c934cff44512a0f183e9
@@@ -7,9 -7,8 +7,9 @@@ use Friendica\Content\Feature
  use Friendica\Core\Addon;
  use Friendica\Core\Config;
  use Friendica\Core\L10n;
 +use Friendica\Core\Renderer;
  use Friendica\Core\System;
- use Friendcia\Model\FileTag;
+ use Friendica\Model\FileTag;
  use Friendica\Model\Item;
  use Friendica\Database\DBA;
  
@@@ -41,19 -40,19 +41,19 @@@ function editpost_content(App $a
  
        $geotag = '';
  
 -      $o .= replace_macros(get_markup_template("section_title.tpl"), [
 +      $o .= Renderer::replaceMacros(Renderer::getMarkupTemplate("section_title.tpl"), [
                '$title' => L10n::t('Edit post')
        ]);
  
 -      $tpl = get_markup_template('jot-header.tpl');
 -      $a->page['htmlhead'] .= replace_macros($tpl, [
 +      $tpl = Renderer::getMarkupTemplate('jot-header.tpl');
 +      $a->page['htmlhead'] .= Renderer::replaceMacros($tpl, [
                '$baseurl' => System::baseUrl(),
                '$ispublic' => '&nbsp;', // L10n::t('Visible to <strong>everybody</strong>'),
                '$geotag' => $geotag,
                '$nickname' => $a->user['nickname']
        ]);
  
 -      $tpl = get_markup_template("jot.tpl");
 +      $tpl = Renderer::getMarkupTemplate("jot.tpl");
  
        if (strlen($item['allow_cid']) || strlen($item['allow_gid']) || strlen($item['deny_cid']) || strlen($item['deny_gid'])) {
                $lockstate = 'lock';
@@@ -86,7 -85,7 +86,7 @@@
        Addon::callHooks('jot_tool', $jotplugins);
        //Addon::callHooks('jot_networks', $jotnets);
  
 -      $o .= replace_macros($tpl, [
 +      $o .= Renderer::replaceMacros($tpl, [
                '$is_edit' => true,
                '$return_path' => '/display/' . $item['guid'],
                '$action' => 'item',