From 14d23e7db7c253c8137f4f5686ea3aeb200d4d91 Mon Sep 17 00:00:00 2001 From: LouisGac Date: Fri, 22 Dec 2017 18:27:09 +0100 Subject: [PATCH] Dev: added few indications about survey option level --- .../views/admin/themeoptions/update.php | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/application/views/admin/themeoptions/update.php b/application/views/admin/themeoptions/update.php index b5bdef1165b..3021b5e0d3a 100644 --- a/application/views/admin/themeoptions/update.php +++ b/application/views/admin/themeoptions/update.php @@ -23,7 +23,28 @@
-
' . $model->template_name . ''); ?>
+
+ ' . $model->template_name . ''); ?> + ( + request->getQuery('gsid', null); + $sid = Yii::app()->request->getQuery('surveyid', null); + + if (!is_null($sid)){ + eT(" for survey id: $sid "); + }elseif(!is_null($gsid)){ + eT(" for survey group id: $gsid "); + }else{ + eT(" global level"); + } + + ?> + ) +
@@ -223,7 +244,7 @@ getClientScript()->registerScript("themeoptions-scripts", ' - + var bindUpload = function(options){ var $activeForm = $(options.form); var $activeInput = $(options.input);