Changeset 1920


Ignore:
Timestamp:
Mar 26, 2007, 9:15:52 PM (17 years ago)
Author:
rub
Message:

"Put checkbox on the left!"

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/configuration.php

    r1901 r1920  
    5050
    5151$main_checkboxes = array(
     52    'rate',
     53    'rate_anonymous',
    5254    'email_admin_on_new_user',
    5355    'allow_user_registration',
     
    234236        'GALLERY_LOCKED_YES'=>$lock_yes,
    235237        'GALLERY_LOCKED_NO'=>$lock_no,
    236         ($conf['rate']==true?'RATE_YES':'RATE_NO')=>$html_check,
    237         ($conf['rate_anonymous']==true
    238              ? 'RATE_ANONYMOUS_YES' : 'RATE_ANONYMOUS_NO')=>$html_check,
    239238        'CONF_GALLERY_TITLE' => $conf['gallery_title'],
    240239        'CONF_PAGE_BANNER' => $conf['page_banner'],
  • trunk/template/yoga/admin/configuration.tpl

    r1906 r1920  
    3939      <label><input type="radio" class="radio" name="gallery_locked" value="false" {main.GALLERY_LOCKED_NO} />{lang:No}</label>
    4040    </li>
     41  </ul>
     42</fieldset>
     43
     44<fieldset id="mainConfCheck">
     45  <ul>
    4146
    4247    <li>
    4348      <span class="property">{lang:Rating}</span>
    44       <label><input type="radio" class="radio" name="rate" value="true" {main.RATE_YES} />{lang:Yes}</label>
    45       <label><input type="radio" class="radio" name="rate" value="false" {main.RATE_NO} />{lang:No}</label>
     49      <input type="checkbox" name="rate" {main.RATE} />
    4650    </li>
    4751
    4852    <li>
    4953      <span class="property">{lang:Rating by guests}</span>
    50       <label><input type="radio" class="radio" name="rate_anonymous" value="true" {main.RATE_ANONYMOUS_YES} />{lang:Yes}</label>
    51       <label><input type="radio" class="radio" name="rate_anonymous" value="false" {main.RATE_ANONYMOUS_NO} />{lang:No}</label>
     54      <input type="checkbox" name="rate_anonymous" {main.RATE_ANONYMOUS} />
    5255    </li>
    5356
     
    7275      </label>
    7376    </li>
    74 
    7577  </ul>
    7678</fieldset>
     
    137139</fieldset>
    138140<!-- END comments -->
     141
    139142<!-- BEGIN default -->
    140 <fieldset id="commentsConf">
     143<fieldset id="defaultConf">
    141144  <ul>
    142145    <li>
  • trunk/template/yoga/admin/default-layout.css

    r1900 r1920  
    4949}
    5050FORM#categoryOrdering p {
    51         text-align: left;
    52         margin-top: 1em;
    53         margin-bottom: 1em;
     51  text-align: left;
     52  margin-top: 1em;
     53  margin-bottom: 1em;
    5454}
    5555UL.categoryUl {
     
    9898}
    9999
     100FIELDSET#mainConfCheck SPAN.property,
     101FIELDSET#historyConf SPAN.property,
     102FIELDSET#commentsConf SPAN.property {
     103  float: right;
     104  text-align: left;
     105}
     106FIELDSET#mainConfCheck INPUT,
     107FIELDSET#historyConf INPUT,
     108FIELDSET#commentsConf INPUT {
     109  float: none;
     110}
     111
    100112FIELDSET#mainConf SPAN.property {
    101113  width: 25%;
     
    103115FIELDSET#mainConf TEXTAREA.description {
    104116  width: 70%;
     117}
     118
     119FIELDSET#mainConfCheck SPAN.property,
     120FIELDSET#historyConf SPAN.property {
     121  width: 90%;
     122}
     123FIELDSET#mainConfCheck INPUT,
     124FIELDSET#historyConf INPUT {
     125  margin-left: 5%;
     126}
     127
     128FIELDSET#commentsConf SPAN.property {
     129  width: 85%;
     130}
     131FIELDSET#commentsConf INPUT {
     132  margin-left: 5%;
    105133}
    106134
     
    173201  padding: 4px 8px;
    174202  border: 1px solid #fff;
    175   border-radius: 6px 6px 0px 0px;       /* round corners with CSS3 compliant browsers */
     203  border-radius: 6px 6px 0px 0px; /* round corners with CSS3 compliant browsers */
    176204  padding: 5px 2em 2px 2em;
    177205}
Note: See TracChangeset for help on using the changeset viewer.