Changeset 1417 in ExiteCMS for trunk/administration/site_links.php


Ignore:
Timestamp:
05/18/08 16:46:19 (4 years ago)
Author:
hverton
Message:

fixed not reloading the current menu panel entries after deleting an entry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/administration/site_links.php

    r1290 r1417  
    128128+----------------------------------------------------*/ 
    129129 
     130// display a status panel 
     131if (isset($status)) { 
     132    if ($status == "del") { 
     133        $variables['message'] = $locale['401']; 
     134    } else { 
     135        $variables['message'] = "UNKNOWN STATUS PASSED!"; 
     136    } 
     137    // define the message panel variables 
     138    $variables['bold'] = true; 
     139    $template_panels[] = array('type' => 'body', 'name' => 'admin.site_links.status', 'title' => $locale['400'], 'template' => '_message_table_panel.tpl'); 
     140    $template_variables['admin.site_links.status'] = $variables; 
     141    $variables = array(); 
     142} 
     143 
    130144// generate the list of installed menu panels 
    131145$variables['panel_list'] = array(); 
     
    137151} 
    138152sort($variables['panel_list']); 
    139  
    140 // display a status panel 
    141 if (isset($status)) { 
    142     if ($status == "del") { 
    143         $variables['message'] = $locale['401']; 
    144     } else { 
    145         $variables['message'] = "UNKNOWN STATUS PASSED!"; 
    146     } 
    147     // define the message panel variables 
    148     $variables['bold'] = true; 
    149     $template_panels[] = array('type' => 'body', 'name' => 'admin.site_links.status', 'title' => $locale['400'], 'template' => '_message_table_panel.tpl'); 
    150     $template_variables['admin.site_links.status'] = $variables; 
    151     $variables = array(); 
    152 } 
    153153 
    154154// default panel title 
Note: See TracChangeset for help on using the changeset viewer.