Uprev simpleid to 1.0.6
Supersedes all local compatibility changes to the code.
diff --git a/simpleid/www/html/template.xtpl b/simpleid/www/html/template.xtpl
index 66d1aff..c51924b 100644
--- a/simpleid/www/html/template.xtpl
+++ b/simpleid/www/html/template.xtpl
@@ -239,7 +239,7 @@
<div class="form-item">
<label for="edit-otp">{otp_label}</label>
- <input type="number" maxlength="6" name="otp" id="edit-otp" size="10" value="" autocapitalize="off" autocorrect="off" class="form-text required" />
+ <input type="text" inputmode="numeric" maxlength="6" name="otp" id="edit-otp" size="10" value="" autocapitalize="off" autocorrect="off" class="form-text required" />
</div>
<input type="submit" name="op" id="edit-submit" value="{submit_button}" class="form-default" />
</form>
diff --git a/simpleid/www/lib/gettext/streams.php b/simpleid/www/lib/gettext/streams.php
index 86aaf89..00cf6cc 100644
--- a/simpleid/www/lib/gettext/streams.php
+++ b/simpleid/www/lib/gettext/streams.php
@@ -143,7 +143,7 @@
// Preloads entire file in memory first, then creates a StringReader
// over it (it assumes knowledge of StringReader internals)
class CachedFileReader extends StringReader {
- function CachedFileReader($filename) {
+ function __construct($filename) {
if (file_exists($filename)) {
$length=filesize($filename);
diff --git a/simpleid/www/version.inc.php b/simpleid/www/version.inc.php
index fb318c2..1d97917 100644
--- a/simpleid/www/version.inc.php
+++ b/simpleid/www/version.inc.php
@@ -30,5 +30,5 @@
/**
* The current version of SimpleID
*/
-define('SIMPLEID_VERSION', '1.0.5');
+define('SIMPLEID_VERSION', '1.0.6');
?>