Changeset 30368 for extensions/Fotorama
- Timestamp:
- Nov 5, 2014, 10:24:29 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Fotorama/admin.php
r30052 r30368 8 8 if (isset($_POST['submit'])) 9 9 { 10 $old_conf = $conf; 11 10 12 $conf['Fotorama'] = array( 11 13 'shadows' => isset($_POST['shadows']), … … 25 27 if (isset($_POST['allowfullscreen'])) 26 28 $conf['Fotorama']['allowfullscreen'] = $_POST['allowfullscreen']; 29 else 30 $conf['Fotorama']['allowfullscreen'] = $old_conf['Fotorama']['allowfullscreen']; 27 31 if (isset($_POST['fit'])) 28 32 $conf['Fotorama']['fit'] = $_POST['fit']; 33 else 34 $conf['Fotorama']['fit'] = $old_conf['Fotorama']['fit']; 29 35 if (isset($_POST['transition'])) 30 36 $conf['Fotorama']['transition'] = $_POST['transition']; 37 else 38 $conf['Fotorama']['transition'] = $old_conf['Fotorama']['transition']; 31 39 if (isset($_POST['nav'])) 32 40 $conf['Fotorama']['nav'] = $_POST['nav']; 41 else 42 $conf['Fotorama']['nav'] = $old_conf['Fotorama']['nav']; 33 43 if (isset($_POST['fullscreen_nav'])) 34 44 $conf['Fotorama']['fullscreen_nav'] = $_POST['fullscreen_nav']; 45 else 46 $conf['Fotorama']['fullscreen_nav'] = $old_conf['Fotorama']['fullscreen_nav']; 35 47 if (isset($_POST['thumbheight'])) 36 48 $conf['Fotorama']['thumbheight'] = $_POST['thumbheight']; 49 else 50 $conf['Fotorama']['thumbheight'] = $old_conf['Fotorama']['thumbheight']; 37 51 if (isset($_POST['period'])) 38 52 $conf['Fotorama']['period'] = $_POST['period']; 53 else 54 $conf['Fotorama']['period'] = $old_conf['Fotorama']['period']; 39 55 40 56 conf_update_param('Fotorama', serialize($conf['Fotorama']));
Note: See TracChangeset
for help on using the changeset viewer.