Roxen.git / server / config_interface / template

version» Context lines:

Roxen.git/server/config_interface/template:145:    <set variable="_.type" value=" icon delete" />    </if>    <if variable="_.name is *.new">    <set variable="_.type" value=" icon add" />    </if>    </if>   </nooutput>&_.type;</define>      <define container="disabled-gbutton" scope="disabled-gbutton">    <set variable="_.type"> <resolve-button-type type='&_.type;' icon='&_.icon-src;' name='&_.name;'/></set> +  <set variable="var.extra" value="" /> +  <if variable='_.width'> +  <set variable='var.extra' value='style="width:&_.width;"' /> +  </if>    <!-- disabled-gbutton --> -  <button class="rxn-admin-btn&_.type;" disabled="">&_.contents;</button> +  <button class="rxn-admin-btn&_.type;" ::="&var.extra;" disabled="">&_.contents;</button>   </define>      <define container="submit-gbutton" scope="submit-gbutton">    <attrib name="name">ok</attrib>    <set variable="_.type"> <resolve-button-type type='&_.type;' icon='&_.icon-src;' name='&_.name;'/></set> -  +  <set variable="var.extra" value="" /> +  <if variable='_.width'> +  <set variable='var.extra' value='style="width:&_.width;"' /> +  </if>    <!-- submit-gbutton --> -  <button class="rxn-admin-btn submit&_.type;" data-submit='' name="&_.contents;">&_.contents;</button> +  <button class="rxn-admin-btn submit&_.type;" data-submit='' ::="&var.extra;" name="&_.contents;">&_.contents;</button>   </define>      <define container="submit-gbutton2" scope="submit-gbutton2">    <attrib name="onclick"/>    <set variable="_.type"> <resolve-button-type type='&_.type;' icon='&_.icon-src;' name='&_.name;'/></set>    <set variable="var.onclick-confirm" value=""/>    <if variable="_.onclick = ?*">    <set variable="var.onclick-confirm" value='onclick="&_.onclick;"'/>    </if> -  +  <set variable="var.extra" value="" /> +  <if variable='_.width'> +  <set variable='var.extra' value='style="width:&_.width;"' /> +  </if>    <set variable="contents" type="text/xml"><eval>&_.contents:none;</eval></set>    <!-- submit-gbutton2 --> -  <button class='rxn-admin-btn&_.type;' data-submit='' name='&_.name;' ::="&var.onclick-confirm;">&_.contents;</button> +  <button class='rxn-admin-btn&_.type;' data-submit='' ::="&var.extra;" name='&_.name;' ::="&var.onclick-confirm;">&_.contents;</button>   </define>      <define tag="cf-save">    <!-- cf-save -->    <set variable="var._c" type='text/xml'><translate id="bA">Save</translate></set>    <button class="rxn-admin-btn icon save" value='&var._c;'>&var._c:none;</button>    <input type='hidden' name='save.x' value='Save'>   </define>   <define tag="cf-ok"><submit-gbutton2 type="ok" name="ok"><translate id="201">OK</translate></submit-gbutton2></define>   <define tag="cf-cancel"><link-gbutton type="cancel" href="&_.href;"><translate id="202">Cancel</translate></link-gbutton></define>