mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Some basic bootstrap styling in the News Categories shortcode.
This commit is contained in:
@@ -61,7 +61,7 @@ $nbr_cols = (defined("NEWSCAT_COLS")) ? NEWSCAT_COLS : $nbr_cols;
|
|||||||
{
|
{
|
||||||
$NEWSCAT_ITEM = "
|
$NEWSCAT_ITEM = "
|
||||||
<div style='width:100%;padding-bottom:2px'>
|
<div style='width:100%;padding-bottom:2px'>
|
||||||
<table style='width:100%' cellpadding='0' cellspacing='0' border='0'>
|
<table class='news-category table' style='width:100%' cellpadding='0' cellspacing='0' border='0'>
|
||||||
<tr>
|
<tr>
|
||||||
<td style='width:2px;vertical-align:top'>•
|
<td style='width:2px;vertical-align:top'>•
|
||||||
</td>
|
</td>
|
||||||
@@ -85,7 +85,7 @@ $nbr_cols = (defined("NEWSCAT_COLS")) ? NEWSCAT_COLS : $nbr_cols;
|
|||||||
}
|
}
|
||||||
if(!defined("NEWSCAT_STYLE"))
|
if(!defined("NEWSCAT_STYLE"))
|
||||||
{
|
{
|
||||||
define("NEWSCAT_STYLE","width:96%");
|
define("NEWSCAT_STYLE",'');
|
||||||
}
|
}
|
||||||
if(!defined("NEWSCAT_CATICON"))
|
if(!defined("NEWSCAT_CATICON"))
|
||||||
{
|
{
|
||||||
@@ -131,7 +131,7 @@ $nbr_cols = (defined("NEWSCAT_COLS")) ? NEWSCAT_COLS : $nbr_cols;
|
|||||||
|
|
||||||
$text3 = "\n\n\n
|
$text3 = "\n\n\n
|
||||||
<div style='width:100%;text-align:center;margin-left:auto;margin-right:auto'>
|
<div style='width:100%;text-align:center;margin-left:auto;margin-right:auto'>
|
||||||
<table style='".NEWSCAT_STYLE."' cellpadding='0' cellspacing='0'>
|
<table class='table' style='".NEWSCAT_STYLE."' cellpadding='0' cellspacing='0'>
|
||||||
\n";
|
\n";
|
||||||
$t = 0;
|
$t = 0;
|
||||||
$wid = floor(100/$nbr_cols);
|
$wid = floor(100/$nbr_cols);
|
||||||
|
Reference in New Issue
Block a user