Changeset 435 for trunk/templates


Ignore:
Timestamp:
10/26/12 17:11:49 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix bug with location handling in new domain page. Could arguably
have removed the location_view ACL since that permission is
nominally required for record_locchg anyway.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/newdomain.tmpl

    r383 r435  
    3232                <td>Make domain active on next DNS propagation</td><td><input type="checkbox" name="makeactive"<TMPL_UNLESS addinactive> checked="checked"</TMPL_UNLESS> /></td>
    3333        </tr>
    34 <TMPL_IF location_view>
     34<TMPL_IF location_view><TMPL_IF record_locchg>
    3535        <tr class="datalinelight">
    3636                <td>Default location/view:</td>
    3737                <td><select name="defloc">
    38                 <option value="">(None/public)</option>
    3938<TMPL_LOOP name=loclist>                <option value="<TMPL_VAR NAME=loc>"<TMPL_IF selected> selected="selected"</TMPL_IF>><TMPL_VAR NAME=locname></option>
    4039</TMPL_LOOP>
    4140                </select></td>
    4241        </tr>
    43 </TMPL_IF>
     42</TMPL_IF></TMPL_IF>
    4443        <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add domain" /></td></tr>
    4544    </table>
Note: See TracChangeset for help on using the changeset viewer.