Iñigo Valentin 8 жил өмнө
parent
commit
18948b4586

+ 1 - 1
sql/02_DATA.SQL

@@ -137,7 +137,7 @@ INSERT INTO text VALUES ('SHARE_VKONTAKTE_DESC', 'eu', 'SHARE', 'VKontakte', nul
 INSERT INTO share VALUES (1, 1, 1, 'SHARE_FACEBOOK', 'SHARE_FACEBOOK_DESC', 'facebook.gif', 'https://www.facebook.com/sharer/sharer.php?u=');
 INSERT INTO share VALUES (2, 2, 1, 'SHARE_TWITTER', 'SHARE_TWITTER_DESC', 'twitter.gif', 'https://twitter.com/share?url=');
 INSERT INTO share VALUES (3, 3, 1, 'SHARE_GOOGLE', 'SHARE_GOOGLE_DESC', 'google.gif', 'https://plus.google.com/share?url=');
-INSERT INTO share VALUES (4, 4, 1, 'SHARE_TELEGRAM', 'SHARE_TELEGRAM_DESC', 'telegram.gif', 'https://t.me/share/url?url=');
+INSERT INTO share VALUES (4, 4, 1, 'SHARE_TELEGRAM', 'SHARE_TELEGRAM_DESC', 'telegramn.gif', 'https://t.me/share/url?url=');
 INSERT INTO share VALUES (5, 5, 1, 'SHARE_LINKEDIN', 'SHARE_LINKEDIN_DESC', 'linkedin.gif', 'https://www.linkedin.com/shareArticle?mini=true&url=');
 INSERT INTO share VALUES (6, 6, 1, 'SHARE_VKONTAKTE', 'SHARE_VKONTAKTE_DESC', 'vkontakte.gif', 'http://vk.com/share.php?url=');
 

+ 4 - 4
www/blog/index.php

@@ -18,7 +18,7 @@
         <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
         <meta charset='utf-8'/>
         <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
-        <title><?=text($con, "BLOG_TITLE", $lang)?> - I&ntilde;igo Valentin</title>
+        <title><?=text($con, "BLOG_TITLE", $lang)?> - <?=text($con, "USER_NAME", $lang);?></title>
         <link rel='shortcut icon' href='<?=$lserver?>/img/logo/favicon.ico'/>
         <!-- CSS files -->
         <style>
@@ -46,15 +46,15 @@
         <link rel='author' href='<?=$lserver?>'/>
         <link rel='publisher' href='<?=$lserver?>'/>
         <meta name='description' content='<?=text($con, "BLOG_DESCRIPTION", $lang)?>'/>
-        <meta property='og:title' content='<?=text($con, "BLOG_TITLE", $lang)?> - I&ntilde;igo Valentin'/>
+        <meta property='og:title' content='<?=text($con, "BLOG_TITLE", $lang)?> - <?=text($con, "USER_NAME", $lang);?>'/>
         <meta property='og:url' content='<?=$lserver?>/blog/'/>
         <meta property='og:description' content='<?=text($con, "BLOG_DESCRIPTION", $lang)?>'/>
         <meta property='og:image' content='<?=$lserver?>/img/logo/favicon.ico'/>
-        <meta property='og:site_name' content='I&ntilde;igo Valentin'/>
+        <meta property='og:site_name' content='<?=text($con, "USER_NAME", $lang);?>'/>
         <meta property='og:type' content='website'/>
         <meta property='og:locale' content='<?=$lang?>'/>
         <meta name='twitter:card' content='summary'/>
-        <meta name='twitter:title' content='<?=text($con, "BLOG_TITLE", $lang)?> - I&ntilde;igo Valentin'/>
+        <meta name='twitter:title' content='<?=text($con, "BLOG_TITLE", $lang)?> - <?=text($con, "USER_NAME", $lang);?>'/>
         <meta name='twitter:description' content='<?=text($con, "BLOG_DESCRIPTION", $lang)?>'/>
         <meta name='twitter:image' content='<?=$lserver?>/img/logo/favicon.ico'/>
         <meta name='twitter:url' content='<?=$lserver?>/project/'/>

+ 8 - 8
www/blog/post.php

@@ -37,7 +37,7 @@
         <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
         <meta charset='utf-8'/>
         <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
-        <title><?=$title?> - I&ntilde;igo Valentin</title>
+        <title><?=$title?> - <?=text($con, "USER_NAME", $lang);?></title>
         <link rel='shortcut icon' href='<?=$lserver?>/img/logo/favicon.ico'/>
         <!-- CSS files -->
         <style>
@@ -64,7 +64,7 @@
         <link rel='author' href='<?=$lserver?>'/>
         <link rel='publisher' href='<?=$lserver?>'/>
         <meta name='description' content='<?=$text?>'/>
-        <meta property='og:title' content='<?=$title?> - I&ntilde;igo Valentin'/>
+        <meta property='og:title' content='<?=$title?> - <?=text($con, "USER_NAME", $lang);?>'/>
         <meta property='og:url' content='<?=$lserver?>/blog/<?=$permalink?>'/>
         <meta property='og:description' content='<?=$text?>'/>
 <?php
@@ -79,11 +79,11 @@
 <?php
         }
 ?>
