Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[K5.2]Remove the button in template to access to manage categories #7937

Merged
merged 1 commit into from Mar 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGES.md
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [5.2.3-dev]
## [5.2.3]
### Fixed
* When do a clean install of Kunena you aren't redirected to the install page
* [#7875](https://github.com/Kunena/Kunena-Forum/issues/7875): [CKEditor] The attachment button Insert All duplicates the content of the posts
Expand Down Expand Up @@ -39,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Update fontawesome to 5.15.2

### Removed
* Remove the button in template to access to manage categories from frontend, this feature isn't working
* Remove uneeded plugins files for CKeditor

## [5.2.2] - 2021-01-13
Expand Down
Expand Up @@ -53,10 +53,10 @@
<div class="kfrontend shadow-lg rounded border section">
<h2 class="btn-toolbar float-right">
<?php if (count($this->sections) > 0) : ?>
<?php if ($this->me->isAdmin()) : ?>
<a class="btn btn-outline-primary btn-sm"
href="<?php echo Route::_('index.php?option=com_kunena&view=category&catid=' . (int) $section->id . '&layout=manage&Itemid=' . $Itemid); ?>"><?php echo KunenaIcons::pencil(); ?></a>
<?php endif; ?>
<?php //if ($this->me->isAdmin()) : ?>
<!-- <a class="btn btn-outline-primary btn-sm"
href="<?php //echo Route::_('index.php?option=com_kunena&view=category&catid=' . (int) $section->id . '&layout=manage&Itemid=' . $Itemid); ?>"><?php //echo KunenaIcons::pencil(); ?></a>-->
<?php //endif; ?>
<button class="btn btn-outline-primary btn-sm" type="button"
data-toggle="collapse"
data-target="#section<?php echo $section->id; ?>" aria-expanded="false"
Expand Down
12 changes: 0 additions & 12 deletions src/install.php
Expand Up @@ -134,18 +134,6 @@ public function preflight($type, $parent)
return true;
}

/**
* @param string $uri uri
*
* @return string
*
* @since version
*/
public function makeRoute($uri)
{
return Route::_($uri, false);
}

/**
* @param string $type type
* @param string $parent parent
Expand Down