andre 8 ay önce
ebeveyn
işleme
fc8052e61b
1 değiştirilmiş dosya ile 24 ekleme ve 14 silme
  1. 24 14
      clientarea.tpl

+ 24 - 14
clientarea.tpl

@@ -164,8 +164,8 @@
                   {if $moduleclientarea}
                     <div class="tab-pane fade show active" role="tabpanel" id="manage" align="center">
                       <div class="col-sm-12">
-                        <h4>{lang key='overview'}</h4>
                         {if $sites|count > 0}
+                          <h4>Ihre Webseiten</h4>
                           {foreach $sites as $site}
                             <table style="width:100%;border-collapse:collapse;border:1px solid grey;">
                               <tr style="font-size:85%;background-color:#0273d4;color:#fff;">
@@ -283,22 +283,32 @@
                                 {/foreach}
                               {/if}
                               *}
-                              <tr>
-                                <td colspan=6 style="border-top:1px solid grey;">
-                                  <form method="post" action="clientarea.php?action=productdetails">
-                                    <input type="hidden" name="id" value="{$serviceid}" />
-                                    <input type="hidden" name="modop" value="custom" />
-                                    <input type="hidden" name="a" value="newSubdomain" />
-                                    <input type="hidden" name="d" value="{$domain}" />
-                                    <button type="submit" class="fabutton" style="background:none;border:none;font-size:75%;" title="Neue Subdomain">
-                                      <i class="fas fa-plus fa-fw"></i> Neue Subdomain
-                                    </button>
-                                  </form>
-                                </td>
-                              </tr>
                             </table>
                           {/foreach}
+                        {else}
+                          <table style="width:100%;border-collapse:collapse;border:1px solid grey;">
+                            <tr style="font-size:85%;background-color:#0273d4;color:#fff;">
+                              <th style="width:25%;text-align:left;padding:5px;">
+                                Keine Webseiten vorhanden für {$domain}
+                              </th>
+                            </tr>
+                          </table>
                         {/if}
+                        <table style="width:100%;border-collapse:collapse;border:1px solid grey;">
+                          <tr>
+                            <td colspan=6 style="border-top:1px solid grey;">
+                              <form method="post" action="clientarea.php?action=productdetails">
+                                <input type="hidden" name="id" value="{$serviceid}" />
+                                <input type="hidden" name="modop" value="custom" />
+                                <input type="hidden" name="a" value="newSubdomain" />
+                                <input type="hidden" name="d" value="{$domain}" />
+                                <button type="submit" class="fabutton" style="background:none;border:none;font-size:75%;" title="Neue Subdomain">
+                                  <i class="fas fa-plus fa-fw"></i> Neue Subdomain
+                                </button>
+                              </form>
+                            </td>
+                          </tr>
+                        </table>
                         <form method="post" action="clientarea.php?action=productdetails">
                           <input type="hidden" name="id" value="{$serviceid}" />
                           <input type="hidden" name="modop" value="custom" />