-        <meta property='og:site_name' content='I&ntilde;igo Valentin'/>
+        <meta property='og:site_name' content='<?=text($con, "USER_NAME", $lang);?>'/>
         <meta property='og:type' content='website'/>
         <meta property='og:locale' content='<?=$lang?>'/>
         <meta name='twitter:card' content='summary'/>
-        <meta name='twitter:title' content='<?=$title?> - I&ntilde;igo Valentin'/>
+        <meta name='twitter:title' content='<?=$title?> - <?=text($con, "USER_NAME", $lang);?>'/>
         <meta name='twitter:description' content='<?=$text?>'/>
 <?php
         if (strlen($image) == 0){
@@ -183,18 +183,18 @@
                     //Comment form
 ?>
                     <div class='comment' id='comment_new'>
-                        <textarea id='new_comment_text' name='text' maxlength='1800' onfocus='showCommentIdentification();' placeholder='TR#Your comment...'></textarea>
+                        <textarea id='new_comment_text' name='text' maxlength='1800' onfocus='showCommentIdentification();' placeholder='<?text($con, "COMMENT_YOUR", $lang)?>'></textarea>
                         <div id='identification_form'>
                             <br/>
-                            <input id='new_comment_user' name='user' maxlength='50' type='text' placeholder='TR#Your name'/>
-                            <input type='button' value='TR#Send comment'/>
+                            <input id='new_comment_user' name='user' maxlength='50' type='text' placeholder='<?text($con, "COMMENT_YOUR_NAME", $lang)?>'/>
+                            <input type='button' value='<?text($con, "COMMENT_PUBLISH", $lang)?>'/>
                         </div>
                     </div>
 <?php
                 }
                 else{
 ?>
-                    <h4>TR#Comments are closed in this post</h4>
+                    <h4><?text($con, "COMMENT_CLOSED_POST", $lang)?></h4>
 <?php
                 }
 

+ 20 - 43
www/error/403.php

@@ -16,46 +16,23 @@
     <head>
         <meta content='text/html; charset=windows-1252' http-equiv='content-type'/>
         <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'>
-        <title>Error - I&ntilde;igo Valentin</title>
+        <title><?=text($con, "ERROR_TITLE", $lang);?> - <?=text($con, "USER_NAME", $lang);?></title>
         <link rel='shortcut icon' href='<?=$lserver?>/img/logo/favicon.ico'>
         <!-- CSS files -->
         <link rel='stylesheet' type='text/css' href='/css/ui.css'/>
+                <!-- CSS files -->
         <style>
