address_edit.tpl 8.97 KB
Newer Older
1
<table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" border="0">
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
  <tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
    <td align=left width="100%">
      <LABEL for="storage_base">
        {$storage_info}
      </LABEL>
      <select id="storage_base" name="storage_base" size="1" title="{t}Choose the department to store entry in{/t}">
        {html_options options=$deplist selected=$storage_base}
      </select>
    </td>
    <td>
      <a href="{$url}">
        X
      </a>
    </td>
  </tr>
  <tr style="background-color: white">
    <td colspan=2>
19
      <table width="100%">
20 21 22 23 24 25
        <tr>
          <td style="width:50%; vertical-align:top; background-color: #F0F0F0">
            <h2>
              <img class="center" alt="" src="{$personal_image}" align=middle>
                &nbsp;{t}Personal{/t}
            </h2>
26
            <table width="100%">
27 28 29 30
                <tr>
                  <td>
                  <LABEL for="sn">
                    {t}Last name{/t}{$must}
31
                  </LABEL>,
32 33 34 35 36
                  <LABEL for="givenName">
                    {t}First name{/t}{$must}
                  </LABEL>
                </td>
                  <td>
37 38
{render acl=$snACL}
                  <input type='text' id="sn" name="sn" size=10 maxlength=60 value="{$info_sn}">,
39 40
{/render}
{render acl=$givenNameACL}
41
                  <input type='text' id="givenName" name="givenName" size=10 maxlength=60 value="{$info_givenName}">
42
{/render}
43 44 45 46 47 48 49 50 51
                <td>
                </tr>
                <tr>
                  <td>
                  <LABEL for="initials">
                    {t}Initials{/t}
                  </LABEL>
                </td>
                <td>
52
{render acl=$initialsACL}
53
                  <input type='text' id="initials" name="initials" size=5 maxlength=20 value="{$info_initials}">
54
{/render}
55 56 57 58 59 60 61 62 63
                </td>
                </tr>
                <tr>
                  <td>
                  <LABEL for="title">
                    {t}Personal title{/t}
                  </LABEL>
                </td>
                <td>
64
{render acl=$titleACL}
65
                  <input type='text' id="title" name="title" size=10 maxlength=20 value="{$info_title}">
66
{/render}
67 68 69 70 71 72 73 74 75
                </td>
                </tr>
            </table>
          </td>
          <td style="width:50%; vertical-align:top;background-color:#E8E8E8">
            <h2>
              <img class="center" alt="" src="{$home_image}" align=middle>
              &nbsp;{t}Private{/t}
            </h2>
76
            <table width="100%">
77 78 79 80 81 82 83 84 85
                <tr>
                  <td>
                  <LABEL for="homePostalAddress">
                    {t}Address{/t}
                  </LABEL>
                <br>
                <br>
                </td>
                  <td style="vertical-align:top;">
86
{render acl=$homePostalAddressACL}
87
                  <textarea id="homePostalAddress" name="homePostalAddress" rows=1 cols=20>{$info_homePostalAddress}</textarea>
88
{/render}
89 90 91 92 93 94 95 96 97
                </td>
                </tr>
                <tr>
                  <td>
                  <LABEL for="homePhone">
                    {t}Phone{/t}
                  </LABEL>
                </td>
                <td>
98
{render acl=$homePhoneACL}
99
                  <input type='text' id="homePhone" name="homePhone" size=15 maxlength=60 value="{$info_homePhone}">
100
{/render}
101 102 103 104 105 106 107 108 109
                </td>
                </tr>
                <tr>
                  <td>
                  <LABEL for="mobile">
                    {t}Mobile{/t}
                  </LABEL>
                </td>
                <td>
110
{render acl=$mobileACL}
111
                  <input type='text' id="mobile" name="mobile" size=15 maxlength=60 value="{$info_mobile}">
112
{/render}
113 114 115 116 117 118 119 120 121
                </td>
                </tr>
                <tr>
                  <td>
                  <LABEL for="mail">
                    {t}Email{/t}
                  </LABEL>
                </td>
                <td>
122
{render acl=$mailACL}
123
                  <input type='text' id="mail" name="mail" size=15 maxlength=60 value="{$info_mail}">
