Code

Updated layout
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 17 Apr 2007 07:10:16 +0000 (07:10 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 17 Apr 2007 07:10:16 +0000 (07:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6061 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/addons/gotomasses/class_gotomasses.inc
plugins/addons/gotomasses/contents.tpl
plugins/addons/gotomasses/main.inc

index 09e80b8e89414eec28567d86b2768faf03550514..f20ddb02e3081c9cfe6e79cb3fc13dd88bff466c 100644 (file)
@@ -3,7 +3,7 @@
 class gotomasses extends plugin
 {
   /* Definitions */
-  var $plHeadline     = "Mass machine";
+  var $plHeadline     = "System mass deployment";
   var $plDescription  = "This does something";
 
   /* attribute list for save action */
@@ -238,13 +238,13 @@ class gotomasses extends plugin
   function plInfo()
   {
     return (array(
-        "plShortName"   => _("Mass machine deployment"),
-        "plDescription" => _("Mass machine deployment addon"),
+        "plShortName"   => _("System mass deployment"),
+        "plDescription" => _("Provide a mechanism to automatically activate a set of systems"),
         "plSelfModify"  => FALSE,
         "plDepends"     => array(),
         "plPriority"    => 0,
         "plSection"     => array("addon"),
-        "plCategory"    => array("gotomasses" => array("objectClass" => "none", "description" => _("Mass machine deployment"))),
+        "plCategory"    => array("gotomasses" => array("objectClass" => "none", "description" => _("System mass deployment"))),
         "plProvidedAcls" => array()
         ));
   }
index de4f1e9f4e5462a7d6d0b8e5f06b0e816d07a10d..3aa2c295b5bea6072db8d58e3b61dfde7e037308 100644 (file)
@@ -3,7 +3,7 @@
        {t}Options{/t}&nbsp;
  </p>
 </div>
-<div class="contentboxb">
+<div class="contentboxb" style="margin-bottom:10px">
 
        <table summary="" width="100%" class="contentboxb" style="border-top:1px solid #B0B0B0; padding:0px;">
                <tr>
@@ -23,7 +23,6 @@
                </tr>
        </table>
 </div>
-<p>&nbsp;</p>
        <table summary="" width="100%" class="contentboxb" cellspacing=0>
                <tr>
                        <td style='width:40px'>
                        <td>&nbsp;
                        </td>
                        <td style='width:40%;'>
-                               <b>{t}Object group{/t}</b>
+                               <b>{t}Assigned object group{/t}</b>
                        </td>
                        <td style='text-align:right ; width:20%;'>
-                               <b>{t}Options{/t}</b>
+                               <b>{t}Action{/t}</b>
                        </td>
                </tr>
        {foreach from=$contents item=val key=key}
                        </td>
                </tr>
        </table>
-<p>&nbsp;</p>
-<div class="contentboxb" style="border-top: 1px solid #B0B0B0; padding:0px;">
+<div class="contentboxb" style="border-top: 1px solid #B0B0B0; padding:0px; margin-top:10px;">
  <p class="contentboxb" style='text-align:right'>
 {if $contents_modified}
-       <input type='submit' name='reload_gotomass_data' value='{t}Discard changes{/t}'>
-       <input type='submit' name='save_gotomass_changes' value='{t}Apply changes{/t}'>
+       <input type='submit' name='save_gotomass_changes' value='{t}Apply{/t}'>
+       <input type='submit' name='reload_gotomass_data' value='{t}Cancel{/t}'>
 {else}
-       <input type='submit' name='reload_gotomass_data' value='{t}Discard changes{/t}' disabled>
-       <input type='submit' name='save_gotomass_changes' value='{t}Apply changes{/t}' disabled>
+       <input type='submit' name='save_gotomass_changes' value='{t}Apply{/t}' disabled>
+       <input type='submit' name='reload_gotomass_data' value='{t}Cancel{/t}' disabled>
 {/if}
  </p>
 </div>
index 07877f190d4889232d6efd9cb5482f6f3f69d35f..768476111e2724c0f1430e813e47b958b74aa274 100644 (file)
@@ -35,7 +35,7 @@ if (!$remove_lock){
 #      $display.= "<input type=\"hidden\" name=\"ignore\">\n";
 
        /* Page header*/
-       $display= print_header(get_template_path('images/system.png'), _("Mass machine deployment")).$display;
+       $display= print_header(get_template_path('images/system.png'), _("System mass deployment")).$display;
 
        /* Store changes  in session */
        $_SESSION['gotomasses']= $gotomasses;