$rightmargin = $value; if ($write) { $database_styles->updateRightMargin($sheet, $style, $rightmargin); } } } $view->view->rightmargin = Filter_Html::sanitize($rightmargin); // First line indent. $firstlineindent = $marker_data['firstlineindent']; if (isset($_GET['firstlineindent'])) { $dialog_entry = new Dialog_Entry($standard_page_query, Locale_Translate::_("Please enter a first line indent of between -100 and 100 mm"), $firstlineindent, "firstlineindent", Locale_Translate::_("This is the indent of the first line of the the paragraph. The value to enter is just a number, e.g. 0.")); die; } if (isset($_POST['firstlineindent'])) { $value = $_POST['entry']; $value = Filter_Numeric::float_in_string($value); if ($value >= -100 && $value <= 100) { $firstlineindent = $value; if ($write) { $database_styles->updateFirstLineIndent($sheet, $style, $firstlineindent); } } } $view->view->firstlineindent = Filter_Html::sanitize($firstlineindent); // Columns spanning. $view->view->columns_relevant = $styles_logic->columnsAreRelevant($type, $subtype); $spancolumns = $marker_data['spancolumns']; if (isset($_GET['spancolumns'])) { $spancolumns = Filter_Bool::int($_GET['spancolumns']); if ($write) { $database_styles->updateSpanColumns($sheet, $style, $spancolumns);