|
From: <var...@us...> - 2020-12-28 21:02:15
|
Revision: 10210
http://sourceforge.net/p/phpwiki/code/10210
Author: vargenau
Date: 2020-12-28 21:02:13 +0000 (Mon, 28 Dec 2020)
Log Message:
-----------
Video plugin: return error message in case of unknown video format
Modified Paths:
--------------
trunk/lib/plugin/Video.php
Modified: trunk/lib/plugin/Video.php
===================================================================
--- trunk/lib/plugin/Video.php 2020-12-28 18:58:08 UTC (rev 10209)
+++ trunk/lib/plugin/Video.php 2020-12-28 21:02:13 UTC (rev 10210)
@@ -102,6 +102,7 @@
}
return $video;
}
- return HTML();
+ return HTML::span(array('class' => 'error'),
+ _("Unknown video format"));
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|