mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 14:13:03 +02:00
Issue #435 - start of Bootstrap 3 core support. Enable by adding the following to your theme.php file:
define("BOOTSTRAP", 3); define("FONTAWESOME", 4); // optional e107::js("url", "//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"); e107::css('url', '//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css'); e107::css('url', "//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css"); // optional
This commit is contained in:
@@ -34,7 +34,7 @@ if (!e107::isInstalled('download'))
|
||||
if(deftrue('BOOTSTRAP'))
|
||||
{
|
||||
define("IMAGE_DOWNLOAD", (file_exists(THEME."images/download.png") ? THEME."images/download.png" : e_IMAGE."generic/download.png"));
|
||||
define("IMAGE_NEW", (file_exists(THEME."images/new.png") ? THEME."images/new.png" : '<i class="icon-star"></i>'));
|
||||
define("IMAGE_NEW", (file_exists(THEME."images/new.png") ? THEME."images/new.png" : e107::getParser()->toGlyph('icon-star',false)));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -349,6 +349,7 @@ if(!isset($DOWNLOAD_MIRROR_END))
|
||||
|
||||
|
||||
$DOWNLOAD_TEMPLATE['categories']['start'] = "
|
||||
<div class='table-responsive'>
|
||||
<table id='download' class='table table-striped fborder'>
|
||||
<colgroup>
|
||||
<col style='width:3%'/>
|
||||
@@ -416,10 +417,11 @@ $DOWNLOAD_TEMPLATE['categories']['subchild'] = "
|
||||
$DOWNLOAD_TEMPLATE['categories']['end'] = "
|
||||
</tbody>
|
||||
</table>
|
||||
<div class='clearfix'>
|
||||
<div class='pull-left'><small>{DOWNLOAD_CAT_NEWDOWNLOAD_TEXT}</small></div>
|
||||
</div>
|
||||
<div class='clearfix'>
|
||||
<div class='pull-left'><small>{DOWNLOAD_CAT_NEWDOWNLOAD_TEXT}</small></div>
|
||||
<div class='pull-right'>{DOWNLOAD_CAT_SEARCH}</div>
|
||||
</div>";
|
||||
</div>";
|
||||
|
||||
// ##### ------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -518,7 +520,8 @@ $DOWNLOAD_TEMPLATE['view']['nextprev'] = '
|
||||
// ##### ------------------------------------------------------------------------------------------
|
||||
|
||||
$DOWNLOAD_TEMPLATE['list']['start'] = "
|
||||
<form method='post' action='".e_SELF."?".e_QUERY."'>
|
||||
<form method='post' action='".e_SELF."?".e_QUERY."'>
|
||||
<div class='table-responsive'>
|
||||
<table id='download' class='table table-striped'>\n
|
||||
<colgroup>
|
||||
<col style='width:35%;'/>
|
||||
@@ -573,7 +576,8 @@ $DOWNLOAD_TEMPLATE['list']['end'] = "
|
||||
<td colspan='7' style='text-align:right;'><small class='muted text-muted'>{DOWNLOAD_LIST_TOTAL_AMOUNT} {DOWNLOAD_LIST_TOTAL_FILES}</small></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
\n";
|
||||
|
||||
|
||||
@@ -595,6 +599,7 @@ $sc_style['DOWNLOAD_LIST_NEXTPREV']['post'] = " </div>";
|
||||
|
||||
|
||||
$DOWNLOAD_TEMPLATE['mirror']['start'] = "
|
||||
<div class='table-responsive'>
|
||||
<table id='download' class='table table-striped'>
|
||||
<colgroup>
|
||||
<col style='width:1%'/>
|
||||
@@ -636,6 +641,7 @@ $DOWNLOAD_TEMPLATE['mirror']['item'] = "
|
||||
|
||||
$DOWNLOAD_TEMPLATE['mirror']['end'] = "
|
||||
</table>
|
||||
</div>
|
||||
";
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user