1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-16 20:28:28 +01:00

Issue #2970 btn-default > btn-default btn-secondary

This commit is contained in:
Cameron 2018-01-10 15:06:40 -08:00
parent e92784eff2
commit b40b1916a3
73 changed files with 172 additions and 172 deletions

View File

@ -1002,7 +1002,7 @@ switch ($action)
$text .= "<tr><td colspan='5' style='text-align:center'><br />".$tp->parseTemplate("{NEXTPREV={$parms}}".'<br /><br /></td></tr>'); $text .= "<tr><td colspan='5' style='text-align:center'><br />".$tp->parseTemplate("{NEXTPREV={$parms}}".'<br /><br /></td></tr>');
} }
$text .= "<tr><td colspan='4' style='text-align:center'> $text .= "<tr><td colspan='4' style='text-align:center'>
<input class='btn btn-default button' type='submit' name='delete_ban_log' value='".BANLAN_88."' /> <input class='btn btn-default btn-secondary button' type='submit' name='delete_ban_log' value='".BANLAN_88."' />
<input type='hidden' name='e-token' value='".e_TOKEN."' /> <input type='hidden' name='e-token' value='".e_TOKEN."' />
</td> </td>
</tr>"; </tr>";

View File

@ -1034,7 +1034,7 @@ class system_tools
{ {
$text .= "<div class='pull-left' style='width:50%;padding-bottom:10px'> $text .= "<div class='pull-left' style='width:50%;padding-bottom:10px'>
<a class='btn btn-default btn-large pull-left' style='margin-right:10px' href='".e_SELF."?mode=".$key."' title=\"".$val['label']."\">".ADMIN_EXECUTE_ICON."</a> <a class='btn btn-default btn-secondary btn-large pull-left' style='margin-right:10px' href='".e_SELF."?mode=".$key."' title=\"".$val['label']."\">".ADMIN_EXECUTE_ICON."</a>
<h4 style='margin-bottom:3px'><a href='".e_SELF."?mode=".$key."' title=\"".$val['label']."\">".$val['label']."</a></h4><small>".$val['diz']."</small> <h4 style='margin-bottom:3px'><a href='".e_SELF."?mode=".$key."' title=\"".$val['label']."\">".$val['label']."</a></h4><small>".$val['diz']."</small>
</div>"; </div>";

View File

@ -1507,7 +1507,7 @@ class media_admin_ui extends e_admin_ui
<button type='submit' class='btn btn-success submit e-dialog-save' data-bbcode='".$options['bbcode']."' data-target='".$this->getQuery('tagid')."' name='save_image' value='Save it' > <button type='submit' class='btn btn-success submit e-dialog-save' data-bbcode='".$options['bbcode']."' data-target='".$this->getQuery('tagid')."' name='save_image' value='Save it' >
<span>".LAN_SAVE."</span> <span>".LAN_SAVE."</span>
</button> </button>
<button type='submit' class=' btn btn-default submit e-dialog-close' name='cancel_image' value='Cancel' > <button type='submit' class=' btn btn-default btn-secondary submit e-dialog-close' name='cancel_image' value='Cancel' >
<span>".LAN_CANCEL."</span> <span>".LAN_CANCEL."</span>
</button> </button>
</div>"; </div>";

View File

@ -1696,7 +1696,7 @@ class mailout_admin_form_ui extends e_admin_form_ui
$preview = e_SELF."?mode=main&action=preview&id=".$id; $preview = e_SELF."?mode=main&action=preview&id=".$id;
$text .= "<span class='btn-group'>"; $text .= "<span class='btn-group'>";
$text .= "<a href='".$link."' class='btn btn-default' title='".LAN_MAILOUT_08."'>".E_32_MAIL."</a>"; $text .= "<a href='".$link."' class='btn btn-default' title='".LAN_MAILOUT_08."'>".E_32_MAIL."</a>";
$text .= "<a rel='external' class='btn btn-default e-modal' data-modal-caption='".LAN_PREVIEW."' href='".$preview."' title='".LAN_PREVIEW."'>".E_32_SEARCH."</a>"; $text .= "<a rel='external' class='btn btn-default btn-secondary e-modal' data-modal-caption='".LAN_PREVIEW."' href='".$preview."' title='".LAN_PREVIEW."'>".E_32_SEARCH."</a>";
$text .= $this->renderValue('options',$value,$attributes,$id); $text .= $this->renderValue('options',$value,$attributes,$id);
@ -1710,8 +1710,8 @@ class mailout_admin_form_ui extends e_admin_form_ui
$preview = e_SELF."?mode=main&action=preview&id=".$id.'&user='.$user; $preview = e_SELF."?mode=main&action=preview&id=".$id.'&user='.$user;
$text = "<span class='btn-group'>"; $text = "<span class='btn-group'>";
$text .= "<a href='".$link."' class='btn btn-default e-modal' data-modal-caption='Recipients for Mail #".$id."' title='".LAN_MAILOUT_173."'>".E_32_USER."</a>"; $text .= "<a href='".$link."' class='btn btn-default btn-secondary e-modal' data-modal-caption='Recipients for Mail #".$id."' title='".LAN_MAILOUT_173."'>".E_32_USER."</a>";
$text .= "<a rel='external' class='btn btn-default e-modal' data-modal-caption='".LAN_PREVIEW."' href='".$preview."' title='".LAN_PREVIEW."'>".E_32_SEARCH."</a>"; $text .= "<a rel='external' class='btn btn-default btn-secondary e-modal' data-modal-caption='".LAN_PREVIEW."' href='".$preview."' title='".LAN_PREVIEW."'>".E_32_SEARCH."</a>";
$attributes['readParms']['editClass'] = e_UC_NOBODY; $attributes['readParms']['editClass'] = e_UC_NOBODY;
$text .= $this->renderValue('options',$value,$attributes,$id); $text .= $this->renderValue('options',$value,$attributes,$id);
@ -1882,7 +1882,7 @@ class mailout_recipients_form_ui extends e_admin_form_ui
$preview = e_SELF."?mode=main&action=preview&id=".$eid.'&user='.$user; $preview = e_SELF."?mode=main&action=preview&id=".$eid.'&user='.$user;
$text = "<span class='btn-group'>"; $text = "<span class='btn-group'>";
$text .= "<a rel='external' class='btn btn-default e-modal' data-modal-caption='".LAN_PREVIEW."' href='".$preview."' class='btn' title='".LAN_PREVIEW."'>".E_32_SEARCH."</a>"; $text .= "<a rel='external' class='btn btn-default btn-secondary e-modal' data-modal-caption='".LAN_PREVIEW."' href='".$preview."' class='btn' title='".LAN_PREVIEW."'>".E_32_SEARCH."</a>";

View File

@ -961,7 +961,7 @@ class e_menu_layout
<div class="dropdown pull-right e-mm-selector-container"> <div class="dropdown pull-right e-mm-selector-container">
<a class="btn btn-default btn-sm e-mm-selector " title="'.LAN_ACTIVATE.'">'.LAN_GO." ".e107::getParser()->toGlyph('fa-chevron-right').'</a>'; <a class="btn btn-default btn-secondary btn-sm e-mm-selector " title="'.LAN_ACTIVATE.'">'.LAN_GO." ".e107::getParser()->toGlyph('fa-chevron-right').'</a>';
$menuButtonLabel = defset("MENLAN_59", "Area [x]"); $menuButtonLabel = defset("MENLAN_59", "Area [x]");

View File

@ -77,13 +77,13 @@ if($amount = $sql -> db_Select("generic", "*", $queryString))
<b>".MESSLAN_9."</b>: ".$gen->convert_date($gen_datestamp, 'long')."<br /> <b>".MESSLAN_9."</b>: ".$gen->convert_date($gen_datestamp, 'long')."<br />
<b>".MESSLAN_10."</b>: $user<br /> <b>".MESSLAN_10."</b>: $user<br />
<b>".MESSLAN_13."</b>: $link ". <b>".MESSLAN_13."</b>: $link ".
($gen_chardata ? "<br /><b>".MESSLAN_12."</b>: $gen_chardata" : "")."<br /><input class='btn btn-default button' type='submit' name='delete_message' value='".MESSLAN_2." $gen_id' /> ($gen_chardata ? "<br /><b>".MESSLAN_12."</b>: $gen_chardata" : "")."<br /><input class='btn btn-default btn-secondary button' type='submit' name='delete_message' value='".MESSLAN_2." $gen_id' />
</td>\n</tr>\n"; </td>\n</tr>\n";
} }
$text .= " $text .= "
<tr> <tr>
<td><br /><input class='btn btn-default button' type='submit' name='delete_all' value='".MESSLAN_4."' /> <td><br /><input class='btn btn-default btn-secondary button' type='submit' name='delete_all' value='".MESSLAN_4."' />
<input type='checkbox' name='deleteconfirm' value='1' /> ".MESSLAN_5." <input type='checkbox' name='deleteconfirm' value='1' /> ".MESSLAN_5."
</td> </td>
</tr> </tr>

View File

@ -382,7 +382,7 @@ class news_sub_form_ui extends e_admin_form_ui
// $text .= "<a href='#submitted_".$submitnews_id."' class='e-modal' >"; // $text .= "<a href='#submitted_".$submitnews_id."' class='e-modal' >";
$text = "<a class='btn btn-default btn-large' data-toggle='modal' href='#submitted_".$submitnews_id."' data-cache='false' data-target='#submitted_".$submitnews_id."' title='".LAN_PREVIEW."'>".ADMIN_VIEW_ICON."</a>"; $text = "<a class='btn btn-default btn-secondary btn-large' data-toggle='modal' href='#submitted_".$submitnews_id."' data-cache='false' data-target='#submitted_".$submitnews_id."' title='".LAN_PREVIEW."'>".ADMIN_VIEW_ICON."</a>";
@ -390,7 +390,7 @@ class news_sub_form_ui extends e_admin_form_ui
if($approved == 0) if($approved == 0)
{ {
//$text = $this->submit_image('submitnews['.$id.']', 1, 'execute', NWSLAN_58); //$text = $this->submit_image('submitnews['.$id.']', 1, 'execute', NWSLAN_58);
$text .= "<a class='btn btn-default btn-large' title=\"".LAN_NEWS_96."\" href='".e_SELF."?mode=main&action=create&sub={$id}'>".ADMIN_EXECUTE_ICON."</a>"; $text .= "<a class='btn btn-default btn-secondary btn-large' title=\"".LAN_NEWS_96."\" href='".e_SELF."?mode=main&action=create&sub={$id}'>".ADMIN_EXECUTE_ICON."</a>";
// NWSLAN_103; // NWSLAN_103;
} }
else // Already submitted; else // Already submitted;
@ -398,7 +398,7 @@ class news_sub_form_ui extends e_admin_form_ui
} }
$text .= $this->submit_image('etrigger_delete['.$id.']', $id, 'delete', LAN_DELETE.' [ ID: '.$id.' ]', array('class' => 'btn btn-default btn-large action delete')); $text .= $this->submit_image('etrigger_delete['.$id.']', $id, 'delete', LAN_DELETE.' [ ID: '.$id.' ]', array('class' => 'btn btn-default btn-secondary btn-large action delete'));
$text .= "</div>"; $text .= "</div>";
return $text; return $text;
} }

View File

@ -394,7 +394,7 @@ else
</select> </select>
</td> </td>
<td class='center'> <td class='center'>
<a class='btn btn-default btn-large' href='".e_SELF."?edit.c.".$key."'>".ADMIN_EDIT_ICON."</a> <a class='btn btn-default btn-secondary btn-large' href='".e_SELF."?edit.c.".$key."'>".ADMIN_EDIT_ICON."</a>
</td> </td>
</tr> </tr>
"; ";
@ -448,7 +448,7 @@ else
</select> </select>
</td> </td>
<td class='center'> <td class='center'>
<a class='btn btn-default btn-large' href='".e_SELF."?edit.p.".$plug_dir."'>".ADMIN_EDIT_ICON."</a> <a class='btn btn-default btn-secondary btn-large' href='".e_SELF."?edit.p.".$plug_dir."'>".ADMIN_EDIT_ICON."</a>
</td> </td>
</tr> </tr>
"; ";

View File

@ -873,11 +873,11 @@ class theme_admin_form_ui extends e_admin_form_ui
$infoPath = e_SELF."?mode=".$_GET['mode']."&id=".$theme['path']."&action=info&iframe=1"; $infoPath = e_SELF."?mode=".$_GET['mode']."&id=".$theme['path']."&action=info&iframe=1";
$previewPath = $tp->replaceConstants($theme['thumbnail'],'abs'); $previewPath = $tp->replaceConstants($theme['thumbnail'],'abs');
$main_icon = ($pref['sitetheme'] != $theme['path']) ? "<button class='btn btn-default btn-small btn-sm btn-inverse' type='submit' name='selectmain[".$theme['path']."]' alt=\"".TPVLAN_10."\" title=\"".TPVLAN_10."\" >".$tp->toGlyph('fa-home',array('size'=>'2x'))."</button>" : "<button class='btn btn-small btn-default btn-sm btn-inverse' type='button'>".$tp->toGlyph('fa-check',array('size'=>'2x'))."</button>"; $main_icon = ($pref['sitetheme'] != $theme['path']) ? "<button class='btn btn-default btn-secondary btn-small btn-sm btn-inverse' type='submit' name='selectmain[".$theme['path']."]' alt=\"".TPVLAN_10."\" title=\"".TPVLAN_10."\" >".$tp->toGlyph('fa-home',array('size'=>'2x'))."</button>" : "<button class='btn btn-small btn-default btn-secondary btn-sm btn-inverse' type='button'>".$tp->toGlyph('fa-check',array('size'=>'2x'))."</button>";
$info_icon = "<a class='btn btn-default btn-small btn-sm btn-inverse e-modal' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" href='".$infoPath."' title='".TPVLAN_7."'>".$tp->toGlyph('fa-info-circle',array('size'=>'2x'))."</a>"; $info_icon = "<a class='btn btn-default btn-secondary btn-small btn-sm btn-inverse e-modal' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" href='".$infoPath."' title='".TPVLAN_7."'>".$tp->toGlyph('fa-info-circle',array('size'=>'2x'))."</a>";
// $admin_icon = ($pref['admintheme'] != $theme['path'] ) ? "<button class='btn btn-default btn-small btn-sm btn-inverse' type='submit' name='selectadmin[".$theme['id']."]' alt=\"".TPVLAN_32."\" title=\"".TPVLAN_32."\" >".$tp->toGlyph('fa-gears',array('size'=>'2x'))."</button>" : "<button class='btn btn-small btn-default btn-sm btn-inverse' type='button'>".$tp->toGlyph('fa-check',array('size'=>'2x'))."</button>"; // $admin_icon = ($pref['admintheme'] != $theme['path'] ) ? "<button class='btn btn-default btn-small btn-sm btn-inverse' type='submit' name='selectadmin[".$theme['id']."]' alt=\"".TPVLAN_32."\" title=\"".TPVLAN_32."\" >".$tp->toGlyph('fa-gears',array('size'=>'2x'))."</button>" : "<button class='btn btn-small btn-default btn-sm btn-inverse' type='button'>".$tp->toGlyph('fa-check',array('size'=>'2x'))."</button>";
$preview_icon = "<a class='e-modal btn btn-default btn-sm btn-small btn-inverse' title=' ".TPVLAN_70." ".$theme['name']."' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" rel='external' href='".$previewPath."'>".$tp->toGlyph('fa-search',array('size'=>'2x'))."</a>"; $preview_icon = "<a class='e-modal btn btn-default btn-secondary btn-sm btn-small btn-inverse' title=' ".TPVLAN_70." ".$theme['name']."' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" rel='external' href='".$previewPath."'>".$tp->toGlyph('fa-search',array('size'=>'2x'))."</a>";
return $main_icon.$info_icon.$preview_icon; return $main_icon.$info_icon.$preview_icon;
} }
@ -913,9 +913,9 @@ class theme_admin_form_ui extends e_admin_form_ui
// $viewUrl = $theme['url']; // $viewUrl = $theme['url'];
$modalCaption = (empty($theme['price'])) ? ' '.LAN_DOWNLOADING.' '.$theme['name']." ".$theme['version'] :' '.LAN_PURCHASE.' '.$theme['name']." ".$theme['version']; $modalCaption = (empty($theme['price'])) ? ' '.LAN_DOWNLOADING.' '.$theme['name']." ".$theme['version'] :' '.LAN_PURCHASE.' '.$theme['name']." ".$theme['version'];
$main_icon = "<a class='e-modal btn-default btn btn-sm btn-small btn-inverse' data-modal-caption=\"".$modalCaption."\" rel='external' href='{$downloadUrl}' data-cache='false' title='".$LAN_DOWNLOAD."' >".$tp->toGlyph('download',array('size'=>'2x'))."</a>"; $main_icon = "<a class='e-modal btn-default btn-secondary btn btn-sm btn-small btn-inverse' data-modal-caption=\"".$modalCaption."\" rel='external' href='{$downloadUrl}' data-cache='false' title='".$LAN_DOWNLOAD."' >".$tp->toGlyph('download',array('size'=>'2x'))."</a>";
$info_icon = "<a class='btn btn-default btn-sm btn-small btn-inverse e-modal' data-toggle='modal' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" href='".$infoUrl."' data-cache='false' title='".TPVLAN_7."'>".$tp->toGlyph('fa-info-circle',array('size'=>'2x'))."</a>"; $info_icon = "<a class='btn btn-default btn-secondary btn-sm btn-small btn-inverse e-modal' data-toggle='modal' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" href='".$infoUrl."' data-cache='false' title='".TPVLAN_7."'>".$tp->toGlyph('fa-info-circle',array('size'=>'2x'))."</a>";
if(!empty($theme['preview'][0])) if(!empty($theme['preview'][0]))
{ {
@ -926,7 +926,7 @@ class theme_admin_form_ui extends e_admin_form_ui
$previewPath = $theme['livedemo']; $previewPath = $theme['livedemo'];
} }
$preview_icon = "<a class='e-modal btn btn-default btn-sm btn-small btn-inverse' title=' ".TPVLAN_70." ".$theme['name']."' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" rel='external' href='".$previewPath."'>".$tp->toGlyph('fa-search',array('size'=>'2x'))."</a>"; $preview_icon = "<a class='e-modal btn btn-default btn-secondary btn-sm btn-small btn-inverse' title=' ".TPVLAN_70." ".$theme['name']."' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" rel='external' href='".$previewPath."'>".$tp->toGlyph('fa-search',array('size'=>'2x'))."</a>";
} }
return $main_icon.$info_icon.$preview_icon; return $main_icon.$info_icon.$preview_icon;

