Commits

Doug Stewart committed ecaa49f

Mucho change-o in styling and in admin functions.

Comments (0)

Files changed (5)

 }	
 
 $layouts_tmp = asort($layouts);
-$layouts = array_unshift($layouts, "Select a stylesheet:");
+$layouts_tmp = array_unshift($layouts, "Select a stylesheet:");
 
 $options = array (
 		  array(	"name" => "\"About\" Text",
 					"id" => $shortname."_about_text",
 					"std" => "This is a little blurb about your site.",
 					"type" => "textarea",
-					"options" => array() ),
+					"options" => array( "rows" => "5",
+										"cols" => "40") ),
 		  array(    "name" => "Body font color",
 			    "id" => $shortname."_body_color",
 			    "std" => "#000000",
 		break;
 		
 		case 'textarea':
+		$ta_options = $value['options'];
 		?>
 		<tr valign="top"> 
 	        <th scope="row"><?php echo $value['name']; ?>:</th>
 	        <td>
-				<textarea name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
-					<?php if( get_settings($value['id']) != "") {
+				<textarea name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" cols="<?php echo $ta_options['cols']; ?>" rows="<?php echo $ta_options['rows']; ?>"><?php 
+				if( get_settings($value['id']) != "") {
 						echo $get_settings($value['id']);
 					}else{
 						echo $value['std'];
-					}?>
-				</textarea>
+				}?></textarea>
 	        </td>
 	    </tr>
 		<?php
 ?>
 
 <form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">        
-	<input type="text" id="s" name="s" value="<?php echo wp_specialchars($search_text, 1); ?>" />
-	<!--input type="submit" id="searchsubmit" value="<?php _e('go','k2_domain'); ?>" /-->
+	<input type="text" id="s" name="s" value="<?php echo wp_specialchars($search_text, 1); ?>" onfocus="if (this.value == 'Search...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search...';}"/>
+	<input type="hidden" id="searchsubmit" value="Search" />
 </form>
 
 */
 
 body {
-	/*background-color: #0e0d13;*/
 	background-color: #0e1223;
-	/*background-color: #474f57;*/
 	color: #cfcfd0;
 	margin: 0;
 	padding: 0;
 	height: 279px;
 	background: #0e1223 url(images/newbanner2.png) bottom right no-repeat;
 	border-bottom: 1px solid #f3f3dc;
-	/*border-top: 1px solid #f3f3dc;*/
 }
 
 #content {
 }
 
 #container {
-	/*border: 1px solid #ccc;
-	padding-top: 0px;
-	width: 1024px;*/
+	border: 1px solid #ccc;
+	background-color: #0e1223;
+	width: 800px !important;
 }
 
 #menu {
 }
 
 #searchform input {
-	width: 97%;
+	width: 95%;
 }
 
 #navigation ul, #extra ul, #footer ul {
+body {
+	background-color: #0e0d13;
+}
+body {
+	background-color: #474f57;
+}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.