Skip to content

Commit

Permalink
More two locations (#1267)
Browse files Browse the repository at this point in the history
I find more two location and add gettext no it
  • Loading branch information
saulowulhynek authored and DawoudIO committed Nov 4, 2016
1 parent 25d59e0 commit e5128d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GroupEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<?php
if ($thisGroup->getHasSpecialProps()) {
echo gettext('Enabled'). "<br/>";
echo '<button type="button" id="disableGroupProps" class="btn btn-danger groupSpecificProperties">Disable Group Specific Properties</button><br/>';
echo '<button type="button" id="disableGroupProps" class="btn btn-danger groupSpecificProperties">' . gettext("Disable Group Specific Properties") . '</button><br/>';
echo '<a class="btn btn-success" href="GroupPropsFormEditor.php?GroupID=' . $iGroupID . '">' . gettext("Edit Group-Specific Properties Form") . ' </a>';
}
else {
Expand Down
2 changes: 1 addition & 1 deletion src/GroupView.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
if ($sPhoneLink) {
if ($bEmailMailto) { // Does user have permission to email groups
// Display link
echo '<a class="btn btn-app" href="javascript:void(0)" onclick="allPhonesCommaD()"><i class="fa fa-mobile-phone"></i> Text Group</a>';
echo '<a class="btn btn-app" href="javascript:void(0)" onclick="allPhonesCommaD()"><i class="fa fa-mobile-phone"></i>' . gettext("Text Group") . '</a>';
echo '<script>function allPhonesCommaD() {prompt("Press CTRL + C to copy all group members\' phone numbers", "' . mb_substr($sPhoneLink, 0, -2) . '")};</script>';
}
}
Expand Down

0 comments on commit e5128d8

Please sign in to comment.