phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] [19113] added: error messages display


From: Pascal Vilarem
Subject: [Phpgroupware-cvs] [19113] added: error messages display
Date: Tue, 21 Apr 2009 17:29:25 +0000

Revision: 19113
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19113
Author:   maat
Date:     2009-04-21 17:29:25 +0000 (Tue, 21 Apr 2009)
Log Message:
-----------
added: error messages display

Modified Paths:
--------------
    modules/ged/trunk/templates/base/add_file.tpl
    modules/ged/trunk/templates/base/css/default.css
    modules/ged/trunk/templates/base/update_file.tpl

Modified: modules/ged/trunk/templates/base/add_file.tpl
===================================================================
--- modules/ged/trunk/templates/base/add_file.tpl       2009-04-21 17:28:26 UTC 
(rev 19112)
+++ modules/ged/trunk/templates/base/add_file.tpl       2009-04-21 17:29:25 UTC 
(rev 19113)
@@ -1,4 +1,6 @@
+<div id="ged_add_file">
 <form name="FileList" enctype="multipart/form-data" action="{action_add}" 
method="post">
+{errormessage}
 <table cellpadding="5">
 <tr>
 <td colspan="2">
@@ -10,7 +12,7 @@
   {lang_name} : 
 </td>
 <td>  
-  <input type="text" default_class="{input_default_class}"  
focused_class="{input_active_class}" name="name" value="{new_name}" size="70" 
maxlength="255"/>
+  <input type="text" default_class="{input_default_class}"  
focused_class="{input_active_class}" name="name" value="{new_name}" size="70" 
maxlength="255"/><span>**</span>
   <input type="hidden" name="{parent_id_field}" value="{parent_id_value}">
 </td>
 </tr>
@@ -41,7 +43,7 @@
 {lang_file} :  
 </td>
 <td>
-<input name="{file_field}" type="file" value="{file_value}""/>
+<input name="{file_field}" type="file" value="{file_value}""/><span>**</span>
 </td>
 </tr>
 <tr>
@@ -53,6 +55,14 @@
 </td>
 </tr>
 <tr>
+<td>
+{descriptionv_label} :
+</td>
+<td>
+<textarea name="{descriptionv_field}" name="descriptionv" rows="10" cols="50" 
wrap="off" >First Version</textarea>
+</td>
+</tr>
+<tr>
 <td style="vertical-align: top; width: 50px;">{lang_period} :<br>
 </td>
 <td style="vertical-align: top;">{select_period}
@@ -72,3 +82,5 @@
  <input type="hidden" name="order" value="name"> <input type="hidden" 
name="sortorder" value="sortname">
  <input type="hidden" name="sort"  value="ASC"> <input type="image" 
src="browse.php_files/btn_search.gif" border="0" alt="Search" title="Search" 
value="Search">
  </form>
+ <span>** {lang_Required}</span>
+ </div>

Modified: modules/ged/trunk/templates/base/css/default.css
===================================================================
--- modules/ged/trunk/templates/base/css/default.css    2009-04-21 17:28:26 UTC 
(rev 19112)
+++ modules/ged/trunk/templates/base/css/default.css    2009-04-21 17:29:25 UTC 
(rev 19113)
@@ -128,6 +128,20 @@
        width: 100%;
 }
 
+#ged_add_file span {
+color: red;
+font-size: 8pt;
+
+}
+
+#ged_add_file p{
+color: #FF6666;
+font-size: 12pt;
+text-align: center;
+border: 1px solid #FF6666;
+}
+
+
 /* text colors */
 
 .current
@@ -244,3 +258,4 @@
        font-weight: bold;
        color: red;
 }
+

Modified: modules/ged/trunk/templates/base/update_file.tpl
===================================================================
--- modules/ged/trunk/templates/base/update_file.tpl    2009-04-21 17:28:26 UTC 
(rev 19112)
+++ modules/ged/trunk/templates/base/update_file.tpl    2009-04-21 17:29:25 UTC 
(rev 19113)
@@ -1,3 +1,5 @@
+<div id="ged_add_file">
+{errormessage}
 <table border="0" cellpadding="5" width="100%">
 <tbody>
 <tr>
@@ -13,7 +15,7 @@
 <tr>
 <td style="vertical-align: top; width: 50px;">{lang_name} :<br>
 </td>
-<td style="vertical-align: top;"><input type="text" 
default_class="{input_default_class}"  focused_class="{input_active_class}" 
name="{file_name_field}" value="{file_name_value}" size="40" />
+<td style="vertical-align: top;"><input type="text" 
default_class="{input_default_class}"  focused_class="{input_active_class}" 
name="{file_name_field}" value="{file_name_value}" size="40" /><span>**</span>
 </td>
 </tr>
 <tr>
@@ -155,4 +157,6 @@
  <input type="hidden" name="parent" value="2"> <input type="hidden" 
name="expand" value="1">
  <input type="hidden" name="order" value="name"> <input type="hidden" 
name="sortorder" value="sortname">
  <input type="hidden" name="sort"  value="ASC"> <input type="image" 
src="browse.php_files/btn_search.gif" border="0" alt="Search" title="Search" 
value="Search">
- </form>
\ No newline at end of file
+ </form>
+  <span>** {lang_Required}</span>
+ </div>
\ No newline at end of file





reply via email to

[Prev in Thread] Current Thread [Next in Thread]