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

Poll GUI and template fix.

This commit is contained in:
Cameron 2013-03-29 04:47:01 -07:00
parent e8bfe22859
commit 38e9aa1cad
3 changed files with 5 additions and 4 deletions

View File

@ -240,7 +240,7 @@ class pluginManager{
// "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" => ""),
"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'),
);

View File

@ -545,7 +545,7 @@ class poll
if ($type == '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')
{

View File

@ -188,7 +188,7 @@ $POLL_TEMPLATE = array();
$POLL_TEMPLATE['form']['start'] = "
<div class='clearfix'>
<div class='well'>
<div>
<div class='control-group'>
<ul class='nav nav-list'>
<li class='nav-header'>
@ -219,7 +219,7 @@ $POLL_TEMPLATE['form']['end'] = "
$POLL_TEMPLATE['results']['start'] = "
<div class='clearfix'>
<div class='well'>
<div>
<h5>Poll: {QUESTION}</h5>
";
@ -230,6 +230,7 @@ $POLL_TEMPLATE['results']['item'] = "
$POLL_TEMPLATE['results']['end'] = "
<div class='text-center'><small>{VOTE_TOTAL}</small></div>
{COMMENTS} {OLDPOLLS}
</div>
</div>
";