/**
  * @param boolean $includerelations A boolean value to indicate if the labels returned include relation fields
  * @return array|string
  */
 public function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels($includerelations);
     $labels['Date'] = _t('DateUpdatePage.DateLabel', 'Date');
     $labels['Abstract'] = _t('DateUpdatePage.AbstractTextFieldLabel', 'Abstract');
     return $labels;
 }
 public function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels($includerelations);
     $labels['DataClass'] = _t('RegistryPage.DataClassFieldLabel', "Data Class");
     $labels['PageLength'] = _t('RegistryPage.PageLengthFieldLabel', "Results page length");
     return $labels;
 }
 public function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels($includerelations);
     $labels['EntriesPerPage'] = _t('GuestbookPage.EntriesPerPage', "Entries per page");
     $labels['EnableEmoticons'] = _t('GuestbookPage.EnableEmoticons', "Enable emoticons");
     $labels['ProtectEmails'] = _t('GuestbookPage.ProtectEmails', "Protect email addresses");
     $labels['UseSpamProtection'] = _t('GuestbookPage.UseSpamProtection', "Use spam protection");
     $labels['FloodLimit'] = _t('GuestbookPage.FloodLimit', "Flood protection: Seconds between posts");
     return $labels;
 }
Example #4
0
 function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels();
     $labels['Title'] = _t('ProductPage.TitleLabel', 'Name');
     $labels['Code'] = _t('ProductPage.CodeLabel', "Code");
     $labels['Price.Nice'] = _t('ProductPage.PriceLabel', 'Price');
     $labels['Featured.Nice'] = _t('ProductPage.NiceLabel', 'Featured');
     $labels['Available.Nice'] = _t('ProductPage.AvailableLabel', 'Available');
     $labels['Category.ID'] = _t('ProductPage.IDLabel', 'Category');
     $labels['Category.Title'] = _t('ProductPage.CategoryTitleLabel', 'Category');
     return $labels;
 }
Example #5
0
 public function fieldLabels($includeRelations = true)
 {
     $labels = parent::fieldLabels($includeRelations);
     $labels['NewsTab'] = _t('NewsHolder.NEWSTAB', 'News');
     $labels['RSSTab'] = _t('NewsHolder.RSSTAB', 'RSS');
     $labels['NewsPerPage'] = _t('NewsHolder.NEWSPERPAGE', 'News per page');
     $labels['RSSFromTopmostNewsHolder'] = _t('NewsHolder.RSSFROMTOPMOSTNEWSHOLDER', 'Generate RSS using the top news holder');
     $labels['RSSLimit'] = _t('NewsHolder.RSSLIMIT', 'Number of news in the RSS feed');
     $labels['RSSTitle'] = _t('NewsHolder.RSSTITLE', 'RSS feed title');
     $labels['RSSDescription'] = _t('NewsHolder.RSSDESCRIPTION', 'RSS feed description');
     if ($includeRelations) {
     }
     return $labels;
 }
