Exemplo n.º 1
0
        </td>

        <td style="width: 200px;">
          <?php 
            echo '<input type="radio" name="entity_' . $count . '" value="new" onclick="showNew(' . $count . ');" />';
            ?>
 &nbsp;
          create new 
          <div id ="newform-<?php 
            echo $count;
            ?>
" style="display:none; float: left; width:200px">
            <div style="display:block; padding:5px">
              <span style="float: left; width: 40px"><label>Name</label></span>
              <span><?php 
            echo input_tag("new_name_" . $count, EntityTable::cleanName($name));
            ?>
</span>
            </div>
            <div style="display:block; padding:5px">
              <span style="float: left; width: 40px"><label >Blurb</label></span>
              <span><?php 
            echo input_tag("new_blurb_" . $count);
            ?>
</span>
            </div>   
          </div>
        </td>

        <td>
          <?php 
Exemplo n.º 2
0
        ?>
 &nbsp;
          create new <?php 
        echo $default_type;
        ?>
          <div id ="newform-<?php 
        echo $count;
        ?>
" class="newform" style="display:<?php 
        echo $display;
        ?>
"; float: left; width:200px">
            <div style="display:block; padding:5px">
              <span style="float: left; width: 40px"><label>Name</label></span>
              <span><?php 
        echo input_tag("new_name_" . $count, EntityTable::cleanName($match['name']));
        ?>
</span>
            </div>
            <div style="display:block; padding:5px">
              <span style="float: left; width: 40px"><label >Blurb</label></span>
              <span><?php 
        echo input_tag("new_blurb_" . $count, $match['blurb']);
        ?>
</span>
            </div> <!--
            <div style="display:block; padding:5px">
              <span>Person <?php 
        echo radiobutton_tag("new_type_" . $count, 'Person', $default_type != 'Org' ? true : false);
        ?>
</span>
Exemplo n.º 3
0
    ?>
" class="newform" style="display:<?php 
    echo $display;
    ?>
"; float: left; width:200px">
            <div style="display:block; padding:5px">
              <span style="float: left; width: 40px"><label>Name</label></span>
              <span>
                <input type="text" id="new_name_<?php 
    echo $count;
    ?>
" name="new_name_<?php 
    echo $count;
    ?>
" value="<?php 
    echo EntityTable::cleanName($match['name']);
    ?>
" />
              </span>
            </div>
            <div style="display:block; padding:5px">
              <span style="float: left; width: 40px"><label >Blurb</label></span>
              <span><?php 
    echo input_tag("new_blurb_" . $count, isset($match['blurb']) ? $match['blurb'] : "");
    ?>
</span>
            </div>
            <div style="display:block; padding:5px">
              <span style="float: left; width: 40px"><label >Summary</label></span>
              <span><?php 
    echo input_tag("new_summary_" . $count, isset($match['summary']) ? $match['summary'] : "");