Skip to content

Commit

Permalink
Item12935: removed settings tab
Browse files Browse the repository at this point in the history
... yet still leaving in the "settingstab" identifier for skins _underneath_
to redefine it.
  • Loading branch information
MichaelDaum committed Sep 1, 2014
1 parent 0a1dbb6 commit af1f2ac
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 20 deletions.
10 changes: 10 additions & 0 deletions NatEditPlugin/.gitignore
@@ -0,0 +1,10 @@
*.gz
pub/System/NatEditPlugin/jquery.natedit.js
pub/System/NatEditPlugin/styles.css
NatEditPlugin.md5
NatEditPlugin.sha1
NatEditPlugin.tgz
NatEditPlugin.txt
NatEditPlugin.zip
NatEditPlugin_installer
NatEditPlugin_installer.pl
23 changes: 3 additions & 20 deletions NatEditPlugin/templates/edit.natedit.tmpl
Expand Up @@ -76,7 +76,9 @@
%TMPL:END%

%TMPL:DEF{"tabpane"}%%TABPANE{automaxexpand="on" minheight="330" animate="on" select="%URLPARAM{"natedittab"}%"}%
%TMPL:P{"firsttab"}%%TMPL:P{"formfields"}%%TMPL:P{"settingstab"}%%TMPL:P{"permissionstab"}%%TMPL:P{"moretabs"}%%TMPL:P{"helptab"}%%ENDTABPANE%%TMPL:END%
%TMPL:P{"tabs"}%%ENDTABPANE%%TMPL:END%

%TMPL:DEF{"tabs"}%%TMPL:P{"firsttab"}%%TMPL:P{"formfields"}%%TMPL:P{"settingstab"}%%TMPL:P{"permissionstab"}%%TMPL:P{"helptab"}%%TMPL:END%

%TMPL:DEF{"formfields"}%%FORMFIELDS%%TMPL:END%

Expand All @@ -92,25 +94,6 @@
%TMPL:DEF{"firsttab"}%%TAB{"%MAKETEXT{"Text"}%" id="text"}%
%TMPL:P{"topicmeta"}%%TMPL:P{"textarea"}%%ENDTAB%%TMPL:END%

%TMPL:DEF{"settingstab"}%%TAB{"%MAKETEXT{"Settings"}%" id="settings"}%%TMPL:P{"settings"}%%ENDTAB%%TMPL:END%

%TMPL:DEF{"settings"}%%TMPL:P{"topicsettings"}%%TMPL:P{"moresettings"}%%TMPL:END%

%TMPL:DEF{"topicsettings"}%<h2>%MAKETEXT{"Topic settings"}%</h2>
<div class="foswikiFormSteps">
<div class="foswikiFormStep">
<table class="foswikiLayoutTable">
<tr>
<th>%MAKETEXT{"Parent topic"}%</th>
<td>
<input class="foswikiInputField jqUIAutocomplete" autocomplete="%SCRIPTURL{"view"}%/%SYSTEMWEB%/JQueryAjaxHelper?section=topic&contenttype=text/plain&skin=text&baseweb=%BASEWEB%" type="text" name="topicparent" id="topicparent" size="40" value="%TOPICPARENT%" />
</td>
</tr>
%TMPL:P{"moretopicsettings"}%<!-- -->
</table>
</div>
</div>%TMPL:END%

%TMPL:DEF{"helptab"}%%TAB{"%MAKETEXT{"Help"}%"
id="help"
url="%SCRIPTURL{"view"}%/%IF{"defined NATEDIT_HELPTEXT" then="%NATEDIT_HELPTEXT%" else="%SYSTEMWEB%.NatEditHelpText"}%?skin=text;section=default"
Expand Down

0 comments on commit af1f2ac

Please sign in to comment.