mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-28 14:01:05 -05:00
-scripts array
This commit is contained in:
parent
1119b59886
commit
e6f48b6d0e
@ -32,10 +32,6 @@ class Main extends CI_Controller
|
|||||||
$this->load->model('languages');
|
$this->load->model('languages');
|
||||||
$this->load->helper('form');
|
$this->load->helper('form');
|
||||||
$data['languages'] = $this->languages->get_languages();
|
$data['languages'] = $this->languages->get_languages();
|
||||||
$data['scripts'] = array(
|
|
||||||
'jquery.js',
|
|
||||||
'jquery.timers.js'
|
|
||||||
);
|
|
||||||
|
|
||||||
if (!$this->input->post('submit'))
|
if (!$this->input->post('submit'))
|
||||||
{
|
{
|
||||||
|
@ -219,9 +219,6 @@ class Pastes extends CI_Model
|
|||||||
$data['inreply'] = false;
|
$data['inreply'] = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$data['scripts'] = array(
|
|
||||||
'jquery.js'
|
|
||||||
);
|
|
||||||
|
|
||||||
if ($this->db_session->flashdata('acopy') == 'true')
|
if ($this->db_session->flashdata('acopy') == 'true')
|
||||||
{
|
{
|
||||||
@ -235,11 +232,6 @@ class Pastes extends CI_Model
|
|||||||
$url = $data['url'];
|
$url = $data['url'];
|
||||||
}
|
}
|
||||||
$data['status_message'] = 'URL copied to clipboard';
|
$data['status_message'] = 'URL copied to clipboard';
|
||||||
$data['scripts'] = array(
|
|
||||||
'jquery.js',
|
|
||||||
'jquery.clipboard.js',
|
|
||||||
'jquery.timers.js'
|
|
||||||
);
|
|
||||||
$data['insert'] = '
|
$data['insert'] = '
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
$.clipboardReady(function(){
|
$.clipboardReady(function(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user