Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
ucp_prefs_personal.html
001 <!-- INCLUDE ucp_header.html -->
002
003 <form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
004
005 <h2>{L_TITLE}</h2>
006
007 <div class="panel">
008 <div class="inner">
009
010 <fieldset>
011 <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
012 <!-- EVENT ucp_prefs_personal_prepend -->
013 <dl>
014 <dt><label for="viewemail0">{L_SHOW_EMAIL}{L_COLON}</label></dt>
015 <dd>
016 <label for="viewemail1"><input type="radio" name="viewemail" id="viewemail1" value="1"<!-- IF S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
017 <label for="viewemail0"><input type="radio" name="viewemail" id="viewemail0" value="0"<!-- IF not S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
018 </dd>
019 </dl>
020 <dl>
021 <dt><label for="massemail1">{L_ADMIN_EMAIL}{L_COLON}</label></dt>
022 <dd>
023 <label for="massemail1"><input type="radio" name="massemail" id="massemail1" value="1"<!-- IF S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
024 <label for="massemail0"><input type="radio" name="massemail" id="massemail0" value="0"<!-- IF not S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
025 </dd>
026 </dl>
027 <dl>
028 <dt><label for="allowpm1">{L_ALLOW_PM}{L_COLON}</label><br /><span>{L_ALLOW_PM_EXPLAIN}</span></dt>
029 <dd>
030 <label for="allowpm1"><input type="radio" name="allowpm" id="allowpm1" value="1"<!-- IF S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
031 <label for="allowpm0"><input type="radio" name="allowpm" id="allowpm0" value="0"<!-- IF not S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
032 </dd>
033 </dl>
034 <!-- IF S_CAN_HIDE_ONLINE -->
035 <dl>
036 <dt><label for="hideonline0">{L_HIDE_ONLINE}{L_COLON}</label><br /><span>{L_HIDE_ONLINE_EXPLAIN}</span></dt>
037 <dd>
038 <label for="hideonline1"><input type="radio" name="hideonline" id="hideonline1" value="1"<!-- IF S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
039 <label for="hideonline0"><input type="radio" name="hideonline" id="hideonline0" value="0"<!-- IF not S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
040 </dd>
041 </dl>
042 <!-- ENDIF -->
043 <!-- IF S_SELECT_NOTIFY -->
044 <dl>
045 <dt><label for="notifymethod0">{L_NOTIFY_METHOD}{L_COLON}</label></dt>
046 <dd>
047 <label for="notifymethod0"><input type="radio" name="notifymethod" id="notifymethod0" value="0"<!-- IF S_NOTIFY_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_EMAIL}</label>
048 <label for="notifymethod1"><input type="radio" name="notifymethod" id="notifymethod1" value="1"<!-- IF S_NOTIFY_IM --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_IM}</label>
049 <label for="notifymethod2"><input type="radio" name="notifymethod" id="notifymethod2" value="2"<!-- IF S_NOTIFY_BOTH --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_BOTH}</label>
050 </dd>
051 </dl>
052 <!-- ENDIF -->
053 <!-- IF S_MORE_LANGUAGES -->
054 <dl>
055 <dt><label for="lang">{L_BOARD_LANGUAGE}{L_COLON}</label></dt>
056 <dd><select name="lang" id="lang">{S_LANG_OPTIONS}</select></dd>
057 </dl>
058 <!-- ENDIF -->
059 <!-- IF S_STYLE_OPTIONS and S_MORE_STYLES -->
060 <dl>
061 <dt><label for="user_style">{L_BOARD_STYLE}{L_COLON}</label></dt>
062 <dd><select name="user_style" id="user_style">{S_STYLE_OPTIONS}</select></dd>
063 </dl>
064 <!-- ENDIF -->
065 <!-- INCLUDE timezone_option.html -->
066 <dl>
067 <dt><label for="dateformat">{L_BOARD_DATE_FORMAT}{L_COLON}</label><br /><span>{L_BOARD_DATE_FORMAT_EXPLAIN}</span></dt>
068 <dd>
069 <select name="dateoptions" id="dateoptions" onchange="if(this.value=='custom'){phpbb.toggleDisplay('custom_date',1);}else{phpbb.toggleDisplay('custom_date',-1);} if (this.value == 'custom') { document.getElementById('dateformat').value = default_dateformat; } else { document.getElementById('dateformat').value = this.value; }">
070 {S_DATEFORMAT_OPTIONS}
071 </select>
072 </dd>
073 <dd id="custom_date" style="display:none;"><input type="text" name="dateformat" id="dateformat" value="{DATE_FORMAT}" maxlength="64" class="inputbox narrow" style="margin-top: 3px;" /></dd>
074 </dl>
075 <!-- EVENT ucp_prefs_personal_append -->
076 </fieldset>
077
078 </div>
079 </div>
080
081 <fieldset class="submit-buttons">
082 {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
083 <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
084 {S_FORM_TOKEN}
085 </fieldset>
086 </form>
087
088 <script type="text/javascript">
089 // <![CDATA[
090 var date_format = '{A_DATE_FORMAT}';
091 var default_dateformat = '{A_DEFAULT_DATEFORMAT}';
092
093 function customDates()
094 {
095 var e = document.getElementById('dateoptions');
096
097 e.selectedIndex = e.length - 1;
098
099 // Loop and match date_format in menu
100 for (var i = 0; i < e.length; i++)
101 {
102 if (e.options[i].value == date_format)
103 {
104 e.selectedIndex = i;
105 break;
106 }
107 }
108
109 // Show/hide custom field
110 if (e.selectedIndex == e.length - 1)
111 {
112 phpbb.toggleDisplay('custom_date',1);
113 }
114 else
115 {
116 phpbb.toggleDisplay('custom_date',-1);
117 }
118 }
119
120 window.onload = customDates;
121 // ]]>
122 </script>
123
124 <!-- INCLUDE ucp_footer.html -->
125