124
{/render}
125 126 127 128 129 130 131 132 133 134 135
                </td>
                </tr>
             </table>
          </td>
        </tr>
        <tr>
          <td style="width:100%; vertical-align:top; background-color: #E4E4E4" colspan=2>
            <h2>
              <img class="center" alt="" src="{$company_image}" align=middle>
              &nbsp;{t}Organizational{/t}
            </h2>
136
            <table width="100%">
137 138
              <tr>
                  <td>
139
                  <table width="100%">
140 141
                    <tr>
                        <td>
142
                        <LABEL for="">
143 144 145 146
                          {t}Company{/t}
                        </LABEL>
                      </td>
                      <td>
147
{render acl=$oACL}
148
                        <input type='text' id="o" name="o" size=15 maxlength=60 value="{$info_o}">
149
{/render}
150 151 152 153 154 155 156 157 158
                      </td>
                    </tr>
                    <tr>
                        <td>
                        <LABEL for="">
                          {t}Department{/t}
                        </LABEL>
                      </td>
                      <td>
159
{render acl=$ouACL}
160
                        <input type='text' id="ou" name="ou" size=15 maxlength=60 value="{$info_ou}">
161
{/render}
162 163 164 165 166 167 168 169 170
                      </td>
                    </tr>
                    <tr>
                        <td>
                        <LABEL for="">
                          {t}City{/t}
                        </LABEL>
                      </td>
                      <td>
171
{render acl=$lACL}
172
                        <input type='text' id="l" name="l" size=15 maxlength=60 value="{$info_l}">
173
{/render}
174 175 176 177 178 179 180 181 182
                      </td>
                    </tr>
                    <tr>
                        <td>
                        <LABEL for="">
                          {t}Postal code{/t}
                        </LABEL>
                      </td>
                      <td>
183
{render acl=$postalCodeACL}
184
                        <input type='text' id="postalCode" name="postalCode" size=15 maxlength=60 value="{$info_postalCode}">
185
{/render}
186 187 188 189 190 191 192 193 194
                      </td>
                    </tr>
                    <tr>
                        <td>
                        <LABEL for="">
                          {t}Country{/t}
                        </LABEL>
                      </td>
                      <td>
195
{render acl=$stACL}
196
                        <input type='text' id="st" name="st" size=15 maxlength=60 value="{$info_st}">
197
{/render}
198 199 200 201 202
                      </td>
                    </tr>
                  </table>
                    </td>
                    <td style="vertical-align:top">
203
                  <table width="100%">
204 205 206 207 208 209 210 211 212
                    <tr>
                      <td>
                        <LABEL for="">
                          {t}Address{/t}
                        </LABEL>
                        <br>
                        <br>
                      </td>
                      <td style="vertical-align:top;">
213
{render acl=$postalAddressACL}
214
                        <textarea id="postalAddress" name="postalAddress" rows=1 cols=20 >{$info_postalAddress}</textarea>
215
{/render}
216 217 218 219 220
                      </td>
                    </tr>
                    <tr>
                        <td>
                        <LABEL for="">
221
                          {t}Phone{/t}
222 223 224
                        </LABEL>
                      </td>
                      <td>
225
{render acl=$telephoneNumberACL}
226
                        <input type='text' id="telephoneNumber" name="telephoneNumber" size=15 maxlength=60 value="{$info_telephoneNumber}">
227
{/render}
228 229 230 231 232 233 234 235 236
                      </td>
                    </tr>
                    <tr>
                        <td>
                        <LABEL for="">
                          {t}FAX{/t}
                        </LABEL>
                      </td>
                      <td>
237
{render acl=$facsimileTelephoneNumberACL}
238 239
                        <input id="facsimileTelephoneNumber" name="facsimileTelephoneNumber"
                          size=15 maxlength=60 value="{$info_facsimileTelephoneNumber}">
240
{/render}
241 242 243 244 245 246 247 248 249
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <LABEL for="">
                          {t}Pager{/t}
                        </LABEL>
                      </td>
                      <td>
250
{render acl=$pagerACL}
251
                        <input type='text' id="pager" name="pager" size=15 maxlength=60 value="{$info_pager}">
252
{/render}
253 254 255 256 257 258 259 260 261
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
262

263 264 265 266
      <p align=right>
      <input type="submit" name="save" value="{msgPool type=saveButton}">
      <input type="submit" name="cancel" value="{msgPool type=cancelButton}">
      </p>
267

268 269
    </td>
  </tr>
270 271 272 273 274
</table>

<!--
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
-->