View File

@ -740,7 +740,7 @@ switch ($action)
$text .= " $text .= "
<tr> <tr>
<td class='forumheader3' style='text-align:center' colspan='4'> <td class='forumheader3' style='text-align:center' colspan='4'>
<input class='btn btn-default button' type='submit' name='generate_filetypes_xml' value='".UPLLAN_56."' /> <input class='btn btn-default btn-secondary button' type='submit' name='generate_filetypes_xml' value='".UPLLAN_56."' />
</td> </td>
</tr> </tr>
</table></form> </table></form>

View File

@ -1647,7 +1647,7 @@ class users_admin_ui extends e_admin_ui
".USRLAN_120." ".USRLAN_120."
</td> </td>
<td> <td>
<a href='#set_class' class='btn btn-default e-expandit'>".USRLAN_120."</a> <a href='#set_class' class='btn btn-default btn-secondary e-expandit'>".USRLAN_120."</a>
<div class='e-hideme' id='set_class'> <div class='e-hideme' id='set_class'>
{$temp} {$temp}
</div> </div>
@ -1660,7 +1660,7 @@ class users_admin_ui extends e_admin_ui
<tr> <tr>
<td>".USRLAN_35."</td> <td>".USRLAN_35."</td>
<td> <td>
<a href='#set_perms' class='btn btn-default e-expandit'>".USRLAN_243."</a> <a href='#set_perms' class='btn btn-default btn-secondary e-expandit'>".USRLAN_243."</a>
<div class='e-hideme' id='set_perms'> <div class='e-hideme' id='set_perms'>
"; ";
@ -2319,10 +2319,10 @@ class users_admin_ui extends e_admin_ui
{ {
// Option to delete emails - only if there are some in the list // Option to delete emails - only if there are some in the list
$text .= "</table><table style='".ADMIN_WIDTH."'><tr> $text .= "</table><table style='".ADMIN_WIDTH."'><tr>
<td style='text-align: center;'><input class='btn btn-default button' type='submit' name='delnonbouncesubmit' value='".USRLAN_183."' /></td>\n <td style='text-align: center;'><input class='btn btn-default btn-secondary button' type='submit' name='delnonbouncesubmit' value='".USRLAN_183."' /></td>\n
<td style='text-align: center;'><input class='btn btn-default button' type='submit' name='clearemailbouncesubmit' value='".USRLAN_184."' /></td>\n <td style='text-align: center;'><input class='btn btn-default btn-secondary button' type='submit' name='clearemailbouncesubmit' value='".USRLAN_184."' /></td>\n
<td style='text-align: center;'><input class='btn btn-default button' type='submit' name='delcheckedsubmit' value='".USRLAN_179."' /></td>\n <td style='text-align: center;'><input class='btn btn-default btn-secondary button' type='submit' name='delcheckedsubmit' value='".USRLAN_179."' /></td>\n
<td style='text-align: center;'><input class='btn btn-default button' type='submit' name='delallsubmit' value='".USRLAN_180."' /></td>\n <td style='text-align: center;'><input class='btn btn-default btn-secondary button' type='submit' name='delallsubmit' value='".USRLAN_180."' /></td>\n
</td></tr>"; </td></tr>";
} }
$text .= "</table></form></div>"; $text .= "</table></form></div>";
@ -2751,7 +2751,7 @@ class users_admin_form_ui extends e_admin_form_ui
$btn = '<div class="btn-group pull-right"> $btn = '<div class="btn-group pull-right">
<button aria-expanded="false" class="btn btn-default btn-user-action dropdown-toggle" data-toggle="dropdown"> <button aria-expanded="false" class="btn btn-default btn-secondary btn-user-action dropdown-toggle" data-toggle="dropdown">
<span class="user-action-indicators" id="user-action-indicator-'.$user_id.'">'.e107::getParser()->toGlyph('cog').'</span> <span class="user-action-indicators" id="user-action-indicator-'.$user_id.'">'.e107::getParser()->toGlyph('cog').'</span>
<span class="caret"></span> <span class="caret"></span>
</button> </button>

View File

@ -2111,7 +2111,7 @@ class users_ext
<input type='hidden' name='eu_action' value='delcat' /> <input type='hidden' name='eu_action' value='delcat' />
<input type='hidden' name='key' value='{$ext['user_extended_struct_id']},{$ext['user_extended_struct_name']}' /> <input type='hidden' name='key' value='{$ext['user_extended_struct_id']},{$ext['user_extended_struct_name']}' />
<a class='btn btn-default' href='".e_SELF."?cat.{$ext['user_extended_struct_id']}'>".ADMIN_EDIT_ICON."</a> <a class='btn btn-default' href='".e_SELF."?cat.{$ext['user_extended_struct_id']}'>".ADMIN_EDIT_ICON."</a>
<button class='btn btn-default action delete' type='submit' title='".LAN_DELETE."' name='eudel' data-confirm='".LAN_JSCONFIRM."' >".ADMIN_DELETE_ICON."</button> <button class='btn btn-default btn-secondary action delete' type='submit' title='".LAN_DELETE."' name='eudel' data-confirm='".LAN_JSCONFIRM."' >".ADMIN_DELETE_ICON."</button>
</div> </div>
</form> </form>
</td> </td>

View File

