mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Font-Awesome CDN added (for now) and additional icons used in forum.
This commit is contained in:
@@ -688,12 +688,18 @@ function fadminoptions($thread_info)
|
||||
$id = intval($thread_info['thread_id']);
|
||||
|
||||
$lan = array('stick'=>'Stick','unstick'=>'Unstick','lock'=>"Lock", 'unlock'=>"Unlock");
|
||||
$icon = array(
|
||||
'unstick' => "<i class='icon-chevron-down'></i>",
|
||||
'stick' => "<i class='icon-chevron-up'></i>",
|
||||
'lock' => "<i class='icon-lock'></i>",
|
||||
'unlock' => "<i class='icon-unlock'></i>",
|
||||
);
|
||||
|
||||
|
||||
|
||||
$text .= "<li><a href='".e_REQUEST_URI."' data-forum-action='delete' data-forum-thread='".$id."'>Delete <i class='icon-trash'></i></a></li>";
|
||||
$text .= "<li><a href='".e_REQUEST_URI."' data-forum-action='".$stickUnstick."' data-forum-thread='".$id."'>".$lan[$stickUnstick]."</a></li>";
|
||||
$text .= "<li><a href='".e_REQUEST_URI."' data-forum-action='".$lockUnlock."' data-forum-thread='".$id."'>".$lan[$lockUnlock]." <i class='icon-lock'></i></a></li>";
|
||||
$text .= "<li><a href='".e_REQUEST_URI."' data-forum-action='".$stickUnstick."' data-forum-thread='".$id."'>".$lan[$stickUnstick]." ".$icon[$stickUnstick]."</a></li>";
|
||||
$text .= "<li><a href='".e_REQUEST_URI."' data-forum-action='".$lockUnlock."' data-forum-thread='".$id."'>".$lan[$lockUnlock]." ".$icon[$lockUnlock]."</a></li>";
|
||||
|
||||
$text .= "<li><a href='{$moveUrl}'>Move <i class='icon-move'></i></a></li>";
|
||||
|
||||
|
@@ -514,7 +514,7 @@ class plugin_forum_view_shortcodes extends e_shortcode
|
||||
}
|
||||
else
|
||||
{
|
||||
$text .= "<li><a href='" . e107::getUrl()->create('forum/thread/split', array('id' => $this->postInfo['post_id']))."'>".LAN_FORUM_2043."</a></li>";
|
||||
$text .= "<li><a href='" . e107::getUrl()->create('forum/thread/split', array('id' => $this->postInfo['post_id']))."'>".LAN_FORUM_2043." <i class='icon-cut'></i></a></li>";
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -37,6 +37,7 @@ else
|
||||
|
||||
e107::css('bootstrap','bootstrap-responsive.min.css');
|
||||
e107::css('bootstrap','jquery-ui.custom.css');
|
||||
e107::css('url', "//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css");
|
||||
|
||||
e107::css('theme', 'js/google-code-prettify/prettify.css');
|
||||
e107::js('theme', "js/google-code-prettify/prettify.js");
|
||||
|
Reference in New Issue
Block a user