30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-16 21:12:22 +00:00

Fix copy/paste errors

This commit is contained in:
Tuan Pham Ngoc 2021-07-01 21:25:05 +07:00
parent e7c0beed89
commit 3f5df08915
5 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @package Joomla.Administrator * @package Joomla.Administrator
* @subpackage com_contact * @subpackage com_weblinks
* *
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt * @license GNU General Public License version 2 or later; see LICENSE.txt
@ -28,7 +28,7 @@ use Joomla\Component\Weblinks\Administrator\Service\HTML\Icon;
use Psr\Container\ContainerInterface; use Psr\Container\ContainerInterface;
/** /**
* Component class for com_contact * Component class for com_weblinks
* *
* @since 4.0.0 * @since 4.0.0
*/ */

View File

@ -70,7 +70,7 @@ class WeblinkModel extends AdminModel
return false; return false;
} }
return Factory::getUser()->authorise('core.delete', 'com_contact.category.' . (int) $record->catid); return Factory::getUser()->authorise('core.delete', 'com_weblinks.category.' . (int) $record->catid);
} }
/** /**

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @package Joomla.Administrator * @package Joomla.Administrator
* @subpackage com_contact * @subpackage com_weblinks
* *
* @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt * @license GNU General Public License version 2 or later; see LICENSE.txt

View File

@ -30,7 +30,7 @@ $published = $this->state->get('filter.published');
<?php if ($published >= 0) : ?> <?php if ($published >= 0) : ?>
<div class="control-group span6"> <div class="control-group span6">
<div class="controls"> <div class="controls">
<?php echo LayoutHelper::render('joomla.html.batch.item', ['extension' => 'com_contact']); ?> <?php echo LayoutHelper::render('joomla.html.batch.item', ['extension' => 'com_weblinks']); ?>
</div> </div>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @package Joomla.Site * @package Joomla.Site
* @subpackage com_contact * @subpackage com_weblinks
* *
* @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt * @license GNU General Public License version 2 or later; see LICENSE.txt
@ -25,7 +25,7 @@ use Joomla\Database\DatabaseInterface;
use Joomla\Database\ParameterType; use Joomla\Database\ParameterType;
/** /**
* Routing class from com_contact * Routing class from com_weblinks
* *
* @since 3.3 * @since 3.3
*/ */