-            table#error-code{
-                margin-top:        5em;
-                margin-left:     10%;
-            }
-            td#error-number{
-                font-size:        300%;
-                border-right:    0.063em solid #000000;
-                padding-right:    1.875em;
-                padding-left:    1.250em;
-            }
-            td#error-tag{
-                font-size:        110%;
-                padding-left:    1.750em;
-                padding-right:    1.250em;
-            }
-            div#error-message{
-                width:            80%;
-                margin-left:    10%;
-            }
-            @media (max-width: 990px){
-                table#error-code{
-                    width:            90%;
-                    margin-left:    auto;
-                    margin-right:    auto;
-                    margin-top:        0;
-                    margin-bottom:    0;
-                }
-                div#error-message{
-                    width:            90%;
-                    margin-left:    auto;
-                    margin-right:    auto;
-                    margin-top:        0;
-                    margin-bottom:    0;
-                }
-            }
+<?php
+            include $doc_root . "css/ui.css";
+            include $doc_root . "css/error.css";
+?>
+        </style>
+        <!-- CSS for mobile version -->
+        <style media="(max-width : 990px)">
+<?php
+            include $doc_root . "css/m/ui.css";
+            include $doc_root . "css/m/error.css";
+?>
         </style>
         <meta name="robots" content="noindex follow"/>
     </head>
@@ -70,25 +47,25 @@
                         403
                     </td>
                     <td id='error-tag'>
-                        ERROR<br/>CODE
+                        <?=text($con, "ERROR_DISPLAY", $lang);?>
                     </td>
                 <tr>
             </table>
             <br/><br/><br/><br/>
             <div id='error-message' class='entry'>
-                <h2>Forbidden</h2>
-                This means you are trying to view something you are not allowed to, security wise.
+                <h2><?=text($con, "ERROR_403", $lang);?></h2>
+                <?=text($con, "ERROR_403_DESC", $lang);?>
                 <br/><br/>
-                Try a solution:
+                <?=text($con, "ERROR_TRY", $lang);?>
                 <ul>
                     <li>
-                        <a href='javascript: location.reload();'>Try again.</a>
+                        <a href='javascript: location.reload();'><?=text($con, "ERROR_SOLUTION_0", $lang);?></a>
                     </li>
                     <li>
-                        <a href='javascript: history.go(-1);'>Go to the previous page.</a>
+                        <a href='javascript: history.go(-1);'><?=text($con, "ERROR_SOLUTION_1", $lang);?></a>
                     </li>
                     <li>
-                        <a href='<?=$lserver?>/'>Go to the main page</a>
+                        <a href='<?=$lserver?>/'><?=text($con, "ERROR_SOLUTION_2", $lang);?></a>
                     </li>
                 </ul>
             </div> <!-- #error_message -->

+ 20 - 45
www/error/404.php

@@ -16,46 +16,21 @@
     <head>
         <meta content='text/html; charset=windows-1252' http-equiv='content-type'/>
         <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'>
-        <title>Error - I&ntilde;igo Valentin</title>
+        <title><?=text($con, "ERROR_TITLE", $lang);?> - <?=text($con, "USER_NAME", $lang);?></title>
         <link rel='shortcut icon' href='<?=$lserver?>/img/logo/favicon.ico'>
-        <!-- CSS files -->
-        <link rel='stylesheet' type='text/css' href='/css/ui.css'/>
+                <!-- CSS files -->
         <style>
-            table#error-code{
-                margin-top:        5em;
-                margin-left:     10%;
-            }
-            td#error-number{
-                font-size:        300%;
-                border-right:    0.063em solid #000000;
-                padding-right:    1.875em;
-                padding-left:    1.250em;
-            }
-            td#error-tag{
-                font-size:        110%;
-                padding-left:    1.750em;
-                padding-right:    1.250em;
-            }
-            div#error-message{
-                width:            80%;
-                margin-left:    10%;
-            }
-            @media (max-width: 990px){
-                table#error-code{
-                    width:            90%;
-                    margin-left:    auto;
-                    margin-right:    auto;
-                    margin-top:        0;
-                    margin-bottom:    0;
-                }
-                div#error-message{
-                    width:            90%;
-                    margin-left:    auto;
-                    margin-right:    auto;
-                    margin-top:        0;
-                    margin-bottom:    0;
-                }
-            }
+<?php
+            include $doc_root . "css/ui.css";
+            include $doc_root . "css/error.css";
+?>
+        </style>
+        <!-- CSS for mobile version -->
+        <style media="(max-width : 990px)">
+<?php
+            include $doc_root . "css/m/ui.css";
+            include $doc_root . "css/m/error.css";
+?>
         </style>
         <meta name="robots" content="noindex follow"/>
     </head>
