91aa48d5c8f473d26256c568df4a428d41a4eb66
[Packages/TYPO3.CMS.git] / typo3 / sysext / openid / Resources / Private / Templates / Wizard / Content.html
1 <f:be.container pageTitle="{f:translate(key:'LLL:EXT:openid/Resources/Private/Language/Wizard.xlf:html.title')}"
2 includeCssFiles="{
3 0:'{f:uri.resource(extensionName:\'openid\', path:\'StyleSheets/Wizard.css\')}'
4 }"
5 >
6 <h1><f:translate key="LLL:EXT:openid/Resources/Private/Language/Wizard.xlf:html.title" /></h1>
7
8 <p><f:translate key="LLL:EXT:openid/Resources/Private/Language/Wizard.xlf:html.description" /></p>
9
10 <f:if condition="{messages->f:count()} > 0">
11 <f:for each="{messages}" as="message">
12 <f:format.raw>{message}</f:format.raw>
13 </f:for>
14 </f:if>
15 <f:if condition="{claimedId}">
16 <script type="text/javascript">
17 var form;
18 if (window.opener.document.editform) {
19 //normal TCE edit form
20 <f:if condition="{parentFormItemNameNoHr}">
21 window.opener.document.editform["{parentFormItemNameNoHr}"].value="{claimedId}";
22 </f:if>
23 window.opener.document.editform["{parentFormItemName}"].value="{claimedId}";
24 <f:if condition="{parentFormFieldChangeFunc}">
25 window.opener.{parentFormFieldChangeFunc}
26 </f:if>
27 } else if (window.opener.document.usersetup) {
28 //backend user settings
29 window.opener.document.usersetup["{parentFormItemName}"].value="{claimedId}";
30 }
31 window.close();
32 </script>
33 </f:if>
34
35 <f:if condition="{showForm}">
36 <form method="post" action="{formAction}">
37 <input type="hidden" name="P[itemName]" value="{parentFormItemName}"/>
38 <input type="hidden" name="P[fieldChangeFunc][TBE_EDITOR_fieldChanged]" value="{parentFormFieldChangeFunc}"/>
39
40 <label for="openid_url"><f:translate key="LLL:EXT:openid/Resources/Private/Language/Wizard.xlf:html.openid_url" /></label>
41 <input type="text" name="openid_url" id="openid_url" value="{openid_url}"/>
42
43 <input class="btn btn-default" type="submit" value="{f:translate(key:'LLL:EXT:openid/Resources/Private/Language/Wizard.xlf:html.submit')}"/>
44 </form>
45 </f:if>
46 </f:be.container>