Commit c230e277 authored by Patrick Müller's avatar Patrick Müller

feat: Tiefe Projekt-Einstellungs-Suche

parent 631837f8
......@@ -21,7 +21,9 @@
</tr>
<tr class="{cycle values="odd,even"}">
<td class="first">
{t}quiqqer/system projects.project.settings.panel.mediaSettings.maxUploadSize{/t}
<label>
{t}quiqqer/system projects.project.settings.panel.mediaSettings.maxUploadSize{/t}
</label>
</td>
<td>
<input type="number" name="media_maxUploadSize" />
......@@ -47,10 +49,13 @@
</tr>
</thead>
<tbody>
<tr>
<tr class="{cycle values="odd,even"}">
<td class="first">
{t}quiqqer/system projects.project.settings.panel.mediaSettings.watermark{/t}
<label>
{t}quiqqer/system projects.project.settings.panel.mediaSettings.watermark{/t}
</label>
</td>
<td>
<input type="text" class="media-image" name="media_watermark" />
......@@ -58,7 +63,9 @@
</tr>
<tr class="{cycle values="odd,even"}">
<td class="first">
{t}quiqqer/system projects.project.settings.panel.mediaSettings.watermark.position{/t}
<label>
{t}quiqqer/system projects.project.settings.panel.mediaSettings.watermark.position{/t}
</label>
</td>
<td>
<select name="media_watermark_position">
......@@ -95,7 +102,9 @@
</tr>
<tr class="{cycle values="odd,even"}">
<td class="first">
{t}quiqqer/system projects.project.settings.panel.mediaSettings.watermark.ratio{/t}
<label>
{t}quiqqer/system projects.project.settings.panel.mediaSettings.watermark.ratio{/t}
</label>
</td>
<td>
<input type="number" name="media_watermark_ratio" />
......@@ -123,13 +132,17 @@
<tbody>
<tr class="{cycle values="odd,even" reset=true}">
<td class="first">
{t}quiqqer/system projects.project.site.media.manager.general.recalc.md5{/t}
<label>
{t}quiqqer/system projects.project.site.media.manager.general.recalc.md5{/t}
</label>
</td>
<td class="md5hash"></td>
</tr>
<tr class="{cycle values="odd,even"}">
<td class="first">
{t}quiqqer/system projects.project.site.media.manager.general.recalc.sha1{/t}
<label>
{t}quiqqer/system projects.project.site.media.manager.general.recalc.sha1{/t}
</label>
</td>
<td class="sha1hash"></td>
</tr>
......
......@@ -80,7 +80,8 @@ define('controls/projects/project/Settings', [
],
options: {
project: ''
project : '',
category: false // open category on settings panel load
},
initialize: function (options) {
......@@ -233,8 +234,20 @@ define('controls/projects/project/Settings', [
self.$config = result[0];
self.$defaults = result[1];
self.getCategoryBar().firstChild().click();
self.Loader.hide();
if (self.getAttribute('category')) {
var Wanted = self.getCategoryBar().getElement(
self.getAttribute('category')
);
if (Wanted) {
Wanted.click();
return;
}
}
self.getCategoryBar().firstChild().click();
});
},
......
......@@ -968,7 +968,6 @@ class Manager
}
}
QUI\Cache\Manager::set('qui/projects/', $list);
return $list;
......
......@@ -533,6 +533,12 @@ class Builder
$params['groupLabel'] = json_encode($params['groupLabel']);
}
if (isset($params['searchdata'])
&& is_array($params['searchdata'])
) {
$params['searchdata'] = json_encode($params['searchdata']);
}
$params['lang'] = $lang;
QUI::getDataBase()->insert($this->getTable(), $params);
......
......@@ -233,7 +233,7 @@ class SettingsCategories implements ProviderInterface
$categories = $Path->query("//settings/window/categories/category");
$descPrefix = $Locale->get('quiqqer/system', 'settings') . ' -> ' . $item['text'];
// ad menu entry for settings
// add menu entry for settings
$dataEntries[] = array(
'title' => $item['text'],
'description' => $item['description'],
......
......@@ -625,6 +625,20 @@
<en><![CDATA[Website: [projectName] ([projectLang])]]></en>
</locale>
<!-- Provider: Projects -->
<locale name="search.provider.projects.group.label">
<de><![CDATA[Webseiten]]></de>
<en><![CDATA[Websites]]></en>
</locale>
<locale name="search.provider.projects.settings.group.label">
<de><![CDATA[Webseiten-Einstellungen: [project]]]></de>
<en><![CDATA[Website settings: [project]]]></en>
</locale>
<locale name="search.provider.projects.settings.description">
<de><![CDATA[Einstellungen -> Projekteinstellungen -> [project]]]></de>
<en><![CDATA[Settings -> Project settings -> [project]]]></en>
</locale>
<!-- Provider: Media -->
<locale name="search.provider.media.filter.folder.label">
<de><![CDATA[Ordner]]></de>
......@@ -2093,10 +2107,6 @@ Folgende Zeichen sind erlaubt: 0-9 a-z A-Z _ -</p>]]></de>
<de><![CDATA[Löschen]]></de>
<en><![CDATA[Delete]]></en>
</locale>
<locale name="projects.project.panel.settings.btn.settings">
<de><![CDATA[Einstellungen]]></de>
<en><![CDATA[Settings]]></en>
</locale>
<locale name="projects.project.panel.settings.btn.meta">
<de><![CDATA[Meta Angaben]]></de>
<en><![CDATA[Meta data]]></en>
......@@ -6845,6 +6855,10 @@ Folgende Zeichen sind erlaubt: 0-9 a-z A-Z _ -</p>]]></de>
<de><![CDATA[Backend-Einstellungen]]></de>
<en><![CDATA[Backend settings]]></en>
</locale>
<locale name="projects.project.panel.settings.btn.settings">
<de><![CDATA[Einstellungen]]></de>
<en><![CDATA[Settings]]></en>
</locale>
<locale name="projects.project.settings.panel.adminSettings.title">
<de><![CDATA[Projekteinstellungen für das Backend]]></de>
<en><![CDATA[Project settings for the backend]]></en>
......
......@@ -25,6 +25,7 @@
<desktopSearch src="\QUI\Workspace\Search\Provider\Media" />
<desktopSearch src="\QUI\Workspace\Search\Provider\SettingsCategories" />
<desktopSearch src="\QUI\Workspace\Search\Provider\UsersAndGroups" />
<desktopSearch src="\QUI\Workspace\Search\Provider\Projects" />
</provider>
</package>
</quiqqer>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment