Index: trunk/admin/plugins_installed.php
===================================================================
--- trunk/admin/plugins_installed.php	(revision 12028)
+++ trunk/admin/plugins_installed.php	(revision 12029)
@@ -31,7 +31,26 @@
 $template->set_filenames(array('plugins' => 'plugins_installed.tpl'));
 
-// display mode
-$plugin_display = isset($_GET['plugin_display']) ? $_GET['plugin_display'] : (pwg_get_session_var('plugin_display') != null ? pwg_get_session_var('plugin_display') : 'compact');
-pwg_set_session_var('plugin_display', $plugin_display);
+// should we display details on plugins?
+if (isset($_GET['show_details']))
+{
+  if (1 == $_GET['show_details'])
+  {
+    $show_details = true;
+  }
+  else
+  {
+    $show_details = false;
+  }
+
+  pwg_set_session_var('plugins_show_details', $show_details);
+}
+elseif (null != pwg_get_session_var('plugins_show_details'))
+{
+  $show_details = pwg_get_session_var('plugins_show_details');
+}
+else
+{
+  $show_details = false;
+}
 
 $base_url = get_root_url().'admin.php?page='.$page['page'];
@@ -177,10 +196,13 @@
 usort($tpl_plugins, 'cmp');
 
-$template->assign(array(
-  'plugin_display' => $plugin_display,
-  'plugins' => $tpl_plugins,
-  'active_plugins' => $active_plugins,
-  'PWG_TOKEN' => $pwg_token,
-));
+$template->assign(
+  array(
+    'plugins' => $tpl_plugins,
+    'active_plugins' => $active_plugins,
+    'PWG_TOKEN' => $pwg_token,
+    'base_url' => $base_url,
+    'show_details' => $show_details,
+    )
+  );
 
 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugins');
Index: trunk/admin/themes/default/template/plugins_installed.tpl
===================================================================
--- trunk/admin/themes/default/template/plugins_installed.tpl	(revision 12028)
+++ trunk/admin/themes/default/template/plugins_installed.tpl	(revision 12029)
@@ -50,5 +50,5 @@
         for (i=0;i<data.length;i++) {
           {/literal}
-          {if $plugin_display == 'complete'}
+          {if $show_details}
             jQuery('#'+data[i]+' .pluginBoxNameCell').prepend('<a class="warning" title="'+incompatible_msg+'"></a>')
           {else}
@@ -88,15 +88,13 @@
 
 <div class="titrePage">
-  <span class="sort">
-    <form action="" method="get" name="change_display">
-      <input type="hidden" name="page" value="plugins"/>
-      {'Display'|@translate} : 
-      <select name="plugin_display" onchange="this.form.submit();">
-        <option value="compact" {if $plugin_diplay=='compact'}selected="selected"{/if}>{'Compact'|@translate}</option>
-        <option value="complete" {if $plugin_display=='complete'}selected="selected"{/if}>{'Complete'|@translate}</option>
-      </select>
-    </form>
-  </span>
   <h2>{'Plugins'|@translate}</h2>
+</div>
+
+<div class="showDetails">
+  {if $show_details}
+  <a href="{$base_url}&amp;show_details=0">{'hide details'|@translate}</a>
+  {else}
+  <a href="{$base_url}&amp;show_details=1">{'show details'|@translate}</a>
+  {/if}
 </div>
 
@@ -135,5 +133,5 @@
   {/if}
    
-  {if $plugin_display == 'complete'}
+  {if $show_details}
     <div id="{$plugin.ID}" class="pluginBox {$plugin.STATE}">
       <table>
@@ -176,5 +174,5 @@
     </div> {*<!-- pluginBox -->*}
     
-  {elseif $plugin_display == 'compact'}
+  {else}
     {if not empty($plugin.VISIT_URL)}
       {assign var='version' value="<a class='externalLink' href='"|cat:$plugin.VISIT_URL|cat:"'>"|cat:$plugin.VERSION|cat:"</a>"}
Index: trunk/admin/themes/default/theme.css
===================================================================
--- trunk/admin/themes/default/theme.css	(revision 12028)
+++ trunk/admin/themes/default/theme.css	(revision 12029)
@@ -927,4 +927,5 @@
 .warning:before {content:url(icon/warning.png);vertical-align:top;}
 .deactivate_all {text-align:right;font-size:0.95em;}
+.showDetails {text-align:right; margin-bottom:-15px; margin-top:-10px; padding-right:1em;}
 
 .languageBoxes {min-height:0;text-align:left;}
@@ -1077,2 +1078,3 @@
 #progressbar {border:1px solid #ccc; background-color:#eee;}
 .ui-progressbar-value { background-image: url(images/pbar-ani.gif); height:10px;margin:-1px;border:1px solid #E78F08;}
+
