Changeset 19908 for extensions/photoWidget/admin.php
- Timestamp:
- Jan 6, 2013, 2:56:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/photoWidget/admin.php
r10988 r19908 3 3 // | photoWidget - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2010-201 1Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2010-2013 Nicolas Roudaire http://www.nikrou.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | 8 // | it under the terms of the GNU General Public License as published by|9 // | the Free Software Foundation|8 // | it under the terms of the GNU General Public License version 2 as | 9 // | published by the Free Software Foundation | 10 10 // | | 11 11 // | This program is distributed in the hope that it will be useful, but | … … 17 17 // | along with this program; if not, write to the Free Software | 18 18 // | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | 19 // | MA 02110-1301 USA .|19 // | MA 02110-1301 USA | 20 20 // +-----------------------------------------------------------------------+ 21 21 … … 80 80 81 81 $query = ' 82 SELECT id,name 82 SELECT id,name,global_rank,uppercats 83 83 FROM '.CATEGORIES_TABLE; 84 84 85 $all_categories = simple_hash_from_query($query, 'id', 'name');85 display_select_cat_wrapper($query, $me->pw_categories, 'all_categories'); 86 86 87 87 $template->set_filenames(array('plugin_admin_content' => PW_TEMPLATE . '/admin.tpl')); 88 88 $template->assign('PW_CAT_CHOICES', array(1 => l10n('Yes'), 0 => l10n('No'))); 89 $template->assign('ALL_CATEGORIES', $all_categories);90 $template->assign('PW_CATEGORIES', $me->pw_categories);91 89 $template->assign('PW_ALL_CATEGORIES', $me->pw_all_categories); 92 90 $template->assign('PWG_PHOTO_WIDGET_PLUGIN_CSS', PW_CSS);
Note: See TracChangeset
for help on using the changeset viewer.