This is an automated email from the git hooks/post-receive script.

knome pushed a 
commit to branch 
master
in repository www/www.xfce.org.

commit c6822f04bbaa5a0433d9452b9d84394089308b6e
Author: scootergrisen <scootergri...@gmail.com>
Date:   Sun May 14 21:03:02 2017 +0200

    <p> and </p> around <ul> and <li> is not valid
    
    - Fix bug #13221
---
 pages/about/news.php | 13 +++++++---
 pages/news-array.php | 72 ++++++++++++++++++++++++----------------------------
 2 files changed, 43 insertions(+), 42 deletions(-)

diff --git a/pages/about/news.php b/pages/about/news.php
index 3d2c03f..54bf290 100644
--- a/pages/about/news.php
+++ b/pages/about/news.php
@@ -51,10 +51,17 @@ foreach ($news as $item)
     {
       foreach ($item['paragraphs'] as $p)
       {
-        if (strpos ($p, '<ul>') === false)
-          echo '<p>'.$p.'</p>'."\n";
+        if (is_array($p))
+        {
+          foreach ($p as $whatever)
+          {
+            echo $whatever."\n";
+          }
+        }
         else
-          echo $p."\n";
+        {
+          echo '<p>'.$p.'</p>'."\n";
+        }
       }
       
       if (!empty ($item['version']))
diff --git a/pages/news-array.php b/pages/news-array.php
index feb2062..525df1a 100644
--- a/pages/news-array.php
+++ b/pages/news-array.php
@@ -18,46 +18,40 @@ $news = array (
                        R_('This long period can only be explained by how 
awesome Xfce 4.10 was. But as all things, it needed some refreshing -  and for 
that we saw lots of new contributors providing valuable feedback, features and 
bugfixes. As always, Xfce follows its steady pace of evolution without 
revolution that seems to match our users\' needs.'),
                        R_('In this 4.12 cycle, we mainly focused on polishing 
our user experience on the desktop and window manager, and on updating some 
components to take advantage of newly available technologies.'),
                        R_('The main highlights of this release are:'),
-                       '<ul>',
-                               '<li>'.R_('The window manager gained a new 
themable Alt+Tab dialog with optional windows preview and a list mode. Initial 
Client side decoration support was implemented, window tiling mode was improved 
providing support for corner-tiling, and a new zooming mode was added. A HiDPI 
Xfwm theme was also added.').'</li>',
-                               '<li>'.R_('The panel can now intelligently hide 
itself, supports Gtk3 plugins, and saw lots of its third-party plugins updated 
to take full advantage of the features added in 4.10.').'</li>',
-
-                               '<li>'.R_('The desktop has a new wallpaper 
settings dialog, per workspace wallpaper support, and better multi-monitor 
handling. It also supports displaying folder cover art and emblems on icons 
now.').'</li>',
-
-                               '<li>'.R_('Our session manager was updated to 
use logind and/or upower if available for hibernate/suspend support. For 
portability and to respect our users\' choices, fallback modes were implemented 
relying on os-specific backends.').'</li>',
-
-                               '<li>'.R_('Support for multi-monitor use was 
improved in a new display settings dialog and a quick setup popup on monitor 
plugging.').'</li>',
-
-                               '<li>'.R_('The appearance dialog now showcases 
previews for icons and themes.').'</li>',
-
-                               '<li>'.R_('Xfsettingsd now supports 
libinput.').'</li>',
-
-                               '<li>'.R_('Power management was not forgotten: 
A new panel plugin was created, logind/upower support was added to handle 
battery/lid/brightness events, and locking via light-locker was implemented. 
The settings dialog was also revamped, and support for X11 screenblanking was 
added.').'</li>',
-
-                               '<li>'.R_('Our file manager, the beloved 
Thunar, saw an insane amount of improvements: tab support, tons of bug fixes, 
speed-ups, key shortcuts for custom actions, better naming of file copies and 
links, nice freespace bar in properties, tweaks for the renamer and other 
dialogs, improved keyboard navigation, fixes for the treeview pane, better 
wallpaper support, Gtk3 bookmarks support, multiple file properties... need we 
say more?').'</li>',
-
-                               '<li>'.R_('To prepare the future of Xfce with 
Gtk3, which no longer requires theme engines, we are stopping the development 
of our Gtk theme engine, and dropping our Gtk3 engine - theme makers, please 
update your themes  to CSS if you want them to work on the next Xfce 
version.').'</li>',
-
-                               '<li>'.R_('Due to gstreamer1.0 having dropped 
the mixer-interface entirely, and xfce4-mixer and xfce4-volumed relying on this 
interface with gstreamer0.10, our mixer application and volume daemon cannot be 
ported to 1.0 and are consequently not maintained anymore.').'</li>',
-                       '</ul>',
-
+                       array(
+                               '<ul>',
+                                       '<li>'.R_('The window manager gained a 
new themable Alt+Tab dialog with optional windows preview and a list mode. 
Initial Client side decoration support was implemented, window tiling mode was 
improved providing support for corner-tiling, and a new zooming mode was added. 
A HiDPI Xfwm theme was also added.').'</li>',
+                                       '<li>'.R_('The panel can now 
intelligently hide itself, supports Gtk3 plugins, and saw lots of its 
third-party plugins updated to take full advantage of the features added in 
4.10.').'</li>',
+                                       '<li>'.R_('The desktop has a new 
wallpaper settings dialog, per workspace wallpaper support, and better 
multi-monitor handling. It also supports displaying folder cover art and 
emblems on icons now.').'</li>',
+                                       '<li>'.R_('Our session manager was 
updated to use logind and/or upower if available for hibernate/suspend support. 
For portability and to respect our users\' choices, fallback modes were 
implemented relying on os-specific backends.').'</li>',
+                                       '<li>'.R_('Support for multi-monitor 
use was improved in a new display settings dialog and a quick setup popup on 
monitor plugging.').'</li>',
+                                       '<li>'.R_('The appearance dialog now 
showcases previews for icons and themes.').'</li>',
+                                       '<li>'.R_('Xfsettingsd now supports 
libinput.').'</li>',
+                                       '<li>'.R_('Power management was not 
forgotten: A new panel plugin was created, logind/upower support was added to 
handle battery/lid/brightness events, and locking via light-locker was 
implemented. The settings dialog was also revamped, and support for X11 
screenblanking was added.').'</li>',
+                                       '<li>'.R_('Our file manager, the 
beloved Thunar, saw an insane amount of improvements: tab support, tons of bug 
fixes, speed-ups, key shortcuts for custom actions, better naming of file 
copies and links, nice freespace bar in properties, tweaks for the renamer and 
other dialogs, improved keyboard navigation, fixes for the treeview pane, 
better wallpaper support, Gtk3 bookmarks support, multiple file properties... 
need we say more?').'</li>',
+                                       '<li>'.R_('To prepare the future of 
Xfce with Gtk3, which no longer requires theme engines, we are stopping the 
development of our Gtk theme engine, and dropping our Gtk3 engine - theme 
makers, please update your themes  to CSS if you want them to work on the next 
Xfce version.').'</li>',
+                                       '<li>'.R_('Due to gstreamer1.0 having 
dropped the mixer-interface entirely, and xfce4-mixer and xfce4-volumed relying 
on this interface with gstreamer0.10, our mixer application and volume daemon 
cannot be ported to 1.0 and are consequently not maintained anymore.').'</li>',
+                               '</ul>'
+                       ),
                        R_('Xfce wouldn\'t be what it is right now without all 
its goodies. In this area, we also saw a flurry of activity, most notably:'),
-                       '<ul>',
-                               '<li>'.R_('Xfburn gained BluRay Disc burning 
support.').'</li>',
-                               '<li>'.R_('Task manager UI was totally 
revamped, and got ported to Gtk3.').'</li>',
-                               '<li>'.R_('Parole\'s UI was totally redone, 
parts of it rewritten with many features added. Furthermore it was ported to 
Gtk3 and gstreamer1.0.').'</li>',
-                               '<li>'.R_('Mousepad was totally rewritten and 
got an initial port to Gtk3.').'</li>',
-                               '<li>'.R_('Imgur.com support was added to the 
screenshooter.').'</li>',
-                               '<li>'.R_('A new GNOME-Shell-like dashboard 
named xfdashboard is now available.').'</li>',
-                               '<li>'.R_('A new alternative menu for the panel 
named whiskermenu was added.').'</li>',
-                               '<li>'.R_('The GNOME2 hardware monitor plugin 
was ported to our panel.').'</li>',
-                               '<li>'.R_('Weather plugin got a totally new 
user interface with powerful customization options and provides tons of 
detailed information.').'</li>',
-                               '<li>'.R_('Eyes plugin uses 3D coordinates to 
calculate its eye position, so even more sometimes scary, sometimes funny eyes 
will spy on you!').'</li>',
-                               '<li>'.R_('Netload plugin works with the new 
udev net interface names and can be configured to show transfer rates in the 
panel.').'</li>',
-                               '<li>'.R_('Clipboard manager plugin optionally 
displays a QR code.').'</li>',
-                               '<li>'.R_('Cpufreq plugin now supports the 
intel pstate driver and can adapt better for different panel sizes and 
information displayed.').'</li>',
-                               '<li>'.R_('Nearly all plugins have been 
improved to give the same look and feel and to support the new deskbar panel 
mode.').'</li>',
-                       '</ul>',
+                       array(
+                               '<ul>',
+                                       '<li>'.R_('Xfburn gained BluRay Disc 
burning support.').'</li>',
+                                       '<li>'.R_('Task manager UI was totally 
revamped, and got ported to Gtk3.').'</li>',
+                                       '<li>'.R_('Parole\'s UI was totally 
redone, parts of it rewritten with many features added. Furthermore it was 
ported to Gtk3 and gstreamer1.0.').'</li>',
+                                       '<li>'.R_('Mousepad was totally 
rewritten and got an initial port to Gtk3.').'</li>',
+                                       '<li>'.R_('Imgur.com support was added 
to the screenshooter.').'</li>',
+                                       '<li>'.R_('A new GNOME-Shell-like 
dashboard named xfdashboard is now available.').'</li>',
+                                       '<li>'.R_('A new alternative menu for 
the panel named whiskermenu was added.').'</li>',
+                                       '<li>'.R_('The GNOME2 hardware monitor 
plugin was ported to our panel.').'</li>',
+                                       '<li>'.R_('Weather plugin got a totally 
new user interface with powerful customization options and provides tons of 
detailed information.').'</li>',
+                                       '<li>'.R_('Eyes plugin uses 3D 
coordinates to calculate its eye position, so even more sometimes scary, 
sometimes funny eyes will spy on you!').'</li>',
+                                       '<li>'.R_('Netload plugin works with 
the new udev net interface names and can be configured to show transfer rates 
in the panel.').'</li>',
+                                       '<li>'.R_('Clipboard manager plugin 
optionally displays a QR code.').'</li>',
+                                       '<li>'.R_('Cpufreq plugin now supports 
the intel pstate driver and can adapt better for different panel sizes and 
information displayed.').'</li>',
+                                       '<li>'.R_('Nearly all plugins have been 
improved to give the same look and feel and to support the new deskbar panel 
mode.').'</li>',
+                               '</ul>',
+                       ),
                        R_('An online tour of the changes in Xfce 4.12 can be 
viewed here:'),
                        '<a 
href="http://xfce.org/about/tour";>http://xfce.org/about/tour</a>',
                        R_('A detailed overview of the changes between Xfce 
4.10 and Xfce 4.12 releases can be found on the following page:'),

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to