Added CSS theme seletor (dark/light)
This commit is contained in:
2025-08-20 01:12:59 -05:00
parent 0fa0593d14
commit 886262cdc1
108 changed files with 2245 additions and 1192 deletions

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -191,3 +192,4 @@ for ($i = 0 , $n = count($items) ; $i < $n ; $i++)
</div>
<?php
}

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -31,3 +32,4 @@ $message = "alert(Joomla.JText._('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIS
<span class="icon-checkbox-partial" aria-hidden="true"></span>
<?php echo $title; ?>
</button>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -20,3 +21,4 @@ defined('_JEXEC') or die;
<span class="icon-checkbox-partial" aria-hidden="true"></span>
<?php echo $title; ?>
</button>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -52,3 +53,4 @@ for ($i = 0 , $n = count($items) ; $i < $n ; $i++)
</div>
<?php
}

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -111,9 +112,9 @@ foreach ($items as $item)
if ($item->thumb)
{
?>
<a href="<?php echo $url; ?>" title="<?php echo $item->title; ?>">
<a href="<?php echo $url; ?>" title="<?php echo $item->title; ?>">
<img src="<?php echo $imgSrc; ?>" class="osm-thumb-left <?php echo $imgClass; ?>" />
</a>
</a>
<?php
}
@@ -215,4 +216,4 @@ foreach ($items as $item)
}
}
?>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -227,3 +228,4 @@ for ($i = 0 , $n = count($items) ; $i < $n ; $i++)
</div>
<?php
}

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -23,3 +24,4 @@ foreach ($rowMembers as $rowMember)
}
echo implode("\r\n", $names);

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -32,3 +33,4 @@ defined('_JEXEC') or die;
document.payment_form.submit();
</script>
</form>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -41,4 +42,4 @@ foreach ($form->getFieldset('basic') as $field)
</td>
</tr>
<?php
}
}

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -125,3 +126,4 @@ $symbol = $item->currency_symbol ?: $item->currency;
}
?>
</table>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -66,3 +67,4 @@ else
}

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -233,4 +234,4 @@ if ($i % $numberColumns != 0)
.osm-pricing-table-circle .osm-plan:hover .osm-plan-price {
background-color: <?php echo $recommendedPlanBackgroundColor; ?>!important;
}
</style>
</style>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -229,3 +230,4 @@ if ($i % $numberColumns != 0)
{
echo '</div>' ;
}

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -257,3 +258,4 @@ if ($i % $numberColumns != 0)
{
echo '</div>' ;
}

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -125,3 +126,4 @@ use Joomla\CMS\Language\Text;
<div class="form-actions">
<input type="submit" class="<?php echo $this->bootstrapHelper->getClassMapping('btn btn-primary'); ?>" value="<?php echo Text::_('OSM_PROCESS_RENEW'); ?>"/>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -27,3 +28,4 @@ if (isset($introText))
<?php echo $msg; ?>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -172,3 +173,4 @@ $hiddenPhoneClass = $bootstrapHelper->getClassMapping('hidden-phone');
?>
</table>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -101,4 +102,4 @@ $i = 1;
}
?>
</tbody>
</table>
</table>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -44,3 +45,4 @@ use Joomla\CMS\Language\Text;
}
?>
</ul>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -137,3 +138,4 @@ OSMembershipHelperHtml::addJSStrings($keys);
<input type="hidden" id="recurring" name="recurring" value="<?php echo (int) $this->item->recurring_subscription;?>" />
</form>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -169,3 +170,4 @@ if ($this->item->id && !$this->item->recurring_subscription)
<textarea name="conversion_tracking_code" class="form-control input-large" rows="10"><?php echo $this->item->conversion_tracking_code;?></textarea>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -162,3 +163,4 @@ if ((int)$this->item->expired_date)
<?php echo $editor->display('description', $this->item->description, '100%', '250', '75', '10') ; ?>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -41,3 +42,4 @@ $controlsClass = $bootstrapHelper->getClassMapping('controls');
<?php echo $this->lists['number_members_field']; ?>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -42,3 +43,4 @@ $controlsClass = $bootstrapHelper->getClassMapping('controls');
<?php echo $editor->display('card_layout', $this->item->card_layout, '100%', '550', '75', '8') ;?>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -190,4 +191,4 @@ $controlsClass = $bootstrapHelper->getClassMapping('controls');
<div class="<?php echo $controlsClass; ?>">
<?php echo $editor->display('invoice_layout', $this->item->invoice_layout, '100%', '250', '75', '8'); ?>
</div>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -52,4 +53,4 @@ $controlsClass = $bootstrapHelper->getClassMapping('controls');
<textarea rows="5" cols="30" class="input-xxlarge form-control"
name="meta_description"><?php echo $this->item->meta_description; ?></textarea>
</div>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -77,3 +78,4 @@ $controlsClass = $bootstrapHelper->getClassMapping('controls');
}
?>
</fieldset>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -71,3 +72,4 @@ $controlsClass = $bootstrapHelper->getClassMapping('controls');
<?php echo $editor->display('third_reminder_email_body', $this->item->third_reminder_email_body, '100%', '250', '75', '8'); ?>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -58,3 +59,4 @@ $controlsClass = $bootstrapHelper->getClassMapping('controls');
}
?>
</fieldset>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -30,3 +31,4 @@ foreach ($form->getFieldset() as $field)
{
echo $field->input;
}

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -30,3 +31,4 @@ foreach ($form->getFieldset() as $field)
{
echo $field->input;
}

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -219,3 +220,4 @@ foreach ($this->languages as $language)
}
echo HTMLHelper::_('bootstrap.endTabSet');

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -37,3 +38,4 @@ foreach ($form->getFieldset() as $field)
{
echo $field->input;
}

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -234,4 +235,4 @@ $config = OSMembershipHelper::getConfig();
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->state->filter_order_Dir; ?>" />
<?php echo HTMLHelper::_('form.token'); ?>
</form>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -35,3 +36,4 @@ $pullLeftClass = $this->bootstrapHelper->getClassMapping('pull-left');
echo $this->pagination->getLimitBox();
?>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -34,3 +35,4 @@ $pullLeftClass = $this->bootstrapHelper->getClassMapping('pull-left');
echo $this->pagination->getLimitBox();
?>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -172,4 +173,4 @@ else
</ul>
</div>
</div>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -41,3 +42,4 @@ use Joomla\CMS\Router\Route;
}
?>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -80,4 +81,4 @@ use Joomla\CMS\Language\Text;
<?php
}
?>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -79,4 +80,4 @@ use Joomla\CMS\Language\Text;
<?php
}
?>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -71,4 +72,4 @@ $categoryId = $this->category ? $this->category->id : 0;
echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/pricingtable_plans.php', ['items' => $this->items, 'input' => $this->input, 'config' => $this->config, 'Itemid' => $this->Itemid, 'categoryId' => $this->categoryId, 'bootstrapHelper' => $this->bootstrapHelper, 'params' => $this->params]);
}
?>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -71,4 +72,4 @@ $categoryId = $this->category ? $this->category->id : 0;
echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/pricingtable_circle_plans.php', ['items' => $this->items, 'input' => $this->input, 'config' => $this->config, 'Itemid' => $this->Itemid, 'categoryId' => $this->categoryId, 'bootstrapHelper' => $this->bootstrapHelper, 'params' => $this->params]);
}
?>
</div>
</div>

View File

@@ -1,4 +1,5 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
@@ -71,4 +72,4 @@ $categoryId = $this->category ? $this->category->id : 0;
echo OSMembershipHelperHtml::loadCommonLayout('common/tmpl/pricingtable_flat_plans.php', ['items' => $this->items, 'input' => $this->input, 'config' => $this->config, 'Itemid' => $this->Itemid, 'categoryId' => $this->categoryId, 'bootstrapHelper' => $this->bootstrapHelper, 'params' => $this->params]);
}
?>
</div>
</div>