mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 13:01:08 -05:00
Merge branch 'dev'
This commit is contained in:
commit
2a8f3e7017
@ -512,6 +512,12 @@ class Main extends CI_Controller
|
||||
if ($check)
|
||||
{
|
||||
$data = $this->pastes->getPaste(3);
|
||||
|
||||
if (isset($_GET['preview']))
|
||||
{
|
||||
$this->load->helper('text');
|
||||
$data['raw'] = character_limiter($data['raw'], 500);
|
||||
}
|
||||
$this->load->view('view/raw', $data);
|
||||
}
|
||||
else
|
||||
|
7
htdocs/themes/default/css/jquery-ui.min.css
vendored
Normal file
7
htdocs/themes/default/css/jquery-ui.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -50,6 +50,18 @@ ST.spamadmin = function() {
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
||||
$(document).tooltip({
|
||||
items: "td.first a",
|
||||
content: function(done) {
|
||||
var pid = $(this).attr('href').split('view/')[1];
|
||||
$.get(base_url + 'view/raw/' + pid + '?preview', function(data) {
|
||||
done(data);
|
||||
});
|
||||
},
|
||||
show: false,
|
||||
hide: false
|
||||
});
|
||||
}
|
||||
|
||||
// needed by .selectable
|
||||
|
@ -28,6 +28,7 @@ $this->carabiner->config(array(
|
||||
|
||||
// CSS
|
||||
$this->carabiner->css('reset.css');
|
||||
$this->carabiner->css('jquery-ui.min.css');
|
||||
$this->carabiner->css('fonts.css');
|
||||
$this->carabiner->css('main.css');
|
||||
$this->carabiner->css('print.css', 'print');
|
||||
|
Loading…
x
Reference in New Issue
Block a user