Dotclear


Ignore:
Timestamp:
08/24/18 12:14:08 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Outgoing links (in a new window): cope with asynchronous content which may content external links. Fixes #2281

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/services.php

    r3781 r3819  
    8686                $feed = $feed_reader->parse($GLOBALS['__resources']['rss_news']); 
    8787                if ($feed) { 
    88                     $ret = '<div class="box medium dc-box"><h3>' . __('Dotclear news') . '</h3><dl id="news">'; 
     88                    $ret = '<div class="box medium dc-box" id="ajax-news"><h3>' . __('Dotclear news') . '</h3><dl id="news">'; 
    8989                    $i   = 1; 
    9090                    foreach ($feed->items as $item) { 
     
    132132                if (version_compare(phpversion(), $updater->getPHPVersion()) >= 0) { 
    133133                    $ret = 
    134                     '<div class="dc-update"><h3>' . sprintf(__('Dotclear %s is available!'), $new_v) . '</h3> ' . 
     134                    '<div class="dc-update" id="ajax-update"><h3>' . sprintf(__('Dotclear %s is available!'), $new_v) . '</h3> ' . 
    135135                    '<p><a class="button submit" href="' . $core->adminurl->get("admin.update") . '">' . sprintf(__('Upgrade now'), $new_v) . '</a> ' . 
    136136                    '<a class="button" href="' . $core->adminurl->get("admin.update", array('hide_msg' => 1)) . '">' . __('Remind me later') . '</a>' . 
Note: See TracChangeset for help on using the changeset viewer.

Sites map