Ignore:
Timestamp:
05/18/13 00:44:13 (7 years ago)
Author:
mistic100
Message:

index.php was selectable as a font ! fix display of checkboxes with small browser window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/CryptograPHP/template/admin.tpl

    r19428 r22725  
    125125  border-color:#f70; 
    126126} 
     127 
     128.big-list {ldelim} 
     129  display:relative; 
     130  margin-left:51%; 
     131} 
     132.big-list label {ldelim} 
     133  display:inline-block; 
     134  margin-right:10px; 
     135} 
    127136</style> 
    128137{/html_head} 
     
    139148    <li> 
    140149      <span class="property">{'Activate on'|@translate}</span> 
    141       <label><input type="checkbox" name="activate_on[picture]" value="1" {if $crypto.activate_on.picture}checked="checked"{/if}> {'Picture comments'|@translate}</label> 
    142       {if $loaded.category}<label><input type="checkbox" name="activate_on[category]" value="1" {if $crypto.activate_on.category}checked="checked"{/if}> {'Album comments'|@translate}</label>{/if} 
    143       <label><input type="checkbox" name="activate_on[register]" value="1" {if $crypto.activate_on.register}checked="checked"{/if}> {'Register form'|@translate}</label> 
    144       {if $loaded.contactform}<label><input type="checkbox" name="activate_on[contactform]" value="1" {if $crypto.activate_on.contactform}checked="checked"{/if}> {'Contact form'|@translate}</label>{/if} 
    145       {if $loaded.guestbook}<label><input type="checkbox" name="activate_on[guestbook]" value="1" {if $crypto.activate_on.guestbook}checked="checked"{/if}> {'Guestbook'|@translate}</label>{/if} 
     150      <div class="big-list"> 
     151        <label><input type="checkbox" name="activate_on[picture]" value="1" {if $crypto.activate_on.picture}checked="checked"{/if}> {'Picture comments'|@translate}</label> 
     152        {if $loaded.category}<label><input type="checkbox" name="activate_on[category]" value="1" {if $crypto.activate_on.category}checked="checked"{/if}> {'Album comments'|@translate}</label>{/if} 
     153        <label><input type="checkbox" name="activate_on[register]" value="1" {if $crypto.activate_on.register}checked="checked"{/if}> {'Register form'|@translate}</label> 
     154        {if $loaded.contactform}<label><input type="checkbox" name="activate_on[contactform]" value="1" {if $crypto.activate_on.contactform}checked="checked"{/if}> {'Contact form'|@translate}</label>{/if} 
     155        {if $loaded.guestbook}<label><input type="checkbox" name="activate_on[guestbook]" value="1" {if $crypto.activate_on.guestbook}checked="checked"{/if}> {'Guestbook'|@translate}</label>{/if} 
     156        </div> 
    146157    </li> 
    147158    <li> 
     
    229240      <li> 
    230241        <span class="property">{'Font'|@translate}</span> 
    231         <div style="display:relative;margin-left:51%;"> 
     242        <div class="big-list"> 
    232243          {foreach from=$fonts item=font} 
    233244          <label style="font-family:{$font};" title="{$font}"><input type="radio" name="ttf_file" value="{$font}" {if $crypto.ttf_file == $font}checked="checked"{/if} class="istheme"> {$font}</label> 
Note: See TracChangeset for help on using the changeset viewer.