|
@@ -1,6 +1,6 @@
|
1
|
1
|
<?php
|
2
|
2
|
/*
|
3
|
|
-Plugin Name: Feed Replacement
|
|
3
|
+Plugin Name: FeedReplacement
|
4
|
4
|
Plugin URI: http://www.gelatocms.com/plugins/feedreplacement/
|
5
|
5
|
Description:
|
6
|
6
|
Author: Victor Bracco
|
|
@@ -19,10 +19,11 @@ class feedreplacement extends plugins {
|
19
|
19
|
$this->addAction('gelato_init', 'feedreplacement_check');
|
20
|
20
|
|
21
|
21
|
//reemplaza el link del feed de gelato por el link de feedburner
|
22
|
|
- $this->addAction('gelato_includes', 'feedreplacement_includeFeed');
|
|
22
|
+ //$this->addAction('add_post', 'dameCinco');
|
23
|
23
|
|
24
|
24
|
//lo mismo pero con el que esta en el header
|
25
|
|
- //$this->addAction('add_post', 'dameCinco');
|
|
25
|
+ $this->addAction('gelato_includes', 'feedreplacement_includeFeed');
|
|
26
|
+
|
26
|
27
|
|
27
|
28
|
//guarda la opcion si viene por POST
|
28
|
29
|
if ($user->isAdmin()) {
|