@@ -70,25 +45,25 @@
                         404
                     </td>
                     <td id='error-tag'>
-                        ERROR<br/>CODE
+                        <?=text($con, "ERROR_DISPLAY", $lang);?>
                     </td>
                 <tr>
             </table>
             <br/><br/><br/><br/>
             <div id='error-message' class='entry'>
-                <h2>Not Found</h2>
-                This means that, either you are looking for something that doesn't exist or that we missed something.
+                <h2><?=text($con, "ERROR_404", $lang);?></h2>
+                <?=text($con, "ERROR_404_DESC", $lang);?>
                 <br/><br/>
-                Try a solution:
+                <?=text($con, "ERROR_TRY", $lang);?>
                 <ul>
                     <li>
-                        <a href='javascript: location.reload();'>Try again.</a>
+                        <a href='javascript: location.reload();'><?=text($con, "ERROR_SOLUTION_0", $lang);?></a>
                     </li>
                     <li>
-                        <a href='javascript: history.go(-1);'>Go to the previous page.</a>
+                        <a href='javascript: history.go(-1);'><?=text($con, "ERROR_SOLUTION_1", $lang);?></a>
                     </li>
                     <li>
-                        <a href='<?=$lserver?>/'>Go to the main page</a>
+                        <a href='<?=$lserver?>/'><?=text($con, "ERROR_SOLUTION_2", $lang);?></a>
                     </li>
                 </ul>
             </div> <!-- #error_message -->

+ 19 - 44
www/error/500.php

@@ -16,46 +16,21 @@
     <head>
         <meta content='text/html; charset=windows-1252' http-equiv='content-type'/>
         <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'>
-        <title>Error - I&ntilde;igo Valentin</title>
+        <title><?=text($con, "ERROR_TITLE", $lang);?> - <?=text($con, "USER_NAME", $lang);?></title>
         <link rel='shortcut icon' href='<?=$lserver?>/img/logo/favicon.ico'>
         <!-- CSS files -->
-        <link rel='stylesheet' type='text/css' href='/css/ui.css'/>
         <style>
-            table#error-code{
-                margin-top:        5em;
-                margin-left:     10%;
-            }
-            td#error-number{
-                font-size:        300%;
-                border-right:    0.063em solid #000000;
-                padding-right:    1.875em;
-                padding-left:    1.250em;
-            }
-            td#error-tag{
-                font-size:        110%;
-                padding-left:    1.750em;
-                padding-right:    1.250em;
-            }
-            div#error-message{
-                width:            80%;
-                margin-left:    10%;
-            }
-            @media (max-width: 990px){
-                table#error-code{
-                    width:            90%;
-                    margin-left:    auto;
-                    margin-right:    auto;
-                    margin-top:        0;
-                    margin-bottom:    0;
-                }
-                div#error-message{
-                    width:            90%;
-                    margin-left:    auto;
-                    margin-right:    auto;
-                    margin-top:        0;
-                    margin-bottom:    0;
-                }
-            }
+<?php
+            include $doc_root . "css/ui.css";
+            include $doc_root . "css/error.css";
+?>
+        </style>
+        <!-- CSS for mobile version -->
+        <style media="(max-width : 990px)">
+<?php
+            include $doc_root . "css/m/ui.css";
+            include $doc_root . "css/m/error.css";
+?>
         </style>
         <meta name="robots" content="noindex follow"/>
     </head>
@@ -70,25 +45,25 @@
                         500
                     </td>
                     <td id='error-tag'>
-                        ERROR<br/>CODE
+                        <?=text($con, "ERROR_DISPLAY", $lang);?>
                     </td>
                 <tr>
             </table>
             <br/><br/><br/><br/>
             <div id='error-message' class='entry'>
-               <h2>Internal Server Error</h2>
-                We messed up. Something is wrong with the server right now, and hopefully it will be fixed soon.
+               <h2><?=text($con, "ERROR_500", $lang);?></h2>
+                <?=text($con, "ERROR_500_DESC", $lang);?>
                 <br/><br/>
