Changeset 1264
- Timestamp:
- 11/24/07 00:22:10 (11 months ago)
- Files:
-
- branches/1.0/src/lyceum/system-admin/settings.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/src/lyceum/system-admin/settings.php
r1263 r1264 2 2 require('system-config.php'); 3 3 require('../../lib/taglib.php'); 4 $site_title = get_settings('site_title'); 5 6 $myblogs = get_userblogs(); 7 arrayify($myblogs); 8 9 // =========================================================================== 4 10 ?> 5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 11 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 12 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 13 6 14 <html xmlns="http://www.w3.org/1999/xhtml"> 7 15 8 16 <head> 9 <title>Lyceum System Settings</title> 10 <link rel="stylesheet" href="../wp-admin/wp-admin.css" type="text/css" /> 11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 17 <title><?php echo $site_title ?>: Lyceum System Settings</title> 18 19 <link rel="stylesheet" href="<?php echo LURL ?>/wp-admin/wp-admin.css" type="text/css" /> 20 <link rel="stylesheet" href="<?php echo LURL ?>/system-admin/lyceum.css" type="text/css" /> 21 22 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" /> 12 23 </head> 24 13 25 14 26 <body> 15 27 16 <div id="lyceumhead"> 17 <div id="lyceumheadleft"> 18 <?php 19 echo '<strong>'.get_settings('site_title').'</strong>: '; 20 echo '<a href="'.LURL.'/profile">'. __('My Account') . '</a>'; 28 <div id="PageWrapper" class="AdminMain"> 21 29 22 $myblogs = get_userblogs(); 23 arrayify($myblogs); 24 foreach ($myblogs as $b){ 25 if ($b->id == $blog && !$inprofile) 26 echo ' • <strong>'.$b->blogname.'</strong>'; 27 else 28 echo ' • <a href="'.$b->home.'/admin/">'.$b->blogname.'</a>'; 29 } 30 <?php require(ABSPATH . '/system-admin/lyceum-header.php'); ?> 30 31 31 echo ' • <strong>System Settings</strong>'; 32 ?> 33 </div> 32 <hr /> 34 33 35 <div id="user_info"><?php printf(__('<strong>%s</strong>'), $user_identity) ?> 36 [<a href="<?php echo LURL?>/login?action=logout" title="<?php _e('Log out of this account') ?>"><?php _e('Sign Out'); ?></a>] 37 [<a href="<?php echo LURL?>/register?action=addblog" title="<?php _e('Create new blog with currently logged in account') ?>"><?php _e('Create Blog'); ?></a>] 38 </div> 39 </div> 34 <!-- BEGIN: body --> 35 <div id="BodyWrapper"> 40 36 37 <!-- BEGIN: main column --> 38 <div id="MainColumn"> 41 39 42 <ul> 43 <li><a href="systemplugins.php">System-wide plugins</a></li> 44 <li><a href="blog-management.php">Blogs</a></li> 45 <li><a href="user-management.php">Users</a></li> 46 <li><a href="rewriterules.php">Rewrite Rules</a></li> 40 <!-- BEGIN: main nav --> 41 <ul id="MainNav"> 42 <li class="Selected"><span><a href="settings.php">System Settings</a></span></li> 43 <li><span><a href="blog-management.php">Manage Blogs</a></span></li> 44 <li><span><a href="user-management.php">Manage Users</a></span></li> 45 <li><span><a href="systemplugins.php">Manage Plugins</a></span></li> 46 <li><span><a href="rewriterules.php">Rewrite Rules</a></span></li> 47 47 </ul> 48 <div class="ClearFix TabBorder"><!-- do not remove --></div> 49 <!-- END: main nav --> 48 50 51 <div class="wrap"> 52 <h2>Lyceum Config</h2> 49 53 50 54 <?php … … 144 148 <?php 145 149 $ips = get_admin_ips(); 146 foreach($ips as $ip) 147 echo '<li>'.$ip.'</li>'; 150 foreach($ips as $ip) { 151 ?> 152 <li><?php echo $ip ?></li> 153 <?php 154 } 148 155 ?> 149 156 </ul> … … 155 162 </form> 156 163 164 </div> 165 166 </div> 167 <!-- END: main column --> 168 169 </div> 170 <!-- END: body --> 171 172 <hr /> 173 174 <?php include(ABSPATH . 'wp-admin/admin-footer.php'); ?> 175 176 </div> 177 178 157 179 </body> 158 180
