Changeset 1089:049be1a46863 for admin
Legend:
- Unmodified
- Added
- Removed
-
admin/auth.php
r1061 r1089 31 31 try { 32 32 if (($changes = dotclearUpgrade($core)) !== false) { 33 $_ctx->set Message(__('Dotclear has been upgraded.').'<!-- '.$changes.' -->');33 $_ctx->setAlert(__('Dotclear has been upgraded.').'<!-- '.$changes.' -->'); 34 34 } 35 35 } … … 64 64 65 65 mail::sendMail($recover_res['user_email'],$subject,$message,$headers); 66 $_ctx->set Message(__('Your new password is in your mailbox.'));66 $_ctx->setAlert(__('Your new password is in your mailbox.')); 67 67 } 68 68 catch (Exception $e) { … … 171 171 172 172 mail::sendMail($user_email,$subject,$message,$headers); 173 $_ctx->set Message(sprintf(__('The e-mail was sent successfully to %s.'),$user_email));173 $_ctx->setAlert(sprintf(__('The e-mail was sent successfully to %s.'),$user_email)); 174 174 } 175 175 catch (Exception $e) { -
admin/index.php
r1080 r1089 306 306 } 307 307 308 $_ctx-> setPageTitle(__('Dashboard'));308 $_ctx->fillPageTitle(__('Dashboard')); 309 309 $core->tpl->display('index.html.twig'); 310 310 ?> -
admin/plugin.php
r1088 r1089 90 90 # No plugin or content found 91 91 if (!$has_content) { 92 $_ctx-> setPageTitle(__('Plugin not found'));92 $_ctx->fillPageTitle(__('Plugin not found')); 93 93 $_ctx->addError(__('The plugin you reached does not exist or does not have an admin page.')); 94 94 $core->tpl->display('plugin.html.twig'); -
admin/post.php
r1088 r1089 17 17 function savePost($form) { 18 18 global $_ctx; 19 $_ctx->set Message('save');19 $_ctx->setAlert('save'); 20 20 21 21 } … … 180 180 $default_tab = 'comments'; 181 181 } 182 $_ctx->default_tab = $default_tab; 183 $_ctx->setPageTitle($page_title); 182 183 $_ctx 184 ->fillPageTitle(__('Entries'),'posts.php') 185 ->fillPageTitle($page_title) 186 ->default_tab = $default_tab; 184 187 185 188 $core->tpl->display('post.html.twig');
Note: See TracChangeset
for help on using the changeset viewer.