-                Try a solution:
+                <?=text($con, "ERROR_TRY", $lang);?>
                 <ul>
                     <li>
-                        <a href='javascript: location.reload();'>Try again.</a>
+                        <a href='javascript: location.reload();'><?=text($con, "ERROR_SOLUTION_0", $lang);?></a>
                     </li>
                     <li>
-                        <a href='javascript: history.go(-1);'>Go to the previous page.</a>
+                        <a href='javascript: history.go(-1);'><?=text($con, "ERROR_SOLUTION_1", $lang);?></a>
                     </li>
                     <li>
-                        <a href='<?=$lserver?>/'>Go to the main page</a>
+                        <a href='<?=$lserver?>/'><?=text($con, "ERROR_SOLUTION_2", $lang);?></a>
                     </li>
                 </ul>
             </div> <!-- #error_message -->

+ 4 - 4
www/help/index.php

@@ -17,7 +17,7 @@
         <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
         <meta charset='utf-8'/>
         <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
-        <title>I&ntilde;igo Valentin</title>
+        <title><?=text($con, "USER_NAME", $lang);?></title>
         <link rel='shortcut icon' href='<?=$lserver?>/img/logo/favicon.ico'/>
         <!-- CSS files -->
         <style>
@@ -44,15 +44,15 @@
         <link rel='author' href='<?=$lserver?>'/>
         <link rel='publisher' href='<?=$lserver?>'/>
         <meta name='description' content=''/>
-        <meta property='og:title' content='I&ntilde;igo Valentin'/>
+        <meta property='og:title' content='<?=text($con, "USER_NAME", $lang);?>'/>
         <meta property='og:url' content='<?=$lserver?>'/>
         <meta property='og:description' content=''/>
         <meta property='og:image' content=''/>
-        <meta property='og:site_name' content='I&ntilde;igo Valentin'/>
+        <meta property='og:site_name' content='<?=text($con, "USER_NAME", $lang);?>'/>
         <meta property='og:type' content='website'/>
         <meta property='og:locale' content='<?=$lang?>'/>
         <meta name='twitter:card' content='summary'/>
-        <meta name='twitter:title' content='I&ntilde;igo Valentin'/>
+        <meta name='twitter:title' content='<?=text($con, "USER_NAME", $lang);?>'/>
         <meta name='twitter:description' content=''/>
         <meta name='twitter:image' content=''/>
         <meta name='twitter:url' content='<?=$lserver?>'/>

+ 9 - 9
www/index.php

@@ -17,7 +17,7 @@
         <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
         <meta charset='utf-8'/>
         <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
-        <title>I&ntilde;igo Valentin</title>
+        <title><?=text($con, "USER_NAME", $lang);?></title>
         <link rel='shortcut icon' href='<?=$lserver?>/img/logo/x2/favicon.ico'/>
         <!-- CSS files -->
         <style>
@@ -44,15 +44,15 @@
         <link rel='author' href='<?=$lserver?>'/>
         <link rel='publisher' href='<?=$lserver?>'/>
         <meta name='description' content=''/>
-        <meta property='og:title' content='I&ntilde;igo Valentin'/>
+        <meta property='og:title' content='<?=text($con, "USER_NAME", $lang);?>'/>
         <meta property='og:url' content='<?=$lserver?>'/>
         <meta property='og:description' content=''/>
         <meta property='og:image' content='<?=$lserver?>/img/logo/x3/favicon.ico''/>
-        <meta property='og:site_name' content='I&ntilde;igo Valentin'/>
+        <meta property='og:site_name' content='<?=text($con, "USER_NAME", $lang);?>'/>
         <meta property='og:type' content='website'/>
         <meta property='og:locale' content='<?=$lang?>'/>
         <meta name='twitter:card' content='summary'/>
-        <meta name='twitter:title' content='I&ntilde;igo Valentin'/>
+        <meta name='twitter:title' content='<?=text($con, "USER_NAME", $lang);?>'/>
         <meta name='twitter:description' content=''/>
         <meta name='twitter:image' content='<?=$lserver?>/img/logo/x3/favicon.ico''/>
         <meta name='twitter:url' content='<?=$lserver?>'/>
