adding OK/CANCEL everywhere & replace yes/no by complete sentences

This commit is contained in:
Benjamin Sonntag 2013-10-18 13:40:34 +00:00
parent b4c62ff05d
commit 4ad2204de4
9 changed files with 18 additions and 17 deletions

View File

@ -85,7 +85,7 @@ if (isset($error) && $error) {
</tr> </tr>
<tr> <tr>
<th><label for="nom"><?php echo _("Surname")."</label> / <label for=\"prenom\">"._("First Name"); ?></label></th> <th><label for="nom"><?php echo _("Surname")."</label> / <label for=\"prenom\">"._("First Name"); ?></label></th>
<td><input class="int" type="text" id="nom" name="nom" value="<?php ehe($nom); ?>" size="20" maxlength="128" />&nbsp;/&nbsp;<input type="text" name="prenom" id="prenom" value="<?php ehe($prenom); ?>" class="int" size="20" maxlength="128" /></td> <td><input class="int" type="text" id="nom" name="nom" value="<?php ehe($nom); ?>" size="16" maxlength="128" />&nbsp;/&nbsp;<input type="text" name="prenom" id="prenom" value="<?php ehe($prenom); ?>" class="int" size="16" maxlength="128" /></td>
</tr> </tr>
<tr> <tr>
<th><label for="nmail"><?php __("Email address"); ?></label></th> <th><label for="nmail"><?php __("Email address"); ?></label></th>
@ -137,8 +137,8 @@ if (isset($error) && $error) {
</tr> </tr>
<?php } ?> <?php } ?>
<tr class="trbtn"><td colspan="2"> <tr class="trbtn"><td colspan="2">
<input type="submit" class="inb" name="submit" value="<?php __("Create this AlternC account"); ?>" /> <input type="submit" class="inb ok" name="submit" value="<?php __("Create this AlternC account"); ?>" />
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_list.php'" /> <input type="button" class="inb cancel" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_list.php'" />
</td></tr> </td></tr>
</table> </table>
</form> </form>

View File

@ -121,7 +121,7 @@ foreach($q as $name => $value) {
} }
?> ?>
<br/> <br/>
<input type="submit" class="inb" value="<?php __("Edit the default quotas"); ?>" /> <input type="submit" class="inb ok" value="<?php __("Edit the default quotas"); ?>" />
</div> </div>
</form> </form>
<?php include_once("foot.php"); ?> <?php include_once("foot.php"); ?>

View File

