Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
More Fixes for Themes
Browse files Browse the repository at this point in the history
  • Loading branch information
kimbtech committed Dec 17, 2018
1 parent 0866d53 commit 74139ab
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
4 changes: 2 additions & 2 deletions core/Poll.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ public function showPollForm( $template ){
if( $this->configjson->getValue(['texts', 'enablePoll']) ){
$template->setContent( 'TEXTSEINWILL',
Utilities::getRowHtml(
'<input type="checkbox" name="textseinwill" class="form-check-input" value="yes">',
'<div class="form-group text-center"><input type="checkbox" name="textseinwill" class="form-check-input" value="yes"></div>',
$this->configjson->getValue(['texts', 'textPoll']),
'col-sm-1 text-center'
'col-sm-1'
)
);
}
Expand Down
4 changes: 2 additions & 2 deletions core/TemplateLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ private function taskNew(){
if( $this->configjson->getValue(['texts', 'enableNew']) ){
$this->includetemp->setContent( 'TEXTSEINWILL',
Utilities::getRowHtml(
'<input type="checkbox" class="form-check-input" name="textseinwill" value="yes">',
'<div class="form-group text-center"><input type="checkbox" class="form-check-input" name="textseinwill" value="yes"></div>',
$this->configjson->getValue(['texts', 'textNew']),
'col-sm-1 text-center'
'col-sm-1'
)
);
}
Expand Down
2 changes: 1 addition & 1 deletion core/Utilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Utilities{
/**
* The system's Version
*/
const SYS_VERSION = 'v1.0.3beta';
const SYS_VERSION = 'v1.0.4beta';

/**
* Possible chars for:
Expand Down
8 changes: 5 additions & 3 deletions core/templates/poll_de.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ <h3>Termine</h3>
<div class="alert alert-light" role="alert">
<!--MULTIPLE-Termin-BEGIN-->
<div class="row">
<div class="col-sm col-sm-1 text-center">
<input type="checkbox" name="%%TERMINID%%" class="terminwahl form-check-input" value="yes" %%DISABLE%%>
<div class="col-sm col-sm-1">
<div class="form-group text-center">
<input type="checkbox" name="%%TERMINID%%" class="terminwahl form-check-input" value="yes" %%DISABLE%%>
</div>
</div>
<div class="col-sm col-sm-sm">
<div class="col-sm">
<p>
%%NAME%%
</p>
Expand Down
6 changes: 4 additions & 2 deletions core/templates/poll_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ <h3>Options</h3>
<div class="alert alert-light" role="alert">
<!--MULTIPLE-Termin-BEGIN-->
<div class="row">
<div class="col-sm col-sm-1 text-center">
<input type="checkbox" name="%%TERMINID%%" class="terminwahl form-check-input" value="yes" %%DISABLE%%>
<div class="col-sm col-sm-1">
<div class="form-group text-center">
<input type="checkbox" name="%%TERMINID%%" class="terminwahl form-check-input" value="yes" %%DISABLE%%>
</div>
</div>
<div class="col-sm">
<div class="form-group">
Expand Down

0 comments on commit 74139ab

Please sign in to comment.