Anonymous
-
2015-11-14
Post awaiting moderation.
Hello, I would be happy to update the code to make the PHP Address Book HTML5/CSS3 compliant plus have responsive templates where users can choose from.
In order to achive that, I just need:
Example of format.inc.php:
<!DOCTYPE html>
<html lang="en-US" <?php if(is_right_to_left($lang)) echo "dir='rtl'"; ?>>
<head>
<meta charset="utf-8">
<meta name="Description" content="PHP-Addressbook">
<meta name="Keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/skin_<?php echo $skin_color; ?>.css">
<link rel="icon" type="image/png" href="<?php echo $url_images; ?>icons/font.png" />
<?php if(is_right_to_left($lang)) { ?>
<style type="text/css">
<!--
/* CSS for right to left */
label {margin-left:0.5em;float:right;text-align:right;}
#content,#right,.right {float:left;}
#nav,#left,.left {float:right;}
-->
</style>
<?php } else {} ?>
The templates will be based on the W3.CSS framework
Please do let me know if you are agree, just reply to this post and I will check it later on. Thanks.
Anonymous