@ -72,8 +72,8 @@ if($action == "add") {
<p class="alert alert-warning"><?php __("WARNING: Confirm the deletion of the quota"); ?></p> <p class="alert alert-warning"><?php __("WARNING: Confirm the deletion of the quota"); ?></p>
<p><?php echo $type; ?></p> <p><?php echo $type; ?></p>
<blockquote> <blockquote>
<input type="submit" class="inb" name="confirm" value="<?php __("Yes"); ?>" />&nbsp;&nbsp; <input type="submit" class="inb ok" name="confirm" value="<?php __("Yes, delete this default quota"); ?>" />&nbsp;&nbsp;
<input type="button" class="inb" name="cancel" value="<?php __("No"); ?>" onclick="document.location='adm_defquotas.php';" /> <input type="button" class="inb cancel" name="cancel" value="<?php __("No, don't delete this default quota"); ?>" onclick="document.location='adm_defquotas.php';" />
</blockquote> </blockquote>
</form> </form>
<?php <?php

View File

@ -84,8 +84,8 @@ if($del_confirm == "y"){
?> ?>
</p> </p>
<blockquote> <blockquote>
<input type="submit" class="inb" name="confirm" value="<?php __("Yes"); ?>" />&nbsp;&nbsp; <input type="submit" class="inb ok" name="confirm" value="<?php __("Yes, delete those accounts"); ?>" />&nbsp;&nbsp;
<input type="button" class="inb" name="cancel" value="<?php __("No"); ?>" onclick="document.location='adm_list.php';" /> <input type="button" class="inb cancel" name="cancel" value="<?php __("No, don't delete those accounts"); ?>" onclick="document.location='adm_list.php';" />
</blockquote> </blockquote>
</form> </form>
<?php <?php

View File

@ -114,8 +114,8 @@ if (!empty($edit)) {
<input type="radio" name="allowlogin" id="allowlogin1" value="1" <?php cbox($c[$edit]["allowlogin"]); ?> />&nbsp;<?php __("Yes"); ?> <input type="radio" name="allowlogin" id="allowlogin1" value="1" <?php cbox($c[$edit]["allowlogin"]); ?> />&nbsp;<?php __("Yes"); ?>
</td></tr> </td></tr>
</table> </table>
<p><input type="submit" class="inb" name="go" value="<?php __("Apply this password policy"); ?>" /> &nbsp; <p><input type="submit" class="inb ok" name="go" value="<?php __("Apply this password policy"); ?>" /> &nbsp;
<input type="button" class="inb" name="cancel" value="<?php __("Cancel and go back to the policy list"); ?>" onclick="document.location='adm_passpolicy.php'" /></p> <input type="button" class="inb cancel" name="cancel" value="<?php __("Cancel and go back to the policy list"); ?>" onclick="document.location='adm_passpolicy.php'" /></p>
</form> </form>
<p><?php __("The classes of characters are : <br />1. Low-case letters (a-z)<br />2. Upper-case letters (A-Z)<br />3. Figures (0-9)<br />4. Ascii symbols (!\"#$%&'()*+,-./:;<=>?@[\\]^_`)<br />5. Non-Ascii symbols (accents...)"); ?></p> <p><?php __("The classes of characters are : <br />1. Low-case letters (a-z)<br />2. Upper-case letters (A-Z)<br />3. Figures (0-9)<br />4. Ascii symbols (!\"#$%&'()*+,-./:;<=>?@[\\]^_`)<br />5. Non-Ascii symbols (accents...)"); ?></p>

View File

@ -84,8 +84,8 @@ while (list($key,$val)=each($ql)) {
} }
?> ?>
<tr class="trbtn"><td colspan="3"> <tr class="trbtn"><td colspan="3">
<input class="inb" type="submit" name="submit" value="<?php __("Edit the quotas"); ?>" /> <input class="inb ok" type="submit" name="submit" value="<?php __("Edit the quotas"); ?>" />
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_list.php'" /> <input type="button" class="inb cancel" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_list.php'" />
</td></tr> </td></tr>
</table> </table>

View File

@ -102,8 +102,8 @@ if (!empty($formu) && $formu) {
<?php } ?> <?php } ?>
</ul> </ul>
<blockquote> <blockquote>
<input type="submit" class="inb" name="del_confirm" value="<?php __("Yes"); ?>" />&nbsp;&nbsp; <input type="submit" class="inb ok" name="del_confirm" value="<?php __("Yes, delte those files/folders"); ?>" />&nbsp;&nbsp;
<input type="submit" class="inb" name="cancel" value="<?php __("No"); ?>" /> <input type="submit" class="inb cancel" name="cancel" value="<?php __("No, don't delete those files/folders"); ?>" />
</blockquote> </blockquote>
</form> </form>
<?php <?php

View File

@ -71,7 +71,8 @@ if ($del_confirm!="y") {
<p> <p>
<input type="hidden" name="del_confirm" value="y" /> <input type="hidden" name="del_confirm" value="y" />
<input type="hidden" name="domain" value="<?php echo $domain ?>" /> <input type="hidden" name="domain" value="<?php echo $domain ?>" />
<input type="submit" class="inb" name="submit" value="<?php __("Yes"); ?>" /> - <input type="button" class="inb" name="non" value="<?php __("No"); ?>" onclick="history.back()" /> <input type="submit" class="inb ok" name="submit" value="<?php __("Yes, delete this domain name"); ?>" />
<input type="button" class="inb cancel" name="non" value="<?php __("No, don't delete this domain name"); ?>" onclick="history.back()" />
</form> </form>
<?php include_once("foot.php"); <?php include_once("foot.php");
exit(); exit();

View File

@ -104,8 +104,8 @@ if (is_array($r)) {
</tr> </tr>
<tr class="trbtn"><td colspan="2"> <tr class="trbtn"><td colspan="2">
<input class="inb" type="submit" name="submit" value="<?php __("Change the MySQL backup parameters"); ?>" /> <input class="inb ok" type="submit" name="submit" value="<?php __("Change the MySQL backup parameters"); ?>" />
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='sql_list.php'"/> <input type="button" class="inb cancel" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='sql_list.php'"/>
</td></tr> </td></tr>
</table> </table>
</form> </form>