Example #6
0
 public function fieldLabels($includeRelations = true)
 {
     $labels = parent::fieldLabels($includeRelations);
     $labels['SummaryTab'] = _t('NewsPage.SUMMARYTAB', 'Summmary');
     $labels['Datetime'] = _t('NewsPage.DATETIME', 'News date, news pages are sorted on this date');
     $labels['Byline'] = _t('NewsPage.BYLINE', 'Byline');
     $labels['Weight'] = _t('NewsPage.WEIGHT', 'Weight');
     $labels['SummaryTitle'] = _t('NewsPage.SUMMARYTITLE', 'SummaryTitle');
     $labels['SummaryContent'] = _t('NewsPage.SUMMARYCONTENT', 'SummaryContent');
     $labels['RedirectLink'] = _t('NewsPage.REDIRECTLINK', 'Redirect link');
     if ($includeRelations) {
         $labels['Thumbnail'] = _t('NewsPage.THUMBNAIL', 'Thumbnail');
     }
     return $labels;
 }
 /**
  *
  * @param boolean $includerelations a boolean value to indicate if the labels returned include relation fields
  *
  */
 public function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels($includerelations);
     $labels["TitleOfFile"] = _t("EmailDownloadPage.TITLEOFFILE", "Title of file");
     $labels["LinkToThirdPartyDownload"] = _t("EmailDownloadPage.LINKTOTHIRDPARTYDOWNLOAD", "Link to third-party download file / page");
     $labels["ValidityInDays"] = _t("EmailDownloadPage.VALIDITYINDAYS", "Validity in days (you can use 0.5 for 12 hours, etc...)");
     $labels["DownloadFile"] = $labels["DownloadFileID"] = _t("EmailDownloadPage.DOWNLOADFILE", "Select file to download");
     $labels["ThankYouForRequesting"] = _t("EmailDownloadPage.THANKYOUFORREQUESTING", "Thank you for requesting message");
     $labels["ThankYouLink"] = _t("EmailDownloadPage.THANKYOULINK", "Thank you link");
     $labels["EmailSubject"] = _t("EmailDownloadPage.EMAILSUBJECT", "E-mail Subject");
     $labels["AllowReRequest"] = _t("EmailDownloadPage.ALLOWREREQUEST", "Allow the user to make more than one request for the file (not strictly enforced) - change and reload to see more options");
     $labels["AllowReRequestLabel"] = _t("EmailDownloadPage.ALLOWREREQUESTLABEL", "Label for requesting another copy");
     $labels["DeclineReRequestLabel"] = _t("EmailDownloadPage.DECLINEREREQUESTLABEL", "Explanation of why the user can not request another copy");
     $labels["NoAccessContent"] = _t("EmailDownloadPage.NOACCESSCONTENT", "Content shown when the user does not have access");
     $labels["EmailsSent"] = _t("EmailDownloadPage.EMAILSSENT", "Downloads requested");
     $labels["CopyOfAllEmailsToAdmin"] = _t("EmailDownloadPage.COPYOFALLEMAILSTOADMIN", "Send a copy of all e-mails to the website administrator ");
     return $labels;
 }
Example #8
0
 /**
  * @param boolean $includerelations a boolean value to indicate if the labels returned include relation fields
  * 
  * @return array
  */
 public function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels($includerelations);
     $labels['ErrorCode'] = _t('ErrorPage.CODE', "Error code");
     return $labels;
 }
 /**
  * Fix grid field heading displaying "page name"
  */
 public function fieldLabels($includerelations = true)
 {
     $labels = parent::fieldLabels($includerelations);
     $labels['Title'] = "Title";
     return $labels;
 }
Example #10
0
	function fieldLabels() {
		$labels = parent::fieldLabels();
		$labels['ErrorCode'] = _t('ErrorPage.CODE', "Error code");
		
		return $labels;
	}
 /**
  * @return array
  */
 public function fieldLabels($includerelations = true)
 {
     return array_merge(parent::fieldLabels($includerelations), array('Sitemap' => _t('SitemapPage.SITEMAP', 'Sitemap'), 'PagesToDisplay' => _t('SitemapPage.PAGESTOSHOW', 'Pages To Show In The Sitemap'), 'AllPages' => _t('SitemapPage.ALLPAGES', 'Display all pages which are displayed in the menu.'), 'ChildrenOf' => _t('SitemapPage.CHILDRENOF', 'Display the children of a specific page.'), 'Selected' => _t('SitemapPage.SELECTED', 'Display only the selected pages.')));
 }
