fetch jquery via https

This commit is contained in:
Garvin Hicking 2013-07-25 09:39:06 +02:00
parent 9d4bdf9dad
commit 5787068962
7 changed files with 16 additions and 6 deletions

View file

@ -1,3 +1,8 @@
1.11:
-----
Fetch jquery via https
1.10:
-----

View file

@ -23,7 +23,7 @@ class serendipity_event_jquery extends serendipity_event {
$propbag->add('description', EVENT_JQUERY_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Malte Paskuda');
$propbag->add('version', '1.11');
$propbag->add('version', '1.12');
$propbag->add('event_hooks', array('frontend_header' => true,
'backend_header' => true,
'backend_plugins_new_instance' => true
@ -50,7 +50,7 @@ class serendipity_event_jquery extends serendipity_event {
case 'backend_header':
// Serendipity 1.6 has jquery bundled.
if ($serendipity['capabilities']['jquery']) return '';
echo '<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>' . "\n";
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>' . "\n";
break;
case 'backend_plugins_new_instance':

View file

@ -1,3 +1,5 @@
0.4.9.6:
Fetch jquery via https
0.4.9.5:
Changed menu-order to have the recycler first
0.4.9:

View file

@ -1,6 +1,6 @@
{if $jquery_needed == true}
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>
{/if}
<style> {$css} </style>
<script src="{$path}serendipity_event_spamblock_bayes.js" type="text/javascript"></script>

View file

@ -36,7 +36,7 @@ class serendipity_event_spamblock_bayes extends serendipity_event {
$this->title = PLUGIN_EVENT_SPAMBLOCK_BAYES_NAME;
$propbag->add ( 'description', PLUGIN_EVENT_SPAMBLOCK_BAYES_DESC);
$propbag->add ( 'name', $this->title);
$propbag->add ( 'version', '0.4.9.5' );
$propbag->add ( 'version', '0.4.9.6' );
$propbag->add ( 'event_hooks', array ('frontend_saveComment' => true,
'backend_spamblock_comments_shown' => true,
'external_plugin' => true,

View file

@ -1,3 +1,6 @@
0.4:
* Fetch jquery via https
0.3:
* Check if template directory is writeable
* Don't save php-files with syntax-errors

View file

@ -25,7 +25,7 @@ class serendipity_event_template_editor extends serendipity_event {
$propbag->add('stackable', false);
$propbag->add('author', 'Malte Paskuda');
$propbag->add('license', 'GPL');
$propbag->add('version', '0.5');
$propbag->add('version', '0.6');
$propbag->add('requirements', array(
'serendipity' => '0.8'
));
@ -208,7 +208,7 @@ class serendipity_event_template_editor extends serendipity_event {
}
if (!$serendipity['capabilities']['jquery']) {
echo '<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>';
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>';
}
echo '<script src="'.$pluginPath.'jquery.jeditable.js" type="text/javascript"></script>
<script src="'.$pluginPath.'serendipity_event_template_editor.js" type="text/javascript"></script>