diff options
| author | wjames5 <will@tekimaki.com> | 2010-02-12 14:53:29 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2010-02-12 14:53:29 +0000 |
| commit | cfcf234cecd5bbd68118499018ecbfa3a408c9b2 (patch) | |
| tree | 5b0c01a7d43e48f0280c9fb49b43d6c5b9d516bb /templates | |
| parent | 4b0d87ebdc9cefe14f6ced0db1a9b6d67d9a6959 (diff) | |
| download | liberty-cfcf234cecd5bbd68118499018ecbfa3a408c9b2.tar.gz liberty-cfcf234cecd5bbd68118499018ecbfa3a408c9b2.tar.bz2 liberty-cfcf234cecd5bbd68118499018ecbfa3a408c9b2.zip | |
flatten services hash and introduce new param for adding some meta data about services to easy site configuration, see lcconfig
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/edit_services_inc.tpl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/templates/edit_services_inc.tpl b/templates/edit_services_inc.tpl index b1bde5f..f5c89fa 100644 --- a/templates/edit_services_inc.tpl +++ b/templates/edit_services_inc.tpl @@ -1,9 +1,7 @@ {if !$translateFrom} {foreach from=$gLibertySystem->mServices item=service} - {foreach from=$service item=serviceInfo} - {if !empty($serviceInfo.$serviceFile)} - {include file=$serviceInfo.$serviceFile edit_content_status_tpl=$edit_content_status_tpl} - {/if} - {/foreach} + {if $service.services.$serviceFile} + {include file=$service.services.$serviceFile edit_content_status_tpl=$edit_content_status_tpl} + {/if} {/foreach} {/if} |
