Changeset 247
- Timestamp:
- 06/24/2011 11:49:41 AM (11 months ago)
- Location:
- trunk
- Files:
-
- 5 added
- 10 edited
-
config-sample/config.php (modified) (1 diff)
-
globals/functions.php (modified) (1 diff)
-
globals/vars.php (modified) (1 diff)
-
includes/main_footer.php (modified) (3 diffs)
-
includes/pages/startup/startup.php (modified) (1 diff)
-
install/index.php (modified) (2 diffs)
-
install/steps/step_community.php (added)
-
templates/basic/images/favicon.svg (added)
-
templates/basic/images/favicon_256.png (added)
-
templates/basic/images/favicon_32.png (added)
-
templates/basic/images/favicon_64.png (added)
-
templates/basic/includes/html.tpl (modified) (1 diff)
-
templates/basic/includes/main_footer.tpl (modified) (1 diff)
-
templates/basic/includes/main_header.tpl (modified) (1 diff)
-
templates/basic/includes/pages/startup/startup.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/config-sample/config.php
r246 r247 15 15 'url' => 'http://server.example.org/' 16 16 ), 17 17 'community' => array( 18 'name' => 'Anonymous Wireless Community', 19 'short_name' => 'AWC' 20 ), 18 21 'cookies' => array( 19 22 'expire' => (60 * 60 * 24 * 30) -
trunk/globals/functions.php
r246 r247 460 460 } 461 461 462 ?> 462 function format_version($version_array) { 463 $str = ''; 464 foreach ($version_array as $dig) { 465 $glue = is_numeric($dig)? '.' : '-'; 466 $str .= empty($str)?$dig:$glue . $dig; 467 } 468 return $str; 469 } -
trunk/globals/vars.php
r187 r247 23 23 24 24 'info' => array( 25 'version' => 0,25 'version' => array(1, 0, 'rc1'), 26 26 'min_template_version' => 0 27 27 ) 28 29 28 ); 30 31 ?> -
trunk/includes/main_footer.php
r187 r247 24 24 var $hide=FALSE; 25 25 26 function footer() {27 28 }29 30 26 function output() { 31 27 global $db, $php_start, $main, $vars; … … 33 29 $this->tpl['php_time'] = getmicrotime() - $php_start; 34 30 $this->tpl['mysql_time'] = $db->total_time; 31 $this->tpl['wind_version'] = format_version($vars['info']['version']); 35 32 if (isset($main->userdata->privileges['admin']) && $main->userdata->privileges['admin'] === TRUE && $vars['debug']['enabled'] == TRUE) { 36 33 $this->tpl['debug_mysql'] = ROOT_PATH."debug/mysql.php?".get_qs(); … … 40 37 41 38 } 42 43 ?> -
trunk/includes/pages/startup/startup.php
r143 r247 29 29 30 30 function output() { 31 if (file_exists(ROOT_PATH."config/startup.html")) $this->tpl['startup_html'] = file_get_contents(ROOT_PATH."config/startup.html"); 31 global $vars; 32 if (file_exists(ROOT_PATH."config/startup.html")) 33 $this->tpl['startup_html'] = file_get_contents(ROOT_PATH."config/startup.html"); 34 $this->tpl['wind_version'] = format_version($vars['info']['version']); 35 $this->tpl['community_name'] = $vars['community']['name']; 36 $this->tpl['community_short_name'] = $vars['community']['short_name']; 32 37 return template($this->tpl, __FILE__); 33 38 } 34 39 35 40 } 36 37 ?> -
trunk/install/index.php
r244 r247 33 33 'deps' => 'Dependencies', 34 34 'file_perms' => 'File permissions', 35 'community' => 'Community Information', 35 36 'smarty' => 'Smarty configuration', 36 37 'dbsetup' => 'Setup database', … … 58 59 <title>WiND - Installation</title> 59 60 <link rel="stylesheet" href="<?php echo surl('/../templates/basic/css/styles_packed.css')?>" > 60 <link rel="stylesheet" href="install.css"> 61 <link rel="icon" type="image/png" href="<?php echo surl('/../templates/basic/images/favicon_32.png')?>" / > 62 <link rel="stylesheet" href="install.css"> 63 61 64 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script> 65 62 66 </head> 63 67 <body> -
trunk/templates/basic/includes/html.tpl
r190 r247 25 25 {$head} 26 26 <link href="{$css_dir}styles_packed.css" rel="stylesheet" type="text/css" /> 27 <link rel="icon" type="image/png" href="templates/basic/images/favicon_32.png" / > 27 28 <script type="text/javascript" src="{$js_dir}overlib/overlib_packed.js"><!-- overLIB (c) Erik Bosrup --></script> 28 29 </head> -
trunk/templates/basic/includes/main_footer.tpl
r239 r247 30 30 </td> 31 31 <td class="footer" align="right" width="33%"> 32 Powered by: <br /><a href="http://wind.cube.gr/"><b>WiND - Wireless Nodes Database project</b></a><br /><br />33 © 2005-2011 <a href="http://wind.cube.gr/wiki/Team">WiND development team</a>32 Powered by: <a target="_blank" href="http://wind.cube.gr/"><b>WiND v{$wind_version}</b></a><br /><br /> 33 © 2005-2011 <a target="_blank" href="http://wind.cube.gr/wiki/Team">WiND development team</a> 34 34 </td> 35 35 </tr> -
trunk/templates/basic/includes/main_header.tpl
r136 r247 22 22 <tr> 23 23 <td class="table-header-td-left"><img src="{$img_dir}main_logo.png" alt="WiND Logo" /></td> 24 {if $mylogo} <td class="table-header-td-right"><img src="{$mylogo_dir}mylogo.png" alt="{$lang.site_title}" /></td>{/if}24 {if $mylogo}<td class="table-header-td-right"><img src="{$mylogo_dir}mylogo.png" alt="{$lang.site_title}" /></td>{/if} 25 25 </tr> 26 26 </table> -
trunk/templates/basic/includes/pages/startup/startup.tpl
r136 r247 23 23 {$startup_html} 24 24 {else} 25 <center> 25 <div style="padding: 30px; font-size: 12px;"> 26 <h1>{$community_name}</h1> 27 <p>Welcome at {$community_name}. Here you can find information about <a href="?page=nodes">registered nodes</a> 28 of {$community_short_name} and <a href="?page=services">services</a> running on the network. 29 If you want want to participate you can always try to <a href="?page=users&user=add">register</a>. For registered 30 users, there is support for private messages. 31 </p> 32 33 <h3>Registration</h3> 34 26 35 <p> 27 <font size="5"><strong>WiND - Wireless Nodes Database</strong></font> 36 To create a new account, visit <a href="?page=users&user=add">registration page</a>. To complete the registration you have 37 to confirm your email. If, for any reason you didn't get any email, you can request to 38 <a href="?page=users&action=restore">resend the email</a>. 39 </p> 40 41 <h3>Add Your Node</h3> 42 <p> 43 To create a new node you must be a registered user. After you have logged on on the system you 44 can request to <a href="?page=mynodes&action=add">add a node</a>. 45 </p> 46 47 <h3>Declare links</h3> 48 <p> 49 For each node you can declare its links with other <strong>existing</strong> nodes. 50 <ul> 51 <li>If you are a <strong>client</strong> node, declare only one 52 link with the access point that you have been connected at.</li> 53 <li>If you have created a <strong>backbone link</strong>, declare it with as many information as possible. 54 For complete link, the other node must add also link information.</li> 55 <li>If you own an access point, declare it so that clients can declare their links at you.</li> 56 </ul> 57 </p> 58 59 <h3>Managing your Nodes</h3> 60 <p> 61 For any node you can update its information by visiting its page. Through your node page you can also interract 62 with the Hostmaster team, to request IP Ranges, DNS zones and nameservers. 63 </p> 28 64 <br /> 29 <br /> 30 <strong>Warning</strong>: this is an SVN snapshot.<br /> 31 As such, it's still under heavy development and you 32 should expect it to break and/or lose data.<br /> 33 </p> 34 </center> 65 <hr/> 66 <em>Try to update your nodes, with as much as possible <strong>valid</strong> information. 67 If you see invalid data on foreign nodes don't hesitate to contact them and request to update/change their public information.</em> 68 69 </div> 35 70 {/if}
Note: See TracChangeset
for help on using the changeset viewer.
