Ignore:
Timestamp:
Mar 8, 2013, 1:41:19 AM (11 years ago)
Author:
mistic100
Message:

update PWG Stuffs module, use UNIX eol

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Comments_on_Albums/trunk/stuffs_module/config.inc.php

    r12381 r21347  
    1313  else
    1414  {
     15    if (!isset($_POST['show_admin_buttons']))
     16    {
     17      $_POST['show_admin_buttons'] = 'off';
     18    }
    1519    $datas = array(
    1620      $_POST['nb_comments'],
    17       isset($_POST['show_admin_buttons']),
     21      $_POST['show_admin_buttons'],
    1822      $_POST['nb_cadres'],
    1923      $_POST['width'],
     
    3337  'HEIGHT'      => $datas[4]
    3438));
    35 if ($datas[1])
     39if ($datas[1] == 'on')
    3640{
    3741  $template->assign(array('SHOW_ADMIN_BUTTONS' => 'checked="checked"'));
Note: See TracChangeset for help on using the changeset viewer.