diff options
| author | lsces <lester@lsces.co.uk> | 2026-04-05 15:46:23 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-04-05 15:46:23 +0100 |
| commit | e1f778efd5b54948026956e746490a495425cb03 (patch) | |
| tree | 0bc3e58ab9c01f3464d7fcf9167dc81314b3c463 /templates | |
| parent | a35e657f4a17bfc784d27b22affdc806f7a2e8d2 (diff) | |
| download | liberty-e1f778efd5b54948026956e746490a495425cb03.tar.gz liberty-e1f778efd5b54948026956e746490a495425cb03.tar.bz2 liberty-e1f778efd5b54948026956e746490a495425cb03.zip | |
Revert disable on services template and fix a rogue $smart which was missing the final y
Diffstat (limited to 'templates')
| -rwxr-xr-x | templates/edit_services_inc.tpl | 2 | ||||
| -rwxr-xr-x | templates/structure_edit.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/edit_services_inc.tpl b/templates/edit_services_inc.tpl index ac787c1..9a6461c 100755 --- a/templates/edit_services_inc.tpl +++ b/templates/edit_services_inc.tpl @@ -1,4 +1,4 @@ -{if !empty($translateFrom)} +{if empty($translateFrom)} {foreach from=$gLibertySystem->mServices item=service key=service_guid} {if !empty($service.services.$serviceFile) && (empty($gContent) || $gContent->hasService( $service_guid ))} {if strpos($serviceFile,'mini')}<div class="service">{/if} diff --git a/templates/structure_edit.tpl b/templates/structure_edit.tpl index 2f256bf..f915fc7 100755 --- a/templates/structure_edit.tpl +++ b/templates/structure_edit.tpl @@ -145,7 +145,7 @@ function deleteStructureNode( pStructureId, pStructureText ) { </script> - <div class="btn btn-primary" onclick="saveStructure('{$gStructure->mInfo.root_structure_id}');">{tr}Save Changes{/tr}</div> <a href="{$smart.const.BIT_ROOT_URL}index.php?structure_id={$gStructure->mInfo.root_structure_id}" class="btn btn-default"">{tr}Back{/tr}</a> <a class="btn btn-default" href="{$smarty.const.LIBERTY_PKG_URL}structure_add_content.php?structure_id={$smarty.request.structure_id}&content_type_guid={$smarty.request.content_type_guid}" title="Add Content to {$gContent->getTitle()}" title="Add Content">Add Content</a> + <div class="btn btn-primary" onclick="saveStructure('{$gStructure->mInfo.root_structure_id}');">{tr}Save Changes{/tr}</div> <a href="{$smarty.const.BIT_ROOT_URL}index.php?structure_id={$gStructure->mInfo.root_structure_id}" class="btn btn-default"">{tr}Back{/tr}</a> <a class="btn btn-default" href="{$smarty.const.LIBERTY_PKG_URL}structure_add_content.php?structure_id={$smarty.request.structure_id}&content_type_guid={$smarty.request.content_type_guid}" title="Add Content to {$gContent->getTitle()}" title="Add Content">Add Content</a> <div id="structure-feedback"> </div> |
