summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-14 15:50:36 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-14 15:50:36 +0000
commitfb46a6beea8dfddde229a1fbb9c4cfc7938a74c1 (patch)
tree9be8e18b5924a866d2b5d7fb8847046dba7b0d9f
parent1c5685d68f1b73270fb814fe04cbb490eb90ba5f (diff)
downloadsemanticscuttle-fb46a6beea8dfddde229a1fbb9c4cfc7938a74c1.tar.gz
semanticscuttle-fb46a6beea8dfddde229a1fbb9c4cfc7938a74c1.tar.bz2
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
-rw-r--r--templates/editbookmark.tpl.php2
-rw-r--r--templates/top.inc.php10
2 files changed, 7 insertions, 5 deletions
diff --git a/templates/editbookmark.tpl.php b/templates/editbookmark.tpl.php
index 0b6899b..f6affc4 100644
--- a/templates/editbookmark.tpl.php
+++ b/templates/editbookmark.tpl.php
@@ -44,7 +44,7 @@ switch ($row['bStatus']) {
<th align="left"><?php echo T_('Tags'); ?></th>
<td class="scuttletheme">
<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>
</tr>
diff --git a/templates/top.inc.php b/templates/top.inc.php
index 46698d0..dca9036 100644
--- a/templates/top.inc.php
+++ b/templates/top.inc.php
@@ -23,21 +23,23 @@ if(isset($rsschannels)) {
src="<?php echo $GLOBALS['root']; ?>jsScuttle.php"></script>
<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>
<script type="text/javascript">
dojo.require("dojo.parser");
dojo.require("dojo.data.ItemFileReadStore");
-dojo.require("dojox.widget.MultiComboBox");
+dojo.require("dojox.form.MultiComboBox");
</script>
<?php endif ?>
</head>
-<body class="tundra"> <!-- the tundra class is used by Dojo widgets -->
+<body class="tundra">
+<!-- the tundra class is used by Dojo widgets -->
<?php
$headerstyle = '';