Skip to content

Commit

Permalink
[ticket/16345] Small improvements
Browse files Browse the repository at this point in the history
PHPBB3-16346
  • Loading branch information
rubencm committed Aug 14, 2020
1 parent 3cceeb4 commit 774c609
Show file tree
Hide file tree
Showing 284 changed files with 1,380 additions and 835 deletions.
28 changes: 7 additions & 21 deletions phpBB/adm/style/acp_modules.html
Expand Up @@ -36,7 +36,7 @@

var j = 0;
<!-- BEGIN m_names -->

if (value == '{m_names.A_NAME}')
{
<!-- BEGIN modes -->
Expand All @@ -60,13 +60,6 @@ <h1>{L_TITLE} :: {MODULENAME}</h1>

<p>{L_EDIT_MODULE_EXPLAIN}</p>

<!-- IF S_ERROR -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->

<form id="moduleedit" method="post" action="{U_EDIT_ACTION}">

<fieldset>
Expand Down Expand Up @@ -111,7 +104,7 @@ <h3>{L_WARNING}</h3>
<p class="submit-buttons">
<input type="hidden" name="action" value="{ACTION}" />
<input type="hidden" name="m" value="{MODULE_ID}" />

<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</p>
Expand All @@ -125,13 +118,6 @@ <h1>{L_ACP_MODULE_MANAGEMENT}</h1>

<p>{L_ACP_MODULE_MANAGEMENT_EXPLAIN}</p>

<!-- IF S_ERROR -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->

<table class="table1">
<tbody>
<tr>
Expand All @@ -154,7 +140,7 @@ <h3>{L_WARNING}</h3>
<span class="up"><a href="{modules.U_MOVE_UP}" data-ajax="row_up">{ICON_MOVE_UP}</a></span>
<span class="down-disabled" style="display:none;">{ICON_MOVE_DOWN_DISABLED}</span>
<span class="down"><a href="{modules.U_MOVE_DOWN}" data-ajax="row_down">{ICON_MOVE_DOWN}</a></span>
<a href="{modules.U_EDIT}">{ICON_EDIT}</a>
<a href="{modules.U_EDIT}">{ICON_EDIT}</a>
<a href="{modules.U_DELETE}" data-ajax="row_delete">{ICON_DELETE}</a>
</td>
</tr>
Expand All @@ -173,7 +159,7 @@ <h3>{L_WARNING}</h3>
<select name="quick_install">{S_INSTALL_OPTIONS}</select>
<input class="button2" name="quickadd" type="submit" value="{L_ADD_MODULE}" />
</fieldset>

</form>

<form id="module" method="post" action="{U_ACTION}">
Expand All @@ -182,17 +168,17 @@ <h3>{L_WARNING}</h3>
<input type="hidden" name="action" value="add" />
<input type="hidden" name="module_parent_id" value="{PARENT_ID}" />

<input type="text" name="module_langname" maxlength="255" />
<input type="text" name="module_langname" maxlength="255" />
<input class="button2" name="addmodule" type="submit" value="{L_CREATE_MODULE}" />
</fieldset>

</form>

<div class="clearfix">&nbsp;</div><br style="clear: both;" />

<form id="mselect" method="post" action="{U_SEL_ACTION}">
<fieldset class="quick">
{L_SELECT_MODULE}{L_COLON} <select name="parent_id" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }">{MODULE_BOX}</select>
{L_SELECT_MODULE}{L_COLON} <select name="parent_id" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }">{MODULE_BOX}</select>

<input class="button2" type="submit" value="{L_GO}" />
</fieldset>
Expand Down
1 change: 0 additions & 1 deletion phpBB/config/default/container/services_attachment.yml
Expand Up @@ -32,7 +32,6 @@ services:
- '@config'
- '@files.upload'
- '@language'
- '@mimetype.guesser'
- '@dispatcher'
- '@plupload'
- '@storage.attachment'
Expand Down
3 changes: 0 additions & 3 deletions phpBB/config/default/container/services_auth.yml
Expand Up @@ -19,10 +19,7 @@ services:
- '@config'
- '@dbal.conn'
- '@passwords.manager'
- '@request'
- '@user'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: auth.provider }

