Changeset 3709


Ignore:
Timestamp:
07/30/09 23:06:05 (11 years ago)
Author:
tiico
Message:

Correct pb with double select in admin page

Location:
extensions/piclens/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/piclens/admin/piclenswallconfig.php

    r3708 r3709  
    2121// Switch  on right side (=> ) 
    2222if ( isset($_POST['falsify']) and !is_adviser()  
    23     and $_POST['from']=='wallcat' 
    2423    and isset($_POST['cat_true']) and count($_POST['cat_true']) > 0)  
    2524{ 
     
    3231// Switch  on left side ( <=) 
    3332if ( isset($_POST['trueify']) and !is_adviser()  
    34     and $_POST['from']=='wallcat' 
    3533    and isset($_POST['cat_false']) and count($_POST['cat_false']) > 0)  
    3634{ 
  • extensions/piclens/admin/piclenswallconfig.tpl

    r3708 r3709  
    1515</p> 
    1616<form method="post" action="{$PICLENS_F_ACTION}" class="general"> 
     17<input type="hidden" name="submit" /> 
    1718<fieldset> 
    1819        <legend>{'piclens_wallcfg_title'|@translate}</legend> 
     
    107108                        <div id="cat_select"> 
    108109                                {$DOUBLE_SELECT} 
    109                                 <div><input type="hidden" name="from" value="wallcat" /></div> 
    110110                        </div> 
    111111                        </td> 
Note: See TracChangeset for help on using the changeset viewer.