[evolvis-commits] r17723: [#2030] theme-evolvis pending merges:↵ Thorsten Glaser 2011-11-24 糞!↵ Thorsten Glaser 2011-11-24 add styles from theme-tracker branch↵ Thorsten Glaser 2011-11-24 ARGH! these fusionforge people had another undocumented means of glob...

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Nov 24 17:26:14 CET 2011


Author: mirabilos
Date: 2011-11-24 17:26:14 +0100 (Thu, 24 Nov 2011)
New Revision: 17723

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/EvStyle.class.php
   trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php
   trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/evolvis.css
Log:
[#2030] theme-evolvis pending merges:
  Thorsten Glaser 2011-11-24 糞!
    Thorsten Glaser 2011-11-24 add styles from theme-tracker branch
    Thorsten Glaser 2011-11-24 ARGH! these fusionforge people had another undocumented means of glob...


Modified: trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/EvStyle.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/EvStyle.class.php	2011-11-24 16:26:09 UTC (rev 17722)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/EvStyle.class.php	2011-11-24 16:26:14 UTC (rev 17723)
@@ -190,7 +190,7 @@
         </table><?php /* id="ev_pagetop0" */ ?>
       </div><?php /* id="ev_pagetop" */ ?>
 <?php
-    /* displaky submenu div only if it has actual content */
+    /* display submenu div only if it has actual content */
     if ($sm) {
 ?>
       <div id="ev_submenu">
@@ -200,6 +200,17 @@
       </div><?php /* id="ev_submenu" */ ?>
 <?php
     }
+    /* this is moste annoying */
+    foreach (array(
+      'error_msg' => 'ev_gvmsg_error',
+      'warning_msg' => 'ev_gvmsg_warning',
+      'feedback' => 'ev_gvmsg_feedback',
+    ) as $gv => $style) {
+      $v = util_ifsetor($GLOBALS[$gv]);
+      if ($v) {
+        echo '      <div id="' . $style . '">' . util_html_secure($v) . "</div>\n";
+      }
+    }
 ?>
       <div class="ev_redbar"></div>
     </div><?php /* id="ev_header" */ ?>

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php	2011-11-24 16:26:09 UTC (rev 17722)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php	2011-11-24 16:26:14 UTC (rev 17723)
@@ -184,6 +184,10 @@
 			$this->ev_style->emit_bodyheader($this, $p);
 		}
 		echo "<div id=\"ev_content\">\n\n";
+		/* argh! */
+		if (util_ifsetor($params['h1'])) {
+			echo "<h1>" . $params['h1'] . "</h1>\n\n";
+		}
 	}
 
 	function cb_head($T) {

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/evolvis.css
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/evolvis.css	2011-11-24 16:26:09 UTC (rev 17722)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/evolvis.css	2011-11-24 16:26:14 UTC (rev 17723)
@@ -327,6 +327,27 @@
 	padding:0px 0px 0px 6px;
 }
 
+#ev_gvmsg_error {
+	margin:12px 24px 12px 24px;
+	border:1px solid black;
+	padding:0px 0px 0px 6px;
+	background-color:#FFCCCC;
+}
+
+#ev_gvmsg_warning {
+	margin:12px 24px 12px 24px;
+	border:1px solid black;
+	padding:0px 0px 0px 6px;
+	background-color:#FFFFCC;
+}
+
+#ev_gvmsg_feedback {
+	margin:12px 24px 12px 24px;
+	border:1px solid black;
+	padding:0px 0px 0px 6px;
+	background-color:#CCFFCC;
+}
+
 #ev_content {
 	margin:0px 0px 0px 3px;
 	padding:0px;
@@ -617,6 +638,14 @@
 
 /* must be last */
 
+.small {
+	font-size:small;
+}
+
+.smaller {
+	font-size:x-small;
+}
+
 pre,tt {
 	font-family:fixed,monospace;
 }



More information about the evolvis-commits mailing list