use registered include templates instead of fixed path names

This commit is contained in:
Daniel Seifert 2013-02-21 14:00:45 +00:00
parent 6001252d9a
commit 58a6771c3d
2 changed files with 3 additions and 6 deletions

View File

@ -250,9 +250,7 @@ function _groupExp(el) {
</tr> </tr>
</table> </table>
[{include file="d3_cfg_mod_inc.tpl"}]
[{assign var="incpath" value=$oViewConf->getModulePath('d3modcfg_lib')|cat:"views/admin/tpl/d3_cfg_mod_inc.tpl"}]
[{include file=$incpath}]
<script type="text/javascript"> <script type="text/javascript">
if (parent.parent) { if (parent.parent) {

View File

@ -88,8 +88,7 @@
<tr> <tr>
<td valign="top" class="edittext"> <td valign="top" class="edittext">
[{assign var="incpath" value=$oViewConf->getModulePath('d3modcfg_lib')|cat:"views/admin/tpl/inc/d3_cfg_mod_active.tpl"}] [{include file="d3_cfg_mod_active.tpl"}]
[{include file=$incpath}]
[{if $edit->getErrorMessage()}] [{if $edit->getErrorMessage()}]
@ -322,7 +321,7 @@
</table> </table>
[{assign var="incpath" value=$oViewConf->getModulePath('d3modcfg_lib')|cat:"views/admin/tpl/d3_cfg_mod_inc.tpl"}] [{assign var="incpath" value=$oViewConf->getModulePath('d3modcfg_lib')|cat:"views/admin/tpl/d3_cfg_mod_inc.tpl"}]
[{include file=$incpath}] [{include file="d3_cfg_mod_inc.tpl"}]
<script type="text/javascript"> <script type="text/javascript">
if (parent.parent) { if (parent.parent) {