Changeset 3260565
- Timestamp:
- 03/24/2025 06:25:47 AM (10 months ago)
- Location:
- stageshow/trunk
- Files:
-
- 128 added
- 19 edited
- 2 copied
-
admin/js/datetimepicker_css.js (modified) (2 diffs)
-
admin/js/stageshowlib_admin.js (modified) (3 diffs)
-
admin/stageshow_manage_priceplans.php (modified) (1 diff)
-
images/lang/stageshow-de_DE.po (added)
-
images/lang/stageshow-en_GB.po (added)
-
images/lang/stageshow-en_US.po (added)
-
images/lang/stageshow-es_ES.po (added)
-
images/lang/stageshow-fr_FR.po (added)
-
images/lang/stageshow-it_IT.po (added)
-
images/lang/stageshow-ms_MS.po (added)
-
images/lang/stageshow-nl_NL.po (added)
-
images/lang/stageshow-sr_RS.po (added)
-
include/stageshow_dbase_api.php (modified) (5 diffs)
-
include/stageshow_dstbarcode.php (modified) (1 diff)
-
include/stageshow_sample_dbase.php (modified) (1 diff)
-
include/stageshow_trolley_dbase_api.php (modified) (2 diffs)
-
include/stageshowlib_adminlist.php (modified) (2 diffs)
-
include/stageshowlib_dbase_api.php (modified) (15 diffs)
-
include/stageshowlib_dbase_base.php (modified) (5 diffs)
-
include/stageshowlib_escaping - Copy (2).php (added)
-
include/stageshowlib_escaping - Copy.php (added)
-
include/stageshowlib_escaping.php (modified) (7 diffs)
-
include/stageshowlib_escaping_ex.php (added)
-
include/stageshowlib_gatewaysalesadmin.php (modified) (1 diff)
-
include/stageshowlib_htmlemail_api.php (modified) (3 diffs)
-
include/stageshowlib_sales_trolley_dbase_api.php (modified) (1 diff)
-
include/stageshowlib_settingsadmin.php (modified) (1 diff)
-
include/stageshowlib_table.php (modified) (4 diffs)
-
include/stageshowlib_utils.php (modified) (3 diffs)
-
js/stageshowlib_js.js (modified) (3 diffs)
-
lang/stageshow-de_DE.po (added)
-
lang/stageshow-en_GB.po (added)
-
lang/stageshow-en_US.po (added)
-
lang/stageshow-es_ES.po (added)
-
lang/stageshow-fr_FR.po (added)
-
lang/stageshow-it_IT.po (added)
-
lang/stageshow-ms_MS.po (added)
-
lang/stageshow-nl_NL.po (added)
-
lang/stageshow-sr_RS.po (added)
-
lang/stageshow.pot (modified) (19 diffs)
-
lib/stripe-php/justfile (added)
-
lib/stripe-php/lib/AccountSession.php (added)
-
lib/stripe-php/lib/Application.php (added)
-
lib/stripe-php/lib/Billing (added)
-
lib/stripe-php/lib/Billing/Alert.php (added)
-
lib/stripe-php/lib/Billing/AlertTriggered.php (added)
-
lib/stripe-php/lib/Billing/CreditBalanceSummary.php (added)
-
lib/stripe-php/lib/Billing/CreditBalanceTransaction.php (added)
-
lib/stripe-php/lib/Billing/CreditGrant.php (added)
-
lib/stripe-php/lib/Billing/Meter.php (added)
-
lib/stripe-php/lib/Billing/MeterEvent.php (added)
-
lib/stripe-php/lib/Billing/MeterEventAdjustment.php (added)
-
lib/stripe-php/lib/Billing/MeterEventSummary.php (added)
-
lib/stripe-php/lib/Climate (added)
-
lib/stripe-php/lib/Climate/Order.php (added)
-
lib/stripe-php/lib/Climate/Product.php (added)
-
lib/stripe-php/lib/Climate/Supplier.php (added)
-
lib/stripe-php/lib/ConfirmationToken.php (added)
-
lib/stripe-php/lib/ConnectCollectionTransfer.php (added)
-
lib/stripe-php/lib/CustomerSession.php (added)
-
lib/stripe-php/lib/Entitlements (added)
-
lib/stripe-php/lib/Entitlements/ActiveEntitlement.php (added)
-
lib/stripe-php/lib/Entitlements/ActiveEntitlementSummary.php (added)
-
lib/stripe-php/lib/Entitlements/Feature.php (added)
-
lib/stripe-php/lib/EventData (added)
-
lib/stripe-php/lib/EventData/V1BillingMeterErrorReportTriggeredEventData.php (added)
-
lib/stripe-php/lib/EventData/V1BillingMeterNoMeterFoundEventData.php (added)
-
lib/stripe-php/lib/Events (added)
-
lib/stripe-php/lib/Events/V1BillingMeterErrorReportTriggeredEvent.php (added)
-
lib/stripe-php/lib/Events/V1BillingMeterNoMeterFoundEvent.php (added)
-
lib/stripe-php/lib/Exception/TemporarySessionExpiredException.php (added)
-
lib/stripe-php/lib/FinancialConnections/Transaction.php (added)
-
lib/stripe-php/lib/Forwarding (added)
-
lib/stripe-php/lib/Forwarding/Request.php (added)
-
lib/stripe-php/lib/InvoiceRenderingTemplate.php (added)
-
lib/stripe-php/lib/Issuing/PersonalizationDesign.php (added)
-
lib/stripe-php/lib/Issuing/PhysicalBundle.php (added)
-
lib/stripe-php/lib/Issuing/Token.php (added)
-
lib/stripe-php/lib/PaymentMethodConfiguration.php (added)
-
lib/stripe-php/lib/PaymentMethodDomain.php (added)
-
lib/stripe-php/lib/ProductFeature.php (added)
-
lib/stripe-php/lib/Reason.php (added)
-
lib/stripe-php/lib/RelatedObject.php (added)
-
lib/stripe-php/lib/ReserveTransaction.php (added)
-
lib/stripe-php/lib/Service/AccountSessionService.php (added)
-
lib/stripe-php/lib/Service/Billing (added)
-
lib/stripe-php/lib/Service/Billing/AlertService.php (added)
-
lib/stripe-php/lib/Service/Billing/BillingServiceFactory.php (added)
-
lib/stripe-php/lib/Service/Billing/CreditBalanceSummaryService.php (added)
-
lib/stripe-php/lib/Service/Billing/CreditBalanceTransactionService.php (added)
-
lib/stripe-php/lib/Service/Billing/CreditGrantService.php (added)
-
lib/stripe-php/lib/Service/Billing/MeterEventAdjustmentService.php (added)
-
lib/stripe-php/lib/Service/Billing/MeterEventService.php (added)
-
lib/stripe-php/lib/Service/Billing/MeterService.php (added)
-
lib/stripe-php/lib/Service/Climate (added)
-
lib/stripe-php/lib/Service/Climate/ClimateServiceFactory.php (added)
-
lib/stripe-php/lib/Service/Climate/OrderService.php (added)
-
lib/stripe-php/lib/Service/Climate/ProductService.php (added)
-
lib/stripe-php/lib/Service/Climate/SupplierService.php (added)
-
lib/stripe-php/lib/Service/ConfirmationTokenService.php (added)
-
lib/stripe-php/lib/Service/CustomerSessionService.php (added)
-
lib/stripe-php/lib/Service/Entitlements (added)
-
lib/stripe-php/lib/Service/Entitlements/ActiveEntitlementService.php (added)
-
lib/stripe-php/lib/Service/Entitlements/EntitlementsServiceFactory.php (added)
-
lib/stripe-php/lib/Service/Entitlements/FeatureService.php (added)
-
lib/stripe-php/lib/Service/FinancialConnections/TransactionService.php (added)
-
lib/stripe-php/lib/Service/Forwarding (added)
-
lib/stripe-php/lib/Service/Forwarding/ForwardingServiceFactory.php (added)
-
lib/stripe-php/lib/Service/Forwarding/RequestService.php (added)
-
lib/stripe-php/lib/Service/InvoiceRenderingTemplateService.php (added)
-
lib/stripe-php/lib/Service/Issuing/PersonalizationDesignService.php (added)
-
lib/stripe-php/lib/Service/Issuing/PhysicalBundleService.php (added)
-
lib/stripe-php/lib/Service/Issuing/TokenService.php (added)
-
lib/stripe-php/lib/Service/PaymentMethodConfigurationService.php (added)
-
lib/stripe-php/lib/Service/PaymentMethodDomainService.php (added)
-
lib/stripe-php/lib/Service/ServiceNavigatorTrait.php (added)
-
lib/stripe-php/lib/Service/Tax/RegistrationService.php (added)
-
lib/stripe-php/lib/Service/TaxIdService.php (added)
-
lib/stripe-php/lib/Service/TestHelpers/ConfirmationTokenService.php (added)
-
lib/stripe-php/lib/Service/TestHelpers/Issuing/AuthorizationService.php (added)
-
lib/stripe-php/lib/Service/TestHelpers/Issuing/PersonalizationDesignService.php (added)
-
lib/stripe-php/lib/Service/TestHelpers/Issuing/TransactionService.php (added)
-
lib/stripe-php/lib/Service/V2 (added)
-
lib/stripe-php/lib/Service/V2/Billing (added)
-
lib/stripe-php/lib/Service/V2/Billing/BillingServiceFactory.php (added)
-
lib/stripe-php/lib/Service/V2/Billing/MeterEventAdjustmentService.php (added)
-
lib/stripe-php/lib/Service/V2/Billing/MeterEventService.php (added)
-
lib/stripe-php/lib/Service/V2/Billing/MeterEventSessionService.php (added)
-
lib/stripe-php/lib/Service/V2/Billing/MeterEventStreamService.php (added)
-
lib/stripe-php/lib/Service/V2/Core (added)
-
lib/stripe-php/lib/Service/V2/Core/CoreServiceFactory.php (added)
-
lib/stripe-php/lib/Service/V2/Core/EventDestinationService.php (added)
-
lib/stripe-php/lib/Service/V2/Core/EventService.php (added)
-
lib/stripe-php/lib/Service/V2/V2ServiceFactory.php (added)
-
lib/stripe-php/lib/SourceMandateNotification.php (added)
-
lib/stripe-php/lib/Tax/Registration.php (added)
-
lib/stripe-php/lib/TaxDeductedAtSource.php (added)
-
lib/stripe-php/lib/ThinEvent.php (added)
-
lib/stripe-php/lib/Util/EventTypes.php (added)
-
lib/stripe-php/lib/V2 (added)
-
lib/stripe-php/lib/V2/Billing (added)
-
lib/stripe-php/lib/V2/Billing/MeterEvent.php (added)
-
lib/stripe-php/lib/V2/Billing/MeterEventAdjustment.php (added)
-
lib/stripe-php/lib/V2/Billing/MeterEventSession.php (added)
-
lib/stripe-php/lib/V2/Collection.php (added)
-
lib/stripe-php/lib/V2/Event.php (added)
-
lib/stripe-php/lib/V2/EventDestination.php (added)
-
readme.txt (copied) (copied from stageshow/trunk/readme.txt) (2 diffs)
-
stageshow.php (copied) (copied from stageshow/trunk/stageshow.php) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
stageshow/trunk/admin/js/datetimepicker_css.js
r3258990 r3260565 99 99 100 100 this.Ctrl = pCtrl; 101 this.Format = "ddMMyyyy"; 101 if (stageshowlib_dtFormat !== undefined && stageshowlib_dtFormat !== "") 102 this.Format = stageshowlib_dtFormat; 103 else 104 this.Format = "ddMMyyyy"; 102 105 this.Separator = "-"; 103 106 this.ShowTime = false; … … 1090 1093 defaultTimeDate = typeof defaultTimeDate !== 'undefined' ? defaultTimeDate : ''; 1091 1094 1092 pFormat = 'yyyyMMdd'; 1093 pShowTime = true; 1095 if (stageshowlib_dtFormat !== undefined && stageshowlib_dtFormat !== "") 1096 pFormat = stageshowlib_dtFormat; 1097 else 1098 pFormat = 'yyyyMMdd'; 1099 1100 pShowTime = true; 1094 1101 pShowSeconds = false; 1095 1102 -
stageshow/trunk/admin/js/stageshowlib_admin.js
r2940230 r3260565 189 189 } 190 190 191 function stageshowlib_OnTicketButtonClick(showEMailURL )191 function stageshowlib_OnTicketButtonClick(showEMailURL, wpnonceId = '_wp_nonce_viewemail') 192 192 { 193 193 var saleSelectObj = document.getElementById('TestSaleID'); 194 194 saleId = saleSelectObj.value; 195 195 196 stageshowlib_OpenTicketView(saleId, showEMailURL, 'ShowEMailNOnce');196 stageshowlib_OpenTicketView(saleId, showEMailURL, wpnonceId); 197 197 } 198 198 199 199 function stageshowlib_OpenTicketView(saleId, showEMailURL, wpnonceId = '_wpnonce') 200 200 { 201 var wpnonceObj = document.getElementById(wpnonceId);202 203 201 var sepChar = '?'; 204 202 if (showEMailURL.indexOf('?') > 0) … … 206 204 207 205 saleParam = 'id=' + saleId; 208 wpnonceParam = '_wpnonce=' + wpnonceObj.value; 209 url = showEMailURL + sepChar + saleParam + '&' + wpnonceParam; 206 url = showEMailURL + sepChar + saleParam; 207 208 if (wpnonceId !== '') 209 { 210 var wpnonceObj = document.getElementById(wpnonceId); 211 wpnonceParam = '_wpnonce=' + wpnonceObj.value; 212 url = url + '&' + wpnonceParam; 213 } 210 214 211 215 var templateObj = document.getElementById('emailTemplate'); … … 216 220 } 217 221 222 stageshowlib_OpenWindow(url); 223 } 224 225 function stageshowlib_OpenWindow(url) 226 { 218 227 window.open(url); 219 228 } -
stageshow/trunk/admin/stageshow_manage_priceplans.php
r3258990 r3260565 355 355 $this->CheckAdminReferer(); 356 356 357 // Add Group with unique Group Name 358 $planID = $myDBaseObj->AddPlan(''); 359 357 $seatingID = StageShowLibUtilsClass::GetHTTPInteger('post', 'seatingID'); 358 359 // Add Price Plan with unique ref 360 $planID = $myDBaseObj->AddPlan('', $seatingID); 361 360 362 if ($planID == 0) 361 363 StageShowLibEscapingClass::SafeEchoHTML('<div id="message" class="error"><p>' . __('Cannot add a price plan', STAGESHOW_DOMAIN_NAME) . '</p></div>'); -
stageshow/trunk/include/stageshow_dbase_api.php
r3258990 r3260565 193 193 } 194 194 } 195 196 195 197 196 $this->PurgeSeatingPlans(); 198 197 … … 205 204 } 206 205 207 //Dev Code Start -------------------------- 208 // Publish updates 209 $this->PublishUpdates(); 210 //Dev Code End -------------------------- 211 } 212 213 214 206 } 207 215 208 function RemovePriceRefsField() 216 209 { … … 2056 2049 function GetPluginStatus() 2057 2050 { 2058 $pluginID = $this->get_name(); 2059 if ($pluginID == 'StageShow') 2060 { 2061 return ''; 2062 } 2063 2064 $installInsURL = STAGESHOW_URL.'docs/StageShowUnification.pdf'; 2065 $actionMsg = 'Sales of '.$pluginID.' have been discontinued, and the additional features that it provides have been added to the free version of StageShow hosted on Wordpress.org. <p>There will be no further updates of '.$pluginID.' and you should replace it with the StageShow plugin to continue to get updates. <p>Details on how to do this are <a href="'.$installInsURL.'">here</a>.'; 2066 2067 return $actionMsg; 2051 return ''; 2068 2052 } 2069 2053 … … 2193 2177 } 2194 2178 2195 function AddPlan($planRef = '', $p riceType='', $priceValue=0.0)2179 function AddPlan($planRef = '', $planSeatingID = 0, $priceType='', $priceValue=0.0) 2196 2180 { 2197 2181 // Save the seatingID because AddPreset (called by AddPlan) uses it) … … 2216 2200 } 2217 2201 2218 $sql = 'INSERT INTO '.STAGESHOW_PLANS_TABLE.'(planRef ) VALUES("'.esc_sql($planRef).'")';2202 $sql = 'INSERT INTO '.STAGESHOW_PLANS_TABLE.'(planRef, seatingID) VALUES("'.esc_sql($planRef).'", "'.esc_sql($planSeatingID).'")'; 2219 2203 $this->query($sql); 2220 2204 -
stageshow/trunk/include/stageshow_dstbarcode.php
r3258990 r3260565 485 485 $bigCenter = $img_width / 2; 486 486 $textCenter = $pxWid / 2; 487 imagestring($image, $this->fontSize, ($bigCenter - $textCenter) + 5, $img_height + 1, $text, $black);487 imagestring($image, $this->fontSize, intval($bigCenter - $textCenter + 5), intval($img_height + 1), $text, $black); 488 488 } 489 489 -
stageshow/trunk/include/stageshow_sample_dbase.php
r3258990 r3260565 478 478 function AddSamplePlan($planRef) 479 479 { 480 $planID = $this->myDBaseObj->AddPlan($planRef, '', -1);480 $planID = $this->myDBaseObj->AddPlan($planRef, 0, '', -1); 481 481 482 482 if (($planRef == 'Evening') && ($planID > 0)) -
stageshow/trunk/include/stageshow_trolley_dbase_api.php
r3258990 r3260565 1370 1370 function DeleteSeatLockout($stockID, $ticketSeat) 1371 1371 { 1372 global $jscode;1373 1374 1372 if ($ticketSeat == '') return; 1375 1373 … … 1421 1419 function AddLayoutWrapper($template) 1422 1420 { 1421 global $jscode; 1422 1423 1423 if (!defined('STAGESHOW_BOXOFFICE_ENABLESCROLL')) return $template; 1424 1424 -
stageshow/trunk/include/stageshowlib_adminlist.php
r3258990 r3260565 508 508 $editControl = '<input type="text"'.$eventHandler.' size="'.$editSize.'" '.$controlIdDef.' value="'.$controlValue.'" />'."\n"; 509 509 if ($this->allowHiddenTags) $editControl .= '<input type="hidden" '.StageShowLibMigratePHPClass::Safe_str_replace('="', '="curr', $controlIdDef).' value="'.$controlValue.'" />'."\n"; 510 $editControl .= $this->myDBaseObj->DateTimeFormatToJS(); 511 510 512 $this->hasDateTimeEntry = true; 511 513 break; … … 1273 1275 { 1274 1276 $name = "{$columnID}-checkall"; 1275 $pnlc = strtolower( GOLFSOC_PLUGIN_NAME);1277 $pnlc = strtolower(STAGESHOWLIB_PLUGIN_ID); 1276 1278 $class = "{$name} {$pnlc}-checkall"; 1277 1279 $columnSelectAll = "<input name=\"{$name}\" id=\"{$name}\" class=\"{$class}\" type=\"checkbox\" onClick=\"StageShowLib_updateCheckboxes(this,event)\" />"; -
stageshow/trunk/include/stageshowlib_dbase_api.php
r3258990 r3260565 47 47 define('STAGESHOWLIB_SESSIONERR_NOMATCH', 4); 48 48 49 class StageShowLibDBaseClass extends StageShowLibGenericDBaseClass // Define Class49 class StageShowLibDBaseClass extends StageShowLibGenericDBaseClass // Define class 50 50 { 51 51 const MYSQL_DATE_FORMAT = 'Y-m-d'; … … 92 92 93 93 $this->opts = $opts; 94 $this->getOptions(); 94 if ($opts['CfgOptionsID'] !== 'unused') 95 $this->getOptions(); 95 96 96 97 } … … 262 263 function AddGenericDBFields(&$event) 263 264 { 264 $event->organisation = $this->adminOptions[ 'OrganisationID'];265 $event->organisation = $this->adminOptions[STAGESHOWLIB_SITEID_OPTIONID]; 265 266 if ($this->isOptionSet('HomePageURL')) 266 267 { … … 306 307 307 308 if ($caller == '') 308 return $theLink.'&caller=none';; 309 { 310 $theLink = StageShowLibEscapingClass::SafeAddQueryArg( 'caller', 'none', $theLink ); 311 return $theLink; 312 } 309 313 310 314 $baseName = plugin_basename($caller); … … 425 429 $lastVersion = $this->adminOptions['LastVersion']; 426 430 if ($lastVersion == '') 427 return self::VERSION_NEWINSTALL; 428 429 // Compare versions 430 if ($currentVersion === $lastVersion) 431 return self::VERSION_UNCHANGED; 432 433 // Save current version to options 434 $this->adminOptions['LastVersion'] = $currentVersion; 435 $this->saveOptions(); 436 437 return self::VERSION_CHANGED; 431 { 432 $rslt = self::VERSION_NEWINSTALL; 433 } 434 else if ($currentVersion === $lastVersion) 435 { 436 // Compare versions 437 $rslt = self::VERSION_UNCHANGED; 438 } 439 else 440 { 441 $rslt = self::VERSION_CHANGED; 442 } 443 444 if ($rslt != self::VERSION_UNCHANGED) 445 { 446 // Save current version to options 447 $this->adminOptions['LastVersion'] = $currentVersion; 448 $this->saveOptions(); 449 } 450 451 return $rslt; 438 452 } 439 453 … … 815 829 'LastVersion' => '', 816 830 817 'OrganisationID'=> get_bloginfo('name'),831 STAGESHOWLIB_SITEID_OPTIONID => get_bloginfo('name'), 818 832 819 833 'BccEMailsToAdmin' => true, … … 855 869 $this->saveOptions();// Saving Options - in getOptions functions 856 870 857 858 871 return $ourOptions; 859 872 } 860 873 874 function OutputSelectedDebug() 875 { 876 } 877 861 878 function GetAllSettingsList() 862 879 { … … 871 888 872 889 $settingsList[0] = $current; 873 874 890 return $settingsList; 875 891 } … … 1192 1208 { 1193 1209 // Add a dummy entry 1210 $dbRecord = array(); 1194 1211 $dbRecord[0] = new stdClass(); 1195 1212 } … … 1303 1320 // Search forwards for else marker (assumes later else markers have been processed) 1304 1321 $elseStart = StageShowLibMigratePHPClass::Safe_strpos($EMailTemplate, $else_text, $nextPosn); 1305 if ( $elseStart === false)1322 if (($elseStart === false) || ($elseStart > $sectionEnd)) 1306 1323 { 1307 1324 $ifTrueStart = $ifTagEndPosn+1; … … 1348 1365 $EMailTemplate = $startText.$midText.$endText; 1349 1366 $changes++; 1350 1367 1351 1368 $offset = 0 - StageShowLibMigratePHPClass::SafeStrLen($midText) - StageShowLibMigratePHPClass::SafeStrLen($endText); 1352 1369 } … … 1390 1407 { 1391 1408 $fileLen = filesize($Filepath); 1409 1392 1410 if ($fileLen > 0) 1393 1411 $fileContents = fread($hfile, $fileLen); … … 1502 1520 $emailRslt = $this->BuildEMailFromTemplate($eventRecord, $templatePath, $EMailTo); 1503 1521 $rtnstatus = $emailRslt['status']; 1504 1522 1505 1523 if ($rtnstatus == 'OK') 1506 1524 { … … 1858 1876 } 1859 1877 1860 function PublishUpdates()1861 {1862 $target = $this->get_updpath();1863 StageShowLibHTTPIO::HTTPGet($target);1864 }1865 1866 1878 function ConvertDateTimeForMYSQL($dateTime) 1867 1879 { … … 1871 1883 } 1872 1884 1885 static function WriteToLog($logId, $msg, $append = true) 1886 { 1887 $flags = ($append) ? FILE_APPEND : ''; 1888 $logsPath = ABSPATH."/{$logId}.txt"; 1889 1890 $timestamp = current_time('timestamp'); 1891 $localTime = date('Y-m-d H:i:s', $timestamp); 1892 1893 file_put_contents($logsPath, "{$localTime} - {$msg}\n", $flags); 1894 } 1895 1873 1896 } 1874 1897 } -
stageshow/trunk/include/stageshowlib_dbase_base.php
r3258990 r3260565 47 47 } 48 48 49 define('STAGESHOWLIB_DATETIMEFORMAT_UK', 'Y-m-d H:i'); 50 define('STAGESHOWLIB_DATETIMEFORMAT_US', 'Y-d-m H:i'); 49 51 if (!defined('STAGESHOWLIB_DATETIMEFORMAT')) 50 52 { 51 define('STAGESHOWLIB_DATETIMEFORMAT', 'd-m-Y H:i');53 define('STAGESHOWLIB_DATETIMEFORMAT', STAGESHOWLIB_DATETIMEFORMAT_UK); 52 54 } 53 55 54 class StageShowLibGenericDBaseClass // Define Class56 class StageShowLibGenericDBaseClass // Define class 55 57 { 56 58 const ADMIN_SETTING = 1; … … 59 61 var $hideSQLErrors = false; 60 62 63 static $tsFormat = ''; 64 61 65 // This class does nothing when running under WP 62 66 // Overload this class with DB access functions for non-WP access … … 282 286 { 283 287 global $wpdb; 284 288 285 289 $this->ShowSQL($sql); 286 290 287 291 if ($this->hideSQLErrors) 288 292 { … … 308 312 309 313 return $rtnStatus; 314 } 315 316 function GetRowsUpdated() 317 { 318 global $wpdb; 319 320 return $wpdb->rows_affected; 310 321 } 311 322 … … 503 514 } 504 515 516 static function GetDateTimeFormat() 517 { 518 $tsFormat = STAGESHOWLIB_DATETIMEFORMAT; 519 if ($tsFormat === STAGESHOWLIB_DATETIMEFORMAT_US) 520 return STAGESHOWLIB_DATETIMEFORMAT_US; 521 522 return STAGESHOWLIB_DATETIMEFORMAT_UK; 523 } 524 525 static function DateTimeFormatToJS() 526 { 527 global $jscode; 528 529 $jsRtn = ''; 530 static $firstCall = true; 531 532 if ($firstCall) 533 { 534 self::$tsFormat = self::GetDateTimeFormat(); 535 $isUK = (strcmp(self::$tsFormat, STAGESHOWLIB_DATETIMEFORMAT_UK) == 0); 536 $dtFormat = $isUK ? 'YYYYMMDD' : 'YYYYDDMM'; 537 $jsRtn = "<$jscode>var stageshowlib_dtFormat = \"$dtFormat\"</script>\n"; 538 $firstCall = false; 539 } 540 541 return $jsRtn; 542 } 543 505 544 static function FormatDateForAdminDisplay($dateInDB) 506 { 545 { 546 StageShowLibEscapingClass::SafeEchoScript(self::DateTimeFormatToJS()); 547 507 548 // Convert time string to UNIX timestamp 508 549 $timestamp = StageShowLibMigratePHPClass::Safe_strtotime( $dateInDB ); 509 550 510 551 // Get Time & Date formatted for display to user 511 return date(STAGESHOWLIB_DATETIMEFORMAT, $timestamp); 552 $formattedDT = date(self::$tsFormat, $timestamp); 553 554 return $formattedDT; 512 555 } 513 556 -
stageshow/trunk/include/stageshowlib_escaping.php
r3258990 r3260565 23 23 if (!class_exists('StageShowLibEscapingClass')) 24 24 { 25 class StageShowLibEscapingClass // Define Class 25 26 class StageShowLibEscapingClass // Define class 26 27 { 27 28 public static $inJS = false; … … 37 38 return $url; 38 39 } 39 40 40 41 static function SafeRemoveQueryArg($key, $query = false) 41 42 { … … 62 63 $escData = ""; 63 64 $codeStartOffset = 0; 64 65 65 66 while (true) 66 67 { … … 72 73 $html = StageShowLibMigratePHPClass::SafeSubStr($echoData, $codeStartOffset, $scriptStartOffset-$codeStartOffset); 73 74 $escData .= wp_kses($html, $htmlTags, $protocols); 74 75 75 76 // Find end of Script code 76 77 $scriptEndOffset = StageShowLibMigratePHPClass::Safe_strpos($echoData, "</script", $scriptStartOffset); … … 83 84 $codeStartOffset = $scriptEndOffset + 1; 84 85 } 85 86 86 87 // Handle remainder of HTML 87 88 $html = StageShowLibMigratePHPClass::SafeSubStr($echoData, $codeStartOffset); 88 89 89 $escData .= wp_kses($html, $htmlTags, $protocols); 90 90 91 91 echo StageShowLibEscapingClass::SafeTrapXSS($escData); 92 92 } … … 137 137 global $jscode; 138 138 139 if (is_null($js) ) return;140 139 if (is_null($js) || ($js === '')) return; 140 141 141 self::SessionCheck(); 142 142 // Handle buffering up Javascript output … … 171 171 } 172 172 173 173 174 static function SafeEchoExport($exportData) 174 175 { -
stageshow/trunk/include/stageshowlib_gatewaysalesadmin.php
r3258990 r3260565 424 424 // Sale Editor ... output tickets selector 425 425 $pluginObj = $this->env['PluginObj']; 426 StageShowLibEscapingClass::SafeEchoHTML($pluginObj->OutputContent_DoShortcode(NULL, true)); 426 427 // Buffer here to block decoding of script tags 428 ob_start(); 429 $html = $pluginObj->OutputContent_DoShortcode(NULL, true); 430 ob_end_flush(); 431 432 StageShowLibEscapingClass::SafeEchoHTML($html); 427 433 return ''; 428 434 } -
stageshow/trunk/include/stageshowlib_htmlemail_api.php
r3258990 r3260565 25 25 26 26 define('STAGESHOWLIB_FILENAME_EMAILLOG', 'EMailLog.log'); 27 class StageShowLibHTMLEMailAPIClass // Define Class27 class StageShowLibHTMLEMailAPIClass // Define class 28 28 { 29 29 var $fileobjs = array(); … … 185 185 { 186 186 // FUNCTIONALITY: EMail - Create TEXT content from HTML content 187 global $jscode;188 187 189 188 // Change <br> and <p> to line feeds … … 217 216 218 217 $search = array ( 219 "' 'si", // Space220 "'<script[^>]*?>.*?</script>'si", // Javascript221 "'([\r\n])[\s]+'", // White space222 "'<(br|p|\/tr).*?>'i", // End of Line223 "'<[/!]*?[^<>]*?>'si"); // All HTML tags218 "' 'si", // Space 219 "'<script[^>]*?>.*?</script>'si", // Javascript 220 "'([\r\n])[\s]+'", // White space 221 "'<(br|p|\/tr).*?>'i", // End of Line 222 "'<[/!]*?[^<>]*?>'si"); // All HTML tags 224 223 225 224 $replace = array ( -
stageshow/trunk/include/stageshowlib_sales_trolley_dbase_api.php
r3258990 r3260565 894 894 else 895 895 { 896 $eventId = "\"stageshowlib_OnTicketButtonClick('".$showEMailURL."' )\"";896 $eventId = "\"stageshowlib_OnTicketButtonClick('".$showEMailURL."', 'ShowEMailNOnce')\""; 897 897 } 898 898 -
stageshow/trunk/include/stageshowlib_settingsadmin.php
r3258990 r3260565 27 27 { 28 28 if (!defined('STAGESHOWLIB_DEFAULT_TEMPLATES_PATH')) 29 define('STAGESHOWLIB_DEFAULT_TEMPLATES_PATH', dirname(__FILE__ ) . '/templates/');29 define('STAGESHOWLIB_DEFAULT_TEMPLATES_PATH', dirname(__FILE__, 2) . '/templates/'); 30 30 31 31 class StageShowLibSettingsAdminClass extends StageShowLibAdminClass // Define Class -
stageshow/trunk/include/stageshowlib_table.php
r3258990 r3260565 29 29 define('STAGESHOWLIB_DISABLE_POSTCONTROLS', true); 30 30 31 class StageShowLibTableUtilsClass // Define Class31 class StageShowLibTableUtilsClass // Define class 32 32 { 33 33 static function GetCurrentPage() … … 40 40 } 41 41 42 class StageShowLibTableClass // Define Class42 class StageShowLibTableClass // Define class 43 43 { 44 44 const HEADERPOSN_TOP = 1; … … 199 199 $this->moreScriptsOutput = false; 200 200 201 $this->detailsRowsDef = array_merge($this->GetDetailsRowsDefinition(), $this->GetDetailsRowsFooter()); 201 $this->detailsRowsDef = array_merge($this->GetDetailsRowsDefinition(), $this->GetDetailsRowsFooter()); 202 202 203 203 $this->moreText = __('Show', STAGESHOWLIB_DOMAIN_NAME); … … 233 233 { 234 234 return array(); 235 } 236 237 function GetDetailsRowsDefaults() 238 { 239 $rowDefauls = array(); 240 $rowDefs = $this->GetDetailsRowsDefinition(); 241 //StageShowLibUtilsClass::print_r($rowDefs, '$rowDefs'); 242 243 foreach ($rowDefs as $rowDef) 244 { 245 if (isset($rowDef[self::TABLEPARAM_DEFAULT])) 246 { 247 $defaultRow = array(); 248 249 $rowID = $rowDef[self::TABLEPARAM_ID]; 250 $rowDefault = $rowDef[self::TABLEPARAM_DEFAULT]; 251 252 $defaultRow[self::TABLEPARAM_ID] = $rowDef[self::TABLEPARAM_ID]; 253 $defaultRow[self::TABLEPARAM_DEFAULT] = $rowDef[self::TABLEPARAM_DEFAULT]; 254 255 $rowDefauls[] = $defaultRow; 256 } 257 } 258 259 return $rowDefauls; 235 260 } 236 261 -
stageshow/trunk/include/stageshowlib_utils.php
r3258990 r3260565 35 35 define('STAGESHOWLIB_CALLBACK_BASENAME', basename(dirname(dirname(__FILE__))).'_callback'); 36 36 37 class StageShowLibUtilsClass // Define Class37 class StageShowLibUtilsClass // Define class 38 38 { 39 39 static function GetSiteID() … … 432 432 { 433 433 $currentURL = self::GetPageHost(); 434 $currentURL .= self::Get HTTPTextElem('server', 'REQUEST_URI');434 $currentURL .= self::GetRequestURI(); 435 435 return $currentURL; 436 } 437 438 static function GetRequestURI() 439 { 440 return self::GetHTTPTextElem('server', 'REQUEST_URI'); 436 441 } 437 442 … … 689 694 $html_rtnVal = ''; 690 695 696 $isDevCode = false; 697 698 if (!$isDevCode && !$return) return ''; 699 700 // wp_get_current_user only loaded after plugins have initialised ... 701 if (function_exists('wp_get_current_user')) 702 { 703 if (!current_user_can('manage_options')) return ''; 704 } 705 706 if (is_string($obj)) 707 { 708 $name = '$_'.StageShowLibMigratePHPClass::Safe_strtoupper($obj); 709 $arr = &self::GetArrayFromId($obj, false); 710 if ($arr != null) $obj = $arr; 711 } 712 713 $html_rtnVal = $eol; 714 if ($name !== '') $html_rtnVal .= $name.$eol."\n"; 715 $html = print_r($obj, true); 716 //$html = htmlspecialchars($html); 717 $html_rtnVal .= StageShowLibMigratePHPClass::Safe_str_replace("\n", "$eol\n", $html); 718 //$html_rtnVal .= "$eol\n"; 719 720 if (!$return) StageShowLibEscapingClass::SafeEchoHTML($html_rtnVal, false); 721 691 722 return $html_rtnVal; 692 723 } -
stageshow/trunk/js/stageshowlib_js.js
r2955460 r3260565 486 486 if (event.altKey || event.ctrlKey) 487 487 { 488 console.log('Keypress - Alt or Ctrl: '); 488 489 return true; 489 490 } … … 491 492 if (event.keyCode == 13) 492 493 { 494 console.log('Keypress - Key: CR'); 493 495 event.preventDefault(); 494 496 return false; 495 497 } 496 498 499 console.log('Keypress - Keycode: ' + event.charCode); 497 500 if (event.charCode > 32) 498 501 { … … 929 932 } 930 933 931 function StageShowLib_updateCheckboxes(obj) 932 { 933 var boxid = 'rowSelect[]'; 934 935 var elem = StageShowLib_getParentNode(obj, 'FORM'); 936 elem = elem.elements; 937 934 function StageShowLib_updateCheckboxes(obj, event) 935 { 938 936 var newState = obj.checked; 939 for(var i = 0; i < elem.length; i++) 940 { 941 if (elem[i].name == boxid) 942 elem[i].checked = newState; 943 944 if (elem[i].name == obj.name) 945 elem[i].checked = newState; 937 938 var reqClass = obj.className; 939 var targetClasses = reqClass.split(" "); 940 for (var i=0; i<targetClasses.length; i++) 941 { 942 var targetClass = targetClasses[i].replace('checkall', 'checkbox'); 943 var targetElems = jQuery("."+targetClass); 944 for(var i = 0; i < targetElems.length; i++) 945 { 946 var targetElem = targetElems[i]; 947 targetElem.checked = newState; 948 if (typeof targetElem.onChange == 'function') 949 { 950 targetElem.onchange(obj, event); 951 } 952 } 946 953 } 947 954 948 //var eventtype = event.type;955 return; 949 956 } 950 957 -
stageshow/trunk/lang/stageshow.pot
r3258990 r3260565 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: StageShow (Dev) 10.0 \n"5 "Project-Id-Version: StageShow (Dev) 10.0.0.1\n" 6 6 "Report-Msgid-Bugs-To: http://wordpress.org/tag/stageshow\n" 7 "POT-Creation-Date: 2025-03- 18 17:54:16+00:00\n"7 "POT-Creation-Date: 2025-03-23 15:13:26+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=UTF-8\n" … … 123 123 #: admin\stageshow_manage_prices.php:507 124 124 #: admin\stageshow_manage_seating.php:797 admin\stageshow_manage_shows.php:426 125 #: include\mjslib_gatewaysalesadmin.php:5 75125 #: include\mjslib_gatewaysalesadmin.php:581 126 126 msgid "Nothing to Delete" 127 127 msgstr "" … … 140 140 141 141 #: admin\stageshow_manage_overview.php:138 142 #: include\mjslib_gatewaysalesadmin.php:48 1142 #: include\mjslib_gatewaysalesadmin.php:487 143 143 msgid "No Sales" 144 144 msgstr "" … … 178 178 msgstr "" 179 179 180 #: admin\stageshow_manage_overview.php:321 include\mjslib_dbase_api.php: 1990180 #: admin\stageshow_manage_overview.php:321 include\mjslib_dbase_api.php:2019 181 181 msgid "Here" 182 182 msgstr "" … … 302 302 #: admin\stageshow_manage_performances.php:522 303 303 #: admin\stageshow_manage_prices.php:369 admin\stageshow_manage_shows.php:51 304 #: include\stageshow_dbase_api.php:88 1304 #: include\stageshow_dbase_api.php:880 305 305 msgid "Active" 306 306 msgstr "" 307 307 308 308 #: admin\stageshow_manage_performances.php:128 309 #: include\stageshow_dbase_api.php:88 3309 #: include\stageshow_dbase_api.php:882 310 310 msgid "INACTIVE" 311 311 msgstr "" … … 439 439 #: admin\stageshow_manage_priceplans.php:70 440 440 #: admin\stageshow_manage_prices.php:73 441 #: admin\stageshow_manage_settings.php:171 include\mjslib_debug.php: 183441 #: admin\stageshow_manage_settings.php:171 include\mjslib_debug.php:200 442 442 #: stageshow_trolley.php:1070 443 443 msgid "Disabled" … … 854 854 855 855 #: admin\stageshow_manage_tools.php:225 include\mjslib_table.php:203 856 #: include\mjslib_table.php: 689include\stageshow_trolley_sales.php:47856 #: include\mjslib_table.php:714 include\stageshow_trolley_sales.php:47 857 857 #: stageshow_translations.php:156 858 858 msgid "Show" … … 970 970 971 971 #: admin\stageshow_tdt_export.php:159 include\mjslib_sales_dbase_api.php:557 972 #: include\stageshow_dbase_api.php:251 3 include\stageshow_dbase_api.php:4308972 #: include\stageshow_dbase_api.php:2517 include\stageshow_dbase_api.php:4312 973 973 #: stageshow_trolley.php:299 974 974 msgid "Discount" … … 1030 1030 1031 1031 #: admin\stageshow_tdt_export.php:178 include\mjslib_sales_dbase_api.php:558 1032 #: include\stageshow_dbase_api.php:251 41032 #: include\stageshow_dbase_api.php:2518 1033 1033 #: include\stageshow_trolley_sales.php:666 stageshow_translations.php:25 1034 1034 msgid "Booking Fee" … … 1040 1040 1041 1041 #: admin\stageshow_tdt_export.php:180 include\mjslib_sales_dbase_api.php:559 1042 #: include\stageshow_dbase_api.php:251 5include\stageshow_pir_export.php:551042 #: include\stageshow_dbase_api.php:2519 include\stageshow_pir_export.php:55 1043 1043 #: stageshow_translations.php:60 stageshow_trolley.php:327 1044 1044 msgid "Donation" … … 1240 1240 msgstr "" 1241 1241 1242 #: include\mjslib_adminlist.php:4 87 include\mjslib_adminlist.php:7791243 #: include\mjslib_adminlist.php:8 141242 #: include\mjslib_adminlist.php:491 include\mjslib_adminlist.php:785 1243 #: include\mjslib_adminlist.php:820 1244 1244 msgid "Yes" 1245 1245 msgstr "" 1246 1246 1247 #: include\mjslib_adminlist.php:4 87 include\mjslib_adminlist.php:7791248 #: include\mjslib_adminlist.php:8 141247 #: include\mjslib_adminlist.php:491 include\mjslib_adminlist.php:785 1248 #: include\mjslib_adminlist.php:820 1249 1249 msgid "No" 1250 1250 msgstr "" 1251 1251 1252 #: include\mjslib_adminlist.php:12 141252 #: include\mjslib_adminlist.php:1220 1253 1253 msgid "OK" 1254 1254 msgstr "" 1255 1255 1256 #: include\mjslib_adminlist.php:12 15include\mjslib_settingsadmin.php:3421256 #: include\mjslib_adminlist.php:1221 include\mjslib_settingsadmin.php:342 1257 1257 #: stageshow_trolley.php:926 1258 1258 msgid "Cancel" 1259 1259 msgstr "" 1260 1260 1261 #: include\mjslib_dbase_api.php: 5941261 #: include\mjslib_dbase_api.php:608 1262 1262 msgid "Session Debug Modes" 1263 1263 msgstr "" 1264 1264 1265 #: include\mjslib_dbase_api.php:6 121265 #: include\mjslib_dbase_api.php:626 1266 1266 msgid "SSL over HTTP" 1267 1267 msgstr "" 1268 1268 1269 #: include\mjslib_dbase_api.php:14 071269 #: include\mjslib_dbase_api.php:1430 1270 1270 msgid "Missing Conditional end marker" 1271 1271 msgstr "" 1272 1272 1273 #: include\mjslib_dbase_api.php:15 271273 #: include\mjslib_dbase_api.php:1551 1274 1274 msgid "" 1275 1275 "WARNING: EMail Template contains one or mores lines with leading dots ('.')" 1276 1276 msgstr "" 1277 1277 1278 #: include\mjslib_dbase_api.php: 19901278 #: include\mjslib_dbase_api.php:2019 1279 1279 msgid "Timezone not set - Set it" 1280 1280 msgstr "" 1281 1281 1282 #: include\mjslib_dbase_api.php: 19971282 #: include\mjslib_dbase_api.php:2026 1283 1283 msgid "Plugin" 1284 1284 msgstr "" 1285 1285 1286 #: include\mjslib_dbase_api.php: 19981286 #: include\mjslib_dbase_api.php:2027 1287 1287 msgid "Version" 1288 1288 msgstr "" 1289 1289 1290 #: include\mjslib_dbase_api.php:20 051290 #: include\mjslib_dbase_api.php:2034 1291 1291 msgid "Timezone" 1292 1292 msgstr "" 1293 1293 1294 #: include\mjslib_debug.php: 1831294 #: include\mjslib_debug.php:200 1295 1295 msgid "Enabled" 1296 1296 msgstr "" … … 1359 1359 msgstr "" 1360 1360 1361 #: include\mjslib_gatewaysalesadmin.php:44 31361 #: include\mjslib_gatewaysalesadmin.php:449 1362 1362 msgid "Search Results" 1363 1363 msgstr "" 1364 1364 1365 #: include\mjslib_gatewaysalesadmin.php:4 451365 #: include\mjslib_gatewaysalesadmin.php:451 1366 1366 msgid "Summary" 1367 1367 msgstr "" 1368 1368 1369 #: include\mjslib_gatewaysalesadmin.php:45 0stageshow_translations.php:111369 #: include\mjslib_gatewaysalesadmin.php:456 stageshow_translations.php:11 1370 1370 msgid "Add Sale" 1371 1371 msgstr "" 1372 1372 1373 #: include\mjslib_gatewaysalesadmin.php:57 11373 #: include\mjslib_gatewaysalesadmin.php:577 1374 1374 msgid "Sale Entry does not exist in Database" 1375 1375 msgid_plural "Sale Entries do not exist in Database" … … 1377 1377 msgstr[1] "" 1378 1378 1379 #: include\mjslib_gatewaysalesadmin.php:57 31379 #: include\mjslib_gatewaysalesadmin.php:579 1380 1380 msgid "Sale has been deleted" 1381 1381 msgid_plural "Sales have been deleted" … … 1391 1391 msgstr "" 1392 1392 1393 #: include\mjslib_htmlemail_api.php:56 21393 #: include\mjslib_htmlemail_api.php:561 1394 1394 msgid "Duplicate Content-Type header removed from PHPMailer" 1395 1395 msgstr "" … … 1447 1447 #: include\mjslib_salesplugin.php:695 include\mjslib_salesplugin.php:726 1448 1448 #: include\mjslib_salesplugin.php:761 include\mjslib_salesplugin.php:807 1449 #: include\mjslib_salesplugin.php:844 include\stageshow_dbase_api.php:2 4961449 #: include\mjslib_salesplugin.php:844 include\stageshow_dbase_api.php:2500 1450 1450 #: stageshow_main.php:883 stageshow_main.php:1034 1451 1451 msgid "Cannot Checkout" … … 1498 1498 msgstr "" 1499 1499 1500 #: include\mjslib_plugin.php:5 51500 #: include\mjslib_plugin.php:58 1501 1501 msgid "not specified" 1502 msgstr ""1503 1504 #: include\mjslib_plugin.php:781505 msgid "NOnce Error"1506 1502 msgstr "" 1507 1503 … … 1767 1763 msgstr "" 1768 1764 1769 #: include\mjslib_table.php:204 include\mjslib_table.php: 6901765 #: include\mjslib_table.php:204 include\mjslib_table.php:715 1770 1766 msgid "Hide" 1771 1767 msgstr "" 1772 1768 1773 #: include\mjslib_table.php:6 671769 #: include\mjslib_table.php:692 1774 1770 msgid "Bulk Actions" 1775 1771 msgstr "" 1776 1772 1777 #: include\mjslib_table.php: 6771773 #: include\mjslib_table.php:702 1778 1774 msgid "Apply" 1779 1775 msgstr "" 1780 1776 1781 #: include\mjslib_table.php:7 601777 #: include\mjslib_table.php:785 1782 1778 msgid "1 item" 1783 1779 msgid_plural "%s items" … … 1785 1781 msgstr[1] "" 1786 1782 1787 #: include\mjslib_table.php: 7761783 #: include\mjslib_table.php:801 1788 1784 msgid "Go to the first page" 1789 1785 msgstr "" 1790 1786 1791 #: include\mjslib_table.php: 7831787 #: include\mjslib_table.php:808 1792 1788 msgid "Go to the previous page" 1793 1789 msgstr "" 1794 1790 1795 #: include\mjslib_table.php: 7941791 #: include\mjslib_table.php:819 1796 1792 msgid "Current page" 1797 1793 msgstr "" 1798 1794 1799 #: include\mjslib_table.php:8 021795 #: include\mjslib_table.php:827 1800 1796 msgid "of" 1801 1797 msgstr "" 1802 1798 1803 #: include\mjslib_table.php:8 061799 #: include\mjslib_table.php:831 1804 1800 msgid "Go to the next page" 1805 1801 msgstr "" 1806 1802 1807 #: include\mjslib_table.php:8 131803 #: include\mjslib_table.php:838 1808 1804 msgid "Go to the last page" 1809 1805 msgstr "" … … 1845 1841 msgstr "" 1846 1842 1847 #: include\stageshow_dbase_api.php:72 91843 #: include\stageshow_dbase_api.php:728 1848 1844 msgid "Internal Error - showID" 1849 1845 msgstr "" 1850 1846 1851 #: include\stageshow_dbase_api.php:77 9 include\stageshow_dbase_api.php:8031847 #: include\stageshow_dbase_api.php:778 include\stageshow_dbase_api.php:802 1852 1848 msgid "New Performance Added" 1853 1849 msgstr "" 1854 1850 1855 #: include\stageshow_dbase_api.php:80 11851 #: include\stageshow_dbase_api.php:800 1856 1852 msgid "Performance Reference is not unique" 1857 1853 msgstr "" 1858 1854 1859 #: include\stageshow_dbase_api.php:87 71855 #: include\stageshow_dbase_api.php:876 1860 1856 msgid "DELETED" 1861 1857 msgstr "" 1862 1858 1863 #: include\stageshow_dbase_api.php:11 301859 #: include\stageshow_dbase_api.php:1129 1864 1860 msgid "Unnamed Show" 1865 1861 msgstr "" 1866 1862 1867 #: include\stageshow_dbase_api.php:119 51863 #: include\stageshow_dbase_api.php:1194 1868 1864 msgid "DB Error" 1869 1865 msgstr "" 1870 1866 1871 #: include\stageshow_dbase_api.php:119 51867 #: include\stageshow_dbase_api.php:1194 1872 1868 msgid "Column does not exist" 1873 1869 msgstr "" 1874 1870 1875 #: include\stageshow_dbase_api.php:138 61871 #: include\stageshow_dbase_api.php:1385 1876 1872 msgid "Price Not Specified" 1877 1873 msgstr "" 1878 1874 1879 #: include\stageshow_dbase_api.php:139 21875 #: include\stageshow_dbase_api.php:1391 1880 1876 msgid "Invalid Price Entry" 1881 1877 msgstr "" 1882 1878 1883 #: include\stageshow_dbase_api.php:139 81879 #: include\stageshow_dbase_api.php:1397 1884 1880 msgid "Price Entry cannot be negative" 1885 1881 msgstr "" 1886 1882 1887 #: include\stageshow_dbase_api.php:200 71883 #: include\stageshow_dbase_api.php:2006 1888 1884 msgid "Qty" 1889 1885 msgstr "" 1890 1886 1891 #: include\stageshow_dbase_api.php:201 2 include\stageshow_dbase_api.php:28711887 #: include\stageshow_dbase_api.php:2011 include\stageshow_dbase_api.php:2875 1892 1888 #: stageshow_translations.php:147 stageshow_trolley.php:80 1893 1889 msgid "Seat" 1894 1890 msgstr "" 1895 1891 1896 #: include\stageshow_dbase_api.php:2 4971892 #: include\stageshow_dbase_api.php:2501 1897 1893 msgid "Database Access Error" 1898 1894 msgstr "" 1899 1895 1900 #: include\stageshow_dbase_api.php:276 01896 #: include\stageshow_dbase_api.php:2764 1901 1897 msgid "Error Finding Tag" 1902 1898 msgstr "" 1903 1899 1904 #: include\stageshow_dbase_api.php:27 681900 #: include\stageshow_dbase_api.php:2772 1905 1901 msgid "Missing \" in Tag Param" 1906 1902 msgstr "" 1907 1903 1908 #: include\stageshow_dbase_api.php:27 781904 #: include\stageshow_dbase_api.php:2782 1909 1905 msgid "Missing End of Tag Marker" 1910 1906 msgstr "" 1911 1907 1912 #: include\stageshow_dbase_api.php:287 11908 #: include\stageshow_dbase_api.php:2875 1913 1909 msgid "Row" 1914 1910 msgstr "" 1915 1911 1916 #: include\stageshow_dbase_api.php:29 461912 #: include\stageshow_dbase_api.php:2950 1917 1913 msgid "No Zone Found for Seat" 1918 1914 msgstr "" 1919 1915 1920 #: include\stageshow_dbase_api.php:297 21916 #: include\stageshow_dbase_api.php:2976 1921 1917 msgid "Seating Plan Updated" 1922 1918 msgstr "" 1923 1919 1924 #: include\stageshow_dbase_api.php:29 87 include\stageshow_dbase_api.php:29991925 #: include\stageshow_dbase_api.php:30 081920 #: include\stageshow_dbase_api.php:2991 include\stageshow_dbase_api.php:3003 1921 #: include\stageshow_dbase_api.php:3012 1926 1922 msgid "Template Import Error" 1927 1923 msgstr "" 1928 1924 1929 #: include\stageshow_dbase_api.php:29 881925 #: include\stageshow_dbase_api.php:2992 1930 1926 msgid "Seating ID not specified" 1931 1927 msgstr "" 1932 1928 1933 #: include\stageshow_dbase_api.php:300 01929 #: include\stageshow_dbase_api.php:3004 1934 1930 msgid "Empty Filename" 1935 1931 msgstr "" 1936 1932 1937 #: include\stageshow_dbase_api.php:30 091933 #: include\stageshow_dbase_api.php:3013 1938 1934 msgid "Empty File" 1939 1935 msgstr "" 1940 1936 1941 #: include\stageshow_dbase_api.php:374 11937 #: include\stageshow_dbase_api.php:3745 1942 1938 msgid "Invalid Seat Specification" 1943 1939 msgstr "" 1944 1940 1945 #: include\stageshow_dbase_api.php:375 41941 #: include\stageshow_dbase_api.php:3758 1946 1942 msgid "Seat Specification invalid for unallocated zone" 1947 1943 msgstr "" 1948 1944 1949 #: include\stageshow_dbase_api.php:381 11945 #: include\stageshow_dbase_api.php:3815 1950 1946 msgid "Location Used Twice" 1951 1947 msgstr "" 1952 1948 1953 #: include\stageshow_dbase_api.php:386 01949 #: include\stageshow_dbase_api.php:3864 1954 1950 msgid "Seats Requested" 1955 1951 msgstr "" 1956 1952 1957 #: include\stageshow_dbase_api.php:386 11953 #: include\stageshow_dbase_api.php:3865 1958 1954 msgid "Seats Selected" 1959 1955 msgstr "" -
stageshow/trunk/readme.txt
r3258990 r3260565 2 2 Contributors: Malcolm-OPH 3 3 Donate link: https://www.corondeck.co.uk/StageShow/donate.html 4 Tags: admin, calendar, cart, cinema, e-commerce, events, mollie, pages, payment, payments, paypal, posts, show, stripe, theater, theatre, tickets, trolley, user4 Tags: cart, payment, theater, theatre, tickets 5 5 Requires at least: 3.0 6 6 Tested up to: 6.7.2 7 Stable tag: 10.0 7 Stable tag: 10.0.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 186 186 == Changelog == 187 187 188 = 10.0.1 (23/03/2025) = 189 * Bug Fix: Manual entry or editing of sales 190 * Bug Fix: Add Price Plan not adding Seating Plan 191 * Bug Fix: Undefined variable $jscode (since 10.0) 192 * Fixed Float to Int Warning displaying barcode 193 * Stripe php library updated 194 188 195 = 10.0 (20/03/2025) = 189 196 * Security Update -
stageshow/trunk/stageshow.php
r3258990 r3260565 3 3 Plugin Name: StageShow 4 4 Plugin URI: http://wordpress.org/plugins/stageshow/ 5 Version: 10.0 5 Version: 10.0.1 6 6 Author: Malcolm Shergold 7 7 Author URI: http://corondeck.co.uk
Note: See TracChangeset
for help on using the changeset viewer.