Changeset 10
- Timestamp:
- 08/09/05 01:23:02 (7 years ago)
- Location:
- trunk
- Files:
-
- 36 modified
-
actions/admin/delete_image.action.php (modified) (1 diff)
-
dntp/action.php (modified) (1 diff)
-
dotnode-action.php (modified) (1 diff)
-
dotnode-dotpage.php (modified) (2 diffs)
-
dotnode-error.php (modified) (1 diff)
-
dotnode-id.php (modified) (4 diffs)
-
dotnode-new.php (modified) (3 diffs)
-
dotnode-pub.php (modified) (1 diff)
-
dotnode-response.php (modified) (1 diff)
-
dotnode-xml.php (modified) (2 diffs)
-
includes/EDIT_config_server.inc.php (modified) (1 diff)
-
includes/config.inc.php (modified) (2 diffs)
-
locale/ca_ES/LC_MESSAGES/dotnode.mo (modified) (previous)
-
locale/de_DE/LC_MESSAGES/dotnode.mo (modified) (previous)
-
locale/en_L33T/LC_MESSAGES/dotnode.mo (modified) (previous)
-
locale/es_ES/LC_MESSAGES/dotnode.mo (modified) (previous)
-
locale/fa_IR/LC_MESSAGES/dotnode.mo (modified) (previous)
-
locale/fr_FR/LC_MESSAGES/dotnode.mo (modified) (previous)
-
locale/ja_JP/LC_MESSAGES/dotnode.mo (modified) (previous)
-
locale/pt_BR/LC_MESSAGES/dotnode.mo (modified) (previous)
-
smarty/templates/ReportBogus.tpl (modified) (1 diff)
-
smarty/templates/album/view.tpl (modified) (1 diff)
-
smarty/templates/communities/create.tpl (modified) (1 diff)
-
smarty/templates/communities/edit.tpl (modified) (2 diffs)
-
smarty/templates/communities/last.tpl (modified) (1 diff)
-
smarty/templates/communities/mine.tpl (modified) (1 diff)
-
smarty/templates/help/about/promote.tpl (modified) (1 diff)
-
smarty/templates/index.tpl (modified) (1 diff)
-
smarty/templates/index_foot.tpl (modified) (2 diffs)
-
smarty/templates/irc.tpl (modified) (1 diff)
-
smarty/templates/my.tpl (modified) (1 diff)
-
smarty/templates/my/settings.tpl (modified) (1 diff)
-
smarty/templates/new.tpl (modified) (1 diff)
-
smarty/templates/profile.tpl (modified) (1 diff)
-
smarty/templates/pub.tpl (modified) (2 diffs)
-
smarty/templates/pub/no-hp.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/actions/admin/delete_image.action.php
r1 r10 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 24 25 if($_SESSION['my_login'] == 'alexx' || $_SESSION['my_login'] == 'mathieu')25 if($_SESSION['my_login'] == $config['admin_login']) 26 26 { 27 27 list($id_image, $ext) = split("\.", basename($_POST['image_path'])); -
trunk/dntp/action.php
r1 r10 54 54 header("HTTP/1.1 403 Forbidden"); 55 55 print $_SERVER["PHP_SELF"].": Action forbidden<br />\n"; 56 if($_SERVER['REMOTE_ADDR'] == "82.226.113.191")56 if($_SERVER['REMOTE_ADDR'] == $config['admin_ip']) 57 57 print ACTIONSPATH.'/'.$action; 58 58 } -
trunk/dotnode-action.php
r1 r10 62 62 header("HTTP/1.1 403 Forbidden"); 63 63 print $_SERVER["PHP_SELF"].": Action forbidden<br />\n"; 64 if($_SERVER['REMOTE_ADDR'] == MY_IP)64 if($_SERVER['REMOTE_ADDR'] == $config['admin_ip']) 65 65 print ACTIONSPATH.'/'.$action; 66 66 } -
trunk/dotnode-dotpage.php
r1 r10 121 121 $tpl='default.tpl'; 122 122 123 $ smarty->assign('tpl', $tpl);124 $ smarty->assign('token', $token);123 $_SMARTY['tpl'] = $tpl; 124 $_SMARTY['token'] = $token; 125 125 126 127 $smarty->assign('profile', $user); 128 $smarty->assign('dotpage_css', $dotpage_css); 126 $_SMARTY['profile'] = $user; 127 $_SMARTY['dotpage_css'] = $dotpage_css; 129 128 } 130 129 … … 140 139 } 141 140 142 $smarty->assign('css', $css); 143 $smarty->assign('lang', $lang); 141 $_SMARTY['css'] = $css; 142 $_SMARTY['lang'] = $lang; 143 144 $smarty->assign($_SMARTY); 144 145 145 146 header('Content-type: text/html; charset=UTF-8'); -
trunk/dotnode-error.php
r1 r10 138 138 139 139 if($_SESSION['my_id']) 140 $ smarty->assign('menu', $menu['main']);140 $_SMARTY['menu'] = $menu['main']; 141 141 else 142 $ smarty->assign('menu', $menu['pub']);142 $_SMARTY['menu'] = $menu['pub']; 143 143 144 $smarty->assign('token', $token); 144 $_SMARTY['token'] = $token; 145 $_SMARTY['Title'] = $title; 146 $_SMARTY['errorMsg'] = $error_msg; 147 $_SMARTY['tpl'] = 'error.tpl'; 145 148 146 $smarty->assign('Title',$title); 147 $smarty->assign('errorMsg',$error_msg); 148 149 $smarty->assign('tpl','error.tpl'); 150 151 if($_SERVER['REMOTE_ADDR'] == "82.225.136.176") 149 if($_SERVER['REMOTE_ADDR'] == $config['admin_ip']) 152 150 { 153 151 $debug['session'] = $_SESSION; 154 $smarty->assign('debug', $debug);155 $smarty->assign('lang',$lang);156 $smarty->assign('php_mem',memory_get_usage()/1024);157 $smarty->assign('inc',$inc);152 $_SMARTY['debug'] = $debug; 153 $_SMARTY['lang'] = $lang; 154 $_SMARTY['php_mem'] = memory_get_usage()/1024; 155 $_SMARTY['inc'] = $inc; 158 156 } 157 158 $smarty->assign($_SMARTY); 159 159 160 160 header('Content-type: text/html; charset=UTF-8'); -
trunk/dotnode-id.php
r1 r10 41 41 $smarty->compile_id = 'www'; 42 42 43 if($_SESSION['my_login'] = 'alexx')44 $smarty->debugging_ctrl = true;45 46 43 $smarty->register_block('t', 'smarty_translate'); 47 44 $smarty->register_modifier('wikise', 'Wikise'); … … 72 69 session_start(); 73 70 71 if($_SESSION['my_login'] == $config['admin_login']) 72 $smarty->debugging_ctrl = true; 73 else 74 $smarty->debugging_ctrl = false; 75 74 76 if(strlen($token[1]) == 32) 75 77 list($url_id) = array_splice($token, 1,1); … … 112 114 unset($help_tpl); 113 115 else 114 $ smarty->assign('help_tpl', $help_tpl);116 $_SMARTY['help_tpl'] = $help_tpl; 115 117 116 118 for($idx=(count($token)-1); $idx>=0; $idx--) … … 182 184 183 185 // Exportation des donnees pour Smarty 184 $smarty->assign('token',$token); 185 $smarty->assign('full_smenu',$smenu); 186 $smarty->assign('full_ssmenu',$ssmenu); 187 188 $smarty->assign('menu',$menu['main']); 189 $smarty->assign('smenu',$smenu[$token[0]]); 190 $smarty->assign('ssmenu',$ssmenu[$token[0]][$token[1]]); 191 192 $smarty->assign('tpl',$tpl); 193 194 $smarty->assign('url_id', $url_id); 195 $smarty->assign('nyrk',$nyrk); 196 $smarty->assign('labels', $labels); 197 $smarty->assign('access_fields', $access_fields); 198 199 if($_SESSION['my_login'] == 'alexx') 186 $_SMARTY['token'] = $token; 187 $_SMARTY['full_smenu'] = $smenu; 188 $_SMARTY['full_ssmenu'] = $ssmenu; 189 $_SMARTY['menu'] = $menu['main']; 190 $_SMARTY['smenu'] = $smenu[$token[0]]; 191 $_SMARTY['ssmenu'] = $ssmenu[$token[0]][$token[1]]; 192 $_SMARTY['tpl'] = $tpl; 193 194 $_SMARTY['url_id'] = $url_id; 195 $_SMARTY['nyrk'] = $nyrk; 196 $_SMARTY['labels'] = $labels; 197 $_SMARTY['access_fields'] = $access_fields; 198 199 if($_SESSION['my_login'] == $config['admin_login']) 200 200 { 201 201 $debug['session'] = $_SESSION; 202 $smarty->assign('debug', $debug); 203 $smarty->assign('lang',$lang); 204 $smarty->assign('php_mem',memory_get_usage()/1024); 205 $smarty->assign('inc',$inc); 206 } 202 $_SMARTY['debug'] = $debug; 203 $_SMARTY['lang'] = $lang; 204 $_SMARTY['php_mem']= memory_get_usage()/1024; 205 $_SMARTY['inc'] = $inc; 206 } 207 208 // Assignation of smarty var 209 $smarty->assign($_SMARTY); 207 210 208 211 // Affiche du template -
trunk/dotnode-new.php
r1 r10 36 36 $smarty->compile_id = 'new'; 37 37 38 $smarty->debugging_ctrl = true;38 $smarty->debugging_ctrl = false; 39 39 40 40 $smarty->register_block('t', 'smarty_translate'); … … 75 75 unset($help_tpl); 76 76 else 77 $ smarty->assign('help_tpl', $help_tpl);77 $_SMARTY['help_tpl'] = $help_tpl; 78 78 79 79 … … 124 124 // Exportation des donnees pour Smarty 125 125 126 $ smarty->assign('token',$token);127 $ smarty->assign('menu',$menu['main']);128 $ smarty->assign('smenu',$smenu[$token[0]]);129 $ smarty->assign('ssmenu',$ssmenu[$token[0]][$token[1]]);126 $_SMARTY['token'] = $token; 127 $_SMARTY['menu'] = $menu['main']; 128 $_SMARTY['smenu'] = $smenu[$token[0]]; 129 $_SMARTY['ssmenu'] = $ssmenu[$token[0]][$token[1]]; 130 130 131 $ smarty->assign('tpl',$tpl);131 $_SMARTY['tpl'] = $tpl; 132 132 133 $ smarty->assign('url_id', $url_id);134 $ smarty->assign('nyrk',$nyrk);135 $ smarty->assign('labels', $labels);136 $ smarty->assign('access_fields', $access_fields);137 $ smarty->assign('lang',$lang);133 $_SMARTY['url_id'] = $url_id; 134 $_SMARTY['nyrk'] = $nyrk; 135 $_SMARTY['labels'] = $labels; 136 $_SMARTY['access_fields'] = $access_fields; 137 $_SMARTY['lang'] = $lang; 138 138 139 if($_SERVER['REMOTE_ADDR'] == "82.226.113.191" || $_SERVER['REMOTE_ADDR'] == "81.56.215.231")139 if($_SERVER['REMOTE_ADDR'] == $config['admin_ip']) 140 140 { 141 141 $debug['session'] = $_SESSION; 142 $ smarty->assign('debug', $debug);143 $ smarty->assign('php_mem',memory_get_usage()/1024);144 $ smarty->assign('inc',$inc);142 $_SMARTY['debug'] = $debug; 143 $_SMARTY['php_mem'] = memory_get_usage()/1024; 144 $_SMARTY['inc'] = $inc; 145 145 } 146 147 $smarty->assign($_SMARTY); 146 148 147 149 // Affiche du template -
trunk/dotnode-pub.php
r1 r10 77 77 // Exportation des donnees pour Smarty 78 78 79 $ smarty->assign('token',$token);80 $ smarty->assign('menu',$menu['pub']);81 $ smarty->assign('smenu',$smenu['pub']);79 $_SMARTY['token'] = $token; 80 $_SMARTY['menu'] = $menu['pub']; 81 $_SMARTY['smenu'] = $smenu['pub']; 82 82 83 $ smarty->assign('tpl',$tpl);84 $ smarty->assign('lang',$lang);83 $_SMARTY['tpl'] = $tpl; 84 $_SMARTY['lang'] = $lang; 85 85 // Affiche du template 86 86 87 if($_SERVER['REMOTE_ADDR'] == '82.225.136.176')87 if($_SERVER['REMOTE_ADDR'] == $config['admin_ip']) 88 88 { 89 89 $debug['session'] = $_SESSION; 90 $smarty->assign('debug', $debug);91 $smarty->assign('php_mem',memory_get_usage()/1024);92 $ smarty->assign('inc',$inc);90 $_SMARTY['debug'] = $debug; 91 $_SMARTY['php_mem'] = memory_get_usage()/1024; 92 $_SMARTY['inc'] = $inc; 93 93 } 94 95 $smarty->assign($_SMARTY); 96 94 97 header('Content-type: text/html; charset=UTF-8'); 95 98 // ob_start('ob_gzhandler'); -
trunk/dotnode-response.php
r1 r10 58 58 header("HTTP/1.1 403 Forbidden"); 59 59 print $_SERVER["PHP_SELF"].": Response forbidden<br />\n"; 60 if($_SERVER['REMOTE_ADDR'] == "82.226.113.191")60 if($_SERVER['REMOTE_ADDR'] == $config['admin_ip']) 61 61 print RESPONSESPATH.'/'.$response; 62 62 } -
trunk/dotnode-xml.php
r1 r10 37 37 $smarty->config_dir = SMARTYPATH.'/configs/'; 38 38 $smarty->cache_dir = SMARTYPATH.'/cache/'; 39 $smarty->debugging_ctrl = true;39 $smarty->debugging_ctrl = false; 40 40 $smarty->register_modifier('wikise', 'Wikise'); 41 41 $smarty->compile_id = 'xml'; … … 110 110 $tpl='default.tpl'; 111 111 112 $_SMARTY['tpl'] = $tpl; 113 $_SMARTY['token'] = $token; 114 $_SMARTY['url_id'] = $url_id; 115 $_SMARTY['profile'] = $user; 112 116 $smarty->assign($_SMARTY); 113 $smarty->assign('tpl', $tpl);114 $smarty->assign('token', $token);115 $smarty->assign('url_id', $url_id);116 $smarty->assign('profile', $user);117 117 } 118 118 -
trunk/includes/EDIT_config_server.inc.php
r1 r10 25 25 26 26 $config['domain'] = 'xxx.dotnode.net'; 27 $config['email'] = 'email_of_a_resp'; 28 $config['admin_login'] = 'admin_login'; 29 $config['admin_ip'] = 'admin_ip'; 27 30 28 31 $dsn = array( -
trunk/includes/config.inc.php
r1 r10 22 22 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 23 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 25 require "config_server.inc.php";26 24 27 25 if(array_key_exists('DOCUMENT_ROOT', $_SERVER) && strlen($_SERVER['DOCUMENT_ROOT']) > 0) … … 50 48 define('ALBUM_IMAGE_H', 708); 51 49 50 if(file_exists(INCLUDESPATH.'/config_server.inc.php')) 51 require 'config_server.inc.php'; 52 else 53 die('Edit includes/EDIT_config_server.inc.php and rename it in config_server.inc.php'); 54 55 $_SMARTY['config'] = $config; 56 52 57 ini_set('register_globals', 'off'); 53 58 ini_set('error_log', BASEPATH.'/../log/php.log'); -
trunk/smarty/templates/ReportBogus.tpl
r1 r10 1 1 <h2>{t}You have found a problem ?{/t}</h2> 2 {t escape=no 1=$smarty.get.url }If you have found a problem (bad translation, bug, illegal thing, explicit content, ...) on page "<a href='%1'>http://dotnode.com%1</a>", report it here. Describe the problem and send the message.{/t}2 {t escape=no 1=$smarty.get.url 2=$config.domain}If you have found a problem (bad translation, bug, illegal thing, explicit content, ...) on page "<a href='%1'>http://%2%1</a>", report it here. Describe the problem and send the message.{/t} 3 3 <br /> 4 4 <form action='/action/ReportBogus/send' method='post'> -
trunk/smarty/templates/album/view.tpl
r1 r10 11 11 <div style="clear:both"></div> 12 12 13 {if $smarty.session.my_login== 'alexx' || $smarty.session.my_login=='mathieu'}13 {if $smarty.session.my_login==$config.admin_login} 14 14 <form action='/action/{$url_id}/admin/delete_image' method='post'> 15 15 Indiquer les raisons de la suppression de l'image:<br /> -
trunk/smarty/templates/communities/create.tpl
r1 r10 31 31 <tr class='{cycle name='parity' values='odd,even'}'> 32 32 <td colspan='2' align='center'><span class='label'>{t}Type the code displayed inside this image{/t} :</span> 33 <input type='text' name='code' maxlength='4' size='4' /><br /><img style='border: 2px silver solid; padding: 2px;width:237px; height: 48px;' src='/pix/{$smarty.now}.png' alt='{t }If you have trouble, send an email on: pixcode-pb@dotnode.net{/t}'/></td>33 <input type='text' name='code' maxlength='4' size='4' /><br /><img style='border: 2px silver solid; padding: 2px;width:237px; height: 48px;' src='/pix/{$smarty.now}.png' alt='{t 1=$config.email}If you have trouble, send an email on: %1{/t}'/></td> 34 34 </tr> 35 35 -
trunk/smarty/templates/communities/edit.tpl
r1 r10 60 60 </form> 61 61 62 {if $smarty.session.my_login == 'alexx'}62 {if $smarty.session.my_login == $config.admin_login} 63 63 <br /> 64 64 {if $community.info.status=='ok'} … … 70 70 <label for='reason'>{t}Explain why they should unjoin your community{/t}.<br > 71 71 {t}It can be{/t}:<br /> 72 <i>"{t}because it's redondant with the community{/t} http:// dotnode.com/communities/view/XXXX"</i></label><br />72 <i>"{t}because it's redondant with the community{/t} http://{$config.domain}/communities/view/XXXX"</i></label><br /> 73 73 <textarea id='reason' name='reason' cols='60' rows='5'></textarea><br /> 74 74 {else} -
trunk/smarty/templates/communities/last.tpl
r1 r10 3 3 <p>{t}Follow the creation of the communities with RSS:{/t}</p> 4 4 <ul> 5 <li><a href='http://alexx.ikse.org/addpanel.php?rss=http:// dotnode.com/xml/rss/communities/last'>{t}SideBar builder for Mozilla Firefox{/t}</a></li>6 <li><a href='http:// dotnode.com/xml/rss/communities/last'>{t}Directly the RSS{/t}</a></li>5 <li><a href='http://alexx.ikse.org/addpanel.php?rss=http://{$config.domain}/xml/rss/communities/last'>{t}SideBar builder for Mozilla Firefox{/t}</a></li> 6 <li><a href='http://{$config.domain}/xml/rss/communities/last'>{t}Directly the RSS{/t}</a></li> 7 7 </ul> 8 8 -
trunk/smarty/templates/communities/mine.tpl
r1 r10 5 5 <p>{t}Follow your communities activities with RSS:{/t}</p> 6 6 <ul> 7 <li><a href='http://alexx.ikse.org/addpanel.php?rss=http:// dotnode.com/xml/{$url_id}/rss/communities'>{t}SideBar builder for Mozilla Firefox{/t}</a></li>8 <li><a href='http:// dotnode.com/xml/{$url_id}/rss/communities'>{t}Directly the RSS{/t}</a></li>7 <li><a href='http://alexx.ikse.org/addpanel.php?rss=http://{$config.domain}/xml/{$url_id}/rss/communities'>{t}SideBar builder for Mozilla Firefox{/t}</a></li> 8 <li><a href='http://{$config.domain}/xml/{$url_id}/rss/communities'>{t}Directly the RSS{/t}</a></li> 9 9 </ul> 10 10 -
trunk/smarty/templates/help/about/promote.tpl
r1 r10 2 2 <h3>{t}Insert a logo on your site{/t}</h3> 3 3 <p> 4 <img src='http:// dotnode.com/img/dotnode-member8015.png' alt='See my .page' style='width:80px; height: 15px; border:none;' /><br />4 <img src='http://{$config.domain}/img/dotnode-member8015.png' alt='See my .page' style='width:80px; height: 15px; border:none;' /><br /> 5 5 {t}In order to display this logo, simply copy the HTML code and insert it into your page{/t} : 6 6 <pre style='border: 1px gray solid; padding: 5px'> 7 <a href='http://{$smarty.session.my_login}. dotnode.com' title='See my .page'>8 <img src='http://{$smarty.session.my_login}. dotnode.com/img/dotnode-member8015.png' alt='See my .page' style='width:80px; height: 15px; border:none;' />7 <a href='http://{$smarty.session.my_login}.{$config.domain}' title='See my .page'> 8 <img src='http://{$smarty.session.my_login}.{$config.domain}/img/dotnode-member8015.png' alt='See my .page' style='width:80px; height: 15px; border:none;' /> 9 9 </a> 10 10 </pre> -
trunk/smarty/templates/index.tpl
r8 r10 141 141 {t}Display problem with this site ?{/t} <a href='/help/about#standard'>{t}See this page about Web standard{/t}</a></p> 142 142 {/if} 143 <form style="display: inline;" method='post' id='cnil' action='http://www.cnil.fr/index.php?id=29'><p>{t}CNIL registration number{/t}: <input type='hidden' name='txtCritere' value='1011429' /><a href='http://www.cnil.fr/index.php?id=29' onClick="document.forms['cnil'].submit(); return false;">1011429</a> - {t}To contact me{/t} : {mailto address= "nyrk@dotnode.com"encode="javascript"}</p></form>143 <form style="display: inline;" method='post' id='cnil' action='http://www.cnil.fr/index.php?id=29'><p>{t}CNIL registration number{/t}: <input type='hidden' name='txtCritere' value='1011429' /><a href='http://www.cnil.fr/index.php?id=29' onClick="document.forms['cnil'].submit(); return false;">1011429</a> - {t}To contact me{/t} : {mailto address=$config.email encode="javascript"}</p></form> 144 144 <p> 145 145 <a href="http://www.ikse.net" ><img style="width:88px;height:31px" src="http://ikse.net/images/ikse.net-88x31.png" alt="Hosted by Ikse.net" /></a> 146 146 {if $token[0] == 'pub'} 147 147 <a href="http://validator.w3.org/check/referer"><img style="width:88px;height:31px" src="/img/xhtml-1.png" alt="Valid XHTML 1.0!" height="31" width="88" /></a> 148 <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2F dotnode.com%2Fdefault.css&warning=2&profile=css2&usermedium=all"><img style="width:88px;height:31px" src="/img/css.png" alt="Valid CSS!" /></a>148 <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2F{$config.domain}%2Fdefault.css&warning=2&profile=css2&usermedium=all"><img style="width:88px;height:31px" src="/img/css.png" alt="Valid CSS!" /></a> 149 149 {/if} 150 150 </p> 151 {if $smarty.server.REMOTE_ADDR eq "82.226.113.191"}151 {if $smarty.server.REMOTE_ADDR eq $config.admin_ip} 152 152 Template utilisé : {$tpl}<br /> 153 153 Help template utilisé : {$help_tpl}<br /> -
trunk/smarty/templates/index_foot.tpl
r1 r10 9 9 {t}Display problem with this site ?{/t} <a href='/help/about#standard'>{t}See this page about Web standard{/t}</a></p> 10 10 {/if} 11 <form style="display: inline;" method='post' id='cnil' action='http://www.cnil.fr/index.php?id=29'><p>{t}CNIL registration number{/t}: <input type='hidden' name='txtCritere' value='1011429' /><a href='http://www.cnil.fr/index.php?id=29' onClick="document.forms['cnil'].submit(); return false;">1011429</a> - {t}To contact me{/t} : {mailto address= "nyrk@dotnode.com"encode="javascript"}</p></form>11 <form style="display: inline;" method='post' id='cnil' action='http://www.cnil.fr/index.php?id=29'><p>{t}CNIL registration number{/t}: <input type='hidden' name='txtCritere' value='1011429' /><a href='http://www.cnil.fr/index.php?id=29' onClick="document.forms['cnil'].submit(); return false;">1011429</a> - {t}To contact me{/t} : {mailto address=$config.email encode="javascript"}</p></form> 12 12 <p> 13 13 <a href="http://www.spreadfirefox.com/?q=affiliates&id=49635&t=70"><img border="0" alt="Get Firefox!" title="Get Firefox!" src="http://sfx-images.mozilla.org/affiliates/Buttons/88x31/get.gif"/></a> … … 15 15 </p> 16 16 17 {if $smarty.session.my_login eq 'alexx'}17 {if $smarty.session.my_login eq $config.admin_login} 18 18 :: {$smarty.env.LANG} :: 19 19 Template utilisé : {$tpl}<br /> -
trunk/smarty/templates/irc.tpl
r1 r10 19 19 <param name="command2" value="/join #dotnode-en"> 20 20 {/if} 21 <param name="quitmessage" value=".node forever! See my .page : http://{$smarty.session.my_login}. dotnode.com">21 <param name="quitmessage" value=".node forever! See my .page : http://{$smarty.session.my_login}.{$config.domain}"> 22 22 <param name="asl" value="true"> 23 23 -
trunk/smarty/templates/my.tpl
r1 r10 111 111 {/if} 112 112 113 <p><img class='icon' src='/img/help.png' alt='help' align='left' /> {t}Tell people your dotpage address:{/t} <a href='http://{$my.info.login}. dotnode.com'>{$my.info.login}.dotnode.com</a>113 <p><img class='icon' src='/img/help.png' alt='help' align='left' /> {t}Tell people your dotpage address:{/t} <a href='http://{$my.info.login}.{$config.domain}'>{$my.info.login}.{$config.domain}</a> 114 114 </p> 115 115 -
trunk/smarty/templates/my/settings.tpl
r1 r10 45 45 *} 46 46 <tr class='{cycle values='odd,even'}'> 47 <td align='right' class='label'>{t escape='no' 1=$smarty.session.my_login }<b>Publish my .page</b><br />(<a href='http://%1.dotnode.com'>%1.dotnode.com</a>: blog, album, ...){/t} : </td>47 <td align='right' class='label'>{t escape='no' 1=$smarty.session.my_login 2=domain}<b>Publish my .page</b><br />(<a href='http://%1.%2'>%1.%2</a>: blog, album, ...){/t} : </td> 48 48 <td class='value' nowrap='nowrap'>{html_radios name='publish' options=$labels.yesno checked=$my.settings.publish}</td> 49 49 <td rowspan='2' style='vertical-align: middle'>({t}this parameter take 10 minutes to be applied{/t})</td> -
trunk/smarty/templates/new.tpl
r1 r10 13 13 <span class='label'>{t}Comfirm password{/t}:</span> <input type='password' name='passwd2' /><br /> 14 14 <span class='label'>{t}Type the code displayed inside this image{/t} :</span> <input type='text' name='code' maxlength='4' size='4' /><br /> 15 <img style='border: 2px silver solid; padding: 2px;width:237px; height: 48px;' src='/pix/{$smarty.now}.png' alt='{t }If you have trouble, send an email on: pixcode-pb@dotnode.net{/t}'/><br />15 <img style='border: 2px silver solid; padding: 2px;width:237px; height: 48px;' src='/pix/{$smarty.now}.png' alt='{t 1=$config.email}If you have trouble, send an email on: %1{/t}'/><br /> 16 16 <br /> 17 17 <input type='submit' name='accept' value='{t}Accept{/t}' /> -
trunk/smarty/templates/profile.tpl
r1 r10 271 271 {include file=_profile/all.tpl} 272 272 273 {if $smarty.session.my_login== 'alexx' || $smarty.session.my_login=='mathieu'}273 {if $smarty.session.my_login==$config.admin_login} 274 274 <form action='/action/{$url_id}/admin/delete_photo' method='post'> 275 275 Indiquer les raisons de la suppression de la photo:<br /> -
trunk/smarty/templates/pub.tpl
r1 r10 1 1 <h2>{t}What is it ?{/t}</h2> 2 2 <div id='loginbox'> 3 {if $smarty.server.REMOTE_ADDR == 'ok82.226.113.191'}4 5 <fieldset>6 <legend>En maintenance !</legend>7 .node est en cours de conversion en UTF-8 pour accepter des langues avec un alphabet diff�nt.<br />8 <br />9 Merci de votre comprehension. Retour prevu a 10h30 (j'espere).<br />10 (cela fonctionne d� presque parfaitement ... plus que 2-3 petites choses ��er)<br />11 <br />12 Alexx <br />13 </fieldset>14 15 {else}16 3 17 4 <form action='/action/login' method='post' onSubmit="document.getElementById('md5_passwd').value = MD5_hexhash(document.getElementById('passwd').value);"> … … 29 16 </form> 30 17 31 {/if}32 33 18 </div> 34 19 <p><img src='/img/who_do_you.png' alt="Who do you want to meet today ?" align='left' style='margin-right: 10px;'/> -
trunk/smarty/templates/pub/no-hp.tpl
r1 r10 1 <h2>{t}No dotPage for this .node member{/t}</h2> 2 <p>{t}This member haven't join a photo to his profile. His dotPage is disabled{/t}.</p> 3 <p>{t}You can see dotPage's examples at{/t} : <a href='http://alexx.dotnode.com'>http://alexx.dotnode.com</a>, <a href='http://mathieu.dotnode.com'>http://mathieu.dotnode.com</a>.</p> 1 <h2>{t}No .page for this .node member{/t}</h2> 2 <p>{t}Sorry{/t}</p>
