Canvas usage is an option

This commit is contained in:
Laurent Destailleur 2010-09-02 20:13:26 +00:00
parent c611297694
commit a03a01153b
6 changed files with 8 additions and 2 deletions

View File

@ -26,6 +26,7 @@
<form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="POST" name="formsoc">
<input type="hidden" name="canvas" value="<?php echo $canvas ?>">
<input type="hidden" name="action" value="add">
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>">
<input type="hidden" name="cleartype" value="0">

View File

@ -24,6 +24,7 @@
<?php echo $this->object->tpl['ajax_select_country']; ?>
<form action="<?php echo $_SERVER["PHP_SELF"].'?socid='.$this->object->tpl['id']; ?>" method="POST" name="formsoc">
<input type="hidden" name="canvas" value="<?php echo $canvas ?>">
<input type="hidden" name="action" value="update">
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>">
<input type="hidden" name="socid" value="<?php echo $this->object->tpl['id']; ?>">

View File

@ -28,6 +28,7 @@
<?php } ?>
<form name="formsoc" method="POST">
<input type="hidden" name="canvas" value="<?php echo $canvas ?>">
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>">
<table class="border" width="100%">
@ -106,7 +107,7 @@
<td><?php echo $this->object->tpl['url']; ?></td>
</tr>
<?php
<?php
for ($i=1; $i<=4; $i++) {
if ($this->object->tpl['langprofid'.$i]!='-') {
if ($i==1 || $i==3) echo '<tr>';
@ -123,7 +124,7 @@ for ($i=1; $i<=4; $i++) {
echo '<td>&nbsp;</td>';
echo '<td>&nbsp;</td>';
if ($i==2 || $i==4) echo '</tr>';
}
}
}
?>

View File

@ -27,6 +27,7 @@
<form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="POST" name="formsoc">
<input type="hidden" name="action" value="add">
<input type="hidden" name="canvas" value="<?php echo $canvas ?>">
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>">
<input type="hidden" name="cleartype" value="0">
<input type="hidden" name="private" value="<?php echo $this->object->tpl['particulier']; ?>">

View File

@ -24,6 +24,7 @@
<?php echo $this->object->tpl['ajax_select_country']; ?>
<form action="<?php echo $_SERVER["PHP_SELF"].'?socid='.$this->object->tpl['id']; ?>" method="POST" name="formsoc">
<input type="hidden" name="canvas" value="<?php echo $canvas ?>">
<input type="hidden" name="action" value="update">
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>">
<input type="hidden" name="socid" value="<?php echo $this->object->tpl['id']; ?>">

View File

@ -28,6 +28,7 @@
<?php } ?>
<form name="formsoc" method="POST">
<input type="hidden" name="canvas" value="<?php echo $canvas ?>">
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>">
<table class="border" width="100%">