File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ function parse_var($sContent)
4747{
4848 $ sContent = str_replace ('{site_url} ' , RELATIVE , $ sContent );
4949 $ sContent = str_replace ('{static_url} ' , STATIC_URL , $ sContent );
50+ $ sContent = str_replace ('{lang} ' , LANG , $ sContent );
5051 $ sContent = str_replace ('{tpl_name} ' , TPL , $ sContent );
5152 $ sContent = str_replace ('{site_name} ' , SITE_NAME , $ sContent );
5253 $ sContent = str_replace ('{page_name} ' , get_page_name (), $ sContent );
Original file line number Diff line number Diff line change 2020
2121get_page (ROOT_PATH . 'themes/ ' . TPL . '/tpl/header.tpl ' );
2222
23- if (!empty ($ _GET ['p ' ]))
23+ if (!empty ($ _GET ['p ' ]))
2424{
2525 $ sPage = DATA_PATH . LANG . '/ ' . $ _GET ['p ' ] . '.tpl ' ;
2626 get_page ($ sPage );
Original file line number Diff line number Diff line change 11 </article >
2- </section >
3- </div >
2+ </section >
3+ </div >
44 </div >
55
66 <footer >
77 { menu_langs}
8- <p >By < a href =" http://cool-on-web .com" >cool on Web </a ></p >
8+ <p >Powered by < strong >< a href =" http://github .com/pH-7/Nav-Doc-Script-V2 " title = " Free PHP Documentation Script " >Nav Doc Script </a ></ strong >. < em >Proud to be open source!</ em ></p >
99 </footer >
1010
1111 </div >
1212
13- <script src =" http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" ></script >
14- <script src =" { static_url} js/ajph.js" ></script >
15- </body >
13+ <script src =" http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" ></script >
14+ <script src =" { static_url} js/ajph.js" ></script >
15+ </body >
1616</html >
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
2- <html >
2+ <html lang = " { lang } " >
33<head >
4- <meta charset =" utf-8" />
5- <title >{ page_name} - { site_name} </title >
6- <link rel =" stylesheet" href =" { site_url} themes/{ tpl_name} /css/common.css" />
7- <link rel =" stylesheet" href =" { site_url} themes/{ tpl_name} /css/js/ajph.css" />
4+ <meta charset =" utf-8" />
5+ <title >{ page_name} - { site_name} </title >
6+ <meta name =" author" content =" Pierre-Henry Soria" />
7+ <link rel =" stylesheet" href =" { site_url} themes/{ tpl_name} /css/common.css" />
8+ <link rel =" stylesheet" href =" { site_url} themes/{ tpl_name} /css/js/ajph.css" />
89</head >
910
1011<body >
1112 <div class =" center" id =" block" >
1213
13- <header >
14- <h1 ><a id =" logo" href =" { site_url} " data-load =" ajax" >{ site_name} </a ></h1 >
15- </header >
14+ <header >
15+ <h1 ><a id =" logo" href =" { site_url} " data-load =" ajax" >{ site_name} </a ></h1 >
16+ </header >
1617
17- <div id =" ajph" >
18+ <div id =" ajph" >
1819 <div id =" sub_ajph" >
1920
20- <section >
21+ <section >
2122 <article >
You can’t perform that action at this time.
0 commit comments