aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/profilefields/bool.html
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-02-02 16:20:02 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-02-02 16:20:02 +0100
commitcbad102f88d285ae64e65bf10cddfdf2c615f138 (patch)
tree1a1ac71d3130c8ef756edd600ed5d24271bedf7e /phpBB/styles/prosilver/template/profilefields/bool.html
parentcacd43bfbd547d711bfdd4c424adfef9d20528e7 (diff)
downloadforums-cbad102f88d285ae64e65bf10cddfdf2c615f138.tar
forums-cbad102f88d285ae64e65bf10cddfdf2c615f138.tar.gz
forums-cbad102f88d285ae64e65bf10cddfdf2c615f138.tar.bz2
forums-cbad102f88d285ae64e65bf10cddfdf2c615f138.tar.xz
forums-cbad102f88d285ae64e65bf10cddfdf2c615f138.zip
[ticket/11201] Split template file into multiple files
PHPBB3-11201
Diffstat (limited to 'phpBB/styles/prosilver/template/profilefields/bool.html')
-rw-r--r--phpBB/styles/prosilver/template/profilefields/bool.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/profilefields/bool.html b/phpBB/styles/prosilver/template/profilefields/bool.html
new file mode 100644
index 0000000000..f1d7ba75f4
--- /dev/null
+++ b/phpBB/styles/prosilver/template/profilefields/bool.html
@@ -0,0 +1,7 @@
+<!-- BEGIN bool -->
+<!-- IF bool.FIELD_LENGTH eq 1 -->
+ <!-- BEGIN options --><label for="{bool.FIELD_IDENT}_{bool.options.OPTION_ID}"><input type="radio" class="radio" name="{bool.FIELD_IDENT}" id="{bool.FIELD_IDENT}_{bool.options.OPTION_ID}" value="{bool.options.OPTION_ID}"{bool.options.CHECKED} /> {bool.options.VALUE}</label> <!-- END options -->
+<!-- ELSE -->
+ <input type="checkbox" class="radio" name="{bool.FIELD_IDENT}" id="{bool.FIELD_IDENT}"<!-- IF bool.FIELD_VALUE --> checked="checked"<!-- ENDIF --> />
+<!-- ENDIF -->
+<!-- END bool -->