Changeset 32436 for extensions/posted_date_changer
- Timestamp:
- Jan 25, 2021, 10:19:15 PM (4 years ago)
- Location:
- extensions/posted_date_changer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/posted_date_changer/language/en_UK/plugin.lang.php
r10356 r32436 2 2 3 3 $lang['Change Posted Date'] = 'Change Posted Date'; 4 $lang['Date can\'t be empty'] = 'Date can\'t be empty'; 4 5 5 6 ?> -
extensions/posted_date_changer/language/fr_FR/plugin.lang.php
r10356 r32436 2 2 3 3 $lang['Change Posted Date'] = 'Changer la date d\'ajout'; 4 4 $lang['Date can\'t be empty'] = 'La date ne peux pas être vide'; 5 5 ?> -
extensions/posted_date_changer/main.inc.php
r30028 r32436 44 44 if(!empty($_POST['date_available'])){ 45 45 $date_available = $_POST['date_available']; 46 }else{ 47 $date_available=null; 48 } 49 50 $datas = array(); 51 foreach ($collection as $image_id) 52 { 53 array_push( 46 $datas = array(); 47 foreach ($collection as $image_id) 48 { 49 array_push( 54 50 $datas, 55 51 array( … … 58 54 ) 59 55 ); 60 } 61 56 } 62 57 mass_updates( 63 58 IMAGES_TABLE, … … 65 60 $datas 66 61 ); 62 }else{ 63 load_language('plugin.lang', dirname(__FILE__).'/');; 64 $_SESSION['page_errors'] = array(l10n('Date can\'t be empty')); 65 } 67 66 } 68 67 }
Note: See TracChangeset
for help on using the changeset viewer.