Removes sidebar
authorNicol <vingle@users.noreply.github.com>
Fri, 10 Feb 2023 13:49:56 +0000 (13:49 +0000)
committerGitHub <noreply@github.com>
Fri, 10 Feb 2023 13:49:56 +0000 (13:49 +0000)
templates/CRM/common/joomla.tpl

index 32e5859ecc14b426f0e25a85ea52ec1218ab1da7..57e68a980569c42b60aa32a9c0af4708ac73d566 100644 (file)
 {/if}
 
 <div id="crm-container" class="crm-container{if !empty($urlIsPublic)} crm-public{/if}" lang="{$config->lcMessages|truncate:2:"":true}" xml:lang="{$config->lcMessages|truncate:2:"":true}">
-
-<table border="0" cellpadding="0" cellspacing="0" id="crm-content">
-  <tr>
-{if $sidebarLeft}
-    <td id="sidebar-left" valign="top">
-        <div id="civi-sidebar-logo" style="margin: 0 0 .25em .25em"><img src="{$config->resourceBase}i/logo_words_small.png" title="{ts}CiviCRM{/ts}"/></div><div class="spacer"></div>
-       {$sidebarLeft}
-    </td>
-{/if}
-    <td id="content-right" valign="top">
+  <div id ="crm-content">
     {if $breadcrumb}
     <div class="breadcrumb">
       {foreach from=$breadcrumb item=crumb key=key}
     </div>
     {/if}
 
-{if $pageTitle}
-  <div class="crm-title">
-    <h1 class="title">{if $isDeleted}<del>{/if}{$pageTitle}{if $isDeleted}</del>{/if}</h1>
-  </div>
-{/if}
+    {if $pageTitle}
+      <div class="crm-title">
+        <h1 class="title">{if $isDeleted}<del>{/if}{$pageTitle}{if $isDeleted}</del>{/if}</h1>
+      </div>
+    {/if}
 
     {crmRegion name='page-header'}
     {/crmRegion}
 
-{*{include file="CRM/common/langSwitch.tpl"}*}
+    {*{include file="CRM/common/langSwitch.tpl"}*}
 
     <div class="clear"></div>
 
@@ -68,9 +59,6 @@
       {include file="CRM/common/footer.tpl"}
     {/if}
     {/crmRegion}
-
-    </td>
-
-  </tr>
-</table>
+  </div>
+</div>
 </div> {* end crm-container div *}