From 09602acc5f754c3e814b4b7de9d9d4d283ed45ff Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Sun, 15 Jun 2014 17:49:23 +0200 Subject: Add two wrappers (_t() and _i()) - _t() is a wrapper for Minz_Translate::t() - Improve coding style of Translate.php - _i() is a wrapper for FreshRSS::icon() - queries.phtml shows how they work - It is a lot easier to read files with these functions :) --- app/views/configure/queries.phtml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'app/views/configure') diff --git a/app/views/configure/queries.phtml b/app/views/configure/queries.phtml index d0aec687b..2895f584c 100644 --- a/app/views/configure/queries.phtml +++ b/app/views/configure/queries.phtml @@ -1,15 +1,15 @@ partial('aside_configure'); ?>
- +
- + conf->queries as $key => $query) { ?>
@@ -27,11 +27,11 @@ /> - + - +
@@ -46,27 +46,27 @@
-
+
-
+
    -
  • +
  • -
  • +
  • -
  • +
  • -
  • query_get[$key]['type'], $this->query_get[$key]['name']); ?>
  • +
  • query_get[$key]['type'], $this->query_get[$key]['name']); ?>
@@ -78,12 +78,12 @@ conf->queries) > 0) { ?>
- - + +
-

+

-- cgit v1.2.3