Example #12
0
 /**
  * Sets the label for BlogPost.Title to 'Post Title' (Rather than 'Page name').
  *
  * @param bool $includeRelations
  *
  * @return array
  */
 public function fieldLabels($includeRelations = true)
 {
     $labels = parent::fieldLabels($includeRelations);
     $labels['Title'] = _t('BlogPost.PageTitleLabel', 'Post Title');
     return $labels;
 }
 /**
  * Field labels for display in tables.
  *
  * @param boolean $includerelations A boolean value to indicate if the labels returned include relation fields
  *
  * @return array
  *
  * @author Sascha Koehler <*****@*****.**>, Sebastian Diel <*****@*****.**>
  * @since 05.10.2012
  */
 public function fieldLabels($includerelations = true)
 {
     $fieldLabels = array_merge(parent::fieldLabels($includerelations), array('productsPerPage' => _t('SilvercartProductGroupPage.PRODUCTSPERPAGE'), 'productGroupsPerPage' => _t('SilvercartProductGroupPage.PRODUCTGROUPSPERPAGE'), 'useContentFromParent' => _t('SilvercartProductGroupPage.USE_CONTENT_FROM_PARENT'), 'DefaultGroupView' => _t('SilvercartProductGroupPage.DEFAULTGROUPVIEW'), 'UseOnlyDefaultGroupView' => _t('SilvercartProductGroupPage.USEONLYDEFAULTGROUPVIEW'), 'DefaultGroupHolderView' => _t('SilvercartProductGroupPage.DEFAULTGROUPHOLDERVIEW'), 'UseOnlyDefaultGroupHolderView' => _t('SilvercartProductGroupPage.USEONLYDEFAULTGROUPHOLDERVIEW'), 'DoNotShowProducts' => _t('SilvercartProductGroupPage.DONOTSHOWPRODUCTS'), 'DisplaySettings' => _t('SilvercartProductGroupPage.DisplaySettings')));
     $this->extend('updateFieldLabels', $fieldLabels);
     return $fieldLabels;
 }
 /**
  * fieldLabels method
  * 
  * @param bool $includerelations A boolean value to indicate if the labels returned include relation fields
  * 
  * @return array 
  * 
  * @author Patrick Schneider <*****@*****.**>
  * @since 12.07.2012
  */
 public function fieldLabels($includerelations = true)
 {
     $fieldLabels = array_merge(parent::fieldLabels($includerelations), array('SilvercartFiles' => _t('SilvercartFile.PLURALNAME')));
     $this->extend('updateFieldLabels', $fieldLabels);
     return $fieldLabels;
 }
 /**
  * Field labels for display in tables.
  *
  * @param boolean $includerelations A boolean value to indicate if the labels returned include relation fields
  *
  * @return array
  *
  * @author Sebastian Diel <*****@*****.**>
  * @since 06.06.2012
  */
 public function fieldLabels($includerelations = true)
 {
     $fieldLabels = array_merge(parent::fieldLabels($includerelations), array('productGroupsPerPage' => _t('SilvercartProductGroupPage.PRODUCTGROUPSPERPAGE'), 'DefaultGroupHolderView' => _t('SilvercartProductGroupPage.DEFAULTGROUPHOLDERVIEW'), 'UseOnlyDefaultGroupHolderView' => _t('SilvercartProductGroupPage.USEONLYDEFAULTGROUPHOLDERVIEW'), 'DefaultGroupView' => _t('SilvercartProductGroupPage.DEFAULTGROUPVIEW'), 'UseOnlyDefaultGroupView' => _t('SilvercartProductGroupPage.USEONLYDEFAULTGROUPVIEW'), 'DisplaySettings' => _t('SilvercartProductGroupPage.DisplaySettings'), 'RedirectionSettings' => _t('SilvercartProductGroupHolder.RedirectionSettings'), 'RedirectToProductGroup' => _t('SilvercartProductGroupHolder.RedirectToProductGroup'), 'LinkTo' => _t('SilvercartProductGroupHolder.LinkTo'), 'Yes' => _t('Silvercart.YES'), 'No' => _t('Silvercart.NO')));
     $this->extend('updateFieldLabels', $fieldLabels);
     return $fieldLabels;
 }
 /**
  * Field labels for display in tables.
  *
  * @param boolean $includerelations A boolean value to indicate if the labels returned include relation fields
  *
  * @return array
  *
  * @author Roland Lehmann <*****@*****.**>
  * @since 13.07.2012
  */
 public function fieldLabels($includerelations = true)
 {
     $fieldLabels = array_merge(parent::fieldLabels($includerelations), array('ActivationMailSubject' => _t('SilvercartRegistrationPage.ACTIVATION_MAIL_SUBJECT'), 'ActivationMailMessage' => _t('SilvercartRegistrationPage.ACTIVATION_MAIL_TEXT'), 'ActivationMailTab' => _t('SilvercartRegistrationPage.ACTIVATION_MAIL_TAB')));
     $this->extend('updateFieldLabels', $fieldLabels);
     return $fieldLabels;
 }