Skip to content

Commit

Permalink
Merge pull request #77 from danielduggin2/UTCT-74-CustomLinks
Browse files Browse the repository at this point in the history
Issue 73 and 74
  • Loading branch information
UTCGilligan authored Feb 1, 2024
2 parents 1d96a61 + ddbd5fc commit 26d84bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/functions-html.php
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ function yourls_html_menu() {
$admin_links['admin'] = array(
'url' => yourls_admin_url( 'index.php' ),
'title' => yourls__( 'Go to the admin interface' ),
'anchor' => yourls__( 'Admin interface' )
'anchor' => yourls__( 'Manage Links' )
);

if( yourls_is_admin() ) {
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function shorten() {
</div>
<?php if (enableCustomURL): ?>
<a class="btn btn-sm btn-white text-black-50 text-uppercase" data-bs-toggle="collapse" href="#customise-link" role="button" aria-expanded="false" aria-controls="customise-link">
<img src="<?php echo YOURLS_SITE ?>/frontend/assets/svg/custom-url.svg" alt="Options"> Customise Link
<img src="<?php echo YOURLS_SITE ?>/frontend/assets/svg/custom-url.svg" alt="Options"> Customize Link
</a>
<div class="collapse" id="customise-link">
<div class="mt-2 card card-body">
Expand Down
2 changes: 1 addition & 1 deletion user/plugins/sleeky-backend/assets/js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ $( document ).ready(function() {
$("#wrap").prepend(`<div class="nav-open" id="navOpen"><i class="material-icons">menu</i></div>`);

// Add frontend link
$('#admin_menu').append('<li class="admin_menu_toplevel frontend_link"><a href="/"><i class="material-icons">arrow_back</i> Frontend Interface</a></li>');
$('#admin_menu').append('<li class="admin_menu_toplevel frontend_link"><a href="/"><i class="material-icons">arrow_back</i> Frontend Form</a></li>');

// admin_menu
$('#navOpen').on('click', function() {
Expand Down

0 comments on commit 26d84bd

Please sign in to comment.