+2009-02-04 Jeff Segars <jeff@webempoweredchurch.org>
+
+ * Fixed bug #10351: Whitespace cleanups in t3lib_frontendedit
+
2009-02-04 Ingo Renner <ingo@typo3.org>
* Added feature #4911: Add an option to add alternative external URL or shortcut for other languages
}
if ($GLOBALS['TSFE']->forceTemplateParsing || $GLOBALS['TSFE']->displayEditIcons || $GLOBALS['TSFE']->displayFieldEditIcons) {
- $GLOBALS['TSFE']->set_no_cache();
+ $GLOBALS['TSFE']->set_no_cache();
}
}
* @return string The setting value
*/
public function extGetFeAdminValue($pre, $val='') {
- // Check if module is enabled.
+ // Check if module is enabled.
if ($this->isAdminModuleEnabled($pre)) {
// Exceptions where the values can be overridden from backend:
// deprecated
****************************************************/
/**
- * Returns true in an edit-action is sent from the Admin Panel
+ * Returns true if an edit-action is sent from the Admin Panel
*
* @return boolean
* @see index_ts.php
public function isEditFormShown() {
if (is_array($this->TSFE_EDIT)) {
$cmd = (string) $this->TSFE_EDIT['cmd'];
- if ($cmd=='edit' || $cmd=='new') {
+ if ($cmd == 'edit' || $cmd == 'new') {
return true;
}
}
$lang = -1;
}
- if ($GLOBALS['BE_USER']->checkLanguageAccess($lang)) {
+ if ($GLOBALS['BE_USER']->checkLanguageAccess($lang)) {
$languageAccess = true;
} else {
$languageAccess = false;
$allow = $this->getAllowedEditActions($table, $conf, $dataArray['pid'], $allow);
// Can only display editbox if there are options in the menu
- if (count($allow)) {
+ if (count($allow)) {
$mayEdit = true;
}
} else {
/**
* Takes an array of generally allowed actions and filters that list based on page and content permissions.
- *
+ *
* @param string The name of the table.
* @param array The configuration array.
* @param integer The PID where editing will occur.