@@ -60,7 +60,7 @@
     </head>
     <body>
         <div id='logo'>
-            <img id='logo' src='<?=$lserver?>/img/logo/x6/inigovalentin.png' alt='I&ntilde;igo Valentin'/>
+            <img id='logo' src='<?=$lserver?>/img/logo/x6/inigovalentin.png' alt='<?=text($con, "USER_NAME", $lang);?>'/>
         </div>
 <?php
         include $doc_root . "header.php";
@@ -69,15 +69,15 @@
             <div id='content_row'>
                 <div class='content_cell' id='content_cell_profile'>
                     <div class='section'>
-                        <h3 class='section_title'>I&ntilde;igo Valentin</h3>
+                        <h3 class='section_title'><?=text($con, "USER_NAME", $lang);?></h3>
                         <div class='entry'>
-                            <img id='profile' src='<?=$lserver?>/img/profile/x16/preview/0.png' alt='I&ntilde;igo Valentin' title='I&ntilde;igo Valentin' />
+                            <img id='profile' src='<?=$lserver?>/img/profile/x16/preview/0.png' alt='<?=text($con, "USER_NAME", $lang);?>' title='<?=text($con, "USER_NAME", $lang);?>' />
                         </div> <!-- .entry -->
                     </div> <!-- .section -->
                 </div> <!-- #content_cell_profile -->
                 <div class='content_cell' id='content_cell_content'>
                     <div class='section' id='projects_section'>
