| 1 |
<?php |
<?php |
| 2 |
// $Id$ |
// $Id: node_form_rearrange.module,v 1.1 2008/11/17 21:08:10 chiddicks Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 17 |
$vocabularies = db_query(db_rewrite_sql("SELECT v.* FROM {vocabulary} v INNER JOIN {vocabulary_node_types} n ON v.vid = n.vid WHERE n.type = '%s' |
$vocabularies = db_query(db_rewrite_sql("SELECT v.* FROM {vocabulary} v INNER JOIN {vocabulary_node_types} n ON v.vid = n.vid WHERE n.type = '%s' |
| 18 |
ORDER BY v.weight, v.name", 'v', 'vid'), $form['type']['#value']); |
ORDER BY v.weight, v.name", 'v', 'vid'), $form['type']['#value']); |
| 19 |
//loop through vocabularies, moving their form element out of the taxonomy fieldset |
//loop through vocabularies, moving their form element out of the taxonomy fieldset |
|
variable_set("aaaa", $form['taxonomy']); |
|
| 20 |
while ($vocabulary = db_fetch_object($vocabularies)) { |
while ($vocabulary = db_fetch_object($vocabularies)) { |
| 21 |
//check to see if non-tag vocabularies exist |
//check to see if non-tag vocabularies exist |
| 22 |
if ($form['taxonomy'][$vocabulary->vid]) { |
if ($form['taxonomy'][$vocabulary->vid]) { |