Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from codexilab/develop
Browse files Browse the repository at this point in the history
Little bugs about URLs fixed
  • Loading branch information
adrianolmedo authored Oct 5, 2021
2 parents 10f8827 + 56e10e1 commit d0917be
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
6 changes: 5 additions & 1 deletion xtclass/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# XTClass
====================

## [1.0.1] 2021-10-03
## [1.0.2] 2021-10-04

### Fixed

- Little bugs about URLs.

### Changed

Expand Down
2 changes: 1 addition & 1 deletion xtclass/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
require_once dirname(__FILE__) . '/includes/classes/scssphp/scss.inc.php';
use ScssPhp\ScssPhp\Compiler;

define('XTCLASS_THEME_VERSION', '1.0.1');
define('XTCLASS_THEME_VERSION', '1.0.2');
define('XTCLASS_THEME_FOLDER', 'xtclass');
define('XTCLASS_THEME_PATH', osc_themes_path() . XTCLASS_THEME_FOLDER . '/');

Expand Down
6 changes: 3 additions & 3 deletions xtclass/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/*
Theme Name: XTClass
Theme URI: https://gitlab.com/codexilab/osclass-xtclass
Description: Bootstrap 4 theme based in Bender Bootstrap 1.0.3
Description: Bootstrap 4 theme based in BenderBS 1.1.7
Version: 1.0.2
Author: CodexiLab
Author URI: https://gitlab.com/codexilab
Expand All @@ -37,8 +37,8 @@
function xtclass_theme_info() {
return [
'name' => 'XTClass'
,'version' => '1.0.1'
,'description' => 'Bootstrap 4 theme based in Bender Bootstrap 1.0.3'
,'version' => '1.0.2'
,'description' => 'Bootstrap 4 theme based in BenderBS 1.1.7'
,'author_name' => 'CodexiLab'
,'author_url' => 'https://github.com/codexilab'
,'locations' => array()
Expand Down
6 changes: 4 additions & 2 deletions xtclass/user-items.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
$listClass = 'col-sm-4';
}

$rw = (osc_rewrite_enabled()) ? '?' : '&';

osc_current_web_theme_path('header.php'); ?>

<?php osc_current_web_theme_path('user-sidebar.php'); ?>
Expand All @@ -56,11 +58,11 @@
<div class="row mb-3">
<div class="col-md-12 text-right">
<div class="btn-group btn-group-toggle">
<a href="<?php echo osc_user_list_items_url(); ?>&sShowAs=list" class="btn btn-custom-1 btn-sm <?php echo $list; ?>"
<a href="<?php echo osc_user_list_items_url() . $rw; ?>sShowAs=list" class="btn btn-custom-1 btn-sm <?php echo $list; ?>"
data-toggle="tooltip" data-placement="top" title="<?php _e('List', XTCLASS_THEME_FOLDER); ?>">
<i class="fas fa-list-ul"></i>
</a>
<a href="<?php echo osc_user_list_items_url(); ?>&sShowAs=gallery" class="btn btn-custom-1 btn-sm <?php echo $gallery; ?>"
<a href="<?php echo osc_user_list_items_url() . $rw; ?>sShowAs=gallery" class="btn btn-custom-1 btn-sm <?php echo $gallery; ?>"
data-toggle="tooltip" data-placement="top" title="<?php _e('Grid', XTCLASS_THEME_FOLDER); ?>">
<i class="fas fa-th"></i>
</a>
Expand Down

0 comments on commit d0917be

Please sign in to comment.