-                        <h3 class='section_title'>TR#Ultimos proyectos</h3>
+                        <h3 class='section_title'><?=text($con, 'INDEX_LATEST_PROJECTS', $lang)?></h3>
 <?php
                         $q_project = mysqli_query($con, "SELECT id, permalink, type, title, logo, header, license, (SELECT dtime FROM project_version WHERE project = p.id AND visible = 1 ORDER BY dtime desc LIMIT 1) AS modified FROM project p WHERE visible = 1 ORDER BY modified DESC LIMIT 3;");
                         while ($r_project = mysqli_fetch_array($q_project)){
@@ -109,7 +109,7 @@
 ?>
                     </div> <!-- .section -->
                     <div class='section' id='blog_section'>
-                        <h3 class='section_title'>TR#Ultimos posts</h3>
+                        <h3 class='section_title'><?=text($con, 'INDEX_LATEST_POSTS', $lang)?></h3>
 <?php
                         $q_blog = mysqli_query($con, "SELECT id, permalink, title, text, DATE_FORMAT(dtime, '%Y-%m-%dT%T') AS isodate, dtime, comments FROM post WHERE visible = 1 ORDER BY dtime DESC;");
                         while($r_blog = mysqli_fetch_array($q_blog)){

+ 11 - 11
www/profile/index.php

@@ -17,7 +17,7 @@
         <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
         <meta charset='utf-8'/>
         <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
-        <title><?=text($con, "PROFILE_TITLE", $lang)?> - I&ntilde;igo Valentin</title>
+        <title><?=text($con, "PROFILE_TITLE", $lang)?> - <?=text($con, "USER_NAME", $lang);?></title>
         <link rel='shortcut icon' href='<?=$lserver?>/img/logo/x2/favicon.ico'/>
         <!-- CSS files -->
         <style>
@@ -45,15 +45,15 @@
         <link rel='author' href='<?=$lserver?>'/>
         <link rel='publisher' href='<?=$lserver?>'/>
         <meta name='description' content='<?=text($con, "PROFILE_DESCRIPTION", $lang)?>'/>
-        <meta property='og:title' content='<?=text($con, "PROFILE_TITLE", $lang)?> - I&ntilde;igo Valentin'/>
+        <meta property='og:title' content='<?=text($con, "PROFILE_TITLE", $lang)?> - <?=text($con, "USER_NAME", $lang);?>'/>
         <meta property='og:url' content='<?=$lserver?>/me'/>
         <meta property='og:description' content='<?=text($con, "PROFILE_DESCRIPTION", $lang)?>'/>
         <meta property='og:image' content='<?=$lserver?>/img/logo/x3/favicon.ico'/>
-        <meta property='og:site_name' content='I&ntilde;igo Valentin'/>
+        <meta property='og:site_name' content='<?=text($con, "USER_NAME", $lang);?>'/>
         <meta property='og:type' content='website'/>
         <meta property='og:locale' content='<?=$lang?>'/>
         <meta name='twitter:card' content='summary'/>
-        <meta name='twitter:title' content='<?=text($con, "PROFILE_TITLE", $lang)?> - I&ntilde;igo Valentin'/>
+        <meta name='twitter:title' content='<?=text($con, "PROFILE_TITLE", $lang)?> - <?=text($con, "USER_NAME", $lang);?>'/>
         <meta name='twitter:description' content='<?=text($con, "PROFILE_DESCRIPTION", $lang)?>'/>
         <meta name='twitter:image' content='<?=$lserver?>/img/logo/x3/favicon.ico'/>
         <meta name='twitter:url' content='<?=$lserver?>'/>
@@ -65,27 +65,27 @@
 ?>
         <div id='content'>
             <div class='section section_no_title'>
-                <h3 id='name' class='section_title'>I&ntilde;igo Valentin</h3>
+                <h3 id='name' class='section_title'><?=text($con, "USER_NAME", $lang);?></h3>
                 <div class='entry' id='profile'>
                     <div class='table_row'>
                         <div class='table_cell'>
-                            <img id='profile' src='<?=$lserver?>/img/profile/x16/0.png' alt='I&ntilde;igo Valentin' title='I&ntilde;igo Valentin' />
+                            <img id='profile' src='<?=$lserver?>/img/profile/x16/0.png' alt='<?=text($con, "USER_NAME", $lang);?>' title='<?=text($con, "USER_NAME", $lang);?>' />
                         </div> <!-- .table_cell -->
                         <div class='table_cell'>
-                            <h4 id='tagline'>TR#Developer</h4>
-                            <p id='bio'>TR#Bio</p>
+                            <h4 id='tagline'><?=text($con, "USER_TAGLINE", $lang);?></h4>
+                            <p id='bio'><?=text($con, "USER_BIO", $lang);?></p>
                         </div> <!-- .table_cell -->
                     </div> <!-- .table_row -->
                 </div> <!-- #profile -->
             </div> <!-- .section -->
             <div class='section'>
-                <h3 class='section_title'>TR#Curriculum Vitae</h3>
+                <h3 class='section_title'><?=text($con, "PROFILE_CV", $lang);?></h3>
                 <ul class='cv_download'>
                     <li>
-                        <a target='_blank' href='TODO' title='I&ntilde;igo Valentin - TR#Curriculum Vitae'>TR#Download in currlang</a>
+                        <a target='_blank' href='TODO' title='<?=text($con, "USER_NAME", $lang);?> - <?=text($con, "PROFILE_CV", $lang);?>'>TR#Download in currlang</a>
                     </li>
                     <li>
-                        <a href='TODO' title='TR#Curriculum Vitae - Other languages'>TR#Download in other languages</a>
+                        <a href='TODO' title='<?=text($con, "PROFILE_CV_DOWNLOAD_LANG", $lang);?>'><?=text($con, "PROFILE_CV_DOWNLOAD_LANG", $lang);?></a>
                     </li>
                 </ul>
 <?php

+ 4 - 4
www/project/index.php

@@ -17,7 +17,7 @@
     <head>
         <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
         <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
-        <title><?=text($con, "PROJECT_TITLE", $lang)?> - I&ntilde;igo Valentin</title>
+        <title><?=text($con, "PROJECT_TITLE", $lang)?> - <?=text($con, "USER_NAME", $lang);?></title>
         <link rel='shortcut icon' href='<?=$lserver?>/img/logo/x2/favicon.ico'/>
         <!-- CSS files -->
         <style>
@@ -45,15 +45,15 @@
         <link rel='author' href='<?=$lserver?>'/>
         <link rel='publisher' href='<?=$lserver?>'/>
         <meta name='description' content='<?=text($con, "PROJECT_DESCRIPTION", $lang)?>'/>
-        <meta property='og:title' content='<?=text($con, "PROJECT_TITLE", $lang)?> - I&ntilde;igo Valentin'/>
+        <meta property='og:title' content='<?=text($con, "PROJECT_TITLE", $lang)?> - <?=text($con, "USER_NAME", $lang);?>'/>
         <meta property='og:url' content='<?=$lserver?>/project/'/>
         <meta property='og:description' content='<?=text($con, "PROJECT_DESCRIPTION", $lang)?>'/>
         <meta property='og:image' content='<?=$lserver?>/img/logo/x3/favicon.ico'/>
-        <meta property='og:site_name' content='I&ntilde;igo Valentin'/>
+        <meta property='og:site_name' content='<?=text($con, "USER_NAME", $lang);?>'/>
         <meta property='og:type' content='website'/>
         <meta property='og:locale' content='<?=$lang?>'/>
         <meta name='twitter:card' content='summary'/>
-        <meta name='twitter:title' content='<?=text($con, "PROJECT_TITLE", $lang)?> - I&ntilde;igo Valentin'/>
+        <meta name='twitter:title' content='<?=text($con, "PROJECT_TITLE", $lang)?> - <?=text($con, "USER_NAME", $lang);?>'/>
         <meta name='twitter:description' content='<?=text($con, "PROJECT_DESCRIPTION", $lang)?>'/>
         <meta name='twitter:image' content='<?=$lserver?>/img/logo/x3/favicon.ico'/>
         <meta name='twitter:url' content='<?=$lserver?>/project/'/>

+ 5 - 6
www/project/project.php

@@ -30,7 +30,7 @@
     <head>
         <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
         <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1"/>
-        <title><?=$title?> - I&ntilde;igo Valentin</title>
+        <title><?=$title?> - <?=text($con, "USER_NAME", $lang);?></title>
 <?php
         if (strlen($r_project["logo"]) > 0){
 ?>
@@ -69,7 +69,7 @@
         <link rel="author" href="<?=$lserver?>"/>
         <link rel="publisher" href="<?=$lserver?>"/>
         <meta name="description" content="<?=$summary?>"/>
-        <meta property="og:title" content="<?=$title?> - I&ntilde;igo Valentin"/>
+        <meta property="og:title" content="<?=$title?> - <?=text($con, "USER_NAME", $lang);?>"/>
         <meta property="og:url" content="<?=$lserver?>/project/<?=$r_project["permalink"]?>"/>
         <meta property="og:description" content="<?=$summary?>"/>
 <?php
@@ -84,11 +84,11 @@
 <?php
         }
 ?>
-        <meta property="og:site_name" content="I&ntilde;igo Valentin"/>
+        <meta property="og:site_name" content="<?=text($con, "USER_NAME", $lang);?>"/>
         <meta property="og:type" content="website"/>
         <meta property="og:locale" content="<?=$lang?>"/>
         <meta name="twitter:card" content="summary"/>
-        <meta name="twitter:title" content="<?=$title?> - I&ntilde;igo Valentin"/>
+        <meta name="twitter:title" content="<?=$title?> - <?=text($con, "USER_NAME", $lang);?>"/>
         <meta name="twitter:description" content="<?=$summary?>"/>
 <?php
         if (strlen($r_project["logo"]) == 0){
@@ -134,7 +134,7 @@
                 </div> <!-- #content_cell_main -->
                 <div class='content_cell'  id='content_cell_right'>
                     <div class='section' id='right_column'>
-                        <h3 class='section_title'>TR#Details</h3>
+                        <h3 class='section_title'><?=text($con, "PROJECT_DETAILS", $lang);?></h3>
                         <div class='entry'>
 <?php
                             $q_url = mysqli_query($con, "SELECT url, title, summary, logo FROM project_url, project_url_type WHERE project_url_type.id = project_url.type AND project = $id AND type <> 'E';");
@@ -193,7 +193,6 @@
                     <h4><?=text($con, "PROJECT_LICENSE_LEGAL", $lang)?></h4>
                     <div id='license_legal' class='license_text'><?=text($con, $r_license["legal"], $lang)?></div>
                 </div>
-            
             </div> <!-- #license -->
         </div> <!-- #content -->
 <?php