/booka/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/booka/trunk

« back to all changes in this revision

Viewing changes to dbEditor.php

  • Committer: Gustav Hartvigsson
  • Date: 2010-06-08 14:41:52 UTC
  • Revision ID: gego@quad-20100608144152-okt9up092a1c1mq0
changed some stuff to use the CSS class 'warning'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
$valid=true; //this will be true untill it is changed.
22
22
 
23
 
include "./inc/formif.php";
24
 
include "./inc/regex.php";
 
23
include "./inc/formif.php";//ifs and buts for checking if inputed data is there.
 
24
include "./inc/regex.php";//RegEX chexing of dates.
25
25
 
26
26
 
27
27
if( $valid ){
43
43
                 <hr />
44
44
                 <?php
45
45
                 if($errorMsg!=null){
46
 
                        echo "  <p style='color: red;'>".$errorMsg."</p> <!-- this paragraph is created by the php script -->";
 
46
                        echo "  <p class='waning'>".$errorMsg."</p> <!-- this paragraph is created by the php script -->";
47
47
                 }
48
48
                 ?>
49
49