mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
disabled style
This commit is contained in:
parent
09ac1350d0
commit
fbb7227772
@ -65,17 +65,19 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<?php if (!$this->config->item('private_only')){ ?>
|
|
||||||
<label for="private">Private
|
<label for="private">Private
|
||||||
<span class="instruction">Private paste aren't shown in recent listings.</span>
|
<span class="instruction">Private paste aren't shown in recent listings.</span>
|
||||||
</label>
|
</label>
|
||||||
<div class="text_beside">
|
<div class="text_beside">
|
||||||
<?php
|
<?php
|
||||||
$set = array('name' => 'private', 'id' => 'private', 'tabindex' => '6', 'value' => '1', 'checked' => $private_set);
|
$set = array('name' => 'private', 'id' => 'private', 'tabindex' => '6', 'value' => '1', 'checked' => $private_set);
|
||||||
|
if ($this->config->item('private_only')){
|
||||||
|
$set['checked'] = 1;
|
||||||
|
$set['disabled'] = 'disabled';
|
||||||
|
}
|
||||||
echo form_checkbox($set);
|
echo form_checkbox($set);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user