| 58 | | $html .= "<li><a href='user_log.php'>"._("User logs")."</a></li>\n"; |
| 59 | | $html .= "<li><a href='online_users.php'>"._("Online Users")."</a></li>\n"; |
| 60 | | $html .= "<li><a href='user_stats.php'>"._("Cumulative user statistics")."</a></li>\n"; |
| 61 | | $html .= "<li><a href='hotspot_log.php'>"._("Hotspot logs")."</a></li>\n"; |
| 62 | | $html .= "<li><a href='import_user_database.php'>"._("Import NoCat user database")."</a></li>\n"; |
| 63 | | $html .= "<li><a href='hotspot.php'>"._("Hotspot creation and configuration")."</a> - Beta</li>\n"; |
| 64 | | $html .= "<li><a href='owner_sendfiles.php'>"._("Hotspot owner administration")."</a> - Beta</li>\n"; |
| | 58 | |
| | 59 | if($current_user->isSuperAdmin()) |
| | 60 | { |
| | 61 | $html .= "<li><a href='user_log.php'>"._("User logs")."</a></li>\n"; |
| | 62 | $html .= "<li><a href='online_users.php'>"._("Online Users")."</a></li>\n"; |
| | 63 | $html .= "<li><a href='user_stats.php'>"._("Cumulative user statistics")."</a></li>\n"; |
| | 64 | $html .= "<li><a href='hotspot_log.php'>"._("Hotspot logs")."</a></li>\n"; |
| | 65 | $html .= "<li><a href='import_user_database.php'>"._("Import NoCat user database")."</a></li>\n"; |
| | 66 | $html .= "<li><a href='hotspot.php'>"._("Hotspot creation and configuration")."</a> - Beta</li>\n"; |
| | 67 | $html .= "<li><a href='owner_sendfiles.php'>"._("Hotspot owner administration")."</a> - Beta</li>\n"; |
| | 68 | } |
| 95 | | $html .= "<div class='admin_section_container'>\n"; |
| 96 | | $html .= '<form action="'.GENERIC_OBJECT_ADMIN_ABS_HREF.'" method="post">'; |
| 97 | | $html .= "<div class='admin_section_title'>"._("Network administration:")." </div>\n"; |
| 98 | | |
| 99 | | $html .= "<div class='admin_section_data'>\n"; |
| 100 | | $html .= "<input type='hidden' name='action' value='edit'>\n"; |
| 101 | | $html .= "<input type='hidden' name='object_class' value='Network'><br>\n"; |
| 102 | | $html .= Network :: getSelectNetworkUI('object_id'); |
| 103 | | $html .= "</div>\n"; |
| 104 | | $html .= "<div class='admin_section_tools'>\n"; |
| 105 | | |
| 106 | | $html .= "<input type=submit name='edit_submit' value='"._("Edit")."'>\n"; |
| 107 | | $html .= "</div>\n"; |
| 108 | | $html .= '</form>'; |
| 109 | | $html .= "</div>\n"; |
| | 99 | if($current_user->isSuperAdmin()) |
| | 100 | { |
| | 101 | $html .= "<div class='admin_section_container'>\n"; |
| | 102 | $html .= '<form action="'.GENERIC_OBJECT_ADMIN_ABS_HREF.'" method="post">'; |
| | 103 | $html .= "<div class='admin_section_title'>"._("Network administration:")." </div>\n"; |
| | 104 | |
| | 105 | $html .= "<div class='admin_section_data'>\n"; |
| | 106 | $html .= "<input type='hidden' name='action' value='edit'>\n"; |
| | 107 | $html .= "<input type='hidden' name='object_class' value='Network'><br>\n"; |
| | 108 | $html .= Network :: getSelectNetworkUI('object_id'); |
| | 109 | $html .= "</div>\n"; |
| | 110 | $html .= "<div class='admin_section_tools'>\n"; |
| | 111 | |
| | 112 | $html .= "<input type=submit name='edit_submit' value='"._("Edit")."'>\n"; |
| | 113 | $html .= "</div>\n"; |
| | 114 | $html .= '</form>'; |
| | 115 | $html .= "</div>\n"; |
| | 116 | } |