Code

Updated Application mangement.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 9 Nov 2009 07:45:05 +0000 (07:45 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 9 Nov 2009 07:45:05 +0000 (07:45 +0000)
-Fixed non release application handling.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14793 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/applications/application-filter.tpl
gosa-plugins/goto/admin/applications/application-list.tpl
gosa-plugins/goto/admin/applications/application-list.xml
gosa-plugins/goto/admin/applications/class_applicationManagement.inc

index 8f83a74b4479da23430cd445bcede007fa9c904c..d8c1b1235fcbe75f1dd991233d2bf9404d6af9b5 100644 (file)
@@ -7,6 +7,7 @@
 <div class="contentboxb">
 
 <div style="border-top:1px solid #AAAAAA"></div>
+ {$SCOPE}
 
  <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
   <tr>
index 86453651ab0969fe88be7c5fcfc669a287328c2a..b233c5874c0a4d5101b80258c2d6c3e5687d5be6 100644 (file)
@@ -10,7 +10,7 @@
       <div class="contentboxb">
        <div style='background:white;padding:0px;padding:3px;'>
         <table><tr>
-          <td>{$RELOAD}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td><td><img src='images/rocket.png' alt='' class='center'></td><td> {$ACTIONS}</td>
+          <td>{$ROOT}&nbsp;</td><td>{$BACK}&nbsp;</td><td>{$HOME}&nbsp;</td><td>{$RELOAD}&nbsp;</td><td>{$SEPARATOR}&nbsp;</td><td>{t}Base{/t} {$BASE}&nbsp;<input class='center' type='image' src='images/lists/submit.png' align='middle' title='{t}Update{/t}' name='submit_department' alt='{t}Submit{/t}'>&nbsp;</td><td>{$SEPARATOR}&nbsp;</td><td><img src='images/rocket.png' alt='' class='center'></td><td> {$ACTIONS}</td>
         </tr></table>
        </div>
       </div>
index ae57593110092c8fbd09d206aec7b9a170e21f88..19cb05724bdb872c89a42ec7d0b306822d66ab24 100644 (file)
     <defaultSortColumn>1</defaultSortColumn>
 
     <objectType>
-      <label>Group</label>
-      <objectClass>posixGroup</objectClass>
+      <label>Application</label>
+      <objectClass>gosaApplication</objectClass>
       <category>application</category>
       <class>application</class>
-      <image>plugins/applications/images/applications.png</image>
+      <image>plugins/goto/images/select_application.png</image>
     </objectType>
 
   </definition>
@@ -70,8 +70,8 @@
      <action>
       <name>new</name>
       <type>entry</type>
-      <image>plugins/applications/images/new.png</image>
-      <label>Group</label>
+      <image>images/lists/new.png</image>
+      <label>Application</label>
      </action>
     </action>
 
       <label>Remove</label>
     </action>
 
-    <action>
-      <name>sendMessage</name>
-      <type>entry</type>
-      <depends>DaemonEvent_notify</depends>
-      <image>plugins/goto/images/notify.png</image>
-      <label>Send message</label>
-    </action>
-
     <action>
       <type>exporter</type>
     </action>
index 190a1b04e4682d9a3d5273c4f1bbdc06b2dfcd2b..50422805d7895853c4f756ddb570c0cde5971478 100644 (file)
@@ -81,9 +81,9 @@ class applicationManagement extends management
 
   function renderList()
   {
+    $filter = $this->getFilter();
+    $headpage = $this->getHeadpage();
     if($this->IsReleaseManagementActivated()){    
-      $filter = $this->getFilter();
-      $headpage = $this->getHeadpage();
       $filter->setComboBoxOptions("RELEASE",$this->getReleaseList());
 
       if(isset($_POST['RELEASE'])){