mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51: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';
|
||||
|
||||
/**
|
||||
* Display QR code
|
||||
*
|
||||
* Whether or not to display the QR code
|
||||
*
|
||||
*/
|
||||
$config['qr_enabled'] = true;
|
||||
|
||||
/**
|
||||
* 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 } ?>
|
||||
<div class="qr">
|
||||
<?php if($this->config->item('qr_enabled')) { ?>
|
||||
<img src="<?php echo site_url('view/qr/' . $pid ); ?>">
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php if($seg3 != 'diff'){ ?>
|
||||
<?php if(isset($inreply)){ ?>
|
||||
|
@ -45,7 +45,9 @@ if(isset($insert)){
|
||||
</span>
|
||||
</div>
|
||||
<div class="qr">
|
||||
<?php if($this->config->item('qr_enabled')) { ?>
|
||||
<img src="<?php echo site_url('view/qr/' . $pid); ?>">
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -44,7 +44,9 @@ if(isset($insert)){
|
||||
<?php } ?>
|
||||
</div>
|
||||
<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 ); ?>">
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user