Code

Updated themes
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Apr 2010 14:27:34 +0000 (14:27 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Apr 2010 14:27:34 +0000 (14:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17753 594d385d-05f5-0310-b6e9-bd551577e9d8

34 files changed:
gosa-core/ihtml/themes/default/acl.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/blacklist [new file with mode: 0644]
gosa-core/ihtml/themes/default/copyPasteDialog.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/framework.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/headers.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/help.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/islocked.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/login.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/logout-close.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/logout.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/msg_dialog.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/removeEntries.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/setup_headers.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/sizelimit.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/snapshotdialog.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/userFilter.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/default/userFilterEditor.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/modern/acl.tpl [deleted file]
gosa-core/ihtml/themes/modern/blacklist [deleted file]
gosa-core/ihtml/themes/modern/copyPasteDialog.tpl [deleted file]
gosa-core/ihtml/themes/modern/framework.tpl [deleted file]
gosa-core/ihtml/themes/modern/headers.tpl [deleted file]
gosa-core/ihtml/themes/modern/help.tpl [deleted file]
gosa-core/ihtml/themes/modern/islocked.tpl [deleted file]
gosa-core/ihtml/themes/modern/login.tpl [deleted file]
gosa-core/ihtml/themes/modern/logout-close.tpl [deleted file]
gosa-core/ihtml/themes/modern/logout.tpl [deleted file]
gosa-core/ihtml/themes/modern/msg_dialog.tpl [deleted file]
gosa-core/ihtml/themes/modern/removeEntries.tpl [deleted file]
gosa-core/ihtml/themes/modern/setup_headers.tpl [deleted file]
gosa-core/ihtml/themes/modern/sizelimit.tpl [deleted file]
gosa-core/ihtml/themes/modern/snapshotdialog.tpl [deleted file]
gosa-core/ihtml/themes/modern/userFilter.tpl [deleted file]
gosa-core/ihtml/themes/modern/userFilterEditor.tpl [deleted file]

diff --git a/gosa-core/ihtml/themes/default/acl.tpl b/gosa-core/ihtml/themes/default/acl.tpl
new file mode 100644 (file)
index 0000000..d41f573
--- /dev/null
@@ -0,0 +1,157 @@
+{if !$acl_readable}
+
+       <h3>{msgPool type=permView}</h3>
+
+{else}
+       {if $dialogState eq 'head'}
+       <h3>{t}Assigned ACL for current entry{/t}</h3>
+         {$aclList}
+    {if $acl_createable}
+     <button type='submit' name='new_acl'>{t}New ACL{/t}</button>
+         {/if}
+       {/if}
+
+       {if $dialogState eq 'create'}
+    <h3>{t}Options{/t}</h3>
+    <table summary='{t}Options{/t}'>
+      <tr>
+        <td>
+             {t}ACL type{/t}
+        </td>
+        <td>
+          {if !$acl_writeable}
+            <select size="1" name="dummy_t" title="{t}Select an acl type{/t}" disabled>
+              {html_options options=$aclTypes selected=$aclType}
+              <option disabled>&nbsp;</option>
+            </select>&nbsp;
+          {else} 
+            <select size="1" name="aclType" title="{t}Select an acl type{/t}" onChange="document.mainform.submit()">
+              {html_options options=$aclTypes selected=$aclType}
+              <option disabled>&nbsp;</option>
+            </select size=1>&nbsp;
+            {if $javascript eq 'false'}
+              <button type='submit' name='refresh'>{t}Apply{/t}</button>
+            {/if}
+          {/if}
+        </td>
+      </tr>
+      <tr>
+        <td>
+         {t}Additional filter options{/t}
+        </td>
+        <td>
+                   {if !$acl_writeable}
+            <input type='text' value='{$aclFilter}' disabled name='dummy_f' style='width:600px;'>
+          {else}
+            <input type='text' value='{$aclFilter}' name='aclFilter' style='width:600px;'>
+          {/if}
+        </td>
+      </tr>
+    </table>
+
+       <hr>
+  <h3>{t}Members{/t}</h3>
+       <table style="width:100%" summary='{t}Member selection{/t}'>
+        <tr>
+         <td style="width:48%">
+          {t}Use members from{/t}
+          <select name="target" onChange="document.mainform.submit()" size=1>
+                       {html_options options=$targets selected=$target}
+                       <option disabled>&nbsp;</option>
+          </select>
+          {if $javascript eq 'false'}<button type='submit' name='refresh'>{t}Apply{/t}</button>{/if}
+    </td>
+    <td>&nbsp;</td>
+    <td>{t}Members{/t}</td>
+        <tr>
+         <td style="width:48%">
+               {if !$acl_writeable}
+          <select style="width:100%;height:180px;" disabled name="dummy_s[]" size="20" multiple title="{t}List message possible targets{/t}">
+                               {html_options options=$sources}
+                               <option disabled>&nbsp;</option>
+          </select>
+               {else}
+          <select style="width:100%;height:180px;" name="source[]" size="20" multiple title="{t}List message possible targets{/t}">
+                               {html_options options=$sources}
+                               <option disabled>&nbsp;</option>
+          </select>
+               {/if}
+         </td>
+         <td>
+
+               {if $acl_writeable}
+          <button type='submit' name='add'>&gt;</button>
+
+          <br><br>
+          <button type='submit' name='del'>&lt;</button>
+
+               {/if}
+         </td>
+         <td style="width:48%">
+               {if !$acl_writeable}
+          <select style="width:100%;height:180px;" disabled name="dummy_r[]" size="20" multiple title="{t}List message recipients{/t}">
+                               {html_options options=$recipients}
+                               <option disabled>&nbsp;</option>
+          </select>
+
+               {else}
+          <select style="width:100%;height:180px;" name="recipient[]" size="20" multiple title="{t}List message recipients{/t}">
+                               {html_options options=$recipients}
+                               <option disabled>&nbsp;</option>
+          </select>
+               {/if}
+         </td>
+        </tr>
+       </table>
+
+       {if $aclType ne 'reset'}
+       {if $aclType ne 'role'}
+       {if $aclType ne 'base'}
+       <hr>
+
+       <h3>{t}List of available ACL categories{/t}</h3>
+       {$aclList}
+       {/if}
+       {/if}
+       {/if}
+
+       {if $aclType eq 'base'}
+       <hr>
+       <h3>{t}ACL for this object{/t}</h3>
+       {$aclSelector}
+       {/if}
+
+       {if $aclType eq 'role'}
+       <hr>
+       <h3>{t}Available roles{/t}</h3>
+       {$roleSelector}
+       {/if}
+
+       <hr>
+       <div style='text-align:right;margin-top:5px'>
+               {if $acl_writeable}
+               <button type='submit' name='submit_new_acl'>{t}Apply{/t}</button>
+
+               &nbsp;
+               {/if}
+               <button type='submit' name='cancel_new_acl'>{t}Cancel{/t}</button>
+
+       </div>
+       {/if}
+
+       {if $dialogState eq 'edit'}
+
+       <h3>{$headline}</h3>
+
+       {$aclSelector}
+
+       <hr>
+       <div style='text-align:right;margin-top:5px'>
+               <button type='submit' name='submit_edit_acl'>{t}Apply{/t}</button>
+
+               &nbsp;
+               <button type='submit' name='cancel_edit_acl'>{t}Cancel{/t}</button>
+
+       </div>
+       {/if}
+{/if}
diff --git a/gosa-core/ihtml/themes/default/blacklist b/gosa-core/ihtml/themes/default/blacklist
new file mode 100644 (file)
index 0000000..77be825
--- /dev/null
@@ -0,0 +1 @@
+MSIE
diff --git a/gosa-core/ihtml/themes/default/copyPasteDialog.tpl b/gosa-core/ihtml/themes/default/copyPasteDialog.tpl
new file mode 100644 (file)
index 0000000..b2399f8
--- /dev/null
@@ -0,0 +1,32 @@
+<h3>{t}Copy & paste wizard{/t}</h3>
+
+<b>{$message}</b>
+<br>
+<br>
+{if $Complete == false}
+       {t}Some values need to be unique in the complete directory while some combinations make no sense. GOsa shows the relevant attributes. Please maintain the values below to fullfill the policies.{/t}
+       <br>
+{t}Remember that some properties like taken snapshots will not be copied!{/t}&nbsp;
+{t}Or if you copy or cut an entry within GOsa and delete the source object, you may get errors while pasting this object again!{/t}
+
+       <hr>
+       <br>
+       {$AttributesToFix}
+       {if $SubDialog == false}
+       <br>
+
+       <div style='text-align:right;width:100%;'>
+               <button type='submit' name='PerformCopyPaste'>{t}Save{/t}</button>
+           {if $type == "modified"}
+                   <button type='submit' name='abort_current_cut-copy_operation'>{t}Cancel{/t}</button>
+       {/if}
+               <button type='submit' name='abort_all_cut-copy_operations'>{t}Cancel all{/t}</button>
+       </div>
+       {/if}
+{else}
+       <hr>
+       <h3>{t}Operation complete{/t}</h3>
+       <div style='text-align:right;width:100%;'>
+               <button type='submit' name='Back'>{t}Finish{/t}</button>
+       </div>
+{/if}
diff --git a/gosa-core/ihtml/themes/default/framework.tpl b/gosa-core/ihtml/themes/default/framework.tpl
new file mode 100644 (file)
index 0000000..d5dec10
--- /dev/null
@@ -0,0 +1,39 @@
+  <body>
+   {$php_errors}
+   <div class='title-bar'>
+    <ul>
+     <li>{$logo}</li>
+     <li class='right table-wrapper'>
+       <div class='logout-label'>
+         <form action='logout.php' name='logoutframe' method='post' enctype='multipart/form-data'>
+          <div style='cursor:pointer' onClick="
+                    return question('{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}',
+            'logout.php?forcedlogout');">{image path="{$logoutimage}"}</div>
+          <input type='hidden' name='forcedlogout' value='1'>
+          <input type="hidden" name="php_c_check" value="1">
+         </form>
+       </div>
+     </li>
+     <li class='right table-wrapper'>
+       <div class='logged-in-label'>{$loggedin}</div>
+     </li>
+    </ul>
+   </div>
+   <form action='main.php{$plug}' id='mainform' name='mainform' method='post' enctype='multipart/form-data'>
+   {$menu}
+   {$msg_dialogs}
+   <div class='plugin-area'>
+     {$pathMenu}
+     {$contents}
+   </div>
+
+   {if $channel != ""}
+   <input type="hidden" name="_channel_" value="{$channel}">
+   {/if}
+
+   {$errors}
+   {$focus}
+   <input type="hidden" name="php_c_check" value="1">
+  </form>
+ </body>
+</html>
diff --git a/gosa-core/ihtml/themes/default/headers.tpl b/gosa-core/ihtml/themes/default/headers.tpl
new file mode 100644 (file)
index 0000000..2c6b284
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+       "http://www.w3.org/TR/html4/transitional.dtd">
+<html>
+  <head>
+    <title>{if isset($title)}{$title}{else}GOsa{/if}</title>
+    <meta name="generator" content="my hands">
+    <meta name="description" content="GOsa - Login">
+    <meta name="author" lang="de" content="Cajus Pollmeier">
+    <meta http-equiv="Expires" content="Mon, 26 Jul 1997 05:00:00 GMT">
+    <meta http-equiv="Last-Modified" content="{$date} GMT">
+    <meta http-equiv="Cache-Control" content="no-cache">
+    <meta http-equiv="Pragma" content="no-cache">
+    <meta http-equiv="Cache-Control" content="post-check=0, pre-check=0">
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+    <style type="text/css">@import url('themes/default/style.css');</style>
+    <link rel="stylesheet" type="text/css" href="themes/default/printer.css" media="print">
+
+    <!--[if IE]>
+    <style type="text/css">
+      div.listContainer { height: 121px; overflow-x:hidden; overflow-y:auto; }
+    </style>
+    <![endif]-->
+
+    <!-- Include correct theme icon sets -->
+    <style type="text/css">
+      div.img, div.img div, input[type=submit].img{
+        background-image:url(themes/default/images/img.png);
+      }
+    </style>
+    <link rel="shortcut icon" href="favicon.ico">
+{if $iePngWorkaround}
+    <script language="javascript" src="include/png.js" type="text/javascript"></script>
+{/if}
+    <script language="javascript" src="include/prototype.js" type="text/javascript"></script>
+    <script language="javascript" src="include/gosa.js" type="text/javascript"></script>
+{if $usePrototype == 'true'}
+    <script language="javascript" src="include/scriptaculous.js" type="text/javascript"></script>
+    <script language="javascript" src="include/effects.js" type="text/javascript"></script>
+    <script language="javascript" src="include/dragdrop.js" type="text/javascript"></script>
+    <script language="javascript" src="include/controls.js" type="text/javascript"></script>
+    <script language="javascript" src="include/pulldown.js" type="text/javascript"></script>
+    <script language="javascript" src="include/datepicker.js" type="text/javascript"></script>
+{/if}
+  </head>
diff --git a/gosa-core/ihtml/themes/default/help.tpl b/gosa-core/ihtml/themes/default/help.tpl
new file mode 100644 (file)
index 0000000..32620b2
--- /dev/null
@@ -0,0 +1,40 @@
+<body style='background-color:#F1F1F1;background-image:none;'>
+{$php_errors}
+
+<form action='helpviewer.php' name='mainform' method='post' enctype='multipart/form-data'>
+<div style='background-color:#CDF6BD;width:100%;border-bottom:1px solid #909090;'>
+  <table summary="" style="width:99%;">
+   <tr>
+    <td style="width:33%;">
+     <b>{t}GOsa help viewer{/t}</b>
+       </td>
+    <td style="width:33%;text-align:center">
+               {$backward}
+               &nbsp;&nbsp;
+               <a href="?pg={$index}"  class="maintitlebar">
+                       {t}Index{/t}
+               </a>
+               &nbsp;&nbsp;
+               {$forward}
+       </td>
+       <td style="text-align:right;">
+        <input type='text' name="search_string" size="15" value="{$search_string}" maxlength="50">&nbsp;<button type='submit' name='search'>{t}Search{/t}</button>
+
+       </td>
+   </tr>
+  </table>
+</div>
+<div style="height:100%;width:98%;padding:5px;margin:0px;background-color:#F1F1F1;">
+{$help_contents}
+</div>
+
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+<!-- // First input field on page
+  focus_field('search_string');
+-->
+</script>
+
+</form>
+</body>
+</html>
diff --git a/gosa-core/ihtml/themes/default/islocked.tpl b/gosa-core/ihtml/themes/default/islocked.tpl
new file mode 100644 (file)
index 0000000..566c1d4
--- /dev/null
@@ -0,0 +1,30 @@
+<div class='plugin'>
+ <div class='inline-warning'>
+  {image path="images/encrypted.png" align="top"}
+  <div class='inline-warning-text'>{t}Locking conflict detected{/t}</div>
+ </div>
+
+ <hr>
+ <p>
+   {$message}
+ </p>
+
+ <p>
+   {t}If this lock detection is false, the other person has obviously closed the webbrowser during the edit operation. You may want to take over the lock by pressing the 'Edit anyway' button.{/t}
+ </p>
+
+ <hr>
+ <div class='plugin-actions'>
+   <button type="submit" name="delete_lock">{$action}</button>
+       {if $allow_readonly}
+   &nbsp;
+   <button type="submit" name="open_readonly">{t}Read only{/t}</button>
+       {/if}
+   &nbsp;
+   <button type="submit" name="cancel_lock">{t}Cancel{/t}</button>
+ </div>
+       
+ <input type="hidden" name="dn" value="{$dn}">
+</div>
diff --git a/gosa-core/ihtml/themes/default/login.tpl b/gosa-core/ihtml/themes/default/login.tpl
new file mode 100644 (file)
index 0000000..3867301
--- /dev/null
@@ -0,0 +1,93 @@
+  <body>
+   {$php_errors}
+   <div class='title-bar'>
+    <ul>
+     <li>{$logo}</li>
+     <li class='right table-wrapper'>
+       <div class='logged-in-label'>{$version}</div>
+     </li>
+    </ul>
+   </div>
+
+   <form action='index.php' method='post' name='mainform' onSubmit='js_check(this);return true;'>
+    {image path="images/empty.png" align="top" action="focus"}
+    {$msg_dialogs}
+
+    {if $ssl}<div class='login-warning'>{$ssl}</div>{/if}
+    {if $lifetime}<div class='login-warning'>{$lifetime}</div>{/if}
+    <script language="JavaScript" type="text/javascript">
+      <!--
+        document.cookie = "gosatest=empty;path=/";
+        if (document.cookie.indexOf( "gosatest=") > -1 )
+       document.cookie = "gosatest=empty;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT";
+        else
+       document.write("<div class='login-warning'>{$cookies}<\/div>");
+      -->
+    </script>
+     
+  
+    <div class='login-box'>
+     <div class='login-box-header'>
+     {t}Sign in{/t}
+     </div>
+
+     <div class='login-box-container'>
+       <div class='login-element-container'>
+        <div style='background-color:green'>
+         <div class='login-label'><label for='username'>{t}Username{/t}</label></div>
+         <div class='login-input'>
+          <input type='text' name='username' maxlength='40' value='{$username}'
+                title='{t}Username{/t}' onFocus="nextfield= 'password';" />
+         </div>
+        </div>
+         <div class="clear"></div>
+       </div>
+
+       <div class='login-element-container'>
+        <div class='login-label'><label for='password'>{t}Password{/t}</label></div>
+        <div class='login-input'>
+         <input type='password' name='password' maxlength='40' value=''
+                title='{t}Password{/t}' onFocus="nextfield= 'login';" />
+        </div>
+        <div class="clear"></div>
+       </div>
+
+     </div>
+     {if $message}<hr><div class='login-inline-message'>{$message}</div>{/if}
+     {if $errors}<hr><div class='login-inline-message'>{$errors}</div>{/if}
+     <hr>
+     
+     <div class='login-element-container'>
+      <div class='login-label'>
+       <select size='1' name='server'  title='{t}Directory{/t}'>
+       {html_options options=$server_options selected=$server_id}
+       </select>
+      </div>
+      <div class='right'>
+       <button type='submit' name='login' title='{t}Click here to log in{/t}' onFocus="nextfield='login';">{t}Sign in{/t}</button>
+       <input type='hidden' name='login' value='{t}Sign in{/t}' />             
+      </div>
+      <div class="clear"></div>
+     </div>
+     
+     
+     <input type='hidden' name='javascript' value='false' />
+
+    </div>
+
+   </form>
+
+   <div class="clear"></div>
+   
+   
+   <script language="JavaScript" type="text/javascript">
+   <!-- 
+     enable_keyPress = false;
+     nextfield= "{$nextfield}";
+     focus_field("{$nextfield}");
+     next_msg_dialog();
+   -->
+   </script>
+
+ </body>
+</html>
diff --git a/gosa-core/ihtml/themes/default/logout-close.tpl b/gosa-core/ihtml/themes/default/logout-close.tpl
new file mode 100644 (file)
index 0000000..accba42
--- /dev/null
@@ -0,0 +1,13 @@
+<body style="background-color: white;background-image:none;">
+
+<form action='index.php' method='post' name='mainform'>
+<div style="margin-left:10%; margin-right:10%; margin-top:5%; border:2px solid red;padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:20px;">
+ <h3>{t}Your GOsa session has been closed!{/t}</h3>
+ <p>
+ {t}Please close this browser window and clean the authentication caches to avoid an automatic re-authentication by your browser.{/t}
+ </p>
+</div>
+</form>
+
+</body>
+</html>
diff --git a/gosa-core/ihtml/themes/default/logout.tpl b/gosa-core/ihtml/themes/default/logout.tpl
new file mode 100644 (file)
index 0000000..b22779e
--- /dev/null
@@ -0,0 +1,29 @@
+<body>
+
+<form action='index.php' method='post' name='mainform'>
+
+<div class='logout-box'>
+ <h3>{t}Your GOsa session has expired!{/t}</h3>
+
+ <p>
+ {t}The last interaction with the GOsa web interface has been some time ago in the past. For security reasons, the session has been closed. To continue with administrative tasks, please sign in again.{/t}
+ </p>
+
+ <hr>
+
+ <div class='plugin-actions'>
+  <button type="submit" name="dummy">{t}Sign in again{/t}</button>
+ </div>
+</div>
+
+</form>
+
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+  <!-- // First input field on page
+  focus_field('dummy');
+  -->
+</script>
+
+</body>
+</html>
diff --git a/gosa-core/ihtml/themes/default/msg_dialog.tpl b/gosa-core/ihtml/themes/default/msg_dialog.tpl
new file mode 100644 (file)
index 0000000..6d8e4f2
--- /dev/null
@@ -0,0 +1,157 @@
+{if $frame}
+       {if $IE}
+               <iframe id='e_layer3'
+                       style="
+                               position:absolute;
+                               width:100%;
+                               height:100%;
+                               top:0px;
+                               left:0px;
+                               border:none;
+                               border-style:none;
+                               border-width:0pt;
+                               display:block;
+                               allowtransparency='true';
+                               background-color: #FFFFFF;
+                               filter:chroma(color=#FFFFFF);
+                               z-index:100; ">
+               </iframe>
+               <div  id='e_layer2'
+                       style="
+                               position: absolute;
+                               left: 0px;
+                               top: 0px;
+                               right:0px;
+                               bottom:0px;
+                               z-index:100;
+                               width:100%;
+                               height:100%;
+                               filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='images/opacity_black.png'); "
+       >
+       {else}
+               <div  id='e_layer2'
+                       style="
+                               position: absolute;
+                               left: 0px;
+                               top: 0px;
+                               right:0px;
+                               bottom:0px;
+                               z-index:100;
+                               background-image: url(images/opacity_black.png);">
+
+       {/if}
+{else}
+
+
+       {if !$JS}
+
+               {if $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
+               <div id='e_layer{$i_ID}' class="infoMsgDialog" style='top:200px;left:200px;'>
+    {else}
+               <div id='e_layer{$i_ID}' class="errorMsgDialog" style='top:200px;left:200px;'>
+    {/if}
+
+                       <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
+                       <table summary='{t}Error message title{/t}'><tr><td>
+               {if $i_Type == $smarty.const.ERROR_DIALOG}
+                                               {image path='images/error.png'}
+               {elseif $i_Type == $smarty.const.WARNING_DIALOG}
+                                               {image path='images/warning.png'}
+               {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
+                                               {image path='images/warning.png'}
+               {/if}
+                       </td><td style='font-size: 1.1em;vertical-align:middle;font-weight:bold;'>{$s_Title}</td></tr>
+                       </table>
+                       </div>
+                       <table summary='{t}Error message{/t}' 
+          style='width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 border=0>
+                               <tr>
+                                       <td style='width:100%;padding:7px; padding-bottom:14px'>
+                                               {$s_Message}
+                                               <br>
+                                       </td>
+                               </tr>
+                               <tr>
+                                       <td colspan='2' align='center'>
+               {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG}
+                                               <button type='submit' name='MSG_OK{$i_ID}'>{t}Ok{/t}</button> 
+               {elseif $buttononst.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
+                                               <button type='submit' name='MSG_OK{$i_ID}'>{t}Ok{/t}</button>
+                                               <button type='submit' name='MSG_CANCEL{$i_ID}'>{t}Cancel{/t}</button>
+               {/if}
+                                       </td>
+                               </tr>
+                       </table>
+               </div>
+
+       {else}
+
+               {if $s_Trace != "" && $i_TraceCnt != 0}
+               <div id='trace_{$i_ID}' style='display:none;'>
+                       {$s_Trace}
+               </div>
+               
+               {/if}
+
+    {if $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
+    <div id='e_layer{$i_ID}' class="infoMsgDialog" style='top:200px;left:200px;'>
+    {else}
+    <div id='e_layer{$i_ID}' class="errorMsgDialog" style='top:200px;left:200px;'>
+    {/if}
+
+               <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
+                       <table summary='{t}Error message title{/t}'><tr><td>
+               {if $i_Type == $smarty.const.ERROR_DIALOG}
+                                               {image path='images/error.png'}
+               {elseif $i_Type == $smarty.const.WARNING_DIALOG}
+                                               {image path='images/warning.png'}
+               {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
+                                               {image path='images/info.png'}
+               {/if}
+                       </td><td style='font-size: 1.1em;vertical-align:middle; font-weight:bold;'>{$s_Title}</td></tr>
+               </table>
+               </div>
+
+                       <table summary='{t}Error message{/t}' 
+        style='z-index:250;width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 border=0>
+                               <tr>
+                                       <td style='width:100%;padding:7px; padding-bottom:14px;'>
+                                               {$s_Message}
+                                               <br>
+                                       </td>
+                                       {if $s_Trace != "" && $i_TraceCnt != 0}
+                                       <td style='width:20px;cursor:pointer;'>
+                                               <div onClick="$('trace_{$i_ID}').toggle();"><u>Trace</u></div>
+                                       </td>
+                                       {/if}
+                               </tr>
+                               <tr>
+                                       {if $s_Trace != "" && $i_TraceCnt != 0}
+                                       <td colspan='3' align='center' style="border-top: solid 1px #BBBBBB;">
+                                       {else}
+                                       <td colspan='2' align='center' style="border-top: solid 1px #BBBBBB;">
+                                       {/if}
+               {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG}
+                                               <button id='MSG_OK{$i_ID}' type='button' name='MSG_OK{$i_ID}' 
+              onClick='next_msg_dialog();'>{t}Ok{/t}</button>
+               {elseif $i_Type == $smarty.const.CONFIRM_DIALOG}
+                                               <button id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}' 
+              onClick='next_msg_dialog();'>{t}Ok{/t}</button>
+                                               <button type='button' name='MSG_CANCEL{$i_ID}' 
+              onClick='next_msg_dialog();'>{t}Cancel{/t}</button>
+               {elseif $i_Type == $smarty.const.OK_CANCEL_DIALOG}
+                                               <button id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}' 
+              onClick='next_msg_dialog();'>{t}Ok{/t}</button>
+                                               <button type='submit' name='MSG_CANCEL{$i_ID}' 
+              onClick='next_msg_dialog();'>{t}Cancel{/t}</button>
+               {/if}
+                                       </td>
+                               </tr>
+                       </table>
+      </div>
+    <script language="JavaScript" type="text/javascript">
+      focus_field('MSG_OK{$i_ID}');
+    </script>
+
+       {/if}
+{/if}
diff --git a/gosa-core/ihtml/themes/default/removeEntries.tpl b/gosa-core/ihtml/themes/default/removeEntries.tpl
new file mode 100644 (file)
index 0000000..611030e
--- /dev/null
@@ -0,0 +1,23 @@
+<div class=plugin>
+ <div class='inline-warning'>
+  {image path="images/warning.png" align="top"}
+  <div class='inline-warning-text'>{t}Attention{/t}</div>
+ </div>
+
+ <hr>
+
+ <div class='object-list-container'>
+  {$info}
+ </div>
+
+ <p>
+  {t}If you're sure you want to do this press 'Delete' to continue or 'Cancel' to abort.{/t}
+ </p>
+
+ <hr>
+
+ <div class="plugin-actions">
+  <button type='submit' name='delete_confirmed'>{msgPool type=delButton}</button>
+  <button type='submit' name='delete_cancel'>{msgPool type=cancelButton}</button>
+ </div>
+</div>
diff --git a/gosa-core/ihtml/themes/default/setup_headers.tpl b/gosa-core/ihtml/themes/default/setup_headers.tpl
new file mode 100644 (file)
index 0000000..25c0f38
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+
+<head>
+  <title>{if isset($title)}{$title}{else}GOsa{/if}</title>
+
+  <meta name="generator" content="my hands">
+  <meta name="description" content="GOsa - Login">
+  <meta name="author" lang="de" content="Cajus Pollmeier">
+
+  <meta http-equiv="Expires" content="Mon, 26 Jul 1997 05:00:00 GMT">
+  <meta http-equiv="Last-Modified" content="{$date} GMT">
+  <meta http-equiv="Cache-Control" content="no-cache">
+  <meta http-equiv="Pragma" content="no-cache">
+  <meta http-equiv="Cache-Control" content="post-check=0, pre-check=0">
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+  <style type="text/css">@import url('themes/default/style.css');</style>
+  <link rel="shortcut icon" href="favicon.ico">
+
+  <script language="javascript" src="include/png.js" type="text/javascript"></script>
+  <script language="javascript" src="include/prototype.js" type="text/javascript"></script>
+  <script language="javascript" src="include/gosa.js" type="text/javascript"></script>
+</head>
diff --git a/gosa-core/ihtml/themes/default/sizelimit.tpl b/gosa-core/ihtml/themes/default/sizelimit.tpl
new file mode 100644 (file)
index 0000000..7397de0
--- /dev/null
@@ -0,0 +1,19 @@
+<h3>{$warning}</h3>
+<p>
+{t}The size limit option makes LDAP operations faster and saves the LDAP server from getting too much load. The easiest way to handle big databases without long timeouts would be to limit your search to smaller values and use filters to get the entries you are looking for.{/t}
+</p>
+
+<hr>
+
+<b>{t}Please choose the way to react for this session{/t}:</b>
+<p>
+<input type="radio" name="action" value="ignore">{t}ignore this error and show all entries the LDAP server returns{/t}<br>
+<input type="radio" name="action" value="limited" checked>{t}ignore this error and show all entries that fit into the defined sizelimit and let me use filters instead{/t}<br>
+<input type="radio" name="action" value="newlimit">{$limit_message}
+</p>
+<hr>
+<div class="plugin-actions">
+ <button type='submit' name='set_size_action'>{t}Set{/t}</button>
+</div>
+
+<input type="hidden" name="ignore">
diff --git a/gosa-core/ihtml/themes/default/snapshotdialog.tpl b/gosa-core/ihtml/themes/default/snapshotdialog.tpl
new file mode 100644 (file)
index 0000000..c452492
--- /dev/null
@@ -0,0 +1,99 @@
+{if $RestoreMode}
+
+<h3>{t}Restoring object snapshots{/t}</h3>
+<hr>
+<br>
+{t}This procedure will restore a snapshot of the selected object. It will replace the existing object after pressing the restore button.{/t}
+<br>
+<br>
+{t}Remember that DNS configuration and database entries could not be restored. For some objects it is only nescessary to open and save them again (goFon), but some entries must be recreated manually (glpi).{/t}
+<br>
+<br>
+{t}Don't forget to check references to other objects, for example does the selected printer still exists ?{/t}
+<br>
+<hr>
+<br>
+<table summary="" style="width:100%">
+       {if !$restore_deleted}
+       <tr>
+               <td>
+               <b>{t}Object{/t}</b>&nbsp;
+               {$CurrentDN}
+               </td>
+       </tr>
+       {/if}
+       <tr>
+               <td>
+                       <br>
+                       {if $CountSnapShots==0}
+                               {t}There is no snapshot available that could be restored{/t}
+                       {else}
+                               {t}Choose a snapshot and click the folder image, to restore the snapshot{/t}
+                       {/if}
+               </td>
+       </tr>
+       <tr>
+               <td>
+                       {$SnapShotList}
+               </td>
+       </tr>
+</table>
+
+<hr>
+<div class="plugin-actions">
+    <button type='submit' name='CancelSnapshot'>{t}Cancel{/t}</button>
+
+</div>
+
+{else}
+
+<h2>{t}Creating object snapshots{/t}</h2>
+<hr>
+<br>
+{t}This procedure will create a snapshot of the selected object. It will be stored inside a special branch of your directory system and can be restored later on.{/t}
+<br>
+<br>
+{t}Remember that database entries, DNS configurations and possibly created zones in server extensions will not be stored in the snapshot.{/t}
+<br>
+<hr>
+<br>
+<table summary="" style="width:100%">
+       <tr>
+               <td>
+                       <b>{t}Object{/t}</b>
+               </td>
+               <td style="width:95%"> 
+                  {$CurrentDN}
+               </td>
+       </tr>
+       <tr>
+               <td>
+                       <b>{t}Timestamp{/t}</b> 
+               </td>
+               <td> 
+                  {$CurrentDate}
+               </td>
+       </tr>
+       <tr>
+               <td colspan="2">
+                       <br>
+                       {t}Reason for generating this snapshot{/t}<br> 
+                       <textarea name="CurrentDescription" style="width:100%;height:160px;" rows=10 cols=100>{$CurrentDescription}</textarea>
+               </td>
+       </tr>
+</table>
+
+<hr>
+<div class="plugin-actions">
+    <button type='submit' name='CreateSnapshot'>{t}Continue{/t}</button>
+
+    <button type='submit' name='CancelSnapshot'>{t}Cancel{/t}</button>
+
+</div>
+
+<script language="JavaScript" type="text/javascript">
+  <!-- // First input field on page
+  document.mainform.CurrentDescription.focus();
+  -->
+</script>
+{/if}
diff --git a/gosa-core/ihtml/themes/default/userFilter.tpl b/gosa-core/ihtml/themes/default/userFilter.tpl
new file mode 100644 (file)
index 0000000..8825c40
--- /dev/null
@@ -0,0 +1,11 @@
+<h3>{t}List of defined filters{/t}</h3>
+
+{$list}
+<button type='submit' name='addFilter'>{msgPool type='addButton'}</button>
+
+<hr>
+
+<div class="plugin-actions">
+  <button type='submit' name='saveFilter'>{msgPool type='saveButton'}</button>
+  <button type='submit' name='cancelFilter'>{msgPool type='cancelButton'}</button>
+</div>
diff --git a/gosa-core/ihtml/themes/default/userFilterEditor.tpl b/gosa-core/ihtml/themes/default/userFilterEditor.tpl
new file mode 100644 (file)
index 0000000..fa1cc26
--- /dev/null
@@ -0,0 +1,86 @@
+<h3>{t}Filter editor{/t}</h3>
+
+<hr>
+
+<table summary="{t}Filter editor{/t}" width="100%">
+  <tr>
+    <td class="right-border" style='width:40%;'>
+      <table summary='{t}Filter properties{/t}'>
+        <tr>
+          <td>
+            <label for='name'>{t}Name{/t}</label>{$must}
+          </td>
+          <td>
+            <input type='text' name='name' id='name' value="{$name}">
+          </td>   
+        </tr>
+        <tr>
+          <td>
+            <label for='description'>{t}Description{/t}</label>{$must}
+          </td>
+          <td>
+            <input type='text' name='description' id='description' value="{$description}">
+          </td>   
+        </tr>
+        <tr>
+          <td>
+            <label for='parent'>{t}Parent filter{/t}</label>
+          </td>
+          <td>
+            <select name='parent' size='1'>
+              {html_options values=$fixedFilters output=$fixedFilters selected=$parent}
+            </select>
+          </td>   
+        </tr>
+      </table>  
+    
+      <br>
+      
+      <input type='checkbox' name='shareFilter' value='1' {if $share} checked {/if}>
+       {t}Public visible{/t}              
+
+      <br>
+    
+      <input type='checkbox' name='enableFilter' value='1' {if $enable} checked {/if}>
+       {t}Enabled{/t}
+
+    </td>
+    <td>
+      <label for='usedCategory'>{t}Categories where the filter is visible{/t}</label><br>
+      <select id='usedCategory' name='usedCategory[]' size='4' multiple style='width:100%;'>
+        {html_options options=$selectedCategories}
+      </select>
+      <br>
+      <select id='availableCategory' name='availableCategory' size='1'
+        onChange="$('manualCategory').value=$('availableCategory').options[$('availableCategory').selectedIndex].value"> 
+        <option value=''>&nbsp;</option>
+        {html_options values=$availableCategories output=$availableCategories}
+      </select>
+      <input type='text' id='manualCategory' name='manualCategory' value=''>
+      <button type='submit' name='addCategory'>{msgPool type='addButton'}</button>
+      <button type='submit' name='delCategory'>{msgPool type='delButton'}</button>
+    </td>
+  </tr>
+</table>
+
+<hr>
+
+{foreach from=$queries item=item key=key}
+  <b>{t}Query{/t} #{$key}</b>
+  <select name='backend_{$key}' size='1'>
+    {html_options output=$backends values=$backends selected=$item.backend}
+  </select>
+  <button type='submit' name='removeQuery_{$key}'>{msgPool type='delButton'}</button> 
+  <textarea name='filter_{$key}' id='filter_{$key}' cols="0" 
+      style='width:100%; height: 120px;'>{$item.filter}</textarea>
+  <hr>
+{/foreach}
+  <button type='submit' name='addQuery'>{msgPool type='addButton'}</button> 
+<hr>
+
+<input type='hidden' value='1' name='userFilterEditor'>
+
+<div class="plugin-actions">
+  <button type='submit' name='saveFilterSettings'>{msgPool type='saveButton'}</button>
+  <button type='submit' name='cancelFilterSettings'>{msgPool type='cancelButton'}</button>
+</div>
diff --git a/gosa-core/ihtml/themes/modern/acl.tpl b/gosa-core/ihtml/themes/modern/acl.tpl
deleted file mode 100644 (file)
index d41f573..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-{if !$acl_readable}
-
-       <h3>{msgPool type=permView}</h3>
-
-{else}
-       {if $dialogState eq 'head'}
-       <h3>{t}Assigned ACL for current entry{/t}</h3>
-         {$aclList}
-    {if $acl_createable}
-     <button type='submit' name='new_acl'>{t}New ACL{/t}</button>
-         {/if}
-       {/if}
-
-       {if $dialogState eq 'create'}
-    <h3>{t}Options{/t}</h3>
-    <table summary='{t}Options{/t}'>
-      <tr>
-        <td>
-             {t}ACL type{/t}
-        </td>
-        <td>
-          {if !$acl_writeable}
-            <select size="1" name="dummy_t" title="{t}Select an acl type{/t}" disabled>
-              {html_options options=$aclTypes selected=$aclType}
-              <option disabled>&nbsp;</option>
-            </select>&nbsp;
-          {else} 
-            <select size="1" name="aclType" title="{t}Select an acl type{/t}" onChange="document.mainform.submit()">
-              {html_options options=$aclTypes selected=$aclType}
-              <option disabled>&nbsp;</option>
-            </select size=1>&nbsp;
-            {if $javascript eq 'false'}
-              <button type='submit' name='refresh'>{t}Apply{/t}</button>
-            {/if}
-          {/if}
-        </td>
-      </tr>
-      <tr>
-        <td>
-         {t}Additional filter options{/t}
-        </td>
-        <td>
-                   {if !$acl_writeable}
-            <input type='text' value='{$aclFilter}' disabled name='dummy_f' style='width:600px;'>
-          {else}
-            <input type='text' value='{$aclFilter}' name='aclFilter' style='width:600px;'>
-          {/if}
-        </td>
-      </tr>
-    </table>
-
-       <hr>
-  <h3>{t}Members{/t}</h3>
-       <table style="width:100%" summary='{t}Member selection{/t}'>
-        <tr>
-         <td style="width:48%">
-          {t}Use members from{/t}
-          <select name="target" onChange="document.mainform.submit()" size=1>
-                       {html_options options=$targets selected=$target}
-                       <option disabled>&nbsp;</option>
-          </select>
-          {if $javascript eq 'false'}<button type='submit' name='refresh'>{t}Apply{/t}</button>{/if}
-    </td>
-    <td>&nbsp;</td>
-    <td>{t}Members{/t}</td>
-        <tr>
-         <td style="width:48%">
-               {if !$acl_writeable}
-          <select style="width:100%;height:180px;" disabled name="dummy_s[]" size="20" multiple title="{t}List message possible targets{/t}">
-                               {html_options options=$sources}
-                               <option disabled>&nbsp;</option>
-          </select>
-               {else}
-          <select style="width:100%;height:180px;" name="source[]" size="20" multiple title="{t}List message possible targets{/t}">
-                               {html_options options=$sources}
-                               <option disabled>&nbsp;</option>
-          </select>
-               {/if}
-         </td>
-         <td>
-
-               {if $acl_writeable}
-          <button type='submit' name='add'>&gt;</button>
-
-          <br><br>
-          <button type='submit' name='del'>&lt;</button>
-
-               {/if}
-         </td>
-         <td style="width:48%">
-               {if !$acl_writeable}
-          <select style="width:100%;height:180px;" disabled name="dummy_r[]" size="20" multiple title="{t}List message recipients{/t}">
-                               {html_options options=$recipients}
-                               <option disabled>&nbsp;</option>
-          </select>
-
-               {else}
-          <select style="width:100%;height:180px;" name="recipient[]" size="20" multiple title="{t}List message recipients{/t}">
-                               {html_options options=$recipients}
-                               <option disabled>&nbsp;</option>
-          </select>
-               {/if}
-         </td>
-        </tr>
-       </table>
-
-       {if $aclType ne 'reset'}
-       {if $aclType ne 'role'}
-       {if $aclType ne 'base'}
-       <hr>
-
-       <h3>{t}List of available ACL categories{/t}</h3>
-       {$aclList}
-       {/if}
-       {/if}
-       {/if}
-
-       {if $aclType eq 'base'}
-       <hr>
-       <h3>{t}ACL for this object{/t}</h3>
-       {$aclSelector}
-       {/if}
-
-       {if $aclType eq 'role'}
-       <hr>
-       <h3>{t}Available roles{/t}</h3>
-       {$roleSelector}
-       {/if}
-
-       <hr>
-       <div style='text-align:right;margin-top:5px'>
-               {if $acl_writeable}
-               <button type='submit' name='submit_new_acl'>{t}Apply{/t}</button>
-
-               &nbsp;
-               {/if}
-               <button type='submit' name='cancel_new_acl'>{t}Cancel{/t}</button>
-
-       </div>
-       {/if}
-
-       {if $dialogState eq 'edit'}
-
-       <h3>{$headline}</h3>
-
-       {$aclSelector}
-
-       <hr>
-       <div style='text-align:right;margin-top:5px'>
-               <button type='submit' name='submit_edit_acl'>{t}Apply{/t}</button>
-
-               &nbsp;
-               <button type='submit' name='cancel_edit_acl'>{t}Cancel{/t}</button>
-
-       </div>
-       {/if}
-{/if}
diff --git a/gosa-core/ihtml/themes/modern/blacklist b/gosa-core/ihtml/themes/modern/blacklist
deleted file mode 100644 (file)
index 77be825..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MSIE
diff --git a/gosa-core/ihtml/themes/modern/copyPasteDialog.tpl b/gosa-core/ihtml/themes/modern/copyPasteDialog.tpl
deleted file mode 100644 (file)
index b2399f8..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<h3>{t}Copy & paste wizard{/t}</h3>
-
-<b>{$message}</b>
-<br>
-<br>
-{if $Complete == false}
-       {t}Some values need to be unique in the complete directory while some combinations make no sense. GOsa shows the relevant attributes. Please maintain the values below to fullfill the policies.{/t}
-       <br>
-{t}Remember that some properties like taken snapshots will not be copied!{/t}&nbsp;
-{t}Or if you copy or cut an entry within GOsa and delete the source object, you may get errors while pasting this object again!{/t}
-
-       <hr>
-       <br>
-       {$AttributesToFix}
-       {if $SubDialog == false}
-       <br>
-
-       <div style='text-align:right;width:100%;'>
-               <button type='submit' name='PerformCopyPaste'>{t}Save{/t}</button>
-           {if $type == "modified"}
-                   <button type='submit' name='abort_current_cut-copy_operation'>{t}Cancel{/t}</button>
-       {/if}
-               <button type='submit' name='abort_all_cut-copy_operations'>{t}Cancel all{/t}</button>
-       </div>
-       {/if}
-{else}
-       <hr>
-       <h3>{t}Operation complete{/t}</h3>
-       <div style='text-align:right;width:100%;'>
-               <button type='submit' name='Back'>{t}Finish{/t}</button>
-       </div>
-{/if}
diff --git a/gosa-core/ihtml/themes/modern/framework.tpl b/gosa-core/ihtml/themes/modern/framework.tpl
deleted file mode 100644 (file)
index d5dec10..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-  <body>
-   {$php_errors}
-   <div class='title-bar'>
-    <ul>
-     <li>{$logo}</li>
-     <li class='right table-wrapper'>
-       <div class='logout-label'>
-         <form action='logout.php' name='logoutframe' method='post' enctype='multipart/form-data'>
-          <div style='cursor:pointer' onClick="
-                    return question('{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}',
-            'logout.php?forcedlogout');">{image path="{$logoutimage}"}</div>
-          <input type='hidden' name='forcedlogout' value='1'>
-          <input type="hidden" name="php_c_check" value="1">
-         </form>
-       </div>
-     </li>
-     <li class='right table-wrapper'>
-       <div class='logged-in-label'>{$loggedin}</div>
-     </li>
-    </ul>
-   </div>
-   <form action='main.php{$plug}' id='mainform' name='mainform' method='post' enctype='multipart/form-data'>
-   {$menu}
-   {$msg_dialogs}
-   <div class='plugin-area'>
-     {$pathMenu}
-     {$contents}
-   </div>
-
-   {if $channel != ""}
-   <input type="hidden" name="_channel_" value="{$channel}">
-   {/if}
-
-   {$errors}
-   {$focus}
-   <input type="hidden" name="php_c_check" value="1">
-  </form>
- </body>
-</html>
diff --git a/gosa-core/ihtml/themes/modern/headers.tpl b/gosa-core/ihtml/themes/modern/headers.tpl
deleted file mode 100644 (file)
index 703db96..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-       "http://www.w3.org/TR/html4/transitional.dtd">
-<html>
-  <head>
-    <title>{if isset($title)}{$title}{else}GOsa{/if}</title>
-    <meta name="generator" content="my hands">
-    <meta name="description" content="GOsa - Login">
-    <meta name="author" lang="de" content="Cajus Pollmeier">
-    <meta http-equiv="Expires" content="Mon, 26 Jul 1997 05:00:00 GMT">
-    <meta http-equiv="Last-Modified" content="{$date} GMT">
-    <meta http-equiv="Cache-Control" content="no-cache">
-    <meta http-equiv="Pragma" content="no-cache">
-    <meta http-equiv="Cache-Control" content="post-check=0, pre-check=0">
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-    <style type="text/css">@import url('themes/modern/style.css');</style>
-    <link rel="stylesheet" type="text/css" href="themes/modern/printer.css" media="print">
-
-    <!--[if IE]>
-    <style type="text/css">
-      div.listContainer { height: 121px; overflow-x:hidden; overflow-y:auto; }
-    </style>
-    <![endif]-->
-
-    <!-- Include correct theme icon sets -->
-    <style type="text/css">
-      div.img, div.img div, input[type=submit].img{
-        background-image:url(themes/modern/images/img.png);
-      }
-    </style>
-    <link rel="shortcut icon" href="favicon.ico">
-{if $iePngWorkaround}
-    <script language="javascript" src="include/png.js" type="text/javascript"></script>
-{/if}
-    <script language="javascript" src="include/prototype.js" type="text/javascript"></script>
-    <script language="javascript" src="include/gosa.js" type="text/javascript"></script>
-{if $usePrototype == 'true'}
-    <script language="javascript" src="include/scriptaculous.js" type="text/javascript"></script>
-    <script language="javascript" src="include/effects.js" type="text/javascript"></script>
-    <script language="javascript" src="include/dragdrop.js" type="text/javascript"></script>
-    <script language="javascript" src="include/controls.js" type="text/javascript"></script>
-    <script language="javascript" src="include/pulldown.js" type="text/javascript"></script>
-    <script language="javascript" src="include/datepicker.js" type="text/javascript"></script>
-{/if}
-  </head>
diff --git a/gosa-core/ihtml/themes/modern/help.tpl b/gosa-core/ihtml/themes/modern/help.tpl
deleted file mode 100644 (file)
index 32620b2..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<body style='background-color:#F1F1F1;background-image:none;'>
-{$php_errors}
-
-<form action='helpviewer.php' name='mainform' method='post' enctype='multipart/form-data'>
-<div style='background-color:#CDF6BD;width:100%;border-bottom:1px solid #909090;'>
-  <table summary="" style="width:99%;">
-   <tr>
-    <td style="width:33%;">
-     <b>{t}GOsa help viewer{/t}</b>
-       </td>
-    <td style="width:33%;text-align:center">
-               {$backward}
-               &nbsp;&nbsp;
-               <a href="?pg={$index}"  class="maintitlebar">
-                       {t}Index{/t}
-               </a>
-               &nbsp;&nbsp;
-               {$forward}
-       </td>
-       <td style="text-align:right;">
-        <input type='text' name="search_string" size="15" value="{$search_string}" maxlength="50">&nbsp;<button type='submit' name='search'>{t}Search{/t}</button>
-
-       </td>
-   </tr>
-  </table>
-</div>
-<div style="height:100%;width:98%;padding:5px;margin:0px;background-color:#F1F1F1;">
-{$help_contents}
-</div>
-
-<!-- Place cursor -->
-<script language="JavaScript" type="text/javascript">
-<!-- // First input field on page
-  focus_field('search_string');
--->
-</script>
-
-</form>
-</body>
-</html>
diff --git a/gosa-core/ihtml/themes/modern/islocked.tpl b/gosa-core/ihtml/themes/modern/islocked.tpl
deleted file mode 100644 (file)
index 566c1d4..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<div class='plugin'>
- <div class='inline-warning'>
-  {image path="images/encrypted.png" align="top"}
-  <div class='inline-warning-text'>{t}Locking conflict detected{/t}</div>
- </div>
-
- <hr>
- <p>
-   {$message}
- </p>
-
- <p>
-   {t}If this lock detection is false, the other person has obviously closed the webbrowser during the edit operation. You may want to take over the lock by pressing the 'Edit anyway' button.{/t}
- </p>
-
- <hr>
- <div class='plugin-actions'>
-   <button type="submit" name="delete_lock">{$action}</button>
-       {if $allow_readonly}
-   &nbsp;
-   <button type="submit" name="open_readonly">{t}Read only{/t}</button>
-       {/if}
-   &nbsp;
-   <button type="submit" name="cancel_lock">{t}Cancel{/t}</button>
- </div>
-       
- <input type="hidden" name="dn" value="{$dn}">
-</div>
diff --git a/gosa-core/ihtml/themes/modern/login.tpl b/gosa-core/ihtml/themes/modern/login.tpl
deleted file mode 100644 (file)
index 3867301..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-  <body>
-   {$php_errors}
-   <div class='title-bar'>
-    <ul>
-     <li>{$logo}</li>
-     <li class='right table-wrapper'>
-       <div class='logged-in-label'>{$version}</div>
-     </li>
-    </ul>
-   </div>
-
-   <form action='index.php' method='post' name='mainform' onSubmit='js_check(this);return true;'>
-    {image path="images/empty.png" align="top" action="focus"}
-    {$msg_dialogs}
-
-    {if $ssl}<div class='login-warning'>{$ssl}</div>{/if}
-    {if $lifetime}<div class='login-warning'>{$lifetime}</div>{/if}
-    <script language="JavaScript" type="text/javascript">
-      <!--
-        document.cookie = "gosatest=empty;path=/";
-        if (document.cookie.indexOf( "gosatest=") > -1 )
-       document.cookie = "gosatest=empty;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT";
-        else
-       document.write("<div class='login-warning'>{$cookies}<\/div>");
-      -->
-    </script>
-     
-  
-    <div class='login-box'>
-     <div class='login-box-header'>
-     {t}Sign in{/t}
-     </div>
-
-     <div class='login-box-container'>
-       <div class='login-element-container'>
-        <div style='background-color:green'>
-         <div class='login-label'><label for='username'>{t}Username{/t}</label></div>
-         <div class='login-input'>
-          <input type='text' name='username' maxlength='40' value='{$username}'
-                title='{t}Username{/t}' onFocus="nextfield= 'password';" />
-         </div>
-        </div>
-         <div class="clear"></div>
-       </div>
-
-       <div class='login-element-container'>
-        <div class='login-label'><label for='password'>{t}Password{/t}</label></div>
-        <div class='login-input'>
-         <input type='password' name='password' maxlength='40' value=''
-                title='{t}Password{/t}' onFocus="nextfield= 'login';" />
-        </div>
-        <div class="clear"></div>
-       </div>
-
-     </div>
-     {if $message}<hr><div class='login-inline-message'>{$message}</div>{/if}
-     {if $errors}<hr><div class='login-inline-message'>{$errors}</div>{/if}
-     <hr>
-     
-     <div class='login-element-container'>
-      <div class='login-label'>
-       <select size='1' name='server'  title='{t}Directory{/t}'>
-       {html_options options=$server_options selected=$server_id}
-       </select>
-      </div>
-      <div class='right'>
-       <button type='submit' name='login' title='{t}Click here to log in{/t}' onFocus="nextfield='login';">{t}Sign in{/t}</button>
-       <input type='hidden' name='login' value='{t}Sign in{/t}' />             
-      </div>
-      <div class="clear"></div>
-     </div>
-     
-     
-     <input type='hidden' name='javascript' value='false' />
-
-    </div>
-
-   </form>
-
-   <div class="clear"></div>
-   
-   
-   <script language="JavaScript" type="text/javascript">
-   <!-- 
-     enable_keyPress = false;
-     nextfield= "{$nextfield}";
-     focus_field("{$nextfield}");
-     next_msg_dialog();
-   -->
-   </script>
-
- </body>
-</html>
diff --git a/gosa-core/ihtml/themes/modern/logout-close.tpl b/gosa-core/ihtml/themes/modern/logout-close.tpl
deleted file mode 100644 (file)
index accba42..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<body style="background-color: white;background-image:none;">
-
-<form action='index.php' method='post' name='mainform'>
-<div style="margin-left:10%; margin-right:10%; margin-top:5%; border:2px solid red;padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:20px;">
- <h3>{t}Your GOsa session has been closed!{/t}</h3>
- <p>
- {t}Please close this browser window and clean the authentication caches to avoid an automatic re-authentication by your browser.{/t}
- </p>
-</div>
-</form>
-
-</body>
-</html>
diff --git a/gosa-core/ihtml/themes/modern/logout.tpl b/gosa-core/ihtml/themes/modern/logout.tpl
deleted file mode 100644 (file)
index b22779e..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<body>
-
-<form action='index.php' method='post' name='mainform'>
-
-<div class='logout-box'>
- <h3>{t}Your GOsa session has expired!{/t}</h3>
-
- <p>
- {t}The last interaction with the GOsa web interface has been some time ago in the past. For security reasons, the session has been closed. To continue with administrative tasks, please sign in again.{/t}
- </p>
-
- <hr>
-
- <div class='plugin-actions'>
-  <button type="submit" name="dummy">{t}Sign in again{/t}</button>
- </div>
-</div>
-
-</form>
-
-<!-- Place cursor -->
-<script language="JavaScript" type="text/javascript">
-  <!-- // First input field on page
-  focus_field('dummy');
-  -->
-</script>
-
-</body>
-</html>
diff --git a/gosa-core/ihtml/themes/modern/msg_dialog.tpl b/gosa-core/ihtml/themes/modern/msg_dialog.tpl
deleted file mode 100644 (file)
index 6d8e4f2..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-{if $frame}
-       {if $IE}
-               <iframe id='e_layer3'
-                       style="
-                               position:absolute;
-                               width:100%;
-                               height:100%;
-                               top:0px;
-                               left:0px;
-                               border:none;
-                               border-style:none;
-                               border-width:0pt;
-                               display:block;
-                               allowtransparency='true';
-                               background-color: #FFFFFF;
-                               filter:chroma(color=#FFFFFF);
-                               z-index:100; ">
-               </iframe>
-               <div  id='e_layer2'
-                       style="
-                               position: absolute;
-                               left: 0px;
-                               top: 0px;
-                               right:0px;
-                               bottom:0px;
-                               z-index:100;
-                               width:100%;
-                               height:100%;
-                               filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='images/opacity_black.png'); "
-       >
-       {else}
-               <div  id='e_layer2'
-                       style="
-                               position: absolute;
-                               left: 0px;
-                               top: 0px;
-                               right:0px;
-                               bottom:0px;
-                               z-index:100;
-                               background-image: url(images/opacity_black.png);">
-
-       {/if}
-{else}
-
-
-       {if !$JS}
-
-               {if $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
-               <div id='e_layer{$i_ID}' class="infoMsgDialog" style='top:200px;left:200px;'>
-    {else}
-               <div id='e_layer{$i_ID}' class="errorMsgDialog" style='top:200px;left:200px;'>
-    {/if}
-
-                       <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
-                       <table summary='{t}Error message title{/t}'><tr><td>
-               {if $i_Type == $smarty.const.ERROR_DIALOG}
-                                               {image path='images/error.png'}
-               {elseif $i_Type == $smarty.const.WARNING_DIALOG}
-                                               {image path='images/warning.png'}
-               {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
-                                               {image path='images/warning.png'}
-               {/if}
-                       </td><td style='font-size: 1.1em;vertical-align:middle;font-weight:bold;'>{$s_Title}</td></tr>
-                       </table>
-                       </div>
-                       <table summary='{t}Error message{/t}' 
-          style='width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 border=0>
-                               <tr>
-                                       <td style='width:100%;padding:7px; padding-bottom:14px'>
-                                               {$s_Message}
-                                               <br>
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td colspan='2' align='center'>
-               {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG}
-                                               <button type='submit' name='MSG_OK{$i_ID}'>{t}Ok{/t}</button> 
-               {elseif $buttononst.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
-                                               <button type='submit' name='MSG_OK{$i_ID}'>{t}Ok{/t}</button>
-                                               <button type='submit' name='MSG_CANCEL{$i_ID}'>{t}Cancel{/t}</button>
-               {/if}
-                                       </td>
-                               </tr>
-                       </table>
-               </div>
-
-       {else}
-
-               {if $s_Trace != "" && $i_TraceCnt != 0}
-               <div id='trace_{$i_ID}' style='display:none;'>
-                       {$s_Trace}
-               </div>
-               
-               {/if}
-
-    {if $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
-    <div id='e_layer{$i_ID}' class="infoMsgDialog" style='top:200px;left:200px;'>
-    {else}
-    <div id='e_layer{$i_ID}' class="errorMsgDialog" style='top:200px;left:200px;'>
-    {/if}
-
-               <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
-                       <table summary='{t}Error message title{/t}'><tr><td>
-               {if $i_Type == $smarty.const.ERROR_DIALOG}
-                                               {image path='images/error.png'}
-               {elseif $i_Type == $smarty.const.WARNING_DIALOG}
-                                               {image path='images/warning.png'}
-               {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
-                                               {image path='images/info.png'}
-               {/if}
-                       </td><td style='font-size: 1.1em;vertical-align:middle; font-weight:bold;'>{$s_Title}</td></tr>
-               </table>
-               </div>
-
-                       <table summary='{t}Error message{/t}' 
-        style='z-index:250;width:100%; border-top: solid 1px #BBBBBB;' cellspacing=0 cellpadding=2 border=0>
-                               <tr>
-                                       <td style='width:100%;padding:7px; padding-bottom:14px;'>
-                                               {$s_Message}
-                                               <br>
-                                       </td>
-                                       {if $s_Trace != "" && $i_TraceCnt != 0}
-                                       <td style='width:20px;cursor:pointer;'>
-                                               <div onClick="$('trace_{$i_ID}').toggle();"><u>Trace</u></div>
-                                       </td>
-                                       {/if}
-                               </tr>
-                               <tr>
-                                       {if $s_Trace != "" && $i_TraceCnt != 0}
-                                       <td colspan='3' align='center' style="border-top: solid 1px #BBBBBB;">
-                                       {else}
-                                       <td colspan='2' align='center' style="border-top: solid 1px #BBBBBB;">
-                                       {/if}
-               {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG}
-                                               <button id='MSG_OK{$i_ID}' type='button' name='MSG_OK{$i_ID}' 
-              onClick='next_msg_dialog();'>{t}Ok{/t}</button>
-               {elseif $i_Type == $smarty.const.CONFIRM_DIALOG}
-                                               <button id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}' 
-              onClick='next_msg_dialog();'>{t}Ok{/t}</button>
-                                               <button type='button' name='MSG_CANCEL{$i_ID}' 
-              onClick='next_msg_dialog();'>{t}Cancel{/t}</button>
-               {elseif $i_Type == $smarty.const.OK_CANCEL_DIALOG}
-                                               <button id='MSG_OK{$i_ID}' type='submit' name='MSG_OK{$i_ID}' 
-              onClick='next_msg_dialog();'>{t}Ok{/t}</button>
-                                               <button type='submit' name='MSG_CANCEL{$i_ID}' 
-              onClick='next_msg_dialog();'>{t}Cancel{/t}</button>
-               {/if}
-                                       </td>
-                               </tr>
-                       </table>
-      </div>
-    <script language="JavaScript" type="text/javascript">
-      focus_field('MSG_OK{$i_ID}');
-    </script>
-
-       {/if}
-{/if}
diff --git a/gosa-core/ihtml/themes/modern/removeEntries.tpl b/gosa-core/ihtml/themes/modern/removeEntries.tpl
deleted file mode 100644 (file)
index 611030e..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<div class=plugin>
- <div class='inline-warning'>
-  {image path="images/warning.png" align="top"}
-  <div class='inline-warning-text'>{t}Attention{/t}</div>
- </div>
-
- <hr>
-
- <div class='object-list-container'>
-  {$info}
- </div>
-
- <p>
-  {t}If you're sure you want to do this press 'Delete' to continue or 'Cancel' to abort.{/t}
- </p>
-
- <hr>
-
- <div class="plugin-actions">
-  <button type='submit' name='delete_confirmed'>{msgPool type=delButton}</button>
-  <button type='submit' name='delete_cancel'>{msgPool type=cancelButton}</button>
- </div>
-</div>
diff --git a/gosa-core/ihtml/themes/modern/setup_headers.tpl b/gosa-core/ihtml/themes/modern/setup_headers.tpl
deleted file mode 100644 (file)
index 25c0f38..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-
-<head>
-  <title>{if isset($title)}{$title}{else}GOsa{/if}</title>
-
-  <meta name="generator" content="my hands">
-  <meta name="description" content="GOsa - Login">
-  <meta name="author" lang="de" content="Cajus Pollmeier">
-
-  <meta http-equiv="Expires" content="Mon, 26 Jul 1997 05:00:00 GMT">
-  <meta http-equiv="Last-Modified" content="{$date} GMT">
-  <meta http-equiv="Cache-Control" content="no-cache">
-  <meta http-equiv="Pragma" content="no-cache">
-  <meta http-equiv="Cache-Control" content="post-check=0, pre-check=0">
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
-  <style type="text/css">@import url('themes/default/style.css');</style>
-  <link rel="shortcut icon" href="favicon.ico">
-
-  <script language="javascript" src="include/png.js" type="text/javascript"></script>
-  <script language="javascript" src="include/prototype.js" type="text/javascript"></script>
-  <script language="javascript" src="include/gosa.js" type="text/javascript"></script>
-</head>
diff --git a/gosa-core/ihtml/themes/modern/sizelimit.tpl b/gosa-core/ihtml/themes/modern/sizelimit.tpl
deleted file mode 100644 (file)
index 7397de0..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<h3>{$warning}</h3>
-<p>
-{t}The size limit option makes LDAP operations faster and saves the LDAP server from getting too much load. The easiest way to handle big databases without long timeouts would be to limit your search to smaller values and use filters to get the entries you are looking for.{/t}
-</p>
-
-<hr>
-
-<b>{t}Please choose the way to react for this session{/t}:</b>
-<p>
-<input type="radio" name="action" value="ignore">{t}ignore this error and show all entries the LDAP server returns{/t}<br>
-<input type="radio" name="action" value="limited" checked>{t}ignore this error and show all entries that fit into the defined sizelimit and let me use filters instead{/t}<br>
-<input type="radio" name="action" value="newlimit">{$limit_message}
-</p>
-<hr>
-<div class="plugin-actions">
- <button type='submit' name='set_size_action'>{t}Set{/t}</button>
-</div>
-
-<input type="hidden" name="ignore">
diff --git a/gosa-core/ihtml/themes/modern/snapshotdialog.tpl b/gosa-core/ihtml/themes/modern/snapshotdialog.tpl
deleted file mode 100644 (file)
index c452492..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-{if $RestoreMode}
-
-<h3>{t}Restoring object snapshots{/t}</h3>
-<hr>
-<br>
-{t}This procedure will restore a snapshot of the selected object. It will replace the existing object after pressing the restore button.{/t}
-<br>
-<br>
-{t}Remember that DNS configuration and database entries could not be restored. For some objects it is only nescessary to open and save them again (goFon), but some entries must be recreated manually (glpi).{/t}
-<br>
-<br>
-{t}Don't forget to check references to other objects, for example does the selected printer still exists ?{/t}
-<br>
-<hr>
-<br>
-<table summary="" style="width:100%">
-       {if !$restore_deleted}
-       <tr>
-               <td>
-               <b>{t}Object{/t}</b>&nbsp;
-               {$CurrentDN}
-               </td>
-       </tr>
-       {/if}
-       <tr>
-               <td>
-                       <br>
-                       {if $CountSnapShots==0}
-                               {t}There is no snapshot available that could be restored{/t}
-                       {else}
-                               {t}Choose a snapshot and click the folder image, to restore the snapshot{/t}
-                       {/if}
-               </td>
-       </tr>
-       <tr>
-               <td>
-                       {$SnapShotList}
-               </td>
-       </tr>
-</table>
-
-<hr>
-<div class="plugin-actions">
-    <button type='submit' name='CancelSnapshot'>{t}Cancel{/t}</button>
-
-</div>
-
-{else}
-
-<h2>{t}Creating object snapshots{/t}</h2>
-<hr>
-<br>
-{t}This procedure will create a snapshot of the selected object. It will be stored inside a special branch of your directory system and can be restored later on.{/t}
-<br>
-<br>
-{t}Remember that database entries, DNS configurations and possibly created zones in server extensions will not be stored in the snapshot.{/t}
-<br>
-<hr>
-<br>
-<table summary="" style="width:100%">
-       <tr>
-               <td>
-                       <b>{t}Object{/t}</b>
-               </td>
-               <td style="width:95%"> 
-                  {$CurrentDN}
-               </td>
-       </tr>
-       <tr>
-               <td>
-                       <b>{t}Timestamp{/t}</b> 
-               </td>
-               <td> 
-                  {$CurrentDate}
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2">
-                       <br>
-                       {t}Reason for generating this snapshot{/t}<br> 
-                       <textarea name="CurrentDescription" style="width:100%;height:160px;" rows=10 cols=100>{$CurrentDescription}</textarea>
-               </td>
-       </tr>
-</table>
-
-<hr>
-<div class="plugin-actions">
-    <button type='submit' name='CreateSnapshot'>{t}Continue{/t}</button>
-
-    <button type='submit' name='CancelSnapshot'>{t}Cancel{/t}</button>
-
-</div>
-
-<script language="JavaScript" type="text/javascript">
-  <!-- // First input field on page
-  document.mainform.CurrentDescription.focus();
-  -->
-</script>
-{/if}
diff --git a/gosa-core/ihtml/themes/modern/userFilter.tpl b/gosa-core/ihtml/themes/modern/userFilter.tpl
deleted file mode 100644 (file)
index 8825c40..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<h3>{t}List of defined filters{/t}</h3>
-
-{$list}
-<button type='submit' name='addFilter'>{msgPool type='addButton'}</button>
-
-<hr>
-
-<div class="plugin-actions">
-  <button type='submit' name='saveFilter'>{msgPool type='saveButton'}</button>
-  <button type='submit' name='cancelFilter'>{msgPool type='cancelButton'}</button>
-</div>
diff --git a/gosa-core/ihtml/themes/modern/userFilterEditor.tpl b/gosa-core/ihtml/themes/modern/userFilterEditor.tpl
deleted file mode 100644 (file)
index fa1cc26..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<h3>{t}Filter editor{/t}</h3>
-
-<hr>
-
-<table summary="{t}Filter editor{/t}" width="100%">
-  <tr>
-    <td class="right-border" style='width:40%;'>
-      <table summary='{t}Filter properties{/t}'>
-        <tr>
-          <td>
-            <label for='name'>{t}Name{/t}</label>{$must}
-          </td>
-          <td>
-            <input type='text' name='name' id='name' value="{$name}">
-          </td>   
-        </tr>
-        <tr>
-          <td>
-            <label for='description'>{t}Description{/t}</label>{$must}
-          </td>
-          <td>
-            <input type='text' name='description' id='description' value="{$description}">
-          </td>   
-        </tr>
-        <tr>
-          <td>
-            <label for='parent'>{t}Parent filter{/t}</label>
-          </td>
-          <td>
-            <select name='parent' size='1'>
-              {html_options values=$fixedFilters output=$fixedFilters selected=$parent}
-            </select>
-          </td>   
-        </tr>
-      </table>  
-    
-      <br>
-      
-      <input type='checkbox' name='shareFilter' value='1' {if $share} checked {/if}>
-       {t}Public visible{/t}              
-
-      <br>
-    
-      <input type='checkbox' name='enableFilter' value='1' {if $enable} checked {/if}>
-       {t}Enabled{/t}
-
-    </td>
-    <td>
-      <label for='usedCategory'>{t}Categories where the filter is visible{/t}</label><br>
-      <select id='usedCategory' name='usedCategory[]' size='4' multiple style='width:100%;'>
-        {html_options options=$selectedCategories}
-      </select>
-      <br>
-      <select id='availableCategory' name='availableCategory' size='1'
-        onChange="$('manualCategory').value=$('availableCategory').options[$('availableCategory').selectedIndex].value"> 
-        <option value=''>&nbsp;</option>
-        {html_options values=$availableCategories output=$availableCategories}
-      </select>
-      <input type='text' id='manualCategory' name='manualCategory' value=''>
-      <button type='submit' name='addCategory'>{msgPool type='addButton'}</button>
-      <button type='submit' name='delCategory'>{msgPool type='delButton'}</button>
-    </td>
-  </tr>
-</table>
-
-<hr>
-
-{foreach from=$queries item=item key=key}
-  <b>{t}Query{/t} #{$key}</b>
-  <select name='backend_{$key}' size='1'>
-    {html_options output=$backends values=$backends selected=$item.backend}
-  </select>
-  <button type='submit' name='removeQuery_{$key}'>{msgPool type='delButton'}</button> 
-  <textarea name='filter_{$key}' id='filter_{$key}' cols="0" 
-      style='width:100%; height: 120px;'>{$item.filter}</textarea>
-  <hr>
-{/foreach}
-  <button type='submit' name='addQuery'>{msgPool type='addButton'}</button> 
-<hr>
-
-<input type='hidden' value='1' name='userFilterEditor'>
-
-<div class="plugin-actions">
-  <button type='submit' name='saveFilterSettings'>{msgPool type='saveButton'}</button>
-  <button type='submit' name='cancelFilterSettings'>{msgPool type='cancelButton'}</button>
-</div>