freshrss-app/remove-update-menu.patch

25 lines
1.6 KiB
Diff
Raw Permalink Normal View History

2017-02-23 14:54:34 +00:00
diff -Naru app-orig/layout/aside_configure.phtml app/layout/aside_configure.phtml
--- app-orig/layout/aside_configure.phtml 2016-12-26 15:33:47.000000000 +0000
+++ app/layout/aside_configure.phtml 2017-02-23 14:48:10.214072522 +0000
@@ -41,9 +41,5 @@
Minz_Request::actionName() === 'checkInstall' ? ' active' : ''; ?>">
<a href="<?php echo _url('update', 'checkInstall'); ?>"><?php echo _t('gen.menu.check_install'); ?></a>
</li>
- <li class="item<?php echo Minz_Request::controllerName() === 'update' &&
- Minz_Request::actionName() === 'index' ? ' active' : ''; ?>">
- <a href="<?php echo _url('update', 'index'); ?>"><?php echo _t('gen.menu.update'); ?></a>
- </li>
<?php } ?>
</ul>
diff -Naru app-orig/layout/header.phtml app/layout/header.phtml
--- app-orig/layout/header.phtml 2016-12-26 15:33:47.000000000 +0000
+++ app/layout/header.phtml 2017-02-23 14:48:31.430114487 +0000
@@ -71,7 +71,6 @@
<li class="item"><a href="<?php echo _url('user', 'manage'); ?>"><?php echo _t('gen.menu.user_management'); ?></a></li>
<li class="item"><a href="<?php echo _url('auth', 'index'); ?>"><?php echo _t('gen.menu.authentication'); ?></a></li>
<li class="item"><a href="<?php echo _url('update', 'checkInstall'); ?>"><?php echo _t('gen.menu.check_install'); ?></a></li>
- <li class="item"><a href="<?php echo _url('update', 'index'); ?>"><?php echo _t('gen.menu.update'); ?></a></li>
<?php } ?>
<li class="separator"></li>
<li class="item"><a href="<?php echo _url('stats', 'index'); ?>"><?php echo _t('gen.menu.stats'); ?></a></li>