Skip to content

Commit

Permalink
codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
ximex committed Dec 11, 2020
1 parent 3c07eea commit 263cfa9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion adm_program/modules/categories/categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
require(__DIR__ . '/../../system/login_valid.php');

// Initialize and check the parameters
$getType = admFuncVariableIsValid($_GET, 'type', 'string', array('requireValue' => true, 'validValues' => array('ROL', 'LNK', 'ANN', 'USF', 'DAT', 'AWA')));
$getType = admFuncVariableIsValid($_GET, 'type', 'string', array('requireValue' => true, 'validValues' => array('ROL', 'LNK', 'ANN', 'USF', 'DAT', 'AWA')));

// Modus und Rechte pruefen
if (($getType === 'ROL' && !$gCurrentUser->manageRoles())
Expand Down
4 changes: 2 additions & 2 deletions adm_program/modules/dates/ical_dates.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
unset($_SESSION['dates_request']);

// Initialize and check the parameters
$getHeadline = admFuncVariableIsValid($_GET, 'headline', 'string', array('defaultValue' => $gL10n->get('DAT_DATES')));
$getCatId = admFuncVariableIsValid($_GET, 'cat_id', 'int');
$getHeadline = admFuncVariableIsValid($_GET, 'headline', 'string', array('defaultValue' => $gL10n->get('DAT_DATES')));
$getCatId = admFuncVariableIsValid($_GET, 'cat_id', 'int');
$getDateFrom = admFuncVariableIsValid($_GET, 'date_from', 'date');
$getDateTo = admFuncVariableIsValid($_GET, 'date_to', 'date');

Expand Down
2 changes: 1 addition & 1 deletion adm_program/modules/members/import_function.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
require(__DIR__ . '/../../system/login_valid.php');

// Initialize and check the parameters
$postImportCoding = admFuncVariableIsValid($_POST, 'import_coding', 'string', array('requireValue' => true, 'validValues' => array('iso-8859-1', 'utf-8')));
$postImportCoding = admFuncVariableIsValid($_POST, 'import_coding', 'string', array('requireValue' => true, 'validValues' => array('iso-8859-1', 'utf-8')));
$postRoleId = admFuncVariableIsValid($_POST, 'import_role_id', 'int');
$postUserImportMode = admFuncVariableIsValid($_POST, 'user_import_mode', 'int', array('requireValue' => true));

Expand Down
2 changes: 1 addition & 1 deletion adm_program/modules/members/members_data.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
else
{
// if user has no email or send email is disabled then administrators could set a new password
$userAdministration = '<a class="admidio-icon-link openPopup" href="javascript:void(0);"
$userAdministration = '<a class="admidio-icon-link openPopup" href="javascript:void(0);"
data-href="'.SecurityUtils::encodeUrl(ADMIDIO_URL.FOLDER_MODULES.'/profile/password.php', array('usr_id' => $row['usr_id'])).'">'.
'<i class="fas fa-key" data-toggle="tooltip" title="' . $gL10n->get('SYS_CHANGE_PASSWORD') . '"></i></a>';
}
Expand Down
2 changes: 1 addition & 1 deletion adm_program/modules/messages/messages_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function getAdministrationLink($rowIndex, $msgId, $msgSubject)
global $gL10n;

return '
<a class="admidio-icon-link openPopup" href="javascript:void(0);"
<a class="admidio-icon-link openPopup" href="javascript:void(0);"
data-href="' . SecurityUtils::encodeUrl(ADMIDIO_URL . '/adm_program/system/popup_message.php', array('type' => 'msg', 'element_id' => 'row_message_' . $rowIndex, 'name' => $msgSubject, 'database_id' => $msgId)) . '">
<i class="fas fa-trash-alt" data-toggle="tooltip" title="'.$gL10n->get('MSG_REMOVE').'"></i>
</a>';
Expand Down
2 changes: 1 addition & 1 deletion adm_program/modules/profile-fields/profile_fields_new.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
'usf_icon', $gL10n->get('SYS_ICON'), $userField->getValue('usf_icon', 'database'),
array(
'maxLength' => 2000,
'helpTextIdLabel' => $gL10n->get('SYS_FONT_AWESOME_DESC', array('<a href="https://fontawesome.com/icons?d=gallery&s=brands,solid&m=free" target="_blank">', '</a>')),
'helpTextIdLabel' => $gL10n->get('SYS_FONT_AWESOME_DESC', array('<a href="https://fontawesome.com/icons?d=gallery&s=brands,solid&m=free" target="_blank">', '</a>'))
)
);
$form->addInput(
Expand Down

0 comments on commit 263cfa9

Please sign in to comment.