mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
Renamed bootstrap flag e_BOOTSTRAP to BOOTSTRAP. Set e_BOOTSTRAP as path of bootstrap folder.
This commit is contained in:
@@ -44,7 +44,7 @@ class bbcode_shortcodes extends e_shortcode
|
||||
);
|
||||
|
||||
|
||||
if(e_BOOTSTRAP)
|
||||
if(BOOTSTRAP)
|
||||
{
|
||||
$text = '<div class="btn-group">';
|
||||
$text .= '<a class="btn btn-small bbcode dropdown-toggle" data-toggle="dropdown" href="#" title="">';
|
||||
@@ -169,7 +169,7 @@ class bbcode_shortcodes extends e_shortcode
|
||||
function bb_fontsize($id) // FIXME CSS issues
|
||||
{
|
||||
|
||||
if(deftrue('e_BOOTSTRAP'))
|
||||
if(deftrue('BOOTSTRAP'))
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
|
||||
@@ -226,7 +226,7 @@ class bbcode_shortcodes extends e_shortcode
|
||||
|
||||
if ($pref['comments_emoticons'] && $pref['smiley_activate'] && !defsettrue('e_WYSIWYG'))
|
||||
{
|
||||
if(deftrue('e_BOOTSTRAP'))
|
||||
if(deftrue('BOOTSTRAP'))
|
||||
{
|
||||
$text = '<div class="btn-group" style="margin-left:0px">';
|
||||
$text .= '<a class="dropdown-toggle" data-toggle="dropdown" href="#">';
|
||||
|
@@ -126,7 +126,7 @@ class news_shortcodes extends e_shortcode
|
||||
$NEWIMAGE = $param['image_nonew_small'];
|
||||
}
|
||||
|
||||
if(deftrue('e_BOOTSTRAP')) // Should be done with CSS, not like above.
|
||||
if(deftrue('BOOTSTRAP')) // Should be done with CSS, not like above.
|
||||
{
|
||||
$NEWIMAGE = "";
|
||||
}
|
||||
@@ -225,7 +225,7 @@ class news_shortcodes extends e_shortcode
|
||||
if (ADMIN && getperms('H'))
|
||||
{
|
||||
|
||||
$default = (deftrue('e_BOOTSTRAP')) ? "<i class='icon-edit'></i>" : "<img src='".e_IMAGE_ABS."admin_images/edit_16.png' alt='".LAN_NEWS_25."' class='icon' />";
|
||||
$default = (deftrue('BOOTSTRAP')) ? "<i class='icon-edit'></i>" : "<img src='".e_IMAGE_ABS."admin_images/edit_16.png' alt='".LAN_NEWS_25."' class='icon' />";
|
||||
|
||||
$adop_icon = (file_exists(THEME."images/newsedit.png") ? "<img src='".THEME_ABS."images/newsedit.png' alt='".LAN_NEWS_25."' class='icon' />" : $default);
|
||||
return " <a href='".e_ADMIN_ABS."newspost.php?action=create&sub=edit&id=".$this->news_item['news_id']."' title=\"".LAN_NEWS_25."\">".$adop_icon."</a>\n";
|
||||
|
@@ -274,7 +274,7 @@ class user_shortcodes extends e_shortcode
|
||||
*/
|
||||
function sc_user_icon($parm='')
|
||||
{
|
||||
$boot = deftrue('e_BOOTSTRAP');
|
||||
$boot = deftrue('BOOTSTRAP');
|
||||
|
||||
switch ($parm)
|
||||
{
|
||||
|
@@ -75,7 +75,7 @@ function nextprev_shortcode($parm = '')
|
||||
$total_items = intval($parm['total']);
|
||||
$check_render = true;
|
||||
|
||||
if(vartrue($parm['glyphs']) && (e_BOOTSTRAP === true))
|
||||
if(vartrue($parm['glyphs']) && (BOOTSTRAP === true))
|
||||
{
|
||||
$LAN_NP_FIRST = "<i class='icon-fast-backward'></i>";
|
||||
$LAN_NP_PREVIOUS = "<i class='icon-backward'></i>";
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
if (!defined("USER_WIDTH") && deftrue('e_BOOTSTRAP')!==true){ define("USER_WIDTH","width:70%"); }
|
||||
if (!defined("USER_WIDTH") && deftrue('BOOTSTRAP')!==true){ define("USER_WIDTH","width:70%"); }
|
||||
|
||||
// ##### FPW TABLE -----------------------------------------------------------------------------
|
||||
if(!isset($FPW_TABLE))
|
||||
|
@@ -17,7 +17,7 @@
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
if (!defined("USER_WIDTH"))
|
||||
{
|
||||
$uw = (deftrue('e_BOOTSTRAP')) ? "" : "width:97%";
|
||||
$uw = (deftrue('BOOTSTRAP')) ? "" : "width:97%";
|
||||
define("USER_WIDTH", $uw);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user