Changeset 30432 for extensions/see_photos_by_user
- Timestamp:
- Nov 11, 2014, 11:14:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/see_photos_by_user/admin.php
r30429 r30432 45 45 $template->assign('spbuT', $SPBU3T); 46 46 47 $SPBU3T2 = array( 47 $PAPAB = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'Photo_add_by';")); 48 if($PAPAB['state'] == 'active') 49 { 50 $SPBU3T2 = array( 48 51 l10n('nothing'), 49 52 l10n('link Specials menu'), 50 53 l10n('bloc menu users'), 51 ); 52 53 $SPBU32 = array( 54 ); 55 $SPBU32 = array( 54 56 '-1', 55 57 '1', 56 58 '2', 57 ); 59 ); 60 }else{ 61 $SPBU3T2 = array( 62 l10n('link Specials menu'), 63 l10n('bloc menu users'), 64 ); 65 $SPBU32 = array( 66 '1', 67 '2', 68 ); 69 } 58 70 59 71 $template->assign('spbu2', $SPBU32);
Note: See TracChangeset
for help on using the changeset viewer.