mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
commit
085de303e0
@ -125,6 +125,14 @@
|
|||||||
<i class="icon-pencil icon-white"></i>
|
<i class="icon-pencil icon-white"></i>
|
||||||
<?php echo lang('paste_create'); ?>
|
<?php echo lang('paste_create'); ?>
|
||||||
</button>
|
</button>
|
||||||
|
<?php
|
||||||
|
if ($this->config->item('csrf_protection') === TRUE)
|
||||||
|
{
|
||||||
|
if(isset($_COOKIE[$this->config->item('csrf_cookie_name')])) {
|
||||||
|
echo '<input type="hidden" name="'.$this->config->item('csrf_token_name').'" value="'.html_escape($_COOKIE[$this->config->item('csrf_cookie_name')]).'" style="display:none;" />'."\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -133,5 +133,13 @@
|
|||||||
|
|
||||||
<div><button type="submit" value="submit" name="submit"><?php echo lang('paste_create'); ?></button></div>
|
<div><button type="submit" value="submit" name="submit"><?php echo lang('paste_create'); ?></button></div>
|
||||||
<div class="spacer"></div>
|
<div class="spacer"></div>
|
||||||
|
<?php
|
||||||
|
if ($this->config->item('csrf_protection') === TRUE)
|
||||||
|
{
|
||||||
|
if(isset($_COOKIE[$this->config->item('csrf_cookie_name')])) {
|
||||||
|
echo '<input type="hidden" name="'.$this->config->item('csrf_token_name').'" value="'.html_escape($_COOKIE[$this->config->item('csrf_cookie_name')]).'" style="display:none;" />'."\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -131,6 +131,15 @@
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="clear"><button type="submit" value="submit" name="submit"><?php echo lang('paste_create'); ?></button></div>
|
<div class="clear"><button type="submit" value="submit" name="submit"><?php echo lang('paste_create'); ?></button></div>
|
||||||
|
<?php
|
||||||
|
if ($this->config->item('csrf_protection') === TRUE)
|
||||||
|
{
|
||||||
|
if(isset($_COOKIE[$this->config->item('csrf_cookie_name')])) {
|
||||||
|
echo '<input type="hidden" name="'.$this->config->item('csrf_token_name').'" value="'.html_escape($_COOKIE[$this->config->item('csrf_cookie_name')]).'" style="display:none;" />'."\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
<div class="spacer"></div>
|
<div class="spacer"></div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -132,6 +132,14 @@
|
|||||||
<?php echo lang('paste_create'); ?>
|
<?php echo lang('paste_create'); ?>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<?php
|
||||||
|
if ($this->config->item('csrf_protection') === TRUE)
|
||||||
|
{
|
||||||
|
if(isset($_COOKIE[$this->config->item('csrf_cookie_name')])) {
|
||||||
|
echo '<input type="hidden" name="'.$this->config->item('csrf_token_name').'" value="'.html_escape($_COOKIE[$this->config->item('csrf_cookie_name')]).'" style="display:none;" />'."\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -134,6 +134,14 @@
|
|||||||
<i class="icon-pencil icon-white"></i>
|
<i class="icon-pencil icon-white"></i>
|
||||||
<?php echo lang('paste_create'); ?>
|
<?php echo lang('paste_create'); ?>
|
||||||
</button>
|
</button>
|
||||||
|
<?php
|
||||||
|
if ($this->config->item('csrf_protection') === TRUE)
|
||||||
|
{
|
||||||
|
if(isset($_COOKIE[$this->config->item('csrf_cookie_name')])) {
|
||||||
|
echo '<input type="hidden" name="'.$this->config->item('csrf_token_name').'" value="'.html_escape($_COOKIE[$this->config->item('csrf_cookie_name')]).'" style="display:none;" />'."\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -134,6 +134,14 @@
|
|||||||
<?php echo lang('paste_create'); ?>
|
<?php echo lang('paste_create'); ?>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<?php
|
||||||
|
if ($this->config->item('csrf_protection') === TRUE)
|
||||||
|
{
|
||||||
|
if(isset($_COOKIE[$this->config->item('csrf_cookie_name')])) {
|
||||||
|
echo '<input type="hidden" name="'.$this->config->item('csrf_token_name').'" value="'.html_escape($_COOKIE[$this->config->item('csrf_cookie_name')]).'" style="display:none;" />'."\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user