mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-02-04 10:18:25 +00:00
Fix copy/paste errors
This commit is contained in:
parent
e7c0beed89
commit
3f5df08915
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_contact
|
||||
* @subpackage com_weblinks
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
|
||||
* @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;
|
||||
|
||||
/**
|
||||
* Component class for com_contact
|
||||
* Component class for com_weblinks
|
||||
*
|
||||
* @since 4.0.0
|
||||
*/
|
||||
|
@ -70,7 +70,7 @@ class WeblinkModel extends AdminModel
|
||||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_contact
|
||||
* @subpackage com_weblinks
|
||||
*
|
||||
* @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
|
@ -30,7 +30,7 @@ $published = $this->state->get('filter.published');
|
||||
<?php if ($published >= 0) : ?>
|
||||
<div class="control-group span6">
|
||||
<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>
|
||||
<?php endif; ?>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_contact
|
||||
* @subpackage com_weblinks
|
||||
*
|
||||
* @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
@ -25,7 +25,7 @@ use Joomla\Database\DatabaseInterface;
|
||||
use Joomla\Database\ParameterType;
|
||||
|
||||
/**
|
||||
* Routing class from com_contact
|
||||
* Routing class from com_weblinks
|
||||
*
|
||||
* @since 3.3
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user