mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 13:01:08 -05:00
ability to disable the qr code. fixes #427
This commit is contained in:
parent
cf2b0e3731
commit
9013ec4b15
@ -54,6 +54,14 @@ $config['db_prefix'] = '';
|
|||||||
*/
|
*/
|
||||||
$config['theme'] = 'default';
|
$config['theme'] = 'default';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Display QR code
|
||||||
|
*
|
||||||
|
* Whether or not to display the QR code
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
$config['qr_enabled'] = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JavaScript-Editor
|
* JavaScript-Editor
|
||||||
*
|
*
|
||||||
|
@ -25,7 +25,9 @@ if(isset($insert)){
|
|||||||
<?php if(isset($inreply)){?><div class="detail by"><?php echo lang('paste_isareply'); ?> <a href="<?php echo $inreply['url']?>"><?php echo $inreply['title']; ?></a> <?php echo strtolower(lang('paste_from')); ?> <?php echo $inreply['name']; ?>
|
<?php if(isset($inreply)){?><div class="detail by"><?php echo lang('paste_isareply'); ?> <a href="<?php echo $inreply['url']?>"><?php echo $inreply['title']; ?></a> <?php echo strtolower(lang('paste_from')); ?> <?php echo $inreply['name']; ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div class="qr">
|
<div class="qr">
|
||||||
|
<?php if($this->config->item('qr_enabled')) { ?>
|
||||||
<img src="<?php echo site_url('view/qr/' . $pid ); ?>">
|
<img src="<?php echo site_url('view/qr/' . $pid ); ?>">
|
||||||
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
<?php if($seg3 != 'diff'){ ?>
|
<?php if($seg3 != 'diff'){ ?>
|
||||||
<?php if(isset($inreply)){ ?>
|
<?php if(isset($inreply)){ ?>
|
||||||
|
@ -45,7 +45,9 @@ if(isset($insert)){
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="qr">
|
<div class="qr">
|
||||||
|
<?php if($this->config->item('qr_enabled')) { ?>
|
||||||
<img src="<?php echo site_url('view/qr/' . $pid); ?>">
|
<img src="<?php echo site_url('view/qr/' . $pid); ?>">
|
||||||
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -44,7 +44,9 @@ if(isset($insert)){
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-4 col-sm-12 col-lg-4">
|
<div class="col-4 col-sm-12 col-lg-4">
|
||||||
|
<?php if($this->config->item('qr_enabled')) { ?>
|
||||||
<img src="<?php echo site_url('view/qr/' . $pid ); ?>">
|
<img src="<?php echo site_url('view/qr/' . $pid ); ?>">
|
||||||
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user