mirror of
https://github.com/e107inc/e107.git
synced 2025-08-28 08:39:57 +02:00
Issue #2970 btn-default > btn-default btn-secondary
This commit is contained in:
@@ -135,8 +135,8 @@ if ($action == "delete_poll")
|
||||
".LAN_FORUM_5009."
|
||||
<br /><br />
|
||||
<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 button' type='submit' name='deletepollconfirm' value='".LAN_FORUM_5010."' />
|
||||
<input class='btn btn-default btn-secondary button' type='submit' name='deletecancel' value='".LAN_CANCEL."' />
|
||||
<input class='btn btn-default btn-secondary button' type='submit' name='deletepollconfirm' value='".LAN_FORUM_5010."' />
|
||||
</form>
|
||||
</div>";
|
||||
$ns->tablerender(LAN_UI_DELETE_LABEL, $text);
|
||||
|
@@ -447,7 +447,7 @@ class forum_post_handler
|
||||
<input class='tbox' name='file_userfile[]' type='file' size='47' />
|
||||
</span>
|
||||
</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>
|
||||
</tr>
|
||||
";
|
||||
@@ -725,7 +725,7 @@ class forum_post_handler
|
||||
</table>
|
||||
<div class='center'>
|
||||
<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>
|
||||
@@ -843,7 +843,7 @@ class forum_post_handler
|
||||
</table>
|
||||
<div class='center'>
|
||||
<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>
|
||||
@@ -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>
|
||||
</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>
|
||||
</table>
|
||||
</form>";
|
||||
|
@@ -103,7 +103,7 @@ if(is_array($fileList))
|
||||
}
|
||||
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>";
|
||||
}
|
||||
|
@@ -972,7 +972,7 @@ function forumjump()
|
||||
{
|
||||
$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;
|
||||
}
|
||||
|
||||
@@ -984,7 +984,7 @@ function fadminoptions($thread_info)
|
||||
$tp = e107::getParser();
|
||||
|
||||
// $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>
|
||||
</button>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
|
@@ -181,7 +181,7 @@ class forum_shortcodes extends e_shortcode
|
||||
<input type='hidden' name='forum' value='all' />
|
||||
<input class='tbox form-control' type='text' name='q' size='20' value='' maxlength='50' />
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
@@ -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 .= "</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;
|
||||
|
||||
@@ -184,7 +184,7 @@ class plugin_forum_post_shortcodes extends e_shortcode
|
||||
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')
|
||||
{
|
||||
|
@@ -782,8 +782,8 @@
|
||||
// e_HTTP.'user.php?id.'.$this->postInfo['post_user']
|
||||
$text = '<div class="btn-group ">
|
||||
|
||||
<a class="btn btn-default btn-sm btn-small" href="' . $userUrl . '">' . $username . '</a>
|
||||
<button class="btn btn-default btn-sm btn-small dropdown-toggle" data-toggle="dropdown">
|
||||
<a class="btn btn-default btn-secondary btn-sm btn-small" href="' . $userUrl . '">' . $username . '</a>
|
||||
<button class="btn btn-default btn-secondary btn-sm btn-small dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu left">
|
||||
@@ -831,7 +831,7 @@
|
||||
// {EMAILITEM} {PRINTITEM} {REPORTIMG}{EDITIMG}{QUOTEIMG}
|
||||
|
||||
$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 . '
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
@@ -930,11 +930,11 @@
|
||||
|
||||
if($prev !== false)
|
||||
{
|
||||
$options[] = "<a class='btn btn-default btn-sm btn-small' href='" . e107::url('forum', 'topic', $prev) . "'>« " . LAN_FORUM_2001 . "</a>";
|
||||
$options[] = "<a class='btn btn-default btn-secondary btn-sm btn-small' href='" . e107::url('forum', 'topic', $prev) . "'>« " . LAN_FORUM_2001 . "</a>";
|
||||
}
|
||||
if($next !== false)
|
||||
{
|
||||
$options[] = "<a class='btn btn-default btn-sm btn-small' href='" . e107::url('forum', 'topic', $next) . "'>" . LAN_FORUM_2002 . " »</a>";
|
||||
$options[] = "<a class='btn btn-default btn-secondary btn-sm btn-small' href='" . e107::url('forum', 'topic', $next) . "'>" . LAN_FORUM_2002 . " »</a>";
|
||||
}
|
||||
|
||||
//---- $tVars->NEXTPREV = implode(" | ", $options);
|
||||
@@ -1167,7 +1167,7 @@
|
||||
{
|
||||
$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;
|
||||
}
|
||||
|
@@ -289,7 +289,7 @@
|
||||
<form method='get' class='form-inline input-append' action='" . e_BASE . "search.php'>
|
||||
<p>
|
||||
<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='ref' value='forum' />
|
||||
</p>
|
||||
@@ -337,7 +337,7 @@
|
||||
{
|
||||
$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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user