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

Comment class fixes. TODO - social share on submit.

This commit is contained in:
Cameron 2016-03-13 18:37:45 -07:00
parent 8d13c27638
commit f5e9a1345b
3 changed files with 9 additions and 9 deletions

View File

@ -431,13 +431,13 @@ class comment_shortcodes extends e_shortcode
list($prov,$id) = explode("_",$xup);
$prov = strtolower($prov);
if($prov == 'facebook' || $prov == 'twitter')
if($prov == 'facebook' || $prov == 'twitter') //TODO Get this working!
{
//TODO Move styling to e107.css
$text = "<img src='".e_IMAGE_ABS."xup/".$prov.".png' style='display:inline-block;width:26px;height:26px;vertical-align:middle' alt='Share' />";
$text .= e107::getForm()->checkbox('comment_share',$prov,true);
$text .= LAN_SHARE;
// $text = "<img src='".e_IMAGE_ABS."xup/".$prov.".png' style='display:inline-block;width:26px;height:26px;vertical-align:middle' alt='Share' />";
// $text .= e107::getForm()->checkbox('comment_share',$prov,true);
$text = e107::getForm()->hidden('comment_share','');
// $text .= LAN_SHARE;
return $text;
}
}

View File

@ -119,17 +119,17 @@ $COMMENT_TEMPLATE['form'] = "
$COMMENT_TEMPLATE['item'] = '
{SETIMAGE: w=100&h=100}
{SETIMAGE: w=80&h=80}
<div class="media-object comment-box-left pull-left span1">
{COMMENT_AVATAR}
</div>
<div class="media-body comment-box-right ">
<div class="row">
<div class="comment-box-username span2 col-md-2">{USERNAME}</div>
<div class="comment-box-username span2 col-md-3">{USERNAME}</div>
<div class="comment-box-date span2 col-md-2">{TIMEDATE=relative}</div>
<div class="comment-status span2 col-md-3">{COMMENT_STATUS}</div>
<div class="comment-moderate span6 col-md-5 text-right">{COMMENT_RATE} {REPLY} {COMMENTEDIT} {COMMENT_MODERATE}</div>
<div class="comment-moderate span6 col-md-4 text-right">{COMMENT_RATE} {REPLY} {COMMENTEDIT} {COMMENT_MODERATE}</div>
</div>

View File

@ -55,7 +55,7 @@ define("COMLAN_326", "Reply to this");
define("COMLAN_328", "Comments are locked");
define("COMLAN_329", "Unauthorized");
define("COMLAN_330", "IP:");
define("COMLAN_331", "Pending Approval");
define("COMLAN_331", "Awaiting Approval");
define("COMLAN_332", "Couldn't delete comment");
define("COMLAN_333", "Comment approved");
define("COMLAN_334", "Couldn't approve comment");