Dotclear


Ignore:
Timestamp:
12/19/12 11:57:54 (13 years ago)
Author:
JcDenis
Branch:
twig
Message:
  • Better way to fill in complex page title
  • Group all types of messages
  • Fix aboutConfig form submit
  • Clean up uggly tabs on inline doc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/aboutConfig/index.php

    r1070 r1089  
    137137# Commons 
    138138if (!empty($_GET['upd'])) { 
    139      $_ctx->setMessage(__('Configuration successfully updated')); 
     139     $_ctx->setAlert(__('Configuration successfully updated')); 
    140140} 
    141141if (!empty($_GET['upda'])) { 
    142      $_ctx->setMessage(__('Settings definition successfully updated')); 
     142     $_ctx->setAlert(__('Settings definition successfully updated')); 
    143143} 
    144144$_ctx->default_tab = !empty($_GET['part']) && $_GET['part'] == 'global' ? 'global' : 'local'; 
    145 $_ctx->setPageTitle('about:config'); 
     145$_ctx->fillPageTitle('about:config'); 
    146146$core->tpl->display('@aboutConfig/index.html.twig'); 
    147147?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map