Skip to content
This repository was archived by the owner on Mar 8, 2021. It is now read-only.

Commit fcf821f

Browse files
authored
Merge pull request #1013 from modxcms/develop
v1.2RC2
2 parents 55910a4 + f1782b2 commit fcf821f

34 files changed

Lines changed: 49 additions & 40 deletions

assets/plugins/elementsintree/assets/txt_content.tpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,8 @@
479479
font-weight:bold;
480480
}
481481
482+
.tab-page { margin-bottom:0; }
483+
482484
[+unifyFrames_css+]
483485
[+treeButtonsInTab_css+]
484486
@@ -648,7 +650,7 @@
648650
winHeight = jQuery(window).height();
649651
tabsHeight = jQuery(".tab-row:first").height();
650652
buttonsSize = jQuery(".filterElements-form:first").getSize();
651-
themeMargins = 70; // All MODxRE2 top/bottom margins
653+
themeMargins = 60; // All MODxRE2 top/bottom margins
652654
tabHeight = winHeight - tabsHeight - buttonsSize.height - themeMargins;
653655
}
654656

assets/plugins/elementsintree/includes/functions.inc.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function getLockedByUser($lockType,$rowLock,$id) {
3030

3131
$ph = array();
3232
$ph['element_type'] = $_lang['lock_element_type_'.$lockType];
33-
$ph['lasthit_df'] = $rowLock['lasthit_df'];
33+
$ph['firsthit_df'] = $rowLock['firsthit_df'];
3434

3535
if($rowLock['internalKey'] == $modx->getLoginUserID()) {
3636
$title = $modx->parseText($_lang['lock_element_editing'], $ph);
@@ -54,7 +54,7 @@ function getLockedByUser($lockType,$rowLock,$id) {
5454

5555
// create elements list function
5656
function createElementsList($elmTable,$action,$nameField = 'name') {
57-
global $modx, $_lang;
57+
global $modx, $_lang, $modx_textdir;
5858

5959
$field = array();
6060
if ($elmTable == 'site_plugins') $field['disabled'] = '[+prefix+]site_plugins.disabled';
@@ -128,7 +128,7 @@ function createElementsList($elmTable,$action,$nameField = 'name') {
128128

129129
function createModulesList($action) {
130130

131-
global $modx, $_lang;
131+
global $modx, $_lang, $modx_textdir;
132132

133133
$output = '
134134
<form class="filterElements-form filterElements-form--eit" style="margin-top: 0;">

assets/snippets/DocLister/core/controller/site_content.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ public function getDocs($tvlist = '')
4747
$tvlist = $this->getCFGDef('tvList', '');
4848
}
4949

50+
$this->extTV->getAllTV_Name();
51+
5052
if ($this->extPaginate = $this->getExtender('paginate')) {
5153
$this->extPaginate->init($this);
5254
} else {
@@ -55,7 +57,6 @@ public function getDocs($tvlist = '')
5557
$type = $this->getCFGDef('idType', 'parents');
5658
$this->_docs = ($type == 'parents') ? $this->getChildrenList() : $this->getDocList();
5759
if ($tvlist != '' && count($this->_docs) > 0) {
58-
$this->extTV->getAllTV_Name();
5960
$tv = $this->extTV->getTVList(array_keys($this->_docs), $tvlist);
6061
if (!is_array($tv)) {
6162
$tv = array();

assets/templates/help/version_notices/1.2.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@
136136
&amp;param=`value`
137137
]]</pre>
138138
</li>
139+
<li><strong>Wayfinder Debug-Mode</strong>
140+
<p>More infos at <a href="https://github.com/modxcms/evolution/issues/719" target="_blank">#719</a></p>
141+
<pre>[[Wayfinder?debug]]</pre>
142+
</li>
139143
</ul>
140144

141145
<h1>New Manager Roles</h1>

install/actions/action_summary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
<input type="checkbox" value="1" id="chkagree" name="chkagree" style="line-height:18px" <?php echo isset($_POST['chkagree']) ? 'checked="checked" ':""; ?><?php echo $agreeToggle;?>/><label for="chkagree" style="display:inline;float:none;line-height:18px;"> <?php echo $_lang['iagree_box']?> </label>
301301
</p>
302302
<p class="buttonlinks">
303-
<a href="javascript:document.getElementById('install_form').action='index.php?action=options&language=<?php $install_language?>';document.getElementById('install_form').submit();" class="prev" title="<?php echo $_lang['btnback_value']?>"><span><?php echo $_lang['btnback_value']?></span></a>
303+
<a href="javascript:document.getElementById('install_form').action='index.php?action=options&language=<?php echo $install_language?>';document.getElementById('install_form').submit();" class="prev" title="<?php echo $_lang['btnback_value']?>"><span><?php echo $_lang['btnback_value']?></span></a>
304304
<a id="nextbutton" href="javascript:document.getElementById('install_form').submit();" title="<?php echo $nextButton ?>" style="visibility:<?php echo $nextVisibility;?>"><span><?php echo $nextButton ?></span></a>
305305
</p>
306306
</form>

install/actions/tpl_options.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ <h4>[%checkbox_select_options%]</h4>
7474
jQuery(this).prop('disabled', false);
7575
}
7676
});
77-
}
77+
};
7878

7979
// handle state of demo content checkbox on page load
8080
handleSampleDataCheckbox();

install/assets/plugins/ElementsInTree.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* @author Nicola1971 https://github.com/Nicola1971
2020
* @author Deesen https://github.com/Deesen
2121
* @author yama https://github.com/yama
22-
* @lastupdate 27/11/2016
22+
* @lastupdate 29/11/2016
2323
*/
2424

2525
require MODX_BASE_PATH.'assets/plugins/elementsintree/plugin.elementsintree.php';

install/assets/plugins/tinymce4.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* @internal @properties &styleFormats=Custom Style Formats;textarea;Title,cssClass|Title2,cssClass &customParams=Custom Parameters <b>(Be careful or leave empty!)</b>;textarea; &entityEncoding=Entity Encoding;list;named,numeric,raw;named &entities=Entities;text; &pathOptions=Path Options;list;Site config,Absolute path,Root relative,URL,No convert;Site config &resizing=Advanced Resizing;list;true,false;false &disabledButtons=Disabled Buttons;text; &webTheme=Web Theme;test;webuser &webPlugins=Web Plugins;text; &webButtons1=Web Buttons 1;text;bold italic underline strikethrough removeformat alignleft aligncenter alignright &webButtons2=Web Buttons 2;text;link unlink image undo redo &webButtons3=Web Buttons 3;text; &webButtons4=Web Buttons 4;text; &webAlign=Web Toolbar Alignment;list;ltr,rtl;ltr &width=Width;text;100% &height=Height;text;400px &introtextRte=<b>Introtext RTE</b><br/>add richtext-features to "introtext";list;enabled,disabled;disabled &inlineMode=<b>Inline-Mode</b>;list;enabled,disabled;disabled &inlineTheme=<b>Inline-Mode</b><br/>Theme;text;inline
1111
* @internal @events OnLoadWebDocument,OnParseDocument,OnWebPagePrerender,OnLoadWebPageCache,OnRichTextEditorRegister,OnRichTextEditorInit,OnInterfaceSettingsRender
1212
* @internal @modx_category Manager and Admin
13-
* @internal @legacy_names TinyMCE4
1413
* @internal @installset base
1514
* @logo /assets/plugins/tinymce4/tinymce/logo.png
1615
* @reportissues https://github.com/extras-evolution/tinymce4-for-modx-evo

install/instprocessor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@
9999
$errors += 1;
100100
?>
101101
<pre>
102-
database charset = <?php $database_charset ?>
103-
database collation = <?php $database_collation ?>
102+
database charset = <?php echo $database_charset ?>
103+
database collation = <?php echo $database_collation ?>
104104
</pre>
105105
<p><?php echo $_lang['setup_database_creation_failed_note2']?></p>
106106
<?php

install/setup.info.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
);
172172
}
173173
if (intval($params['shareparams']) || !empty($params['dependencies'])) {
174-
$dependencies = explode(',', $dependencies);
174+
$dependencies = explode(',', $params['dependencies']);
175175
foreach ($dependencies as $dependency) {
176176
$dependency = explode(':', $dependency);
177177
switch (trim($dependency[0])) {

0 commit comments

Comments
 (0)