Changeset 316
- Timestamp:
- 01/12/05 10:51:16 (8 years ago)
- Location:
- trunk/wifidog-auth
- Files:
-
- 5 added
- 18 modified
-
ChangeLog (modified) (1 diff)
-
wifidog/classes/SmartyWifidog.php (modified) (2 diffs)
-
wifidog/hotspot_status.php (modified) (3 diffs)
-
wifidog/include/common.php (modified) (3 diffs)
-
wifidog/include/user_management_menu.php (modified) (2 diffs)
-
wifidog/index.php (modified) (1 diff)
-
wifidog/local_content/default/footer.html (modified) (1 diff)
-
wifidog/local_content/default/footer_portal.html (added)
-
wifidog/local_content/default/header.html (modified) (1 diff)
-
wifidog/local_content/default/header_login.html (added)
-
wifidog/local_content/default/header_portal.html (added)
-
wifidog/local_content/default/login.html (modified) (2 diffs)
-
wifidog/local_content/default/portal.html (modified) (1 diff)
-
wifidog/login/index.php (modified) (4 diffs)
-
wifidog/node_list.php (modified) (2 diffs)
-
wifidog/portal/index.php (modified) (2 diffs)
-
wifidog/templates/footer.html (added)
-
wifidog/templates/header.html (modified) (1 diff)
-
wifidog/templates/hotspot_status.html (modified) (2 diffs)
-
wifidog/templates/lang_menu.html (added)
-
wifidog/templates/main.html (modified) (1 diff)
-
wifidog/templates/node_list.html (modified) (4 diffs)
-
wifidog/templates/user_management_menu.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/ChangeLog
r315 r316 1 1 # $Header$ 2 2004-01-12 Philippe April <isf_lists@philippeapril.com> 3 * i18n and smarty'ized parts 4 2 5 2004-01-11 Benoit Gr�goire <bock@step.polymtl.ca> 3 6 * INSTALL: Mandate PHP5 -
trunk/wifidog-auth/wifidog/classes/SmartyWifidog.php
r227 r316 50 50 $this->config_dir = BASEPATH.'tmp/smarty/configs/'; 51 51 $this->cache_dir = BASEPATH.'tmp/smarty/cache/'; 52 53 $this->register_modifier("_","_"); 52 54 53 55 $this->caching = false; … … 62 64 $this->assign('header_file',DEFAULT_CONTENT_SMARTY_PATH.PAGE_HEADER_NAME); 63 65 } 66 67 if (is_file(NODE_CONTENT_PHP_RELATIVE_PATH.PORTAL_PAGE_NAME)) { 68 $this->assign('portal_page', NODE_CONTENT_SMARTY_PATH.PORTAL_PAGE_NAME); 69 } else { 70 $this->assign('portal_page', DEFAULT_CONTENT_SMARTY_PATH.PORTAL_PAGE_NAME); 71 } 72 73 if (is_file(NODE_CONTENT_PHP_RELATIVE_PATH.PORTAL_PAGE_NAME)) { 74 $this->assign('login_page', NODE_CONTENT_SMARTY_PATH.LOGIN_PAGE_NAME); 75 } else { 76 $this->assign('login_page', DEFAULT_CONTENT_SMARTY_PATH.LOGIN_PAGE_NAME); 77 } 64 78 65 79 if (is_file(NODE_CONTENT_PHP_RELATIVE_PATH.PAGE_FOOTER_NAME)) -
trunk/wifidog-auth/wifidog/hotspot_status.php
r315 r316 30 30 require_once BASEPATH.'classes/SmartyWifidog.php'; 31 31 32 33 if(!empty($_REQUEST['format'])) 34 { 32 $smarty = new SmartyWifidog; 33 $session = new Session(); 34 $stats = new Statistics(); 35 36 include BASEPATH.'include/language.php'; 37 38 if(!empty($_REQUEST['format'])) { 35 39 $format = $_REQUEST['format']; 36 } 37 else 38 { 39 $format = null; 40 } 41 $style = new Style(); 42 $stats = new Statistics(); 40 } else { 41 $format = null; 42 } 43 43 44 44 $db->ExecSql("SELECT *, (NOW()-last_heartbeat_timestamp) AS since_last_heartbeat, EXTRACT(epoch FROM creation_date) as creation_date_epoch, CASE WHEN ((NOW()-last_heartbeat_timestamp) < interval '5 minutes') THEN true ELSE false END AS is_up FROM nodes WHERE node_deployment_status = 'DEPLOYED' OR node_deployment_status = 'NON_WIFIDOG_NODE' ORDER BY creation_date", $node_results, false); 45 45 46 if($format=='RSS') 47 { 48 Header("Cache-control: private, no-cache, must-revalidate"); 49 Header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); # Past date 50 Header("Pragma: no-cache"); 51 Header("Content-Type: text/xml; charset=UTF-8"); 46 if ($format == 'RSS') { 47 Header("Cache-control: private, no-cache, must-revalidate"); 48 Header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); # Past date 49 Header("Pragma: no-cache"); 50 Header("Content-Type: text/xml; charset=UTF-8"); 52 51 53 52 $xmldoc = new DOMDocument(); … … 271 270 272 271 /* source */ 273 274 275 272 } 276 273 … … 278 275 //$style=new Style(); 279 276 //echo $style->GetFooter(true,true); 280 281 282 } 283 else 284 { 285 $smarty = new SmartyWifidog; 286 $smarty->SetTemplateDir('templates/'); 287 288 foreach($node_results as $node_row) { 289 $node_row['duration'] = $db->GetDurationArrayFromIntervalStr($node_row['since_last_heartbeat']); 290 $node_row['num_online_users'] = $stats->getNumOnlineUsers($node_row['node_id']); 291 $smarty->append("nodes", $node_row); 292 } 293 $smarty->assign("nodes_count", count($node_results)); 294 $smarty->assign("rss_format_url", 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'].'?format=RSS'); 295 echo $style->GetHeader(HOTSPOT_NETWORK_NAME.' hotspot status'); 296 $smarty->display("hotspot_status.html"); 297 echo $style->GetFooter(); 298 299 } 300 277 } else { 278 foreach($node_results as $node_row) { 279 $node_row['num_online_users'] = $stats->getNumOnlineUsers($node_row['node_id']); 280 $smarty->append("nodes", $node_row); 281 } 282 283 $smarty->assign("title", "hotspot_status"); 284 $smarty->display("templates/hotspot_status.html"); 285 } 301 286 ?> -
trunk/wifidog-auth/wifidog/include/common.php
r311 r316 3 3 require_once BASEPATH.'config.php'; 4 4 require_once BASEPATH.'classes/AbstractDb.php'; 5 require_once BASEPATH.'classes/Session.php'; 5 6 6 7 global $db; … … 24 25 { 25 26 define('GETTEXT_AVAILABLE', true); 27 setlocale(LC_ALL, DEFAULT_LANG); 28 bindtextdomain('messages', BASEPATH.'/locale'); 29 bind_textdomain_codeset('messages', 'UTF-8'); 30 textDomain('messages'); 26 31 } 27 32 … … 61 66 define('SESS_PASSWORD_HASH_VAR', 'SESS_PASSWORD_HASH'); 62 67 define('SESS_ORIGINAL_URL_VAR', 'SESS_ORIGINAL_URL'); 68 define('SESS_LANGUAGE_VAR', 'SESS_LANGUAGE'); 69 70 /* Languages and sessions */ 71 $lang_ids = array( 72 "fr_FR", 73 "en_US" 74 ); 75 $lang_names = array( 76 "Français", 77 "English" 78 ); 79 80 /* End */ 63 81 64 82 /* This section deals with PATHs */ -
trunk/wifidog-auth/wifidog/include/user_management_menu.php
r305 r316 29 29 //$retval .= "<div class='menu'>\n"; 30 30 31 $retval .= "<p> Find more HotSpots</p>\n";31 $retval .= "<p>"._('Find more HotSpots')."</p>\n"; 32 32 $retval .= "<ul>\n"; 33 $retval .= "<li><a href='".BASE_URL_PATH."".HOTSPOT_STATUS_PAGE."'>"._('List of all HotSpots')."</a></li>\n";33 $retval .= "<li><a href='".BASE_URL_PATH."".HOTSPOT_STATUS_PAGE."'>"._('List of all HotSpots')."</a></li>\n"; 34 34 $retval .= "</ul>\n"; 35 $retval .= "<p> User management</p>\n";35 $retval .= "<p>"._('User management')."</p>\n"; 36 36 $retval .= "<ul>\n"; 37 37 … … 43 43 44 44 $retval .= "</ul>\n"; 45 $retval .= "<p class='sidenote'>"._("Accounts on " .HOTSPOT_NETWORK_NAME." are and will remain <emp>totally free</emp>, use the left menu to create a new one or recover a lost username or password.")."</p>\n";45 $retval .= "<p class='sidenote'>"._("Accounts on ").HOTSPOT_NETWORK_NAME._(" are and will remain <emp>totally free</emp>, use the left menu to create a new one or recover a lost username or password.")."</p>\n"; 46 46 $retval .= "<p class='sidenote'>"._("Please report any problem or interruption in our service to:")." <a href='mailto:".TECH_SUPPORT_EMAIL."'>".TECH_SUPPORT_EMAIL."</a></p>\n"; 47 47 //$retval .= "</div>\n"; -
trunk/wifidog-auth/wifidog/index.php
r312 r316 25 25 define('BASEPATH', './'); 26 26 require_once BASEPATH.'include/common.php'; 27 require_once BASEPATH.'classes/Style.php';28 27 require_once BASEPATH.'classes/Statistics.php'; 29 28 require_once BASEPATH.'classes/SmartyWifidog.php'; 30 29 31 30 $smarty = new SmartyWifidog; 32 $smarty->SetTemplateDir('templates/'); 31 $session = new Session(); 32 $stats = new Statistics(); 33 33 34 $style = new Style(); 35 echo $style->GetHeader(HOTSPOT_NETWORK_NAME.' authentication server'); 34 include BASEPATH.'include/language.php'; 36 35 37 $stats = new Statistics();38 36 $smarty->assign("num_valid_users", $stats->getNumValidUsers()); 39 37 $smarty->assign("num_online_users", $stats->getNumOnlineUsers($node_id = null)); 40 38 41 $smarty->display("main.html"); 42 43 echo $style->GetFooter(); 39 $smarty->assign("title", "authentication server"); 40 $smarty->display("templates/main.html"); 44 41 ?> -
trunk/wifidog-auth/wifidog/local_content/default/footer.html
r152 r316 1 </div> 1 2 </body> 2 3 </html> -
trunk/wifidog-auth/wifidog/local_content/default/header.html
r227 r316 11 11 </head> 12 12 <body> 13 -
trunk/wifidog-auth/wifidog/local_content/default/login.html
r305 r316 1 {include file=$header_file title="WiFiDog login page"} 2 <!--login page EN $Id$ --> 3 4 <div id='head'> 5 <h1>Greetings! Welcome to {$hotspot_name}, a {$hotspot_network_name} free HotSpot</h1> 6 </div> 7 8 9 10 <div id="login"> 11 <form method="post"> 12 <input type="hidden" name="gw_address" value="{$gw_address}"> 13 <input type="hidden" name="gw_port" value="{$gw_port}"> 14 <input type="hidden" name="gw_id" value="{$gw_id}"> 15 <p><span class=warning>{$login_failed_message}</span> 16 Username (or email): 17 <input type="text" name="user" size='12' value="{$previous_username}"> 18 Password:<input type="password" name="pass" size='12' value="{$previous_password}"> 19 <input type="submit" value='Login'></p> 20 </form> 21 </div> 22 23 <div id='navLeft'> 24 {$user_management_menu} 25 </div> 26 <div id="content"> 27 <!-- <h2>Announcements</h2> 1 <!--login page EN $Id$ --> 2 {* 3 <h2>Announcements</h2> 28 4 <dl> 29 5 <dt>16/11/2004: <a href='http://auth.ilesansfil.org/phpsurveyor/index.php?sid=3'>Sondage pour les usagers</a> / <a href='http://auth.ilesansfil.org/phpsurveyor/index.php?sid=2'>User survey</a></dt> 30 6 <dd>Aidez les b�n�voles d'�le sans fil � vous offrir un meilleur service en remplissant notre sondage. / Please help our volunteers support you by filling our survey.</dd> 31 </dl> >-->32 7 </dl> 8 *} 33 9 34 10 <div class="logos"> … … 37 13 </div> 38 14 <img src="{$hotspot_logo_url}" alt="{$hotspot_name} logo" class="hotspot" /> 39 40 </div>41 42 {include file=$footer_file} -
trunk/wifidog-auth/wifidog/local_content/default/portal.html
r282 r316 1 {include file=$header_file}2 1 <!--portal page EN - $Id$ --> 3 <div id='navLeft'> 4 <p>Online at this hotspot:</p> 5 <ul> 6 {foreach from=$online_users item=user_info} 7 <li>{$user_info.user_id}</li> 8 {/foreach} 9 </ul> 10 {$user_management_menu} 11 </div> 12 <div id='head'> 13 14 </div> 15 <div id='login'> 16 <p>Go to the site I originally requested: <a href='{$original_url_requested}'>{$original_url_requested}</a></p> 17 </div> 18 <div id='content'> 19 20 <p><a href='{$hotspot_network_url}'><img src='{$network_logo_banner_url}' alt='{$hotspot_network_name} logo' border='0'></a></p> 21 <p>Content from "<a href='{$hotspot_network_url}'>{$hotspot_network_name}</a>"</p> 22 {$network_rss_html} 23 </div> 24 <div id='content'> 25 <p><img src='{$hotspot_logo_banner_url}' alt='{$hotspot_name} logo'> 26 <p>Content from "{$hotspot_name}"</p> 27 {$hotspot_rss_html} 28 </div> 29 30 31 {include file=$footer_file} 32 33 2 <p><a href='{$hotspot_network_url}'><img src='{$network_logo_banner_url}' alt='{$hotspot_network_name} logo' border='0'></a></p> 3 <p>Content from "<a href='{$hotspot_network_url}'>{$hotspot_network_name}</a>"</p> 4 {$network_rss_html} -
trunk/wifidog-auth/wifidog/login/index.php
r254 r316 26 26 define('BASEPATH','../'); 27 27 require_once BASEPATH.'include/common.php'; 28 require_once BASEPATH.'classes/Style.php';//Required to write http headers29 28 require_once BASEPATH.'classes/SmartyWifidog.php'; 30 require_once (BASEPATH.'include/user_management_menu.php');31 29 require_once BASEPATH.'classes/Security.php'; 30 31 $smarty = new SmartyWifidog; 32 $session = new Session; 33 34 include BASEPATH.'include/language.php'; 32 35 33 36 $login_successfull = false; … … 39 42 { 40 43 $session = new Session(); 41 $session->set(SESS_ORIGINAL_URL_VAR, $_REQUEST['url']);44 $session->set(SESS_ORIGINAL_URL_VAR, $_REQUEST['url']); 42 45 } 43 46 … … 95 98 if($login_successfull==false) 96 99 { 97 $smarty = new SmartyWifidog;98 $smarty->assign("user_management_menu", get_user_management_menu());100 $smarty->assign("lang_menu", "templates/lang_menu.html"); 101 $smarty->assign("user_management_menu", "templates/user_management_menu.html"); 99 102 $smarty->assign('previous_username',$previous_username); 100 103 $smarty->assign('previous_password',$previous_password); … … 106 109 //$user_management_url = BASE_URL_PATH."user_management/"; 107 110 111 $smarty->display(DEFAULT_CONTENT_SMARTY_PATH."header.html"); 112 $smarty->display(DEFAULT_CONTENT_SMARTY_PATH."header_login.html"); 108 113 $smarty->displayLocalContent(LOGIN_PAGE_NAME); 114 $smarty->display(DEFAULT_CONTENT_SMARTY_PATH."footer.html"); 109 115 } 110 116 ?> -
trunk/wifidog-auth/wifidog/node_list.php
r312 r316 26 26 define('BASEPATH','./'); 27 27 require_once BASEPATH.'include/common.php'; 28 require_once BASEPATH.'classes/Style.php';29 28 require_once BASEPATH.'classes/Statistics.php'; 30 29 require_once BASEPATH.'classes/SmartyWifidog.php'; 31 30 32 31 $smarty = new SmartyWifidog; 33 $smarty->SetTemplateDir('templates/'); 32 $session = new Session(); 33 $stats = new Statistics(); 34 34 35 $style = new Style(); 36 $stats = new Statistics(); 35 include BASEPATH.'include/language.php'; 37 36 38 37 $db->ExecSql("SELECT node_id, name, last_heartbeat_user_agent, (NOW()-last_heartbeat_timestamp) AS since_last_heartbeat, last_heartbeat_ip, CASE WHEN ((NOW()-last_heartbeat_timestamp) < interval '5 minutes') THEN true ELSE false END AS is_up, creation_date FROM nodes ORDER BY node_id", $node_results, false); … … 44 43 } 45 44 46 echo $style->GetHeader(HOTSPOT_NETWORK_NAME.' node list'); 47 $smarty->display("node_list.html"); 48 echo $style->GetFooter(); 45 $smarty->display("templates/node_list.html"); 49 46 ?> -
trunk/wifidog-auth/wifidog/portal/index.php
r315 r316 37 37 38 38 $smarty = new SmartyWifidog; 39 $session = new Session; 40 41 include BASEPATH.'include/language.php'; 39 42 40 43 $portal_template = $_REQUEST['gw_id'] . ".html"; … … 145 148 // error_reporting($old_error_level); 146 149 } 147 $smarty->assign("user_management_menu", get_user_management_menu()); 150 148 151 $smarty->assign("user_management_url", BASE_SSL_PATH.USER_MANAGEMENT_PAGE); 152 if (isset($session)) { 153 $smarty->assign("original_url_requested", $session->get(SESS_ORIGINAL_URL_VAR)); 154 } 149 155 150 $session = new Session(); 151 $smarty->assign("original_url_requested",$session->get(SESS_ORIGINAL_URL_VAR)); 152 153 154 if (is_file(NODE_CONTENT_PHP_RELATIVE_PATH.PORTAL_PAGE_NAME)) 155 { 156 $smarty->display(DEFAULT_CONTENT_SMARTY_PATH."header.html"); 157 $smarty->display(DEFAULT_CONTENT_SMARTY_PATH."header_portal.html"); 158 if (is_file(NODE_CONTENT_PHP_RELATIVE_PATH.PORTAL_PAGE_NAME)) { 156 159 $smarty->display(NODE_CONTENT_SMARTY_PATH.PORTAL_PAGE_NAME); 157 } 158 else 159 { 160 $smarty->display(DEFAULT_CONTENT_SMARTY_PATH.PORTAL_PAGE_NAME); 161 } 162 160 } else { 161 $smarty->display(DEFAULT_CONTENT_SMARTY_PATH.PORTAL_PAGE_NAME); 162 } 163 $smarty->display(DEFAULT_CONTENT_SMARTY_PATH."footer_portal.html"); 164 $smarty->display(DEFAULT_CONTENT_SMARTY_PATH."footer.html"); 163 165 ?> -
trunk/wifidog-auth/wifidog/templates/header.html
r312 r316 1 <div id='head'><h1>{$smarty.const.HOTSPOT_NETWORK_NAME} {$title}</h1></div> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 2 <html> 3 <head> 4 <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'> 5 <meta http-equiv='Pragma' CONTENT='no-cache'> 6 <meta http-equiv='Expires' CONTENT='-1'> 7 <style type="text/css"> 8 {include file=$stylesheet_file} 9 </style> 10 <title>{$hotspot_network_name} {$title}</title> 11 </head> 12 <body> 13 14 <div id='head'><h1>{$hotspot_network_name} {$title}</h1></div> 15 2 16 <div id='navLeft'> 17 {include file="templates/lang_menu.html"} 18 {include file="templates/user_management_menu.html"} 19 </div> 20 21 <div id='content'> -
trunk/wifidog-auth/wifidog/templates/hotspot_status.html
r315 r316 1 {include file="header.html" title="node list"} 2 {include file="user_management_menu.html"} 3 </div> 4 <div id='content'> 5 1 {include file="templates/header.html" title="node list"} 6 2 <table class='spreadsheet'> 7 3 <thead> … … 70 66 71 67 </table> 72 73 </div> -
trunk/wifidog-auth/wifidog/templates/main.html
r312 r316 1 {include file="header.html" title="authentication server"} 2 {include file="user_management_menu.html"} 3 </div> 4 <div id='content'> 5 6 <p>The network currently has {$num_valid_users} valid users. {$num_online_users} user(s) are currently online.</p> 1 {include file="templates/header.html" title="authentication server"} 2 <p>{"The network currently has"|_} {$num_valid_users} {"valid users"|_}. {$num_online_users} {"user(s) are currently online"|_}.</p> 7 3 <ul> 8 <li><a href='hotspot_status.php'> Deployed HotSpots status with coordinates</a></li>9 <li><a href='node_list.php'> Full node technical status (includes non-deployed nodes)</a></li>10 <li><a href='user_management/index.php'> Personal user management</a></li>11 <li><a href='{$smarty.const.BASE_SSL_PATH}admin/index.php'> Administration</a></li>4 <li><a href='hotspot_status.php'>{"Deployed HotSpots status with coordinates"|_}</a></li> 5 <li><a href='node_list.php'>{"Full node technical status (includes non-deployed nodes)"|_}</a></li> 6 <li><a href='user_management/index.php'>{"Personal user management"|_}</a></li> 7 <li><a href='{$smarty.const.BASE_SSL_PATH}admin/index.php'>{"Administration"|_}</a></li> 12 8 </ul> 13 </div> -
trunk/wifidog-auth/wifidog/templates/node_list.html
r312 r316 1 {include file="header.html" title="node list"} 2 {include file="user_management_menu.html"} 3 </div> 4 <div id='content'> 5 1 {include file="templates/header.html" title="node list"} 6 2 <table class='spreadsheet'> 7 3 <thead> 8 4 <tr class='spreadsheet'> 9 <th class='spreadsheet' colspan=6> Status of all nodes of the {$smarty.const.HOTSPOT_NETWORK_NAME} network</th>5 <th class='spreadsheet' colspan=6>{"Status of all nodes of the"|_} {$smarty.const.HOTSPOT_NETWORK_NAME} {"network"|_}</th> 10 6 </tr> 11 7 <tr class='spreadsheet'> 12 <th class='spreadsheet'> Status</th>13 <th class='spreadsheet'> Id</th>14 <th class='spreadsheet'> Name</th>15 <th class='spreadsheet'> Local content demo</th>16 <th class='spreadsheet'> Opened on</th>17 <th class='spreadsheet'> Online users</th>8 <th class='spreadsheet'>{"Status"|_}</th> 9 <th class='spreadsheet'>{"Id"|_}</th> 10 <th class='spreadsheet'>{"Name"|_}</th> 11 <th class='spreadsheet'>{"Local content demo"|_}</th> 12 <th class='spreadsheet'>{"Opened on"|_}</th> 13 <th class='spreadsheet'>{"Online users"|_}</th> 18 14 </tr> 19 15 </thead> … … 26 22 {else} 27 23 <img src='{$smarty.const.BASE_URL_PATH}images/hotspot_status_down.png'> 28 {$nodes[node].duration.days} days{$nodes[node].duration.hours}h {$nodes[node].duration.minutes}min<br />24 {$nodes[node].duration.days} {"days"|_} {$nodes[node].duration.hours}h {$nodes[node].duration.minutes}min<br /> 29 25 {/if} 30 26 {$nodes[node].last_heartbeat_user_agent} … … 33 29 <td class='spreadsheet'>{$nodes[node].name}</td> 34 30 <td class='spreadsheet'> 35 <a href='{$smarty.const.BASE_SSL_PATH}login/index.php?gw_id={$nodes[node].node_id}&gw_address=127.0.0.1&gw_port=80'> Login page</a><br />36 <a href='{$smarty.const.BASE_URL_PATH}portal/index.php?gw_id={$nodes[node].node_id}'> Portal page</a>31 <a href='{$smarty.const.BASE_SSL_PATH}login/index.php?gw_id={$nodes[node].node_id}&gw_address=127.0.0.1&gw_port=80'>{"Login page"|_}</a><br /> 32 <a href='{$smarty.const.BASE_URL_PATH}portal/index.php?gw_id={$nodes[node].node_id}'>{"Portal page"|_}</a> 37 33 </td> 38 34 <td class='spreadsheet'>{$nodes[node].creation_date}</td> … … 46 42 47 43 </table> 48 49 </div> -
trunk/wifidog-auth/wifidog/templates/user_management_menu.html
r312 r316 1 <p> Find more HotSpots</p>1 <p>{"Find more HotSpots"|_}</p> 2 2 <ul> 3 <li><a href='{$smarty.const.BASE_URL_PATH}{$smarty.const.HOTSPOT_STATUS_PAGE}'> List of all HotSpots</a></li>3 <li><a href='{$smarty.const.BASE_URL_PATH}{$smarty.const.HOTSPOT_STATUS_PAGE}'>{"List of all HotSpots"|_}</a></li> 4 4 </ul> 5 5 6 <p> User management</p>6 <p>{"User management"|_}</p> 7 7 <ul> 8 <li><a href='{$smarty.const.BASE_SSL_PATH}{$smarty.const.USER_MANAGEMENT_PAGE}?action=register_new_account_form'> Create new account</a></li>9 <li><a href='{$smarty.const.BASE_SSL_PATH}{$smarty.const.USER_MANAGEMENT_PAGE}?action=validation_email_form'> Re-send validation email</a></li>10 <li><a href='{$smarty.const.BASE_SSL_PATH}{$smarty.const.USER_MANAGEMENT_PAGE}?action=lost_username_form'> Lost username</a></li>11 <li><a href='{$smarty.const.BASE_SSL_PATH}{$smarty.const.USER_MANAGEMENT_PAGE}?action=lost_password_form'> Lost password</a></li>12 <li><a href='{$smarty.const.BASE_SSL_PATH}{$smarty.const.USER_MANAGEMENT_PAGE}?action=change_password_form'> Change password</a></li>8 <li><a href='{$smarty.const.BASE_SSL_PATH}{$smarty.const.USER_MANAGEMENT_PAGE}?action=register_new_account_form'>{"Create new account"|_}</a></li> 9 <li><a href='{$smarty.const.BASE_SSL_PATH}{$smarty.const.USER_MANAGEMENT_PAGE}?action=validation_email_form'>{"Re-send validation email"|_}</a></li> 10 <li><a href='{$smarty.const.BASE_SSL_PATH}{$smarty.const.USER_MANAGEMENT_PAGE}?action=lost_username_form'>{"Lost username"|_}</a></li> 11 <li><a href='{$smarty.const.BASE_SSL_PATH}{$smarty.const.USER_MANAGEMENT_PAGE}?action=lost_password_form'>{"Lost password"|_}</a></li> 12 <li><a href='{$smarty.const.BASE_SSL_PATH}{$smarty.const.USER_MANAGEMENT_PAGE}?action=change_password_form'>{"Change password"|_}</a></li> 13 13 </ul> 14 14 15 <p class='sidenote'> Accounts on {$smarty.const.HOTSPOT_NETWORK_NAME} are and will remain <emp>totally free</emp>, use the left menu to create a new one or recover a lost username or password.</p>15 <p class='sidenote'>{"Accounts on"|_} {$smarty.const.HOTSPOT_NETWORK_NAME} {"are and will remain <emp>totally free</emp>, use the left menu to create a new one or recover a lost username or password"|_}.</p> 16 16 17 <p class='sidenote'> Please report any problem or interruption in our service to: <a href='mailto:{$smarty.const.TECH_SUPPORT_EMAIL}'>{$smarty.const.TECH_SUPPORT_EMAIL}</a></p>17 <p class='sidenote'>{"Please report any problem or interruption in our service to"|_}: <a href='mailto:{$smarty.const.TECH_SUPPORT_EMAIL}'>{$smarty.const.TECH_SUPPORT_EMAIL}</a></p>
