mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR pingStatus ping frequency reduced
MINOR updated lang file for SiteConfig MINOR improved documentation in StaticPublisher MINOR improved documentation in CMSMain surrounding reports and siteconfig MINOR migrated headers in SiteConfig to i18n'd (from r86429) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99112 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3377198bc4
commit
032ce7f60b
@ -350,6 +350,13 @@ JS;
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Save the current sites {@link SiteConfig} into the database
|
||||||
|
*
|
||||||
|
* @param array $data
|
||||||
|
* @param Form $form
|
||||||
|
* @return FormResponse
|
||||||
|
*/
|
||||||
function save_siteconfig($data, $form) {
|
function save_siteconfig($data, $form) {
|
||||||
$siteConfig = SiteConfig::current_site_config();
|
$siteConfig = SiteConfig::current_site_config();
|
||||||
$form->saveInto($siteConfig);
|
$form->saveInto($siteConfig);
|
||||||
@ -693,6 +700,12 @@ JS;
|
|||||||
|
|
||||||
return new GroupedDropdownField("ReportSelector", _t('CMSMain.REPORT', 'Report'),$finalOptions);
|
return new GroupedDropdownField("ReportSelector", _t('CMSMain.REPORT', 'Report'),$finalOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generate the parameter HTML for SideReports that have params
|
||||||
|
*
|
||||||
|
* @return LiteralField
|
||||||
|
*/
|
||||||
function ReportFormParameters() {
|
function ReportFormParameters() {
|
||||||
$forms = array();
|
$forms = array();
|
||||||
foreach($this->SideReports() as $report) {
|
foreach($this->SideReports() as $report) {
|
||||||
|
@ -11,8 +11,10 @@ abstract class StaticPublisher extends DataObjectDecorator {
|
|||||||
*/
|
*/
|
||||||
static $echo_progress = false;
|
static $echo_progress = false;
|
||||||
|
|
||||||
// Realtime static publishing... the second a page
|
/**
|
||||||
// is saved, it is written to the cache
|
* Realtime static publishing... the second a page
|
||||||
|
* is saved, it is written to the cache
|
||||||
|
*/
|
||||||
// @todo this is currently disabled until template problems can be fixed
|
// @todo this is currently disabled until template problems can be fixed
|
||||||
static $disable_realtime = true;
|
static $disable_realtime = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user