From 2b5ed0f278f524143e46d06e42df8b913444132c Mon Sep 17 00:00:00 2001 From: andryeyev Date: Fri, 11 Dec 2015 14:18:47 +0200 Subject: [PATCH] + extra.tpl --- templates/admin/extra.tpl | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+), 0 deletions(-) create mode 100644 templates/admin/extra.tpl diff --git a/templates/admin/extra.tpl b/templates/admin/extra.tpl new file mode 100644 index 0000000..bc2dea6 --- /dev/null +++ b/templates/admin/extra.tpl @@ -0,0 +1,40 @@ +{literal} + + + + + + + + + + + + + +{/literal} + +{php} + +echo '
'; + + foreach ($this->_tpl_vars['mass']['extra'] as $extra) + { + $status = ''; + + if ($extra['status_id'] == 1) + { + $status = 'checked'; + } + + echo '
'; + + echo '
'.$extra['extra_title'].'
'; + echo '
'; + + echo '
'; + } + +echo '
'; + +{/php} \ No newline at end of file -- libgit2 0.21.4