예제 #1
0
    echo htmlspecialchars($_REQUEST['custom'], ENT_QUOTES, 'utf-8');
} elseif (isset($_COOKIE['custom_template']) && !empty($_COOKIE['custom_template'])) {
    echo htmlspecialchars($_COOKIE['custom_template'], ENT_QUOTES, 'utf-8');
}
?>
</textarea>
          </fieldset>
          <fieldset id="options">
         <legend><?php 
echo $lang[$l][19];
?>
</legend>

            <input onchange="enable_disable_preserve()" type="checkbox" name="preserve_css" id="preserve_css"
                   <?php 
if ($css->get_cfg('preserve_css')) {
    echo 'checked="checked"';
}
?>
 />
            <label for="preserve_css" title="<?php 
echo $lang[$l][52];
?>
" class="help"><?php 
echo $lang[$l][51];
?>
</label><br />


            <input type="checkbox" name="sort_sel" id="sort_sel"
                   <?php 
예제 #2
0
            </select><br />
            <label for="custom" class="block">
            <?php echo $lang[$l][18]; ?> </label> <textarea id="custom"
            name="custom" cols="33" rows="4"><?php
               if(isset($_REQUEST['custom']) && !empty($_REQUEST['custom'])) echo
              htmlspecialchars($_REQUEST['custom']);
               elseif(isset($_COOKIE['custom_template']) &&
              !empty($_COOKIE['custom_template'])) echo
              htmlspecialchars($_COOKIE['custom_template']);
               ?></textarea>
          </fieldset>
          <fieldset id="options">
         <legend><?php echo $lang[$l][19]; ?></legend>

            <input onchange="enable_disable_preserve()" type="checkbox" name="preserve_css" id="preserve_css"
                   <?php if($css->get_cfg('preserve_css')) echo 'checked="checked"'; ?> />
            <label for="preserve_css" title="<?php echo $lang[$l][52]; ?>" class="help"><?php echo $lang[$l][51]; ?></label><br />


            <input type="checkbox" name="sort_sel" id="sort_sel"
                   <?php if($css->get_cfg('sort_selectors')) echo 'checked="checked"'; ?> />
            <label for="sort_sel" title="<?php echo $lang[$l][41]; ?>" class="help"><?php echo $lang[$l][20]; ?></label><br />


            <input type="checkbox" name="sort_de" id="sort_de"
                   <?php if($css->get_cfg('sort_properties')) echo 'checked="checked"'; ?> />
            <label for="sort_de"><?php echo $lang[$l][21]; ?></label><br />


            <label for="merge_selectors"><?php echo $lang[$l][22]; ?></label>
            <select style="width:15em;" name="merge_selectors" id="merge_selectors">