Show
Ignore:
Timestamp:
05/23/07 15:34:28 (5 years ago)
Author:
dana
Message:

Added class and id to the page title of the generic object editor to help differentiate windows.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/admin/generic_object_admin.php

    r1192 r1229  
    101101$newLongText = $createLongText; 
    102102 
     103$objectClass = $_REQUEST['object_class']; 
     104$objectId = "none"; 
     105if (!empty($_REQUEST['object_id'])) { $objectId = $_REQUEST['object_id']; } 
     106 
     107 
    103108/* 
    104109 * Check for debugging requests 
     
    464469 */ 
    465470 
    466 $ui->setTitle(_("Generic object editor")); 
     471$ui->setTitle(_("Generic object editor") . " (" .  $objectClass . ": " . $objectId . ")"); 
    467472$ui->appendHtmlHeadContent($_htmlHeader); 
    468473$ui->setToolSection('ADMIN');