Minor fix: point to online DOJO library (because DOJO is an heavy library)

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@160 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
mensonge 2008-11-14 15:50:36 +00:00
parent 1c5685d68f
commit fb46a6beea
2 changed files with 7 additions and 5 deletions

View file

@ -44,7 +44,7 @@ switch ($row['bStatus']) {
<th align="left"><?php echo T_('Tags'); ?></th> <th align="left"><?php echo T_('Tags'); ?></th>
<td class="scuttletheme"> <td class="scuttletheme">
<span dojoType="dojo.data.ItemFileReadStore" jsId="memberTagStore" url="<?php echo $GLOBALS['root']?>ajax/gettags.php"></span> <span dojoType="dojo.data.ItemFileReadStore" jsId="memberTagStore" url="<?php echo $GLOBALS['root']?>ajax/gettags.php"></span>
<input type="text" dojoType="dojox.widget.MultiComboBox" id="tags" name="tags" size="75" value="<?php echo filter(implode(', ', $row['tags']), 'xml'); ?>" store="memberTagStore" delimiter="," searchAttr="tag" hasDownArrow="false"/></td> <input type="text" dojoType="dojox.form.MultiComboBox" id="tags" name="tags" size="75" value="<?php echo filter(implode(', ', $row['tags']), 'xml'); ?>" store="memberTagStore" delimiter="," searchAttr="tag" hasDownArrow="false"/></td>
<td>&larr; <?php echo T_('Comma-separated'); ?></td> <td>&larr; <?php echo T_('Comma-separated'); ?></td>
</tr> </tr>

View file

@ -23,21 +23,23 @@ if(isset($rsschannels)) {
src="<?php echo $GLOBALS['root']; ?>jsScuttle.php"></script> src="<?php echo $GLOBALS['root']; ?>jsScuttle.php"></script>
<link rel="stylesheet" type="text/css" <link rel="stylesheet" type="text/css"
href="<?php echo $GLOBALS['root']; ?>includes/js/dijit/themes/tundra/tundra.css"> href="http://ajax.googleapis.com/ajax/libs/dojo/1.2/dijit/themes/tundra/tundra.css">
<script type="text/javascript" src="<?php echo $GLOBALS['root']; ?>includes/js/dojo/dojo.js" <script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/dojo/1.2/dojo/dojo.xd.js"
djConfig="parseOnLoad:true, isDebug:false, usePlainJson:true"></script> djConfig="parseOnLoad:true, isDebug:false, usePlainJson:true"></script>
<script type="text/javascript"> <script type="text/javascript">
dojo.require("dojo.parser"); dojo.require("dojo.parser");
dojo.require("dojo.data.ItemFileReadStore"); dojo.require("dojo.data.ItemFileReadStore");
dojo.require("dojox.widget.MultiComboBox"); dojo.require("dojox.form.MultiComboBox");
</script> </script>
<?php endif ?> <?php endif ?>
</head> </head>
<body class="tundra"> <!-- the tundra class is used by Dojo widgets --> <body class="tundra">
<!-- the tundra class is used by Dojo widgets -->
<?php <?php
$headerstyle = ''; $headerstyle = '';