Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Changes default export to "export without deactivating", and adds war…
…ning popup before export

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1211 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Sep 25, 2004
1 parent 1a87d74 commit a23cfae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin/vvexport.php
Expand Up @@ -55,16 +55,16 @@
</td>
<td>
<select name='method' $slstyle>
<option value='deactivate' selected>"._VV_EXPORTDEACTIVATE."</option>
<option value='none'>"._VV_EXPORTONLY."</option>
<option value='deactivate'>"._VV_EXPORTDEACTIVATE."</option>
<option value='none' selected>"._VV_EXPORTONLY."</option>
</select>
</td>
</tr>
<tr>
<td>&nbsp;
</td>
<td>
<input type='submit' value='"._EXPORTRESULTS."' $btstyle>&nbsp;
<input type='submit' value='"._EXPORTRESULTS."' $btstyle onClick='return confirm(\""._VV_RUSURE."\")'>&nbsp;
</td>
</tr>
<input type='hidden' name='action' value='export'>
Expand Down Expand Up @@ -102,7 +102,7 @@
if (count($fielddata) < 1) {$firstline.=$field;}
else
//{$firstline.=str_replace("\n", " ", str_replace("\t", " ", strip_tags($fielddata['question'])));}
{$firstline.=preg_replace('/\s+/',' ',strip_tags($fielddata['question']));
{$firstline.=preg_replace('/\s+/',' ',strip_tags($fielddata['question']));}
$firstline .= $s;
$secondline .= $field.$s;
}
Expand Down

0 comments on commit a23cfae

Please sign in to comment.