Exemplo n.º 1
0
		/**
		* GetPropertiesSheet
		* Return a HTML-formatted list of properties for this addon module
		*
		* @return String
		*/
		public function GetPropertiesSheet($tab_id)
		{
			// Are we showing the save and cancel buttons for this addon?
			if(!$this->IsShowSaveCancelButtons()) {
				if(!isset($GLOBALS['TabIdsToHideButtonsFrom'])) {
					$GLOBALS['TabIdsToHideButtonsFrom'] = "";
				}

				$GLOBALS['TabIdsToHideButtonsFrom'] .= $tab_id . "|";
			}

			return parent::GetPropertiesSheet($tab_id, 'ShipperId', 'AddonJavaScript', 'package_selected');
		}
Exemplo n.º 2
0
	/**
	 * Return the properties/settings sheet for this live chat module.
	 *
	 * @param int The identifier of the tab for this live chat module.
	 * @return string The properties sheet contents.
	 */
	public function GetPropertiesSheet($tabId)
	{
		return parent::GetPropertiesSheet($tabId, 'PackageId', 'LiveChatJavascript', 'package_selected');
	}
Exemplo n.º 3
0
		public function GetPropertiesSheet($tab_id)
		{
			return parent::GetPropertiesSheet($tab_id, 'PackageId', 'AnalyticsJavaScript', 'package_selected');
		}