Expand Down
2 changes: 0 additions & 2 deletions phpBB/config/default/container/services_content.yml
Expand Up @@ -18,13 +18,11 @@ services:
class: phpbb\groupposition\legend
arguments:
- '@dbal.conn'
- '@user'

groupposition.teampage:
class: phpbb\groupposition\teampage
arguments:
- '@dbal.conn'
- '@user'
- '@cache.driver'

message.form.admin:
Expand Down
5 changes: 0 additions & 5 deletions phpBB/config/default/container/services_cron.yml
Expand Up @@ -167,7 +167,6 @@ services:
class: phpbb\cron\task\text_reparser\reparser
arguments:
- '@config'
- '@config_text'
- '@text_reparser.lock'
- '@text_reparser.manager'
- '@text_reparser_collection'
Expand All @@ -181,7 +180,6 @@ services:
class: phpbb\cron\task\text_reparser\reparser
arguments:
- '@config'
- '@config_text'
- '@text_reparser.lock'
- '@text_reparser.manager'
- '@text_reparser_collection'
Expand All @@ -195,7 +193,6 @@ services:
class: phpbb\cron\task\text_reparser\reparser
arguments:
- '@config'
- '@config_text'
- '@text_reparser.lock'
- '@text_reparser.manager'
- '@text_reparser_collection'
Expand All @@ -209,7 +206,6 @@ services:
class: phpbb\cron\task\text_reparser\reparser
arguments:
- '@config'
- '@config_text'
- '@text_reparser.lock'
- '@text_reparser.manager'
- '@text_reparser_collection'
Expand All @@ -223,7 +219,6 @@ services:
class: phpbb\cron\task\text_reparser\reparser
arguments:
- '@config'
- '@config_text'
- '@text_reparser.lock'
- '@text_reparser.manager'
- '@text_reparser_collection'
Expand Down
2 changes: 0 additions & 2 deletions phpBB/config/default/container/services_files.yml
Expand Up @@ -21,7 +21,6 @@ services:
shared: false
arguments:
- '@language'
- '@php_ini'
- '@upload_imagesize'
- '@mimetype.guesser'
- '@plupload'
Expand All @@ -30,7 +29,6 @@ services:
class: phpbb\files\upload
shared: false
arguments:
- '@filesystem'
- '@files.factory'
- '@language'
- '@php_ini'
Expand Down
3 changes: 0 additions & 3 deletions phpBB/config/default/container/services_migrator.yml
Expand Up @@ -44,11 +44,8 @@ services:
class: phpbb\db\migration\tool\module
arguments:
- '@dbal.conn'
- '@cache'
- '@user'
- '@module.manager'
- '%core.root_path%'
- '%core.php_ext%'
- '%tables.modules%'
tags:
- { name: migrator.tool }
Expand Down
1 change: 0 additions & 1 deletion phpBB/config/default/container/services_profilefield.yml
Expand Up @@ -9,7 +9,6 @@ services:
- '@dispatcher'
- '@language'
- '@log'
- '@request'
- '@template'
- '@profilefields.type_collection'
- '@user'
Expand Down
Expand Up @@ -27,7 +27,6 @@ services:
arguments:
- '@installer.helper.config'
- '@installer.helper.database'
- '@filesystem'
- '%core.root_path%'
tags:
- { name: install_database_install, order: 30 }
Expand Down
Expand Up @@ -41,7 +41,6 @@ services:
- '@installer.helper.iohandler'
- '@installer.file_updater.factory'
- '@installer.helper.update_helper'
- '%core.root_path%'
tags:
- { name: update_filesystem, order: 40 }

Expand Down

0 comments on commit 774c609

Please sign in to comment.