mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-26 13:08:38 -04:00
Déplace le fichier main.phtml
app/views/javascript/main.phtml est déplacé vers app/views/helpers/javascript_vars.phtml Il reste à déplacer le fichier actualize.phtml pour se débarrasser de javascriptController
This commit is contained in:
1 parent
d4f636f26a
commit
9d32d7fe19
3 files changed
+1
-3
No files matched your search
@@ -6,8 +6,6 @@ class javascriptController extends ActionController {
|
||||
header('Content-type: text/javascript');
|
||||
}
|
||||
|
||||
public function mainAction () {}
|
||||
|
||||
public function actualizeAction () {
|
||||
$feedDAO = new FeedDAO ();
|
||||
$this->view->feeds = $feedDAO->listFeeds ();
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<?php echo self::headStyle (); ?>
|
||||
<?php echo self::headScript (); ?>
|
||||
<script>//<![CDATA[
|
||||
<?php $this->renderHelper ('../javascript/main'); ?>
|
||||
<?php $this->renderHelper ('javascript_vars'); ?>
|
||||
//]]></script>
|
||||
<?php
|
||||
$next = isset($this->entryPaginator) ? $this->entryPaginator->next() : '';
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user