Ignore:
Timestamp:
Jun 16, 2011, 12:54:59 PM (13 years ago)
Author:
mistic100
Message:

add a list of all SmartAlbums

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmartAlbums/include/init_cat_modify.php

    r11380 r11392  
    8787        ),
    8888      'limit' => array('limit' => 'limit'), // second filter not used
     89      // TODO : new filter by album
    8990      )
    9091    );
     
    130131  }
    131132 
     133  if (isset($_GET['new_smart']))
     134  {
     135    $template->assign('new_smart', true);
     136  }
     137 
    132138  $template->assign(array(
    133139    'SMART_PATH' => SMART_PATH,
     
    141147function smart_cat_modify_prefilter($content, &$smarty)
    142148{
    143   $search = '<form action="{$F_ACTION}" method="POST" id="links">';
     149  $search = '<form action="{$F_ACTION}" method="POST" id="catModify">';
    144150  $replacement = file_get_contents(SMART_PATH.'template/cat_modify.tpl')."\n".$search;
    145151  return str_replace($search, $replacement, $content);
Note: See TracChangeset for help on using the changeset viewer.