@ -101,7 +101,7 @@ class admin_shortcodes
if (!ADMIN) { return ''; } if (!ADMIN) { return ''; }
return " return "
<div style='text-align: center'> <div style='text-align: center'>
<input class='btn btn-default button' type='button' onclick=\"javascript: window.open('".e_ADMIN_ABS."credits.php', 'myWindow', 'status = 1, height = 400, width = 300, resizable = 0')\" value='".LAN_CREDITS."' /> <input class='btn btn-default btn-secondary button' type='button' onclick=\"javascript: window.open('".e_ADMIN_ABS."credits.php', 'myWindow', 'status = 1, height = 400, width = 300, resizable = 0')\" value='".LAN_CREDITS."' />
</div>"; </div>";
} }
@ -339,7 +339,7 @@ class admin_shortcodes
{ {
$text .= $sql->mySQLlanguage; $text .= $sql->mySQLlanguage;
$text .= " (".$slng->convert($sql->mySQLlanguage).") $text .= " (".$slng->convert($sql->mySQLlanguage).")
: <span class='btn btn-default button' style='cursor: pointer;' onclick='expandit(\"lan_tables\");'><a style='text-decoration:none' title='' href=\"javascript:void(0);\" >&nbsp;&nbsp;".count($aff)." ".UTHEME_MENU_L3."&nbsp;&nbsp;</a></span><br /> : <span class='btn btn-default btn-secondary button' style='cursor: pointer;' onclick='expandit(\"lan_tables\");'><a style='text-decoration:none' title='' href=\"javascript:void(0);\" >&nbsp;&nbsp;".count($aff)." ".UTHEME_MENU_L3."&nbsp;&nbsp;</a></span><br />
<span style='display:none' id='lan_tables'> <span style='display:none' id='lan_tables'>
"; ";
$text .= implode('<br />', $aff); $text .= implode('<br />', $aff);

View File

@ -46,7 +46,7 @@ class bbcode_shortcodes extends e_shortcode
if(BOOTSTRAP) if(BOOTSTRAP)
{ {
$text = '<div class="btn-group">'; $text = '<div class="btn-group">';
$text .= '<a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" title="">'; $text .= '<a class="btn btn-default btn-secondary dropdown-toggle" data-toggle="dropdown" href="#" title="">';
$text .= "Format"; $text .= "Format";
$text .= ' <span class="caret"></span></a>'; $text .= ' <span class="caret"></span></a>';
$text .= "<ul class='dropdown-menu'>\n"; $text .= "<ul class='dropdown-menu'>\n";
@ -64,7 +64,7 @@ class bbcode_shortcodes extends e_shortcode
// Legacy Version. // Legacy Version.
$text = "<select class='btn btn-default e-bb bbcode_buttons e-pointer' id='{$id}' title='Format text' onchange=\"addtext(this.value);this.value=''\"> $text = "<select class='btn btn-default btn-secondary e-bb bbcode_buttons e-pointer' id='{$id}' title='Format text' onchange=\"addtext(this.value);this.value=''\">
<option value=''>Format</option> <option value=''>Format</option>
<option value='[p][/p]'>Paragraph</option> <option value='[p][/p]'>Paragraph</option>
<option value='[h2][/h2]'>Heading</option> <option value='[h2][/h2]'>Heading</option>
@ -165,7 +165,7 @@ class bbcode_shortcodes extends e_shortcode
{ {
$data = "[link=*]*[/link]"; $data = "[link=*]*[/link]";
$event = $this->getEvent('addinput',$data,LANHELP_35); $event = $this->getEvent('addinput',$data,LANHELP_35);
$text = "<a {$event} class='btn btn-default e-bb ' id='{$id}' data-function='input' href='#{$this->var['tagid']}' title='".$this->br2nl(LANHELP_23)."' data-bbcode='{$data}'>\n"; $text = "<a {$event} class='btn btn-default btn-secondary e-bb ' id='{$id}' data-function='input' href='#{$this->var['tagid']}' title='".$this->br2nl(LANHELP_23)."' data-bbcode='{$data}'>\n";
// $text .="<img class='btn btn-small bbcode_buttons e-pointer' src='".e_IMAGE_ABS."bbcode/link.png' alt='' title='".nl2br(LANHELP_23)."' />"; // $text .="<img class='btn btn-small bbcode_buttons e-pointer' src='".e_IMAGE_ABS."bbcode/link.png' alt='' title='".nl2br(LANHELP_23)."' />";
$text .= $this->button(e_IMAGE_ABS.'bbcode/link.png', 'link'); $text .= $this->button(e_IMAGE_ABS.'bbcode/link.png', 'link');
@ -247,7 +247,7 @@ class bbcode_shortcodes extends e_shortcode
$sizes = array(7,8,9,10,11,12,14,15,18,20,22,24,26,28,30,36); $sizes = array(7,8,9,10,11,12,14,15,18,20,22,24,26,28,30,36);
$text = '<div class="btn-group">'; $text = '<div class="btn-group">';
$text .= '<a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" title="'.LANHELP_22.'">'; $text .= '<a class="btn btn-default btn-secondary dropdown-toggle" data-toggle="dropdown" href="#" title="'.LANHELP_22.'">';
// $text .= "<img src='".e_IMAGE_ABS."bbcode/fontsize.png' alt='' />\n"; // $text .= "<img src='".e_IMAGE_ABS."bbcode/fontsize.png' alt='' />\n";
$text .= $this->button(e_IMAGE_ABS."bbcode/fontsize.png", 'text-height'); $text .= $this->button(e_IMAGE_ABS."bbcode/fontsize.png", 'text-height');
@ -302,7 +302,7 @@ class bbcode_shortcodes extends e_shortcode
if(deftrue('BOOTSTRAP')) if(deftrue('BOOTSTRAP'))
{ {
$text = '<div class="btn-group" >'; $text = '<div class="btn-group" >';
$text .= '<a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" title="'.LANHELP_44.'">'; $text .= '<a class="btn btn-default btn-secondary dropdown-toggle" data-toggle="dropdown" href="#" title="'.LANHELP_44.'">';
$text .= $this->button(e_IMAGE_ABS."bbcode/emotes.png","smile-o"); $text .= $this->button(e_IMAGE_ABS."bbcode/emotes.png","smile-o");
// $text .= ' <span class="caret"></span>'; // $text .= ' <span class="caret"></span>';
@ -371,7 +371,7 @@ class bbcode_shortcodes extends e_shortcode
$event = $this->getEvent('expandit',$formid, LANHELP_22); $event = $this->getEvent('expandit',$formid, LANHELP_22);
$text = "<a {$event} class='btn btn-default e-bb' id='{id}' data-function='show' href='#{$this->var['tagid']}' title='".LANHELP_22."' data-bbcode='{$data}'> $text = "<a {$event} class='btn btn-default btn-secondary e-bb' id='{id}' data-function='show' href='#{$this->var['tagid']}' title='".LANHELP_22."' data-bbcode='{$data}'>
<img class='bbcode_buttons e-pointer' src='".e_IMAGE_ABS."bbcode/fontcol.png' alt='' title='".LANHELP_21."' /></a>"; <img class='bbcode_buttons e-pointer' src='".e_IMAGE_ABS."bbcode/fontcol.png' alt='' title='".LANHELP_21."' /></a>";
// return $text; // return $text;
@ -591,12 +591,12 @@ class bbcode_shortcodes extends e_shortcode
if($_onclick_func == 'e-dialog') if($_onclick_func == 'e-dialog')
{ // $tagid = "news-body"; { // $tagid = "news-body";
$pre = "\n<a href='".e_ADMIN."image.php?mode=main&action=dialog&for=news&tagid=".$tagid."&iframe=1&bbcode=1' class='btn btn-default e-dialog' >"; $pre = "\n<a href='".e_ADMIN."image.php?mode=main&action=dialog&for=news&tagid=".$tagid."&iframe=1&bbcode=1' class='btn btn-default btn-secondary e-dialog' >";
$post = "</a>\n"; $post = "</a>\n";
} }
else else
{ {
$pre = "<a class='btn btn-default ".vartrue($bbcode[$parm][7], 'e-pointer')."' title=\"".str_replace('<br />','\\n',($_helptxt))."\" onclick=\"{$_onclick_func}('".$_onclick_var."')\" ".($bbcode_helpactive ? "onmouseout=\"{$bbcode_help}(''{$bbcode_tag})\" onmouseover=\"{$bbcode_help}('".$_helptxt."'{$bbcode_tag})\"" : "" )." >"; $pre = "<a class='btn btn-default btn-secondary ".vartrue($bbcode[$parm][7], 'e-pointer')."' title=\"".str_replace('<br />','\\n',($_helptxt))."\" onclick=\"{$_onclick_func}('".$_onclick_var."')\" ".($bbcode_helpactive ? "onmouseout=\"{$bbcode_help}(''{$bbcode_tag})\" onmouseover=\"{$bbcode_help}('".$_helptxt."'{$bbcode_tag})\"" : "" )." >";
$post = "</a>\n"; // btn-small bbcode bbcode_buttons $post = "</a>\n"; // btn-small bbcode bbcode_buttons
} }

View File

@ -105,7 +105,7 @@ class comment_shortcodes extends e_shortcode
{ {
if ($thisaction == "comment" && $pref['nested_comments']) if ($thisaction == "comment" && $pref['nested_comments'])
{ {
$REPLY = "<a id='e-comment-reply-".$this->var['comment_id']."' class='e-comment-reply btn btn-default btn-mini btn-xs' data-type='".$this->var['comment_type']."' data-target='".e_HTTP."comment.php' href='".e_HTTP."comment.php?reply.".$thistable.".".$this->var['comment_id'].".".$thisid."'>".COMLAN_326."</a>"; $REPLY = "<a id='e-comment-reply-".$this->var['comment_id']."' class='e-comment-reply btn btn-default btn-secondary btn-mini btn-xs' data-type='".$this->var['comment_type']."' data-target='".e_HTTP."comment.php' href='".e_HTTP."comment.php?reply.".$thistable.".".$this->var['comment_id'].".".$thisid."'>".COMLAN_326."</a>";
} }
} }
} }
@ -198,11 +198,11 @@ class comment_shortcodes extends e_shortcode
// e107::getDebug()->log($this->var); // e107::getDebug()->log($this->var);
$text = "<a href='#' data-target='".e_HTTP."comment.php' id='e-comment-delete-".$this->var['comment_id']."' data-type='".$this->var['comment_type']."' data-itemid='".$this->var['comment_item_id']."' class='e-comment-delete btn btn-default btn-mini btn-xs'>".LAN_DELETE."</a> "; $text = "<a href='#' data-target='".e_HTTP."comment.php' id='e-comment-delete-".$this->var['comment_id']."' data-type='".$this->var['comment_type']."' data-itemid='".$this->var['comment_item_id']."' class='e-comment-delete btn btn-default btn-secondary btn-mini btn-xs'>".LAN_DELETE."</a> ";
if($this->var['comment_blocked'] == 2) // pending approval. if($this->var['comment_blocked'] == 2) // pending approval.
{ {
$text .= "<a href='#' data-target='" . e_HTTP . "comment.php' id='e-comment-approve-" . $this->var['comment_id'] . "' class='e-comment-approve btn btn-default btn-mini btn-xs'>" . COMLAN_404 . "</a> "; $text .= "<a href='#' data-target='" . e_HTTP . "comment.php' id='e-comment-approve-" . $this->var['comment_id'] . "' class='e-comment-approve btn btn-default btn-secondary btn-mini btn-xs'>" . COMLAN_404 . "</a> ";
} }
return $text; return $text;
/* /*
@ -368,12 +368,12 @@ class comment_shortcodes extends e_shortcode
//Searching for '.' is BAD!!! It breaks mod rewritten requests. Why is this needed at all? //Searching for '.' is BAD!!! It breaks mod rewritten requests. Why is this needed at all?
if (strstr(e_QUERY, "&")) if (strstr(e_QUERY, "&"))
{ {
return "<a data-target='".e_HTTP."comment.php' id='e-comment-edit-".$this->var['comment_id']."' class='btn btn-default btn-mini btn-xs e-comment-edit' href='".e_SELF."?".e_QUERY."&amp;comment=edit&amp;comment_id=".$this->var['comment_id']."'>{$adop_icon}</a>"; return "<a data-target='".e_HTTP."comment.php' id='e-comment-edit-".$this->var['comment_id']."' class='btn btn-default btn-secondary btn-mini btn-xs e-comment-edit' href='".e_SELF."?".e_QUERY."&amp;comment=edit&amp;comment_id=".$this->var['comment_id']."'>{$adop_icon}</a>";
} }
else else
{ {
// return "<a href='".e_SELF."?".$comment_edit_query.".edit.".$this->var['comment_id']."'><img src='".e_IMAGE."generic/newsedit.png' alt='".COMLAN_318."' title='".COMLAN_318."' style='border: 0;' /></a>"; // return "<a href='".e_SELF."?".$comment_edit_query.".edit.".$this->var['comment_id']."'><img src='".e_IMAGE."generic/newsedit.png' alt='".COMLAN_318."' title='".COMLAN_318."' style='border: 0;' /></a>";
return "<a data-target='".e_HTTP."comment.php' id='e-comment-edit-".$this->var['comment_id']."' class='btn btn-default btn-mini btn-xs e-comment-edit' href='".SITEURL."comment.php?".$comment_edit_query.".edit.".$this->var['comment_id']."#e-comment-form'>".$adop_icon."</a>"; return "<a data-target='".e_HTTP."comment.php' id='e-comment-edit-".$this->var['comment_id']."' class='btn btn-default btn-secondary btn-mini btn-xs e-comment-edit' href='".SITEURL."comment.php?".$comment_edit_query.".edit.".$this->var['comment_id']."#e-comment-form'>".$adop_icon."</a>";
} }
} }
else else

View File

@ -662,7 +662,7 @@ class cpage_shortcodes extends e_shortcode
$icon = deftrue('FONTAWESOME') ? $tp->toGlyph('fa-edit') : "<img src='".e_IMAGE_ABS."/admin_images/edit_16.png' alt='edit' style='border: 0px none; height: 16px; width: 16px;' />"; $icon = deftrue('FONTAWESOME') ? $tp->toGlyph('fa-edit') : "<img src='".e_IMAGE_ABS."/admin_images/edit_16.png' alt='edit' style='border: 0px none; height: 16px; width: 16px;' />";
return "<a rel='external' title=\"".LAN_EDIT."\" data-modal-caption=\"".LAN_EDIT."\" class='btn btn-default ".$modal."' href='".e_ADMIN_ABS."cpage.php?action=edit&id=".$this->var['page_id'].$iframe."' >".$icon."</a>"; return "<a rel='external' title=\"".LAN_EDIT."\" data-modal-caption=\"".LAN_EDIT."\" class='btn btn-default btn-secondary ".$modal."' href='".e_ADMIN_ABS."cpage.php?action=edit&id=".$this->var['page_id'].$iframe."' >".$icon."</a>";
} }

View File

@ -653,7 +653,7 @@ class user_shortcodes extends e_shortcode
{ {
return " return "
<form method='post' action='".e_SELF."?".e_QUERY."'> <form method='post' action='".e_SELF."?".e_QUERY."'>
<input class='btn btn-default button' type='submit' name='delp' value='".LAN_USER_43."' /> <input class='btn btn-default btn-secondary button' type='submit' name='delp' value='".LAN_USER_43."' />
</form> </form>
"; ";
} }
@ -856,7 +856,7 @@ class user_shortcodes extends e_shortcode
function sc_user_form_submit($parm) function sc_user_form_submit($parm)
{ {
return "<input class='btn btn-default button' type='submit' name='submit' value='".LAN_GO."' />"; return "<input class='btn btn-default btn-secondary button' type='submit' name='submit' value='".LAN_GO."' />";
} }

View File

@ -27,7 +27,7 @@ function custom_shortcode($parm)
{ {
$ret .= "<form method='post' action='".e_SELF.(e_QUERY ? '?'.e_QUERY : '')."'>\n<div class='loginc_div'>\n".LAN_LOGINMENU_1."<input class='tbox loginc user' type='text' name='username' size='15' value='$username' maxlength='20' />&nbsp;&nbsp;\n".LAN_LOGINMENU_2."<input class='tbox loginc pass' type='password' name='userpass' size='15' value='' maxlength='20' />&nbsp;&nbsp;\n"; $ret .= "<form method='post' action='".e_SELF.(e_QUERY ? '?'.e_QUERY : '')."'>\n<div class='loginc_div'>\n".LAN_LOGINMENU_1."<input class='tbox loginc user' type='text' name='username' size='15' value='$username' maxlength='20' />&nbsp;&nbsp;\n".LAN_LOGINMENU_2."<input class='tbox loginc pass' type='password' name='userpass' size='15' value='' maxlength='20' />&nbsp;&nbsp;\n";
$ret .= ($pref['user_tracking'] == "cookie") ? "<input type='checkbox' name='autologin' value='1' />".LAN_LOGINMENU_6."&nbsp;&nbsp;\n" : ""; $ret .= ($pref['user_tracking'] == "cookie") ? "<input type='checkbox' name='autologin' value='1' />".LAN_LOGINMENU_6."&nbsp;&nbsp;\n" : "";
$ret .= "<input class='btn btn-default button loginc' type='submit' name='userlogin' value='".LAN_LOGIN."' />"; $ret .= "<input class='btn btn-default btn-secondary button loginc' type='submit' name='userlogin' value='".LAN_LOGIN."' />";
if (intval($pref['user_reg'])===1) if (intval($pref['user_reg'])===1)
{ {
$ret .= "&nbsp;&nbsp;<a class='loginc signup' href='".e_SIGNUP."'>".LAN_LOGINMENU_3."</a>"; $ret .= "&nbsp;&nbsp;<a class='loginc signup' href='".e_SIGNUP."'>".LAN_LOGINMENU_3."</a>";

View File

@ -26,14 +26,14 @@ $NEXTPREV_TEMPLATE['default_end'] = '
//$NEXTPREV_TEMPLATE['default_nav_caption'] = '<span class="nexprev-caption center">{caption}</span>&nbsp;'; XXX - awaiting the new front-end themes & templates //$NEXTPREV_TEMPLATE['default_nav_caption'] = '<span class="nexprev-caption center">{caption}</span>&nbsp;'; XXX - awaiting the new front-end themes & templates
$NEXTPREV_TEMPLATE['default_nav_caption'] = ''; // NP_3.'&nbsp;'; $NEXTPREV_TEMPLATE['default_nav_caption'] = ''; // NP_3.'&nbsp;';
$NEXTPREV_TEMPLATE['default_nav_first'] = '<a class="btn btn-default nextprev-item first" href="{url}" title="{url_label}">{label}</a>'; $NEXTPREV_TEMPLATE['default_nav_first'] = '<a class="btn btn-default btn-secondary nextprev-item first" href="{url}" title="{url_label}">{label}</a>';
$NEXTPREV_TEMPLATE['default_nav_prev'] = '<a class="btn btn-default nextprev-item prev" href="{url}" title="{url_label}">{label}</a>'; $NEXTPREV_TEMPLATE['default_nav_prev'] = '<a class="btn btn-default btn-secondary nextprev-item prev" href="{url}" title="{url_label}">{label}</a>';
$NEXTPREV_TEMPLATE['default_nav_last'] = '<a class="btn btn-default nextprev-item last" href="{url}" title="{url_label}">{label}</a>'; $NEXTPREV_TEMPLATE['default_nav_last'] = '<a class="btn btn-default btn-secondary nextprev-item last" href="{url}" title="{url_label}">{label}</a>';
$NEXTPREV_TEMPLATE['default_nav_next'] = '<a class="btn btn-default nextprev-item next" href="{url}" title="{url_label}">{label}</a>'; $NEXTPREV_TEMPLATE['default_nav_next'] = '<a class="btn btn-default btn-secondary nextprev-item next" href="{url}" title="{url_label}">{label}</a>';
$NEXTPREV_TEMPLATE['default_items_start'] = ''; $NEXTPREV_TEMPLATE['default_items_start'] = '';
$NEXTPREV_TEMPLATE['default_item'] = '<a class="btn btn-default nextprev-item" href="{url}" title="{url_label}">{label}</a>'; $NEXTPREV_TEMPLATE['default_item'] = '<a class="btn btn-default btn-secondary nextprev-item" href="{url}" title="{url_label}">{label}</a>';
$NEXTPREV_TEMPLATE['default_item_current'] = '<a class="btn btn-default nextprev-item current active" href="#" onclick="return false;" title="{url_label}">{label}</a>'; $NEXTPREV_TEMPLATE['default_item_current'] = '<a class="btn btn-default btn-secondary nextprev-item current active" href="#" onclick="return false;" title="{url_label}">{label}</a>';
$NEXTPREV_TEMPLATE['default_items_end'] = ''; $NEXTPREV_TEMPLATE['default_items_end'] = '';
//$NEXTPREV_TEMPLATE['default_separator'] = '<span class="nextprev-sep"><!-- --></span>'; //$NEXTPREV_TEMPLATE['default_separator'] = '<span class="nextprev-sep"><!-- --></span>';
@ -95,9 +95,9 @@ $NEXTPREV_TEMPLATE['basic_start'] = '<!-- Start of Next/Prev --><div class="
$NEXTPREV_TEMPLATE['basic_end'] = '</div><!-- End of Next/Prev -->'; $NEXTPREV_TEMPLATE['basic_end'] = '</div><!-- End of Next/Prev -->';
$NEXTPREV_TEMPLATE['basic_nav_caption'] = ''; $NEXTPREV_TEMPLATE['basic_nav_caption'] = '';
$NEXTPREV_TEMPLATE['basic_nav_first'] = ''; $NEXTPREV_TEMPLATE['basic_nav_first'] = '';
$NEXTPREV_TEMPLATE['basic_nav_prev'] = '<a class="btn btn-default nextprev-item prev" href="{url}" title="{url_label}" {disabled}><i class="fa fa-backward"></i></a>'; $NEXTPREV_TEMPLATE['basic_nav_prev'] = '<a class="btn btn-default btn-secondary nextprev-item prev" href="{url}" title="{url_label}" {disabled}><i class="fa fa-backward"></i></a>';
$NEXTPREV_TEMPLATE['basic_nav_last'] = ''; $NEXTPREV_TEMPLATE['basic_nav_last'] = '';
$NEXTPREV_TEMPLATE['basic_nav_next'] = '<a class="btn btn-default nextprev-item next " href="{url}" title="{url_label}" {disabled}><i class="fa fa-forward"></i></a>'; $NEXTPREV_TEMPLATE['basic_nav_next'] = '<a class="btn btn-default btn-secondary nextprev-item next " href="{url}" title="{url_label}" {disabled}><i class="fa fa-forward"></i></a>';
$NEXTPREV_TEMPLATE['basic_items_start'] = ''; $NEXTPREV_TEMPLATE['basic_items_start'] = '';
$NEXTPREV_TEMPLATE['basic_item'] = ''; $NEXTPREV_TEMPLATE['basic_item'] = '';
$NEXTPREV_TEMPLATE['basic_item_current'] = '<a class="btn btn-default">{label}</a>'; $NEXTPREV_TEMPLATE['basic_item_current'] = '<a class="btn btn-default">{label}</a>';
@ -161,9 +161,9 @@ $NEXTPREV_TEMPLATE['dropdown_nav_first'] = '';
$NEXTPREV_TEMPLATE['dropdown_nav_last'] = ''; $NEXTPREV_TEMPLATE['dropdown_nav_last'] = '';
// 'tbox npbutton' classes are deprecated!!! // 'tbox npbutton' classes are deprecated!!!
$NEXTPREV_TEMPLATE['dropdown_nav_prev'] = '<a class="btn btn-default nextprev-item prev tbox npbutton" href="{url}" title="{url_label}">{label}</a>&nbsp;'; $NEXTPREV_TEMPLATE['dropdown_nav_prev'] = '<a class="btn btn-default btn-secondary nextprev-item prev tbox npbutton" href="{url}" title="{url_label}">{label}</a>&nbsp;';
// 'tbox npbutton' classes are deprecated!!! // 'tbox npbutton' classes are deprecated!!!
$NEXTPREV_TEMPLATE['dropdown_nav_next'] = '&nbsp;<a class="btn btn-default nextprev-item next tbox npbutton" href="{url}" title="{url_label}">{label}</a>'; $NEXTPREV_TEMPLATE['dropdown_nav_next'] = '&nbsp;<a class="btn btn-default btn-secondary nextprev-item next tbox npbutton" href="{url}" title="{url_label}">{label}</a>';
// 'npdropdown' class is deprecated!!! // 'npdropdown' class is deprecated!!!
$NEXTPREV_TEMPLATE['dropdown_items_start'] = '<select class="tbox npdropdown nextprev-select form-control" name="pageSelect" onchange="window.location.href=this.options[selectedIndex].value">'; $NEXTPREV_TEMPLATE['dropdown_items_start'] = '<select class="tbox npdropdown nextprev-select form-control" name="pageSelect" onchange="window.location.href=this.options[selectedIndex].value">';

View File

@ -13,7 +13,7 @@ if(!isset($SEARCH_SHORTCODE))
{ {
$SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='' maxlength='50' /> $SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='' maxlength='50' />
<input class='btn btn-default button search' type='submit' name='s' value=\"".LAN_SEARCH."\" />"; <input class='btn btn-default btn-secondary button search' type='submit' name='s' value=\"".LAN_SEARCH."\" />";
/* // Image Version Example /* // Image Version Example
$SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='Default Value' maxlength='50' onclick=\"this.value=''\" /> $SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='Default Value' maxlength='50' onclick=\"this.value=''\" />

View File

@ -1145,7 +1145,7 @@ class comment
{ {
// $modcomment .= "<a href='".e_ADMIN_ABS."modcomment.php?$table.$id'>".COMLAN_314."</a>"; // $modcomment .= "<a href='".e_ADMIN_ABS."modcomment.php?$table.$id'>".COMLAN_314."</a>";
$modcomment .= "<a class='btn btn-default btn-mini btn-sm' href='".e_ADMIN_ABS."comment.php?searchquery={$id}&filter_options=comment_type__".$this->getCommentType($table)."'>".COMLAN_314."</a>"; $modcomment .= "<a class='btn btn-default btn-secondary btn-mini btn-sm' href='".e_ADMIN_ABS."comment.php?searchquery={$id}&filter_options=comment_type__".$this->getCommentType($table)."'>".COMLAN_314."</a>";
} }
@ -1314,8 +1314,8 @@ class comment
$prev = e_HTTP . 'comment.php?mode=list&amp;type=' . $table . '&amp;id=' . $id . '&amp;from=0'; $prev = e_HTTP . 'comment.php?mode=list&amp;type=' . $table . '&amp;id=' . $id . '&amp;from=0';
$next = e_HTTP . 'comment.php?mode=list&amp;type=' . $table . '&amp;id=' . $id . '&amp;from=0'; $next = e_HTTP . 'comment.php?mode=list&amp;type=' . $table . '&amp;id=' . $id . '&amp;from=0';
return "<a class='e-ajax btn btn-default btn-mini btn-sm' href='#' data-nav-total='{$this->totalComments}' data-nav-dir='down' data-nav-inc='{$this->commentsPerPage}' data-target='comments-container' data-src='{$prev}'>" . LAN_PREVIOUS . "</a> return "<a class='e-ajax btn btn-default btn-secondary btn-mini btn-sm' href='#' data-nav-total='{$this->totalComments}' data-nav-dir='down' data-nav-inc='{$this->commentsPerPage}' data-target='comments-container' data-src='{$prev}'>" . LAN_PREVIOUS . "</a>
<a class='e-ajax btn btn-default btn-mini btn-sm' href='#' data-nav-total='{$this->totalComments}' data-nav-dir='up' data-nav-inc='{$this->commentsPerPage}' data-target='comments-container' data-src='{$next}'>" . LAN_NEXT . "</a>"; <a class='e-ajax btn btn-default btn-secondary btn-mini btn-sm' href='#' data-nav-total='{$this->totalComments}' data-nav-dir='up' data-nav-inc='{$this->commentsPerPage}' data-target='comments-container' data-src='{$next}'>" . LAN_NEXT . "</a>";
} }
} }

View File

@ -1036,7 +1036,7 @@ class e_form
{ {
$text = "<input class='tbox' style='width:80%' id='{$idinput}' type='text' name='image' size='40' value='$curVal' maxlength='100' title=\"".LAN_SIGNUP_111."\" />"; $text = "<input class='tbox' style='width:80%' id='{$idinput}' type='text' name='image' size='40' value='$curVal' maxlength='100' title=\"".LAN_SIGNUP_111."\" />";
$text .= "<img src='".$img."' id='{$previnput}' style='display:none' />"; $text .= "<img src='".$img."' id='{$previnput}' style='display:none' />";
$text .= "<input class='img-rounded rounded btn btn-default button e-expandit' type ='button' style='cursor:pointer' size='30' value=\"".LAN_EFORM_002."\" />"; $text .= "<input class='img-rounded rounded btn btn-default btn-secondary button e-expandit' type ='button' style='cursor:pointer' size='30' value=\"".LAN_EFORM_002."\" />";
} }
$avFiles = e107::getFile()->get_files(e_AVATAR_DEFAULT,".jpg|.png|.gif|.jpeg|.JPG|.GIF|.PNG"); $avFiles = e107::getFile()->get_files(e_AVATAR_DEFAULT,".jpg|.png|.gif|.jpeg|.JPG|.GIF|.PNG");
@ -1257,7 +1257,7 @@ class e_form
else else
{ {
$editIcon = $this->mediaUrl($cat, $tp->toGlyph('fa-edit', array('fw'=>1)), $name_id,$sc_parameters); $editIcon = $this->mediaUrl($cat, $tp->toGlyph('fa-edit', array('fw'=>1)), $name_id,$sc_parameters);
$previewIcon = "<a title='".LAN_PREVIEW."' class='btn btn-sm btn-default e-modal' data-modal-caption='".LAN_PREVIEW."' href='".$default_url."'>".$tp->toGlyph('fa-search', array('fw'=>1))."</a>"; $previewIcon = "<a title='".LAN_PREVIEW."' class='btn btn-sm btn-default btn-secondary e-modal' data-modal-caption='".LAN_PREVIEW."' href='".$default_url."'>".$tp->toGlyph('fa-search', array('fw'=>1))."</a>";
} }
$ret .= $label; // image $ret .= $label; // image
@ -1347,7 +1347,7 @@ class e_form
$default_label = ($default) ? $default : LAN_CHOOSE_FILE; $default_label = ($default) ? $default : LAN_CHOOSE_FILE;
$label = "<span id='{$name_id}_prev' class='btn btn-default btn-small'>".basename($default_label)."</span>"; $label = "<span id='{$name_id}_prev' class='btn btn-default btn-secondary btn-small'>".basename($default_label)."</span>";
$sc_parameters['mode'] = 'main'; $sc_parameters['mode'] = 'main';
$sc_parameters['action'] = 'dialog'; $sc_parameters['action'] = 'dialog';
@ -1785,11 +1785,11 @@ class e_form
if(vartrue($options['generate'])) if(vartrue($options['generate']))
{ {
$gen = '&nbsp;<a href="#" class="btn btn-default btn-small e-tip" id="Spn_PasswordGenerator" title=" '.LAN_GEN_PW.' " >'.LAN_GENERATE.'</a> '; $gen = '&nbsp;<a href="#" class="btn btn-default btn-secondary btn-small e-tip" id="Spn_PasswordGenerator" title=" '.LAN_GEN_PW.' " >'.LAN_GENERATE.'</a> ';
if(empty($options['nomask'])) if(empty($options['nomask']))
{ {
$gen .= '<a class="btn btn-default btn-small e-tip" href="#" id="showPwd" title=" '.LAN_DISPL_PW.' ">'.LAN_SHOW.'</a><br />'; $gen .= '<a class="btn btn-default btn-secondary btn-small e-tip" href="#" id="showPwd" title=" '.LAN_DISPL_PW.' ">'.LAN_SHOW.'</a><br />';
} }
} }
@ -2985,23 +2985,23 @@ class e_form
{ {
case 'edit': case 'edit':
$icon = (e_ADMIN_AREA === true) ? ADMIN_EDIT_ICON : $tp->toIcon("e-edit-32"); $icon = (e_ADMIN_AREA === true) ? ADMIN_EDIT_ICON : $tp->toIcon("e-edit-32");
$options['class'] = $options['class'] == 'action' ? 'btn btn-default action edit' : $options['class']; $options['class'] = $options['class'] == 'action' ? 'btn btn-default btn-secondary action edit' : $options['class'];
break; break;
case 'delete': case 'delete':
$icon = (e_ADMIN_AREA === true) ? ADMIN_DELETE_ICON : $tp->toIcon('fa-trash.glyph'); $icon = (e_ADMIN_AREA === true) ? ADMIN_DELETE_ICON : $tp->toIcon('fa-trash.glyph');
$options['class'] = $options['class'] == 'action' ? 'btn btn-default action delete' : $options['class']; $options['class'] = $options['class'] == 'action' ? 'btn btn-default btn-secondary action delete' : $options['class'];
$options['other'] = 'data-confirm="'.LAN_JSCONFIRM.'"'; $options['other'] = 'data-confirm="'.LAN_JSCONFIRM.'"';
break; break;
case 'execute': case 'execute':
$icon = (e_ADMIN_AREA === true) ? ADMIN_EXECUTE_ICON : $tp->toIcon('fa-power-off.glyph'); $icon = (e_ADMIN_AREA === true) ? ADMIN_EXECUTE_ICON : $tp->toIcon('fa-power-off.glyph');
$options['class'] = $options['class'] == 'action' ? 'btn btn-default action execute' : $options['class']; $options['class'] = $options['class'] == 'action' ? 'btn btn-default btn-secondary action execute' : $options['class'];
break; break;
case 'view': case 'view':
$icon = $tp->toIcon("e-view-32"); $icon = $tp->toIcon("e-view-32");
$options['class'] = $options['class'] == 'action' ? 'btn btn-default action view' : $options['class']; $options['class'] = $options['class'] == 'action' ? 'btn btn-default btn-secondary action view' : $options['class'];
break; break;
} }
@ -4687,7 +4687,7 @@ class e_form
if($ttl == 1) if($ttl == 1)
{ {
$dataAttr = "data-text-more='" . LAN_MORE . "' data-text-less='" . LAN_LESS . "'"; $dataAttr = "data-text-more='" . LAN_MORE . "' data-text-less='" . LAN_LESS . "'";
$ttl = $expand."<button class='btn btn-default btn-xs btn-mini pull-right' {$dataAttr}>" . LAN_MORE . "</button>"; $ttl = $expand."<button class='btn btn-default btn-secondary btn-xs btn-mini pull-right' {$dataAttr}>" . LAN_MORE . "</button>";
} }
$expands = '<a href="#'.$elid.'-expand" class="e-show-if-js e-expandit e-expandit-inline">'.defset($ttl, $ttl)."</a>"; $expands = '<a href="#'.$elid.'-expand" class="e-show-if-js e-expandit e-expandit-inline">'.defset($ttl, $ttl)."</a>";
@ -7062,7 +7062,7 @@ class form
$name = ($form_name ? " id='".$form_name."' name='".$form_name."'" : ""); $name = ($form_name ? " id='".$form_name."' name='".$form_name."'" : "");
$image = ($form_image ? " src='".$form_image."' " : ""); $image = ($form_image ? " src='".$form_image."' " : "");
$tooltip = ($form_tooltip ? " title='".$form_tooltip."' " : ""); $tooltip = ($form_tooltip ? " title='".$form_tooltip."' " : "");
return "\n<input class='btn btn-default button' type='".$form_type."' ".$form_js." value='".$form_value."'".$name.$image.$tooltip." />"; return "\n<input class='btn btn-default btn-secondary button' type='".$form_type."' ".$form_js." value='".$form_value."'".$name.$image.$tooltip." />";
} }
function form_textarea($form_name, $form_columns, $form_rows, $form_value, $form_js = "", $form_style = "", $form_wrap = "", $form_readonly = "", $form_tooltip = "") { function form_textarea($form_name, $form_columns, $form_rows, $form_value, $form_js = "", $form_style = "", $form_wrap = "", $form_readonly = "", $form_tooltip = "") {

View File

@ -702,9 +702,9 @@ class e_media
// $text .= "<input type='button' value='Go' class='btn btn-primary e-media-nav' data-target='media-select-container' data-src='".$this->mediaSelectNav($category,"tagid=".$tagid."&bbcode=".$bbcode)."&amp;from=0' /> "; // Manual filter, if onkeyup ajax fails for some reason. // $text .= "<input type='button' value='Go' class='btn btn-primary e-media-nav' data-target='media-select-container' data-src='".$this->mediaSelectNav($category,"tagid=".$tagid."&bbcode=".$bbcode)."&amp;from=0' /> "; // Manual filter, if onkeyup ajax fails for some reason.
$text .= "<button type='button' class='btn btn-primary e-media-nav' data-target='media-select-container' data-src='".$data_src."' >".LAN_GO."</button>"; // Manual filter, if onkeyup ajax fails for some reason. $text .= "<button type='button' class='btn btn-primary e-media-nav' data-target='media-select-container' data-src='".$data_src."' >".LAN_GO."</button>"; // Manual filter, if onkeyup ajax fails for some reason.
$text .= "<button id='admin-ui-media-nav-down' type='button' title='".IMALAN_130."' class='btn btn-default e-nav e-media-nav e-tip' style='outline:0' data-target='media-select-container' data-nav-total='".$total."' data-nav-dir='down' data-nav-inc='".$limit."' data-src='".$data_src."'>&laquo;</button>"; // see next page of images. $text .= "<button id='admin-ui-media-nav-down' type='button' title='".IMALAN_130."' class='btn btn-default btn-secondary e-nav e-media-nav e-tip' style='outline:0' data-target='media-select-container' data-nav-total='".$total."' data-nav-dir='down' data-nav-inc='".$limit."' data-src='".$data_src."'>&laquo;</button>"; // see next page of images.
$text .= "<button id='admin-ui-media-nav-up' type='button' title='".IMALAN_131."' class='btn btn-default e-nav e-media-nav e-tip' style='outline:0;text-align:center' data-target='media-select-container' data-nav-total='".$total."' data-nav-dir='up' data-nav-inc='".$limit."' data-src='".$data_src."' >&raquo;</button>"; // see next page of images. $text .= "<button id='admin-ui-media-nav-up' type='button' title='".IMALAN_131."' class='btn btn-default btn-secondary e-nav e-media-nav e-tip' style='outline:0;text-align:center' data-target='media-select-container' data-nav-total='".$total."' data-nav-dir='up' data-nav-inc='".$limit."' data-src='".$data_src."' >&raquo;</button>"; // see next page of images.
$text .= "</div></div>"; $text .= "</div></div>";
$text .= "<div id='admin-ui-media-select-count' class='media-select-count' style='text-align:right; display:block'>"; $text .= "<div id='admin-ui-media-select-count' class='media-select-count' style='text-align:right; display:block'>";
$text .= e107::getParser()->lanVars(IMALAN_162, array('x'=> $frm +1, 'y'=> $dipTotal, 'z'=>$total )); $text .= e107::getParser()->lanVars(IMALAN_162, array('x'=> $frm +1, 'y'=> $dipTotal, 'z'=>$total ));

View File

@ -1567,13 +1567,13 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
break; break;
case 'div': case 'div':
$text .= "<div class='core-mainpanel-block '><a data-toggle='tooltip' class='core-mainpanel-link-icon btn btn-default muted' href='".$link."' title='{$description}'>".$icon." $text .= "<div class='core-mainpanel-block '><a data-toggle='tooltip' class='core-mainpanel-link-icon btn btn-default btn-secondary muted' href='".$link."' title='{$description}'>".$icon."
<small class='core-mainpanel-link-text'>".$tp->toHTML($title,FALSE,"defs, emotes_off")."</small></a> <small class='core-mainpanel-link-text'>".$tp->toHTML($title,FALSE,"defs, emotes_off")."</small></a>
</div>"; </div>";
break; break;
case 'div-icon-only': case 'div-icon-only':
$text .= "<div class='core-mainpanel-block e-tip' title='{$description}'><a class='core-mainpanel-link-icon btn btn-default e-tip' href='".$link."' >".$icon."</a></div>"; $text .= "<div class='core-mainpanel-block e-tip' title='{$description}'><a class='core-mainpanel-link-icon btn btn-default btn-secondary e-tip' href='".$link."' >".$icon."</a></div>";
break; break;
default: default:

View File

@ -1954,11 +1954,11 @@ class themeHandler
$author = ($theme['email'] ? "<a href='mailto:".$theme['email']."' title='".$theme['email']."'>".$theme['author']."</a>" : $theme['author']); $author = ($theme['email'] ? "<a href='mailto:".$theme['email']."' title='".$theme['email']."'>".$theme['author']."</a>" : $theme['author']);
$website = ($theme['website'] ? "<a href='".$theme['website']."' rel='external'>".$theme['website']."</a>" : ""); $website = ($theme['website'] ? "<a href='".$theme['website']."' rel='external'>".$theme['website']."</a>" : "");
// $preview = "<a href='".e_BASE."news.php?themepreview.".$theme['id']."' title='".TPVLAN_9."' >".($theme['preview'] ? "<img src='".$theme['preview']."' style='border: 1px solid #000;width:200px' alt='' />" : "<img src='".e_IMAGE_ABS."admin_images/nopreview.png' title='".TPVLAN_12."' alt='' />")."</a>"; // $preview = "<a href='".e_BASE."news.php?themepreview.".$theme['id']."' title='".TPVLAN_9."' >".($theme['preview'] ? "<img src='".$theme['preview']."' style='border: 1px solid #000;width:200px' alt='' />" : "<img src='".e_IMAGE_ABS."admin_images/nopreview.png' title='".TPVLAN_12."' alt='' />")."</a>";
$main_icon = ($pref['sitetheme'] != $theme['path']) ? "<button class='btn btn-default btn-small btn-sm btn-inverse' type='submit' name='selectmain[".$theme['id']."]' alt=\"".TPVLAN_10."\" title=\"".TPVLAN_10."\" >".$tp->toGlyph('fa-home',array('size'=>'2x'))."</button>" : "<button class='btn btn-small btn-default btn-sm btn-inverse' type='button'>".$tp->toGlyph('fa-check',array('size'=>'2x'))."</button>"; $main_icon = ($pref['sitetheme'] != $theme['path']) ? "<button class='btn btn-default btn-secondary btn-small btn-sm btn-inverse' type='submit' name='selectmain[".$theme['id']."]' alt=\"".TPVLAN_10."\" title=\"".TPVLAN_10."\" >".$tp->toGlyph('fa-home',array('size'=>'2x'))."</button>" : "<button class='btn btn-small btn-default btn-secondary btn-sm btn-inverse' type='button'>".$tp->toGlyph('fa-check',array('size'=>'2x'))."</button>";
// $info_icon = "<a data-toggle='modal' data-target='".e_SELF."' href='#themeInfo_".$theme['id']."' class='e-tip' title='".TPVLAN_7."'><img src='".e_IMAGE_ABS."admin_images/info_32.png' alt='' class='icon S32' /></a>"; // $info_icon = "<a data-toggle='modal' data-target='".e_SELF."' href='#themeInfo_".$theme['id']."' class='e-tip' title='".TPVLAN_7."'><img src='".e_IMAGE_ABS."admin_images/info_32.png' alt='' class='icon S32' /></a>";
$info_icon = "<a class='btn btn-default btn-small btn-sm btn-inverse e-modal' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" href='".e_SELF."?mode=".$_GET['mode']."&id=".$theme['path']."&action=info' title='".TPVLAN_7."'>".$tp->toGlyph('fa-info-circle',array('size'=>'2x'))."</a>"; $info_icon = "<a class='btn btn-default btn-secondary btn-small btn-sm btn-inverse e-modal' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" href='".e_SELF."?mode=".$_GET['mode']."&id=".$theme['path']."&action=info' title='".TPVLAN_7."'>".$tp->toGlyph('fa-info-circle',array('size'=>'2x'))."</a>";
// $preview_icon = "<a title='Preview : ".$theme['name']."' rel='external' class='e-dialog' href='".e_BASE."index.php?themepreview.".$theme['id']."'>".E_32_SEARCH."</a>"; // $preview_icon = "<a title='Preview : ".$theme['name']."' rel='external' class='e-dialog' href='".e_BASE."index.php?themepreview.".$theme['id']."'>".E_32_SEARCH."</a>";
$admin_icon = ($pref['admintheme'] != $theme['path'] ) ? "<button class='btn btn-default btn-small btn-sm btn-inverse' type='submit' name='selectadmin[".$theme['id']."]' alt=\"".TPVLAN_32."\" title=\"".TPVLAN_32."\" >".$tp->toGlyph('fa-gears',array('size'=>'2x'))."</button>" : "<button class='btn btn-small btn-default btn-sm btn-inverse' type='button'>".$tp->toGlyph('fa-check',array('size'=>'2x'))."</button>"; $admin_icon = ($pref['admintheme'] != $theme['path'] ) ? "<button class='btn btn-default btn-secondary btn-small btn-sm btn-inverse' type='submit' name='selectadmin[".$theme['id']."]' alt=\"".TPVLAN_32."\" title=\"".TPVLAN_32."\" >".$tp->toGlyph('fa-gears',array('size'=>'2x'))."</button>" : "<button class='btn btn-small btn-default btn-secondary btn-sm btn-inverse' type='button'>".$tp->toGlyph('fa-check',array('size'=>'2x'))."</button>";
$price = ''; $price = '';
@ -2026,7 +2026,7 @@ class themeHandler
// $main_icon = "<a data-toggle='modal' data-modal-caption=\"".$caption."\" href='{$downloadUrl}' data-cache='false' data-target='#uiModal' title='".$LAN_DOWNLOAD."' >".$tp->toGlyph('download',array('size'=>'2x'))."</a> "; // $main_icon = "<a data-toggle='modal' data-modal-caption=\"".$caption."\" href='{$downloadUrl}' data-cache='false' data-target='#uiModal' title='".$LAN_DOWNLOAD."' >".$tp->toGlyph('download',array('size'=>'2x'))."</a> ";
$modalCaption = (empty($theme['price'])) ? ' '.LAN_DOWNLOADING.' '.$theme['name']." ".$theme['version'] :' '.LAN_PURCHASE.' '.$theme['name']." ".$theme['version']; $modalCaption = (empty($theme['price'])) ? ' '.LAN_DOWNLOADING.' '.$theme['name']." ".$theme['version'] :' '.LAN_PURCHASE.' '.$theme['name']." ".$theme['version'];
$main_icon = "<a class='e-modal btn-default btn btn-sm btn-small btn-inverse' data-modal-caption=\"".$modalCaption."\" rel='external' href='{$downloadUrl}' data-cache='false' title='".$LAN_DOWNLOAD."' >".$tp->toGlyph('download',array('size'=>'2x'))."</a>"; $main_icon = "<a class='e-modal btn-default btn-secondary btn btn-sm btn-small btn-inverse' data-modal-caption=\"".$modalCaption."\" rel='external' href='{$downloadUrl}' data-cache='false' title='".$LAN_DOWNLOAD."' >".$tp->toGlyph('download',array('size'=>'2x'))."</a>";
@ -2034,7 +2034,7 @@ class themeHandler
// $main_icon = "<a class='e-modal btn btn-small btn-inverse' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" rel='external' href='{$viewUrl}' data-cache='false' title='".$LAN_DOWNLOAD."' >".$tp->toGlyph('download',array('size'=>'2x'))."</a> "; // $main_icon = "<a class='e-modal btn btn-small btn-inverse' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" rel='external' href='{$viewUrl}' data-cache='false' title='".$LAN_DOWNLOAD."' >".$tp->toGlyph('download',array('size'=>'2x'))."</a> ";
$info_icon = "<a class='btn btn-default btn-sm btn-small btn-inverse e-modal' data-toggle='modal' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" href='".$infoUrl."' data-cache='false' title='".TPVLAN_7."'>".$tp->toGlyph('fa-info-circle',array('size'=>'2x'))."</a>"; $info_icon = "<a class='btn btn-default btn-secondary btn-sm btn-small btn-inverse e-modal' data-toggle='modal' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" href='".$infoUrl."' data-cache='false' title='".TPVLAN_7."'>".$tp->toGlyph('fa-info-circle',array('size'=>'2x'))."</a>";
if($theme['livedemo']) if($theme['livedemo'])
{ {
@ -2045,7 +2045,7 @@ class themeHandler
} }
$preview_icon = "<a class='e-modal btn btn-default btn-sm btn-small btn-inverse' title=' ".TPVLAN_70." ".$theme['name']."' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" rel='external' href='".$previewPath."'>".$tp->toGlyph('fa-search',array('size'=>'2x'))."</a>"; $preview_icon = "<a class='e-modal btn btn-default btn-secondary btn-sm btn-small btn-inverse' title=' ".TPVLAN_70." ".$theme['name']."' data-modal-caption=\"".$theme['name']." ".$theme['version']."\" rel='external' href='".$previewPath."'>".$tp->toGlyph('fa-search',array('size'=>'2x'))."</a>";
if(!in_array($theme['path'], $this->approvedAdminThemes)) if(!in_array($theme['path'], $this->approvedAdminThemes))
@ -2238,7 +2238,7 @@ class themeHandler
{ {
foreach ($pref['sitetheme_custompages'][$key] as $cp) foreach ($pref['sitetheme_custompages'][$key] as $cp)
{ {
$custompage_diz .= "<a href='#element-to-be-shown-{$key}' title=' ".TPVLAN_72." ' class='e-tip btn btn-default btn-xs btn-mini e-expandit'>".trim($cp)."</a>&nbsp;"; $custompage_diz .= "<a href='#element-to-be-shown-{$key}' title=' ".TPVLAN_72." ' class='e-tip btn btn-default btn-secondary btn-xs btn-mini e-expandit'>".trim($cp)."</a>&nbsp;";
if($count > 4) if($count > 4)
{ {
$custompage_diz .= "..."; $custompage_diz .= "...";
@ -2249,7 +2249,7 @@ class themeHandler
} }
else else
{ {
$custompage_diz = "<a href='#element-to-be-shown-{$key}' title=' ".TPVLAN_72." ' class='e-tip btn btn-xs btn-default btn-mini e-expandit'>".LAN_NONE."</a> "; $custompage_diz = "<a href='#element-to-be-shown-{$key}' title=' ".TPVLAN_72." ' class='e-tip btn btn-xs btn-default btn-secondary btn-mini e-expandit'>".LAN_NONE."</a> ";
} }

View File

@ -250,7 +250,7 @@ class user_select
<input type='text' name='srch' id='srch' class='tbox form-control' value='".$tp -> post_toForm(varset($_POST['srch'],''))."' size='40'> <input type='text' name='srch' id='srch' class='tbox form-control' value='".$tp -> post_toForm(varset($_POST['srch'],''))."' size='40'>
</div> </div>
<div class='form-group text-center'> <div class='form-group text-center'>
<button class='btn btn-default button' type='submit' name='dosrch' class='tbox' value='".US_LAN_6."'>".US_LAN_6."</button> <button class='btn btn-default btn-secondary button' type='submit' name='dosrch' class='tbox' value='".US_LAN_6."'>".US_LAN_6."</button>
</div> </div>
</form> </form>
</div> </div>
@ -283,7 +283,7 @@ class user_select
</select> </select>
</div> </div>
<div class='form-group text-center'> <div class='form-group text-center'>
<input type='button' class='btn btn-default button' value='".US_LAN_1."' onClick='SelectUser()' /> <input type='button' class='btn btn-default btn-secondary button' value='".US_LAN_1."' onClick='SelectUser()' />
</div> </div>
</form> </form>
</div> </div>

View File

@ -166,8 +166,8 @@ if(false === $cached)
if(deftrue('BOOTSTRAP')) // v2.x if(deftrue('BOOTSTRAP')) // v2.x
{ {
$month_selector = '<span class="btn-group pull-right"><a class="btn btn-mini btn-default btn-xs " href="#blogCalendar" data-slide="prev"></a> $month_selector = '<span class="btn-group pull-right"><a class="btn btn-mini btn-default btn-secondary btn-xs " href="#blogCalendar" data-slide="prev"></a>
<a class="btn btn-mini btn-default btn-xs" href="#blogCalendar" data-slide="next"></a></span>'; <a class="btn btn-mini btn-default btn-secondary btn-xs" href="#blogCalendar" data-slide="next"></a></span>';
$caption = "<span class='inline-text'>".BLOGCAL_L1." ".$month_selector."</span>"; $caption = "<span class='inline-text'>".BLOGCAL_L1." ".$month_selector."</span>";

View File

@ -186,7 +186,7 @@ $text = $textstart.$textstring.$textend;
if(CB_MOD) if(CB_MOD)
{ {
$text = "<form method='post' action='".e_SELF."'>".$text."<input type='submit' class='btn btn-default button' name='moderate' value='".CHATBOX_L13."' /></form>"; $text = "<form method='post' action='".e_SELF."'>".$text."<input type='submit' class='btn btn-default btn-secondary button' name='moderate' value='".CHATBOX_L13."' /></form>";
} }
$parms = "{$chat_total},30,{$from},".e_SELF.'?[FROM]'; $parms = "{$chat_total},30,{$from},".e_SELF.'?[FROM]';

View File

@ -246,7 +246,7 @@ else
$texta .= " $texta .= "
<textarea placeholder=\"".LAN_CHATBOX_100."\" required class='tbox chatbox form-control input-xlarge' id='cmessage' name='cmessage' cols='20' rows='5' style='max-width:97%; ".($cb_width ? "width:".$cb_width.";" : '')." overflow: auto' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'></textarea> <textarea placeholder=\"".LAN_CHATBOX_100."\" required class='tbox chatbox form-control input-xlarge' id='cmessage' name='cmessage' cols='20' rows='5' style='max-width:97%; ".($cb_width ? "width:".$cb_width.";" : '')." overflow: auto' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'></textarea>
<br /> <br />
<input class='btn btn-default button' type='submit' id='chat_submit' name='chat_submit' value='".CHATBOX_L4."' {$oc}/> <input class='btn btn-default btn-secondary button' type='submit' id='chat_submit' name='chat_submit' value='".CHATBOX_L4."' {$oc}/>
"; ";
// $texta .= "<input type='reset' name='reset' value='".CHATBOX_L5."' />"; // How often do we see these lately? ;-) // $texta .= "<input type='reset' name='reset' value='".CHATBOX_L5."' />"; // How often do we see these lately? ;-)
@ -254,7 +254,7 @@ else
if($pref['cb_emote'] && $pref['smiley_activate']) if($pref['cb_emote'] && $pref['smiley_activate'])
{ {
$texta .= " $texta .= "
<input class='btn btn-default button' type='button' style='cursor:pointer' size='30' value='".CHATBOX_L14."' onclick=\"expandit('emote')\" /> <input class='btn btn-default btn-secondary button' type='button' style='cursor:pointer' size='30' value='".CHATBOX_L14."' onclick=\"expandit('emote')\" />
<div class='well' style='display:none' id='emote'>".r_emote()."</div>\n"; <div class='well' style='display:none' id='emote'>".r_emote()."</div>\n";
} }

View File

@ -668,7 +668,7 @@ if ($action == "uopt")
</div> </div>
</fieldset> </fieldset>
<div class='buttons-bar center'> <div class='buttons-bar center'>
<input class='btn btn-default button' type='submit' name='generate_filetypes_xml' value='".DOWLAN_77."'/> <input class='btn btn-default btn-secondary button' type='submit' name='generate_filetypes_xml' value='".DOWLAN_77."'/>
</div> </div>
</form> </form>
"; ";
@ -721,7 +721,7 @@ if ($action == "uopt")
</div> </div>
</fieldset> </fieldset>
<div class='buttons-bar center'> <div class='buttons-bar center'>
<input class='btn btn-default button' type='submit' name='updateuploadoptions' value='".DOWLAN_64."'/> <input class='btn btn-default btn-secondary button' type='submit' name='updateuploadoptions' value='".DOWLAN_64."'/>
</div> </div>
</form> </form>
"; ";

View File

@ -519,7 +519,7 @@ class download_shortcodes extends e_shortcode
$url = e_PLUGIN_ABS."download/admin_download.php?action=edit&id=".$this->var['download_id']; $url = e_PLUGIN_ABS."download/admin_download.php?action=edit&id=".$this->var['download_id'];
return (ADMIN && getperms('6')) ? "<a class='e-tip btn btn-default hidden-print' href='".$url."' title='".LAN_EDIT."'>".$icon."</a>" : ""; return (ADMIN && getperms('6')) ? "<a class='e-tip btn btn-default btn-secondary hidden-print' href='".$url."' title='".LAN_EDIT."'>".$icon."</a>" : "";
} }
function sc_download_category() function sc_download_category()
@ -1010,7 +1010,7 @@ class download_shortcodes extends e_shortcode
$link = ($this->var['download_category_id']) ? e107::url('download', 'category', $this->var) : null; $link = ($this->var['download_category_id']) ? e107::url('download', 'category', $this->var) : null;
} }
return "<a class='btn btn-default btn-xs btn-mini' href='".$link."'>".LAN_dl_9."</a>"; return "<a class='btn btn-default btn-secondary btn-xs btn-mini' href='".$link."'>".LAN_dl_9."</a>";
} }

View File

@ -682,7 +682,7 @@ $columnInfo = array(
$txt .= " $txt .= "
</table> </table>
<div class='buttons-bar center'> <div class='buttons-bar center'>
<input type='submit' class='btn btn-default button' name='updatelimits' value='".DOWLAN_115."'/> <input type='submit' class='btn btn-default btn-secondary button' name='updatelimits' value='".DOWLAN_115."'/>
</div> </div>
<table class='table adminlist'> <table class='table adminlist'>
@ -706,7 +706,7 @@ $columnInfo = array(
$txt .= "</table> $txt .= "</table>
<div class='buttons-bar center'> <div class='buttons-bar center'>
<input type='submit' class='btn btn-default button' name='addlimit' value='".DOWLAN_114."'/> <input type='submit' class='btn btn-default btn-secondary button' name='addlimit' value='".DOWLAN_114."'/>
</div></form>"; </div></form>";
echo $txt; echo $txt;
@ -1385,7 +1385,7 @@ $columnInfo = array(
$text .= " </div>"; $text .= " </div>";
} }
$text .=" </div> $text .=" </div>
<input class='btn btn-default button' type='button' name='addoption' value='".DOWLAN_130."' onclick=\"duplicateHTML('mirror','mirrorsection')\"/> <input class='btn btn-default btn-secondary button' type='button' name='addoption' value='".DOWLAN_130."' onclick=\"duplicateHTML('mirror','mirrorsection')\"/>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -2019,7 +2019,7 @@ $columnInfo = array(
<input class='form-control input-xxlarge' type='text' id='mirror_image' name='mirror_image' size='60' value='{$mirror_image}' maxlength='200'/> <input class='form-control input-xxlarge' type='text' id='mirror_image' name='mirror_image' size='60' value='{$mirror_image}' maxlength='200'/>
<br /><input class='btn btn-default button' type ='button' style='cursor:pointer' size='30' value='".DOWLAN_42."' onclick='expandit(this)'/> <br /><input class='btn btn-default btn-secondary button' type ='button' style='cursor:pointer' size='30' value='".DOWLAN_42."' onclick='expandit(this)'/>
<div id='imagefile' style='display:none;{head}'>"; <div id='imagefile' style='display:none;{head}'>";
$text .= DOWLAN_140."<br/>"; $text .= DOWLAN_140."<br/>";
@ -2048,7 +2048,7 @@ $columnInfo = array(
<tr> <tr>
<td colspan='2' class='forumheader' style='text-align:center;'> <td colspan='2' class='forumheader' style='text-align:center;'>
".($edit ? "<input class='btn btn-default button' type='submit' name='submit_mirror' value='".DOWLAN_142."'/><input type='hidden' name='id' value='{$mirror_id}'/>" : "<input class='btn button' type='submit' name='submit_mirror' value='".DOWLAN_143."'/>")." ".($edit ? "<input class='btn btn-default btn-secondary button' type='submit' name='submit_mirror' value='".DOWLAN_142."'/><input type='hidden' name='id' value='{$mirror_id}'/>" : "<input class='btn button' type='submit' name='submit_mirror' value='".DOWLAN_143."'/>")."
</td> </td>
</tr> </tr>
@ -2240,7 +2240,7 @@ $columnInfo = array(
</div> </div>
</div> </div>
<div class='buttons-bar center'> <div class='buttons-bar center'>
<input class='btn btn-default button' type='submit' name='updatedownlaodoptions' value='".DOWLAN_64."'/> <input class='btn btn-default btn-secondary button' type='submit' name='updatedownlaodoptions' value='".DOWLAN_64."'/>
</div> </div>
</div> </div>

View File

@ -135,8 +135,8 @@ if ($action == "delete_poll")
".LAN_FORUM_5009." ".LAN_FORUM_5009."
<br /><br /> <br /><br />
<form method='post' action='".e_SELF."?".e_QUERY."'> <form method='post' action='".e_SELF."?".e_QUERY."'>
<input class='btn btn-default button' type='submit' name='deletecancel' value='".LAN_CANCEL."' /> <input class='btn btn-default btn-secondary button' type='submit' name='deletecancel' value='".LAN_CANCEL."' />
<input class='btn btn-default button' type='submit' name='deletepollconfirm' value='".LAN_FORUM_5010."' /> <input class='btn btn-default btn-secondary button' type='submit' name='deletepollconfirm' value='".LAN_FORUM_5010."' />
</form> </form>
</div>"; </div>";
$ns->tablerender(LAN_UI_DELETE_LABEL, $text); $ns->tablerender(LAN_UI_DELETE_LABEL, $text);

View File

@ -447,7 +447,7 @@ class forum_post_handler
<input class='tbox' name='file_userfile[]' type='file' size='47' /> <input class='tbox' name='file_userfile[]' type='file' size='47' />
</span> </span>
</div> </div>
<input class='btn btn-default button' type='button' name='addoption' value='".LAN_FORUM_3020."' onclick=\"duplicateHTML('fiupopt','fiupsection')\" /> <input class='btn btn-default btn-secondary button' type='button' name='addoption' value='".LAN_FORUM_3020."' onclick=\"duplicateHTML('fiupopt','fiupsection')\" />
</td> </td>
</tr> </tr>
"; ";
@ -725,7 +725,7 @@ class forum_post_handler
</table> </table>
<div class='center'> <div class='center'>
<input class='btn btn-primary button' type='submit' name='split_thread' value=\"".LAN_FORUM_3052."\" /> <input class='btn btn-primary button' type='submit' name='split_thread' value=\"".LAN_FORUM_3052."\" />
<a class='btn btn-default button' href='".$_SERVER['HTTP_REFERER']."' >".LAN_CANCEL."</a> <a class='btn btn-default btn-secondary button' href='".$_SERVER['HTTP_REFERER']."' >".LAN_CANCEL."</a>
</div> </div>
</div> </div>
@ -843,7 +843,7 @@ class forum_post_handler
</table> </table>
<div class='center'> <div class='center'>
<input class='btn btn-primary button' type='submit' name='move_thread' value='".LAN_FORUM_5019."' /> <input class='btn btn-primary button' type='submit' name='move_thread' value='".LAN_FORUM_5019."' />
<a class='btn btn-default button' href='".$_SERVER['HTTP_REFERER']."' >".LAN_CANCEL."</a> <a class='btn btn-default btn-secondary button' href='".$_SERVER['HTTP_REFERER']."' >".LAN_CANCEL."</a>
</div> </div>
</div> </div>
@ -955,7 +955,7 @@ class forum_post_handler
<td style='text-align:center;'><textarea cols='40' rows='10' class='tbox' name='report_add'></textarea></td> <td style='text-align:center;'><textarea cols='40' rows='10' class='tbox' name='report_add'></textarea></td>
</tr> </tr>
<tr> <tr>
<td colspan='2' style='text-align:center;'><br /><input class='btn btn-default button' type='submit' name='report_thread' value='".LAN_FORUM_2029."' /></td> <td colspan='2' style='text-align:center;'><br /><input class='btn btn-default btn-secondary button' type='submit' name='report_thread' value='".LAN_FORUM_2029."' /></td>
</tr> </tr>
</table> </table>
</form>"; </form>";

View File

@ -103,7 +103,7 @@ if(is_array($fileList))
} }
else else
{ {
$txt .= "<td class='forumheader3'>".LAN_FORUM_7008." <input class='btn btn-default button' type='submit' name='delete[{$finfo['fname']}]' value='".LAN_DELETE."' /></td>"; $txt .= "<td class='forumheader3'>".LAN_FORUM_7008." <input class='btn btn-default btn-secondary button' type='submit' name='delete[{$finfo['fname']}]' value='".LAN_DELETE."' /></td>";
} }
$txt .= "</tr>"; $txt .= "</tr>";
} }

View File

@ -972,7 +972,7 @@ function forumjump()
{ {
$text .= "\n<option value='".e107::url('forum','forum',$val, 'full')."'>".$val['forum_name']."</option>"; $text .= "\n<option value='".e107::url('forum','forum',$val, 'full')."'>".$val['forum_name']."</option>";
} }
$text .= "</select> <input class='btn btn-default button' type='submit' name='fjsubmit' value='".LAN_GO."' /></form>"; $text .= "</select> <input class='btn btn-default btn-secondary button' type='submit' name='fjsubmit' value='".LAN_GO."' /></form>";
return $text; return $text;
} }
@ -984,7 +984,7 @@ function fadminoptions($thread_info)
$tp = e107::getParser(); $tp = e107::getParser();
// $text = "<form method='post' action='".e_REQUEST_URI."' id='frmMod_{$forumId}_{$threadId}' style='margin:0;'>"; // $text = "<form method='post' action='".e_REQUEST_URI."' id='frmMod_{$forumId}_{$threadId}' style='margin:0;'>";
$text = '<div class="btn-group"><button class="btn btn-default btn-sm btn-mini dropdown-toggle" data-toggle="dropdown"> $text = '<div class="btn-group"><button class="btn btn-default btn-secondary btn-sm btn-mini dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span> <span class="caret"></span>
</button> </button>
<ul class="dropdown-menu pull-right"> <ul class="dropdown-menu pull-right">

View File

@ -181,7 +181,7 @@ class forum_shortcodes extends e_shortcode
<input type='hidden' name='forum' value='all' /> <input type='hidden' name='forum' value='all' />
<input class='tbox form-control' type='text' name='q' size='20' value='' maxlength='50' /> <input class='tbox form-control' type='text' name='q' size='20' value='' maxlength='50' />
<span class='input-group-btn'> <span class='input-group-btn'>
<button class='btn btn-default button' type='submit' name='s' value='search' >".$srchIcon."</button> <button class='btn btn-default btn-secondary button' type='submit' name='s' value='search' >".$srchIcon."</button>
</span> </span>
</div> </div>

View File

@ -67,7 +67,7 @@ class plugin_forum_post_shortcodes extends e_shortcode
{ {
$text .= "\n<option value='".e107::url('forum','forum', $val)."'>".$val['forum_name']."</option>"; $text .= "\n<option value='".e107::url('forum','forum', $val)."'>".$val['forum_name']."</option>";
} }
$text .= "</select><input class='btn btn-default button' type='submit' name='fjsubmit' value='".LAN_GO."' /></p></div></form>"; $text .= "</select><input class='btn btn-default btn-secondary button' type='submit' name='fjsubmit' value='".LAN_GO."' /></p></div></form>";
return $text; return $text;
@ -184,7 +184,7 @@ class plugin_forum_post_shortcodes extends e_shortcode
function sc_forum_post_buttons() function sc_forum_post_buttons()
{ {
$ret = "<input class='btn btn-default button' type='submit' name='fpreview' value='".LAN_FORUM_3005."' /> "; $ret = "<input class='btn btn-default btn-secondary button' type='submit' name='fpreview' value='".LAN_FORUM_3005."' /> ";
if($this->var['action'] == 'edit') if($this->var['action'] == 'edit')
{ {

View File

@ -782,8 +782,8 @@
// e_HTTP.'user.php?id.'.$this->postInfo['post_user'] // e_HTTP.'user.php?id.'.$this->postInfo['post_user']
$text = '<div class="btn-group "> $text = '<div class="btn-group ">
<a class="btn btn-default btn-sm btn-small" href="' . $userUrl . '">' . $username . '</a> <a class="btn btn-default btn-secondary btn-sm btn-small" href="' . $userUrl . '">' . $username . '</a>
<button class="btn btn-default btn-sm btn-small dropdown-toggle" data-toggle="dropdown"> <button class="btn btn-default btn-secondary btn-sm btn-small dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span> <span class="caret"></span>
</button> </button>
<ul class="dropdown-menu left"> <ul class="dropdown-menu left">
@ -831,7 +831,7 @@
// {EMAILITEM} {PRINTITEM} {REPORTIMG}{EDITIMG}{QUOTEIMG} // {EMAILITEM} {PRINTITEM} {REPORTIMG}{EDITIMG}{QUOTEIMG}
$text = '<div class="btn-group pull-right"> $text = '<div class="btn-group pull-right">
<button class="btn btn-default btn-sm btn-small dropdown-toggle" data-toggle="dropdown"> <button class="btn btn-default btn-secondary btn-sm btn-small dropdown-toggle" data-toggle="dropdown">
' . LAN_FORUM_8013 . ' ' . LAN_FORUM_8013 . '
<span class="caret"></span> <span class="caret"></span>
</button> </button>
@ -930,11 +930,11 @@
if($prev !== false) if($prev !== false)
{ {
$options[] = "<a class='btn btn-default btn-sm btn-small' href='" . e107::url('forum', 'topic', $prev) . "'>&laquo; " . LAN_FORUM_2001 . "</a>"; $options[] = "<a class='btn btn-default btn-secondary btn-sm btn-small' href='" . e107::url('forum', 'topic', $prev) . "'>&laquo; " . LAN_FORUM_2001 . "</a>";
} }
if($next !== false) if($next !== false)
{ {
$options[] = "<a class='btn btn-default btn-sm btn-small' href='" . e107::url('forum', 'topic', $next) . "'>" . LAN_FORUM_2002 . " &raquo;</a>"; $options[] = "<a class='btn btn-default btn-secondary btn-sm btn-small' href='" . e107::url('forum', 'topic', $next) . "'>" . LAN_FORUM_2002 . " &raquo;</a>";
} }
//---- $tVars->NEXTPREV = implode(" | ", $options); //---- $tVars->NEXTPREV = implode(" | ", $options);
@ -1167,7 +1167,7 @@
{ {
$text .= "\n<option value='" . e107::url('forum', 'forum', $val) . "'>" . $val['forum_name'] . "</option>"; $text .= "\n<option value='" . e107::url('forum', 'forum', $val) . "'>" . $val['forum_name'] . "</option>";
} }
$text .= "</select> <input class='btn btn-default button' type='submit' name='fjsubmit' value='" . LAN_GO . "' /></p></form>"; $text .= "</select> <input class='btn btn-default btn-secondary button' type='submit' name='fjsubmit' value='" . LAN_GO . "' /></p></form>";
return $text; return $text;
} }

View File

@ -289,7 +289,7 @@
<form method='get' class='form-inline input-append' action='" . e_BASE . "search.php'> <form method='get' class='form-inline input-append' action='" . e_BASE . "search.php'>
<p> <p>
<input class='tbox' type='text' name='q' size='20' value='' maxlength='50' /> <input class='tbox' type='text' name='q' size='20' value='' maxlength='50' />
<button class='btn btn-default button' type='submit' name='s' >" . LAN_SEARCH . "</button> <button class='btn btn-default btn-secondary button' type='submit' name='s' >" . LAN_SEARCH . "</button>
<input type='hidden' name='r' value='0' /> <input type='hidden' name='r' value='0' />
<input type='hidden' name='ref' value='forum' /> <input type='hidden' name='ref' value='forum' />
</p> </p>
@ -337,7 +337,7 @@
{ {
$text .= "\n<option value='" . e107::url('forum', 'forum', $val, 'full') . "'>" . $val['forum_name'] . "</option>"; $text .= "\n<option value='" . e107::url('forum', 'forum', $val, 'full') . "'>" . $val['forum_name'] . "</option>";
} }
$text .= "</select> <input class='btn btn-default button' type='submit' name='fjsubmit' value='" . LAN_GO . "' /></form>"; $text .= "</select> <input class='btn btn-default btn-secondary button' type='submit' name='fjsubmit' value='" . LAN_GO . "' /></form>";
return $text; return $text;
} }

View File

@ -66,7 +66,7 @@ function gallery_load_prettyphoto() // @lonalore FIXME Stop loading this on ever
if(vartrue($plugPref['downloadable'], false)) if(vartrue($plugPref['downloadable'], false))
{ {
$settings['prettyphoto']['image_markup'] .= '<span class="download-btn">'; $settings['prettyphoto']['image_markup'] .= '<span class="download-btn">';
$settings['prettyphoto']['image_markup'] .= '<a class="btn btn-default btn-xs" href="{path}">' . LAN_DOWNLOAD . '</a>'; $settings['prettyphoto']['image_markup'] .= '<a class="btn btn-default btn-secondary btn-xs" href="{path}">' . LAN_DOWNLOAD . '</a>';
$settings['prettyphoto']['image_markup'] .= '</span>'; $settings['prettyphoto']['image_markup'] .= '</span>';
} }

View File

@ -66,7 +66,7 @@ $GALLERY_TEMPLATE['slideshow_wrapper'] = '
</div> </div>
<div class="gallery-slideshow-controls"> <div class="gallery-slideshow-controls">
<a href="#" class="gallery-control gal-next btn btn-xs btn-default pull-right"> <a href="#" class="gallery-control gal-next btn btn-xs btn-default btn-secondary pull-right">
' . LAN_NEXT . ' {GLYPH=fa-chevron-right} ' . LAN_NEXT . ' {GLYPH=fa-chevron-right}
</a> </a>
<a href="#" class="gallery-control gal-prev btn btn-xs btn-default"> <a href="#" class="gallery-control gal-prev btn btn-xs btn-default">

View File

@ -165,7 +165,7 @@ class gsitemap
<td class='center' style='white-space:nowrap'> <td class='center' style='white-space:nowrap'>
<div> <div>
<button class='btn btn-default' type='submit' name='edit[{$row2['gsitemap_id']}]' value='edit' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:0px' >".ADMIN_EDIT_ICON."</button> <button class='btn btn-default' type='submit' name='edit[{$row2['gsitemap_id']}]' value='edit' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:0px' >".ADMIN_EDIT_ICON."</button>
<button class='btn btn-default action delete' type='submit' name='delete[{$row2['gsitemap_id']}]' value='del' data-confirm='".$tp->toJS(LAN_CONFIRMDEL." [".$row2['gsitemap_name']."]")."' title='".LAN_DELETE."' >".ADMIN_DELETE_ICON."</button> <button class='btn btn-default btn-secondary action delete' type='submit' name='delete[{$row2['gsitemap_id']}]' value='del' data-confirm='".$tp->toJS(LAN_CONFIRMDEL." [".$row2['gsitemap_name']."]")."' title='".LAN_DELETE."' >".ADMIN_DELETE_ICON."</button>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -156,7 +156,7 @@ e107::getLanguage()->bcDefs($bcDefs);
function sc_lm_loginbutton($parm='') function sc_lm_loginbutton($parm='')
{ {
return "<input class='button btn btn-default login' type='submit' name='userlogin' id='userlogin' value='".LAN_LOGIN."' />"; return "<input class='button btn btn-default btn-secondary login' type='submit' name='userlogin' id='userlogin' value='".LAN_LOGIN."' />";
} }
function sc_lm_rememberme($parm='') function sc_lm_rememberme($parm='')

View File

@ -129,7 +129,7 @@ if(false === $cached)
{ {
if(!$parms['showarchive']) if(!$parms['showarchive'])
{ {
$footer = '<div class="e-menu-link news-menu-archive"><a class="btn btn-default btn-sm" href="'.e_PLUGIN_ABS.'blogcalendar_menu/archive.php">'.BLOGCAL_L2.'</a></div>'; $footer = '<div class="e-menu-link news-menu-archive"><a class="btn btn-default btn-secondary btn-sm" href="'.e_PLUGIN_ABS.'blogcalendar_menu/archive.php">'.BLOGCAL_L2.'</a></div>';
$ns->setContent('footer', $footer); $ns->setContent('footer', $footer);
$cached .= $footer; $cached .= $footer;

View File

@ -151,8 +151,8 @@ class newsletter
<td>".$data['newsletter_title']."</td> <td>".$data['newsletter_title']."</td>
<td>".((substr_count($data['newsletter_subscribers'], chr(1))!= 0)?"<a href='".e_SELF."?vs.".$data['newsletter_id']."'>".substr_count($data['newsletter_subscribers'], chr(1))."</a>":substr_count($data['newsletter_subscribers'], chr(1)))."</td> <td>".((substr_count($data['newsletter_subscribers'], chr(1))!= 0)?"<a href='".e_SELF."?vs.".$data['newsletter_id']."'>".substr_count($data['newsletter_subscribers'], chr(1))."</a>":substr_count($data['newsletter_subscribers'], chr(1)))."</td>
<td> <td>
<a class='btn btn-default btn-large' href='".e_SELF."?edit.".$data['newsletter_id']."'>".ADMIN_EDIT_ICON."</a> <a class='btn btn-default btn-secondary btn-large' href='".e_SELF."?edit.".$data['newsletter_id']."'>".ADMIN_EDIT_ICON."</a>
<input class='btn btn-default btn-large' type='image' title='".LAN_DELETE."' name='delete[newsletter_".$data['newsletter_id']."]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL." [ID: ".$data['newsletter_id']." ]")."') \"/> <input class='btn btn-default btn-secondary btn-large' type='image' title='".LAN_DELETE."' name='delete[newsletter_".$data['newsletter_id']."]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL." [ID: ".$data['newsletter_id']." ]")."') \"/>
</td> </td>
</tr> </tr>
@ -200,7 +200,7 @@ class newsletter
<td>".$data['newsletter_id']."</td> <td>".$data['newsletter_id']."</td>
<td>".$data['newsletter_issue']."</td> <td>".$data['newsletter_issue']."</td>
<td>[ ".$data['newsletter_parent']." ] ".$data['newsletter_title']."</td> <td>[ ".$data['newsletter_parent']." ] ".$data['newsletter_title']."</td>
<td>".($data['newsletter_flag'] ? LAN_YES : "<input class='btn btn-default button' type='submit' name='nlmailnow_".$data['newsletter_id']."' value='".NLLAN_17."' onclick=\"return jsconfirm('".$tp->toJS(NLLAN_18)."') \" />")."</td> <td>".($data['newsletter_flag'] ? LAN_YES : "<input class='btn btn-default btn-secondary button' type='submit' name='nlmailnow_".$data['newsletter_id']."' value='".NLLAN_17."' onclick=\"return jsconfirm('".$tp->toJS(NLLAN_18)."') \" />")."</td>
<td><a class='btn btn-large' href='".e_SELF."?edit.".$data['newsletter_id']."'>".ADMIN_EDIT_ICON."</a><input type='image' title='".LAN_DELETE."' name='delete[issue_".$data['newsletter_id']."]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm('".$tp->toJS(NLLAN_19." [ID: ".$data['newsletter_id']." ]")."') \"/> <td><a class='btn btn-large' href='".e_SELF."?edit.".$data['newsletter_id']."'>".ADMIN_EDIT_ICON."</a><input type='image' title='".LAN_DELETE."' name='delete[issue_".$data['newsletter_id']."]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm('".$tp->toJS(NLLAN_19." [ID: ".$data['newsletter_id']." ]")."') \"/>
</td> </td>
@ -611,7 +611,7 @@ class newsletter
{ {
$mes->addError(NLLAN_56); $mes->addError(NLLAN_56);
$vs_text .= "<div class='buttons-bar center'> $vs_text .= "<div class='buttons-bar center'>
<input class='btn btn-default button' type=button value='".LAN_BACK."' onClick=\"window.location='".e_SELF."'\"> <input class='btn btn-default btn-secondary button' type=button value='".LAN_BACK."' onClick=\"window.location='".e_SELF."'\">
</div>"; </div>";
$ns -> tablerender(NLLAN_65.' '.$p_id, $mes->render() . $vs_text); $ns -> tablerender(NLLAN_65.' '.$p_id, $mes->render() . $vs_text);
return; return;

View File

@ -84,13 +84,13 @@ foreach($newsletterArray as $nl)
if(preg_match("#".chr(1).USERID."(".chr(1)."|$)#si", $nl['newsletter_subscribers'])) if(preg_match("#".chr(1).USERID."(".chr(1)."|$)#si", $nl['newsletter_subscribers']))
{ {
$text .= NLLAN_48."<br /><br /> $text .= NLLAN_48."<br /><br />
<input class='btn btn-default button' type='submit' name='nlUnsubscribe_".$nl['newsletter_id']."' value='".NLLAN_51."' onclick=\"return jsconfirm('".$tp->toJS(NLLAN_49)."') \" /> <input class='btn btn-default btn-secondary button' type='submit' name='nlUnsubscribe_".$nl['newsletter_id']."' value='".NLLAN_51."' onclick=\"return jsconfirm('".$tp->toJS(NLLAN_49)."') \" />
"; ";
} }
else else
{ {
$text .= NLLAN_50." <b>".USEREMAIL."</b>)<br /><br /> $text .= NLLAN_50." <b>".USEREMAIL."</b>)<br /><br />
<input class='btn btn-default button' type='submit' name='nlSubscribe_".$nl['newsletter_id']."' value='".NLLAN_52."' onclick=\"return jsconfirm('".$tp->toJS(NLLAN_53)."') \" /> <input class='btn btn-default btn-secondary button' type='submit' name='nlSubscribe_".$nl['newsletter_id']."' value='".NLLAN_52."' onclick=\"return jsconfirm('".$tp->toJS(NLLAN_53)."') \" />
"; ";
} }
$nl_count = $sql->count('newsletter', "(*)", "WHERE newsletter_parent='".$nl['newsletter_id']."' AND newsletter_flag='1'"); $nl_count = $sql->count('newsletter', "(*)", "WHERE newsletter_parent='".$nl['newsletter_id']."' AND newsletter_flag='1'");

View File

@ -94,7 +94,7 @@ else
if($limit_start + $page_size < $nl_count) if($limit_start + $page_size < $nl_count)
{ {
$text .= "<form id='nl' method='post' action='".e_PLUGIN."newsletter/nl_archive.php?showp.".$action_parent_id."'> $text .= "<form id='nl' method='post' action='".e_PLUGIN."newsletter/nl_archive.php?showp.".$action_parent_id."'>
<br /><input class='btn btn-default button' name='submit' type='submit' value='View older newsletters in archive'/> <br /><input class='btn btn-default btn-secondary button' name='submit' type='submit' value='View older newsletters in archive'/>
<input type='hidden' name='limit_start' value='".$limit_start."'/></form>"; <input type='hidden' name='limit_start' value='".$limit_start."'/></form>";
} }
} }
@ -116,7 +116,7 @@ else
// Display parent footer // Display parent footer
$text .= "$parent_newsletter_footer<br />"; $text .= "$parent_newsletter_footer<br />";
// Display back to newsletter overview button // Display back to newsletter overview button
$text .= "<br /><a href='javascript:history.go(-1);'><input class='btn btn-default button' type='submit' value='".NLLAN_71."'</a>"; $text .= "<br /><a href='javascript:history.go(-1);'><input class='btn btn-default btn-secondary button' type='submit' value='".NLLAN_71."'</a>";
} }
else else
{ {

View File

@ -72,7 +72,7 @@ $text = $pg->sc_page_navigation($parm);
if($expandable) if($expandable)
{ {
e107::js('page','js/jquery.page.navigation.js','jquery'); e107::js('page','js/jquery.page.navigation.js','jquery');
$template['caption'] .= "<span class='btn-group pull-right'><a class='btn btn-default btn-xs btn-mini' id='page-nav-expand'>+</a><a class='btn btn-default btn-xs btn-mini' id='page-nav-collapse'>-</a></span>"; $template['caption'] .= "<span class='btn-group pull-right'><a class='btn btn-default btn-secondary btn-xs btn-mini' id='page-nav-expand'>+</a><a class='btn btn-default btn-secondary btn-xs btn-mini' id='page-nav-collapse'>-</a></span>";
} }

View File

@ -556,7 +556,7 @@ if(!class_exists('plugin_pm_pm_shortcodes'))
{ {
$icon = (deftrue('FONTAWESOME')) ? e107::getParser()->toGlyph('fa-user-plus','fw=1') : "<img src='".e_PLUGIN_ABS."pm/images/mail_unblock.png' alt='".LAN_PM_51."' class='icon S16' />"; $icon = (deftrue('FONTAWESOME')) ? e107::getParser()->toGlyph('fa-user-plus','fw=1') : "<img src='".e_PLUGIN_ABS."pm/images/mail_unblock.png' alt='".LAN_PM_51."' class='icon S16' />";
return "<a class='btn btn-default btn-danger' href='".$this->url('action/unblock', 'id='.$this->var['pm_from'])."' title='".LAN_PM_51."'>".$icon."</a>"; return "<a class='btn btn-default btn-secondary btn-danger' href='".$this->url('action/unblock', 'id='.$this->var['pm_from'])."' title='".LAN_PM_51."'>".$icon."</a>";
} }
else else
{ {
@ -721,7 +721,7 @@ if(!class_exists('plugin_pm_pm_shortcodes'))
public function sc_pm_delete_blocked_selected() public function sc_pm_delete_blocked_selected()
{ {
return "<input type='submit' name='pm_delete_blocked_selected' class='btn btn-default button' value='".LAN_PM_53."' />"; return "<input type='submit' name='pm_delete_blocked_selected' class='btn btn-default btn-secondary button' value='".LAN_PM_53."' />";
} }

View File

@ -210,8 +210,8 @@ function poll_list()
$text .= " $text .= "
<td class='center' style='white-space:nowrap'> <td class='center' style='white-space:nowrap'>
<button class='btn btn-default btn-large' type='submit' name='edit[{$poll_id}]' value='edit' alt='".LAN_EDIT."' title='".LAN_EDIT."' >".ADMIN_EDIT_ICON."</button> <button class='btn btn-default btn-secondary btn-large' type='submit' name='edit[{$poll_id}]' value='edit' alt='".LAN_EDIT."' title='".LAN_EDIT."' >".ADMIN_EDIT_ICON."</button>
<button class='btn btn-default btn-large action delete' type='submit' name='delete[$poll_id]' value='del' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL." [".$poll_id."]")."') \" title='".LAN_DELETE."' >".ADMIN_DELETE_ICON."</button> <button class='btn btn-default btn-secondary btn-large action delete' type='submit' name='delete[$poll_id]' value='del' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL." [".$poll_id."]")."') \" title='".LAN_DELETE."' >".ADMIN_DELETE_ICON."</button>
</td> </td>
</tr>"; </tr>";
} }

View File

@ -769,7 +769,7 @@ class poll
$text .=" $text .="
</div> </div>
<input class='btn btn-default button' type='button' name='addoption' value='".LAN_ADD_MORE."' onclick=\"duplicateHTML('pollopt','pollsection')\" /><br /> <input class='btn btn-default btn-secondary button' type='button' name='addoption' value='".LAN_ADD_MORE."' onclick=\"duplicateHTML('pollopt','pollsection')\" /><br />
</td> </td>
</tr> </tr>
<tr> <tr>
@ -1057,7 +1057,7 @@ class poll_shortcodes extends e_shortcode
if (('preview' == $this->pollType || $this->pollPreview == true) && strpos(e_REQUEST_SELF, "forum") === false) if (('preview' == $this->pollType || $this->pollPreview == true) && strpos(e_REQUEST_SELF, "forum") === false)
{ {
return "<input class='button btn btn-default e-tip' type='button' name='null' title='".LAN_SUBMIT."' value='".LAN_SUBMIT."' />"; return "<input class='button btn btn-default btn-secondary e-tip' type='button' name='null' title='".LAN_SUBMIT."' value='".LAN_SUBMIT."' />";
} }
return "<input class='button btn btn-primary' type='submit' name='pollvote' value='".LAN_SUBMIT."' />"; return "<input class='button btn btn-primary' type='submit' name='pollvote' value='".LAN_SUBMIT."' />";

View File

@ -52,7 +52,7 @@ if (isset($custom_query[1]) && $custom_query[1] != '')
} }
else else
{ {
$search_button = "<input class='btn btn-default button search' type='submit' name='s' value='".LAN_SEARCH."' />"; $search_button = "<input class='btn btn-default btn-secondary button search' type='submit' name='s' value='".LAN_SEARCH."' />";
} }
if (isset($custom_query[5]) && $custom_query[5]) { if (isset($custom_query[5]) && $custom_query[5]) {

View File

@ -304,7 +304,7 @@ class social_shortcodes extends e_shortcode
$twitterAccount = basename(XURL_TWITTER); $twitterAccount = basename(XURL_TWITTER);
$btnClass = varset($parm['btnClass'], 'btn btn-default social-share'); $btnClass = varset($parm['btnClass'], 'btn btn-default btn-secondary social-share');
// return print_a($hashtags,true); // return print_a($hashtags,true);
foreach($providers as $k=>$val) foreach($providers as $k=>$val)
@ -373,7 +373,7 @@ class social_shortcodes extends e_shortcode
$text = '<div class="social-share btn-group hidden-print '.$dir.'"> $text = '<div class="social-share btn-group hidden-print '.$dir.'">
<a class="'.$tooltip.' btn btn-dropdown btn-default btn-'.$size.' dropdown-toggle" data-toggle="dropdown" href="#" title="'.LAN_SOCIAL_204.'">'.$label.'</a> <a class="'.$tooltip.' btn btn-dropdown btn-default btn-secondary btn-'.$size.' dropdown-toggle" data-toggle="dropdown" href="#" title="'.LAN_SOCIAL_204.'">'.$label.'</a>
<ul class="dropdown-menu" role="menu" > <ul class="dropdown-menu" role="menu" >

View File

@ -718,7 +718,7 @@ function edit_theme()
</tr> </tr>
</table> </table>
<div class='buttons-bar center'>"; <div class='buttons-bar center'>";
$text .= "<input class='btn btn-default button' type='submit' name='save_settings' value='".LAN_SAVE."' />"; $text .= "<input class='btn btn-default btn-secondary button' type='submit' name='save_settings' value='".LAN_SAVE."' />";
$text .= " $text .= "
</div> </div>
</fieldset> </fieldset>

View File

@ -218,7 +218,7 @@ class e_bootstrap
</table> </table>
<div class='center'>". $frm->admin_button('insertButton','save','other',"Insert") ." <div class='center'>". $frm->admin_button('insertButton','save','other',"Insert") ."
<button class='btn btn-default ' id='e-cancel'>".LAN_CANCEL."</button> <button class='btn btn-default btn-secondary ' id='e-cancel'>".LAN_CANCEL."</button>
</div>"; </div>";

View File

@ -77,7 +77,7 @@ else
<td class='forumheader3' style='width: 10%;'><input type='checkbox' name='trackback_delete[]' value='$trackback_id' /> ".TRACKBACK_L14."</td> <td class='forumheader3' style='width: 10%;'><input type='checkbox' name='trackback_delete[]' value='$trackback_id' /> ".TRACKBACK_L14."</td>
</tr>\n"; </tr>\n";
} }
$text .= "<tr><td colspan='5' class='forumheader' style='text-align:center'><input class='btn btn-default button' type='submit' name='moderate' value='".TRACKBACK_L13."' /></td></tr></table></form></div>"; $text .= "<tr><td colspan='5' class='forumheader' style='text-align:center'><input class='btn btn-default btn-secondary button' type='submit' name='moderate' value='".TRACKBACK_L13."' /></td></tr></table></form></div>";
} }
$ns->tablerender(TRACKBACK_L13, $text); $ns->tablerender(TRACKBACK_L13, $text);

View File

@ -58,7 +58,7 @@ else
</select> </select>
<br /> <br />
<br /> <br />
<button class="btn btn-default button" type="submit" name="setlanguage" value="no-value"><span>'.UTHEME_MENU_L1.'</span></button>'; <button class="btn btn-default btn-secondary button" type="submit" name="setlanguage" value="no-value"><span>'.UTHEME_MENU_L1.'</span></button>';
$text .= ' $text .= '
</div> </div>
</form>'; </form>';

View File

@ -68,7 +68,7 @@ if ((USER == TRUE) && check_class(varset($pref['allow_theme_select'],FALSE)))
} }
$text .= "</select> $text .= "</select>
<br /><br /> <br /><br />
<input class='btn btn-default button' type='submit' name='settheme' value='".LAN_UMENU_THEME_1."' /> <input class='btn btn-default btn-secondary button' type='submit' name='settheme' value='".LAN_UMENU_THEME_1."' />
</div></form>"; </div></form>";
$ns->tablerender(LAN_UMENU_THEME_2, $text, 'usertheme'); $ns->tablerender(LAN_UMENU_THEME_2, $text, 'usertheme');

View File

@ -33,7 +33,7 @@ class theme_config implements e_theme_config
); );
$previewLink = " <a class='btn btn-default e-modal' data-modal-caption=\"Use the 'Themes' menu to view the selection.\" href='http://bootswatch.com/default/'>".LAN_PREVIEW."</a>"; $previewLink = " <a class='btn btn-default btn-secondary e-modal' data-modal-caption=\"Use the 'Themes' menu to view the selection.\" href='http://bootswatch.com/default/'>".LAN_PREVIEW."</a>";
$fields = array( $fields = array(
'branding' => array('title'=>LAN_THEMEPREF_00, 'type'=>'dropdown', 'writeParms'=>array('optArray'=> $brandingOpts)), 'branding' => array('title'=>LAN_THEMEPREF_00, 'type'=>'dropdown', 'writeParms'=>array('optArray'=> $brandingOpts)),

View File

@ -155,8 +155,8 @@ class theme_shortcodes extends e_shortcode
$text .= ' $text .= '
<a href="{LM_FPW_LINK=href}" class="btn btn-default btn-sm btn-block">'.LAN_LOGINMENU_4.'</a> <a href="{LM_FPW_LINK=href}" class="btn btn-default btn-secondary btn-sm btn-block">'.LAN_LOGINMENU_4.'</a>
<a href="{LM_RESEND_LINK=href}" class="btn btn-default btn-sm btn-block">'.LAN_LOGINMENU_40.'</a> <a href="{LM_RESEND_LINK=href}" class="btn btn-default btn-secondary btn-sm btn-block">'.LAN_LOGINMENU_40.'</a>
'; ';

View File

@ -24,7 +24,7 @@ $GALLERY_TEMPLATE['slideshow_wrapper'] = '
</div> </div>
<div class="gallery-slideshow-controls"> <div class="gallery-slideshow-controls">
<a href="#" class="gallery-control gal-next btn btn-xs btn-default pull-right"> <a href="#" class="gallery-control gal-next btn btn-xs btn-default btn-secondary pull-right">
' . LAN_NEXT . ' {GLYPH=fa-chevron-right} ' . LAN_NEXT . ' {GLYPH=fa-chevron-right}
</a> </a>
<a href="#" class="gallery-control gal-prev btn btn-xs btn-default"> <a href="#" class="gallery-control gal-prev btn btn-xs btn-default">

View File

@ -46,7 +46,7 @@
<h2 class="margin-top-0 text-primary">{CMENUTITLE}</h2> <h2 class="margin-top-0 text-primary">{CMENUTITLE}</h2>
<br> <br>
<p class="text-faded">{CMENUBODY}</p> <p class="text-faded">{CMENUBODY}</p>
<a href="{CMENUURL}" class="btn btn-default btn-xl page-scroll">{CMENUTEXT}</a> <a href="{CMENUURL}" class="btn btn-default btn-secondary btn-xl page-scroll">{CMENUTEXT}</a>
</div>'; </div>';
$MENU_TEMPLATE['sectionone']['end'] = ''; $MENU_TEMPLATE['sectionone']['end'] = '';
@ -93,7 +93,7 @@
$MENU_TEMPLATE['call-to-action']['body'] = ' $MENU_TEMPLATE['call-to-action']['body'] = '
<div class="call-to-action"> <div class="call-to-action">
<h2 class="text-primary">{CMENUTITLE}</h2> <h2 class="text-primary">{CMENUTITLE}</h2>
<a href="{CMENUURL}" target="ext" class="btn btn-default btn-lg wow flipInX">{CMENUTEXT}</a> <a href="{CMENUURL}" target="ext" class="btn btn-default btn-secondary btn-lg wow flipInX">{CMENUTEXT}</a>
</div> </div>
<br> <br>
<hr/> <hr/>

View File

@ -308,8 +308,8 @@ class theme_shortcodes extends e_shortcode
$text .= ' $text .= '
<a href="{LM_FPW_LINK=href}" class="btn btn-default btn-sm btn-block">'.LAN_LOGINMENU_4.'</a> <a href="{LM_FPW_LINK=href}" class="btn btn-default btn-secondary btn-sm btn-block">'.LAN_LOGINMENU_4.'</a>
<a href="{LM_RESEND_LINK=href}" class="btn btn-default btn-sm btn-block">'.LAN_LOGINMENU_40.'</a> <a href="{LM_RESEND_LINK=href}" class="btn btn-default btn-secondary btn-sm btn-block">'.LAN_LOGINMENU_40.'</a>
'; ';

View File

@ -169,8 +169,8 @@ class theme_shortcodes extends e_shortcode
$text .= ' $text .= '
<a href="{LM_FPW_LINK=href}" class="btn btn-default btn-sm btn-block">'.LAN_LOGINMENU_4.'</a> <a href="{LM_FPW_LINK=href}" class="btn btn-default btn-secondary btn-sm btn-block">'.LAN_LOGINMENU_4.'</a>
<a href="{LM_RESEND_LINK=href}" class="btn btn-default btn-sm btn-block">'.LAN_LOGINMENU_40.'</a> <a href="{LM_RESEND_LINK=href}" class="btn btn-default btn-secondary btn-sm btn-block">'.LAN_LOGINMENU_40.'</a>
'; ';

View File

@ -189,7 +189,7 @@ $text .= "
$text .= " $text .= "
<tr> <tr>
<td class='forumheader3' colspan='2' style='text-align:center'> <td class='forumheader3' colspan='2' style='text-align:center'>
<input class='btn btn-default button' type='submit' name='do_conversion' value='".'Parse Definition'."' /> <input class='btn btn-default btn-secondary button' type='submit' name='do_conversion' value='".'Parse Definition'."' />
</td> </td>
</tr>"; </tr>";

View File

@ -107,7 +107,7 @@ if (isset($_POST['show_password']))
$text .= " $text .= "
<tr> <tr>
<td class='forumheader3' colspan='3' style='text-align:center'> <td class='forumheader3' colspan='3' style='text-align:center'>
<input class='btn btn-default button' type='submit' name='show_password' value='".LAN_PCALC_04."' /> <input class='btn btn-default btn-secondary button' type='submit' name='show_password' value='".LAN_PCALC_04."' />
</td> </td>
</tr>"; </tr>";

View File

@ -277,7 +277,7 @@ $text =
$text .= " $text .= "
<tr> <tr>
<td class='forumheader3' colspan='3' style='text-align:center'> <td class='forumheader3' colspan='3' style='text-align:center'>
<input class='btn btn-default button' type='submit' name='GetOnWithIt' value='".LAN_PCONV_04."' /> <input class='btn btn-default btn-secondary button' type='submit' name='GetOnWithIt' value='".LAN_PCONV_04."' />
</td> </td>
</tr>"; </tr>";

View File

@ -278,7 +278,7 @@ if (isset($_POST['reset_core_sub']) && $_POST['mode'] == 1)
} }
echo " echo "
<tr> <tr>
<td colspan='2' style='text-align:center'><br /><input class='btn btn-default button' type='submit' name='coreedit_sub' value='Save Core Settings' /></td> <td colspan='2' style='text-align:center'><br /><input class='btn btn-default btn-secondary button' type='submit' name='coreedit_sub' value='Save Core Settings' /></td>
</tr> </tr>
</table> </table>
<input type='hidden' name='a_name' value='".$_POST['a_name']."' /> <input type='hidden' name='a_name' value='".$_POST['a_name']."' />
@ -318,7 +318,7 @@ echo "<span class='headertext2'>
<tr> <tr>
<td colspan='2' style='text-align:center'> <td colspan='2' style='text-align:center'>
<br /> <br />
<input class='btn btn-default button' type='submit' name='usubmit' value='Continue' /> <input class='btn btn-default btn-secondary button' type='submit' name='usubmit' value='Continue' />
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -229,7 +229,7 @@ $text .= "
<tr style='vertical-align:top'> <tr style='vertical-align:top'>
<td style='width:25%'></td> <td style='width:25%'></td>
<td style='width:75%'> <td style='width:75%'>
<input class='btn btn-default button' type='submit' name='emailsubmit' value='".LAN_EMAIL_4."' /> <input class='btn btn-default btn-secondary button' type='submit' name='emailsubmit' value='".LAN_EMAIL_4."' />
<input type='hidden' name='referer' value='".$referrer."' /> <input type='hidden' name='referer' value='".$referrer."' />
</td> </td>
</tr> </tr>

View File

@ -332,7 +332,7 @@ class e_install
{ {
// $this->form .= "<a class='btn btn-large ' href='javascript:history.go(-1)'>&laquo; ".LAN_BACK."</a>&nbsp;"; // $this->form .= "<a class='btn btn-large ' href='javascript:history.go(-1)'>&laquo; ".LAN_BACK."</a>&nbsp;";
$prevStage = ($this->stage - 1); $prevStage = ($this->stage - 1);
$e_forms->form .= "<button class='btn btn-default btn-large no-validate ' name='back' value='".$prevStage."' type='submit'>&laquo; ".LAN_BACK."</button>&nbsp;"; $e_forms->form .= "<button class='btn btn-default btn-secondary btn-large no-validate ' name='back' value='".$prevStage."' type='submit'>&laquo; ".LAN_BACK."</button>&nbsp;";
} }
if($id != 'back') if($id != 'back')
{ {

View File

@ -202,7 +202,7 @@ class search extends e_shortcode
{ {
if($this->search_prefs['selector'] == 1) if($this->search_prefs['selector'] == 1)
{ {
return "<input class='btn btn-default button' type='button' name='CheckAll' value='".LAN_SEARCH_1."' onclick='checkAll(this);' />"; return "<input class='btn btn-default btn-secondary button' type='button' name='CheckAll' value='".LAN_SEARCH_1."' onclick='checkAll(this);' />";
} }
} }
@ -210,7 +210,7 @@ class search extends e_shortcode
{ {
if($this->search_prefs['selector'] == 1) if($this->search_prefs['selector'] == 1)
{ {
return "<input class='btn btn-default button' type='button' name='UnCheckAll' value='".LAN_SEARCH_2."' onclick='uncheckAll(this); uncheckG();' />"; return "<input class='btn btn-default btn-secondary button' type='button' name='UnCheckAll' value='".LAN_SEARCH_2."' onclick='uncheckAll(this); uncheckG();' />";
} }
} }

View File

@ -258,8 +258,8 @@ elseif ($action == 'forums')
if($vars->NEXTPREV) $vars->NEXTPREV = str_replace('{USERPOSTS_NEXTPREV}', $vars->NEXTPREV, $USERPOSTS_TEMPLATE['np_table']); if($vars->NEXTPREV) $vars->NEXTPREV = str_replace('{USERPOSTS_NEXTPREV}', $vars->NEXTPREV, $USERPOSTS_TEMPLATE['np_table']);
$vars->USERPOSTS_FORUM_SEARCH_VALUE = htmlspecialchars($_POST['f_query'], ENT_QUOTES, CHARSET); $vars->USERPOSTS_FORUM_SEARCH_VALUE = htmlspecialchars($_POST['f_query'], ENT_QUOTES, CHARSET);
$vars->USERPOSTS_FORUM_SEARCH_FIELD = "<input class='tbox input' type='text' name='f_query' size='20' value='{$vars->USERPOSTS_FORUM_SEARCH_VALUE}' maxlength='50' />"; $vars->USERPOSTS_FORUM_SEARCH_FIELD = "<input class='tbox input' type='text' name='f_query' size='20' value='{$vars->USERPOSTS_FORUM_SEARCH_VALUE}' maxlength='50' />";
$vars->USERPOSTS_FORUM_SEARCH_BUTTON = "<input class='btn btn-default button' type='submit' name='fsearch' value='".UP_LAN_12."' />"; $vars->USERPOSTS_FORUM_SEARCH_BUTTON = "<input class='btn btn-default btn-secondary button' type='submit' name='fsearch' value='".UP_LAN_12."' />";
$vars->USERPOSTS_FORUM_SEARCH = "<input class='tbox' type='text' name='f_query' size='20' value='{$vars->USERPOSTS_FORUM_SEARCH_VALUE}' maxlength='50' /> <input class='btn btn-default button' type='submit' name='fsearch' value='".UP_LAN_12."' />"; $vars->USERPOSTS_FORUM_SEARCH = "<input class='tbox' type='text' name='f_query' size='20' value='{$vars->USERPOSTS_FORUM_SEARCH_VALUE}' maxlength='50' /> <input class='btn btn-default btn-secondary button' type='submit' name='fsearch' value='".UP_LAN_12."' />";
// $userposts_forum_table_start = preg_replace("/\{(.*?)\}/e", '$\1', $USERPOSTS_FORUM_TABLE_START); // $userposts_forum_table_start = preg_replace("/\{(.*?)\}/e", '$\1', $USERPOSTS_FORUM_TABLE_START);
$userposts_forum_table_start = $tp->simpleParse($USERPOSTS_TEMPLATE['forum_table_start'], $vars); $userposts_forum_table_start = $tp->simpleParse($USERPOSTS_TEMPLATE['forum_table_start'], $vars);