From 6ef0f327f757a578911027892397afff182e2ae5 Mon Sep 17 00:00:00 2001 From: vargenau Date: Fri, 10 Apr 2015 15:35:00 +0000 Subject: [PATCH] Remove WIDTH_PREF and HEIGHT_PREF git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@9656 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/editpage.php | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/lib/editpage.php b/lib/editpage.php index 0089ce6d8..0e8569e42 100644 --- a/lib/editpage.php +++ b/lib/editpage.php @@ -1031,13 +1031,10 @@ msg_repl_close = '" . _("Close") . "' $el['WYSIWYG_B'] = Button(array("action" => "edit", "mode" => "wysiwyg"), "Wysiwyg Editor"); } } - $el['PREVIEW_B'] = Button('submit:edit[preview]', _("Preview"), 'wikiaction', array('accesskey' => 'p', 'title' => _('Preview the current content [alt-p]'))); - - //if (!$this->isConcurrentUpdate() && $this->canEdit()) $el['SAVE_B'] = Button('submit:edit[save]', _("Save"), 'wikiaction', array('accesskey' => 's', @@ -1053,25 +1050,6 @@ msg_repl_close = '" . _("Close") . "' _("Spell Check"), 'wikiaction', array('title' => _('Check the spelling'))); $el['IS_CURRENT'] = $this->version == $this->current->getVersion(); - - $el['WIDTH_PREF'] - = HTML::input(array('type' => 'text', - 'size' => 3, - 'maxlength' => 4, - 'class' => "numeric", - 'name' => 'pref[editWidth]', - 'id' => 'pref-editWidth', - 'value' => $request->getPref('editWidth'), - 'onchange' => 'this.form.submit();')); - $el['HEIGHT_PREF'] - = HTML::input(array('type' => 'text', - 'size' => 3, - 'maxlength' => 4, - 'class' => "numeric", - 'name' => 'pref[editHeight]', - 'id' => 'pref-editHeight', - 'value' => $request->getPref('editHeight'), - 'onchange' => 'this.form.submit();')); $el['SEP'] = $WikiTheme->getButtonSeparator(); $el['AUTHOR_MESSAGE'] = fmt("Author will be logged as %s.", HTML::em($this->user->getId())); -- 2.45.0