Changeset 3215 for trunk


Ignore:
Timestamp:
Mar 19, 2009, 8:51:54 PM (16 years ago)
Author:
nikrou
Message:

fix several html bugs
we must find a way to fix the problem of empty select

Location:
trunk/admin
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/menubar.php

    r3049 r3215  
    158158     );
    159159}
     160
     161$action = get_root_url().'admin.php?page=menubar';
     162$template->assign(array('F_ACTION'=>$action));
     163
    160164$template->set_filename( 'menubar_admin_content', 'menubar.tpl' );
    161165$template->assign_var_from_handle( 'ADMIN_CONTENT', 'menubar_admin_content');
  • trunk/admin/template/goto/configuration.tpl

    r3185 r3215  
    77</div>
    88
     9{if !isset($default)}
    910<form method="post" action="{$F_ACTION}" class="properties">
     11{/if}
    1012
    1113{if isset($main)}
     
    8688{if isset($history)}
    8789<fieldset id="historyConf">
     90  <legend></legend>
    8891  <ul>
    8992      <li>
     
    105108{if isset($comments)}
    106109<fieldset id="commentsConf">
     110  <legend></legend>
    107111  <ul>
    108112    <li>
     
    147151{if isset($upload)}
    148152<fieldset id="uploadConf">
     153  <legend></legend>
    149154  <ul>
    150155    <li>
     
    155160      <label><span class="property">{'User access level to upload'|@translate}</span>
    156161      {html_options name="upload_user_access" options=$upload.upload_user_access_options selected=$upload.upload_user_access_options_selected}
     162      </label>
    157163    </li>
    158164    <li>
     
    175181    <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
    176182  </p>
     183</form>
    177184{/if}
    178 </form>
  • trunk/admin/template/goto/element_set_unit.tpl

    r3185 r3215  
    2828
    2929{if !empty($elements) }
    30 <input type="hidden" name="element_ids" value="{$ELEMENT_IDS}">
     30<div><input type="hidden" name="element_ids" value="{$ELEMENT_IDS}"></div>
    3131{foreach from=$elements item=element}
    3232<fieldset class="elementEdit">
     
    8282    <tr>
    8383      <td><strong>{'Description'|@translate}</strong></td>
    84       <td><textarea name="description-{$element.ID}" id="description-{$element.ID}" class="description">{$element.DESCRIPTION}</textarea></td>
     84      <td><textarea cols="50" rows="5" name="description-{$element.ID}" id="description-{$element.ID}" class="description">{$element.DESCRIPTION}</textarea></td>
    8585    </tr>
    8686
  • trunk/admin/template/goto/extend_for_templates.tpl

    r3185 r3215  
    1515    <tr class="{if $smarty.foreach.extent_loop.index is odd}row1{else}row2{/if}">
    1616      <td>
    17         <input type="hidden" name=reptpl[] value="{$tpl.replacer}">
     17        <input type="hidden" name="reptpl[]" value="{$tpl.replacer}">
    1818        {$tpl.replacer}
    1919      </td>
  • trunk/admin/template/goto/group_list.tpl

    r3185 r3215  
    3232    <td style="text-align:center;">
    3333      <a href="{$group.U_PERM}">
    34         <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/permissions.png" class="button" style="border:none" id="btn_permissions" alt="{'permissions'|@translate}" title="{'permissions'|@translate}"></a>
     34        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/permissions.png" class="button" style="border:none" alt="{'permissions'|@translate}" title="{'permissions'|@translate}"></a>
    3535      <a href="{$group.U_DELETE}" onclick="return confirm( document.getElementById('btn_delete').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');">
    36         <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" class="button" style="border:none" id="btn_delete" alt="{'delete'|@translate}" title="{'delete'|@translate}" {$TAG_INPUT_ENABLED}></a>
     36        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" class="button" style="border:none" alt="{'delete'|@translate}" title="{'delete'|@translate}" {$TAG_INPUT_ENABLED}></a>
    3737      <a href="{$group.U_ISDEFAULT}" onclick="return confirm( document.getElementById('btn_toggle_is_default_group').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');">
    38         <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/toggle_is_default_group.png" class="button" style="border:none" id="btn_toggle_is_default_group" alt="{'toggle_is_default_group'|@translate}" title="{'toggle_is_default_group'|@translate}" {$TAG_INPUT_ENABLED}></a>
     38        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/toggle_is_default_group.png" class="button" style="border:none" alt="{'toggle_is_default_group'|@translate}" title="{'toggle_is_default_group'|@translate}" {$TAG_INPUT_ENABLED}></a>
    3939    </td>
    4040  </tr>
  • trunk/admin/template/goto/menubar.tpl

    r3185 r3215  
    55</div>
    66
    7 <form method="post" class="properties">
     7<form method="post" action="{$F_ACTION}" class="properties">
    88<table class="table2">
    99        <tr class="throw">
     
    1919                <td>{$block.reg->get_owner()}</td>
    2020                <td>{$block.reg->get_name()|@translate}</td>
    21                 <td><input type="input" name="pos_{$block.reg->get_id()}" value={math equation="abs(pos)" pos=$block.pos} size="2"></td>
     21                <td><input type="text" name="pos_{$block.reg->get_id()}" value={math equation="abs(pos)" pos=$block.pos} size="2"></td>
    2222                <td><input type="checkbox" name="hide_{$block.reg->get_id()}" {if $block.pos<0}checked="checked"{/if} ></td>
    2323        </tr>
  • trunk/admin/template/goto/profile_content.tpl

    r3185 r3215  
    3737        <input type="password" name="passwordConf" id="passwordConf" value="">
    3838      </li>
     39{/if}
    3940    </ul>
    40 {/if}
    4141  </fieldset>
    4242
Note: See TracChangeset for help on using the changeset viewer.