mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Poll GUI and template fix.
This commit is contained in:
@@ -240,7 +240,7 @@ class pluginManager{
|
|||||||
// "plugin_release" => array("title" => EPL_ADLAN_81, "type"=>"text", "width" => "5%", "thclass" => "middle center", "url" => ""),
|
// "plugin_release" => array("title" => EPL_ADLAN_81, "type"=>"text", "width" => "5%", "thclass" => "middle center", "url" => ""),
|
||||||
// "plugin_notes" => array("title" => EPL_ADLAN_83, "type"=>"url", "width" => "5%", "thclass" => "middle center", "url" => ""),
|
// "plugin_notes" => array("title" => EPL_ADLAN_83, "type"=>"url", "width" => "5%", "thclass" => "middle center", "url" => ""),
|
||||||
|
|
||||||
"options" => array("title" => LAN_OPTIONS, 'forced'=>TRUE, 'type'=> 'method', "width" => "15%", "thclass" => "center last", 'class'=>'center'),
|
"options" => array("title" => LAN_OPTIONS, 'forced'=>TRUE, 'type'=> 'method', "width" => "15%", "thclass" => "right last", 'class'=>'right'),
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@@ -545,7 +545,7 @@ class poll
|
|||||||
if ($type == 'preview')
|
if ($type == 'preview')
|
||||||
{
|
{
|
||||||
$caption = POLLAN_23.SEP."Preview";
|
$caption = POLLAN_23.SEP."Preview";
|
||||||
$text = "<div style='text-align:center; margin-left: auto; margin-right: auto;'>\n<table style='width:350px' class='fborder'>\n<tr>\n<td>\n$text\n</td></tr></table></div>";
|
$text = "<div class='clearfix'>\n<div class='well span3'>".$text."</div></div>";
|
||||||
}
|
}
|
||||||
elseif ($type == 'forum')
|
elseif ($type == 'forum')
|
||||||
{
|
{
|
||||||
|
@@ -188,7 +188,7 @@ $POLL_TEMPLATE = array();
|
|||||||
|
|
||||||
$POLL_TEMPLATE['form']['start'] = "
|
$POLL_TEMPLATE['form']['start'] = "
|
||||||
<div class='clearfix'>
|
<div class='clearfix'>
|
||||||
<div class='well'>
|
<div>
|
||||||
<div class='control-group'>
|
<div class='control-group'>
|
||||||
<ul class='nav nav-list'>
|
<ul class='nav nav-list'>
|
||||||
<li class='nav-header'>
|
<li class='nav-header'>
|
||||||
@@ -219,7 +219,7 @@ $POLL_TEMPLATE['form']['end'] = "
|
|||||||
|
|
||||||
$POLL_TEMPLATE['results']['start'] = "
|
$POLL_TEMPLATE['results']['start'] = "
|
||||||
<div class='clearfix'>
|
<div class='clearfix'>
|
||||||
<div class='well'>
|
<div>
|
||||||
<h5>Poll: {QUESTION}</h5>
|
<h5>Poll: {QUESTION}</h5>
|
||||||
";
|
";
|
||||||
|
|
||||||
@@ -230,6 +230,7 @@ $POLL_TEMPLATE['results']['item'] = "
|
|||||||
|
|
||||||
$POLL_TEMPLATE['results']['end'] = "
|
$POLL_TEMPLATE['results']['end'] = "
|
||||||
<div class='text-center'><small>{VOTE_TOTAL}</small></div>
|
<div class='text-center'><small>{VOTE_TOTAL}</small></div>
|
||||||
|
{COMMENTS} {OLDPOLLS}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
|
Reference in New Issue
Block a user