Author: rhari
Date: Thu May 3 13:42:23 2007
New Revision: 404
URL: http://svn.gna.org/viewcvs/phplinker?rev=404&view=rev
Log:
#132
bug fix et suppression du bouton tag dans le navbar
Modified:
trunk/smarty/default/templates/admin/category.tpl
trunk/www/admin/includes/header.php
trunk/www/js/drag-drop-folder-tree.js
Modified: trunk/smarty/default/templates/admin/category.tpl
URL:
http://svn.gna.org/viewcvs/phplinker/trunk/smarty/default/templates/admin/category.tpl?rev=404&r1=403&r2=404&view=diff
==============================================================================
--- trunk/smarty/default/templates/admin/category.tpl (original)
+++ trunk/smarty/default/templates/admin/category.tpl Thu May 3 13:42:23 2007
@@ -71,30 +71,6 @@
return true;
}
- // Use something like this if you want to save data by Ajax.
- function saveMyTree()
- {
- saveString = treeObj.getNodeOrders();
- var ajaxIndex = ajaxObjects.length;
- ajaxObjects[ajaxIndex] = new sack();
- var url = 'saveNodes.ph?saveString=' + saveString;
- ajaxObjects[ajaxIndex].requestFile = url; //
Specifying which file to get
- ajaxObjects[ajaxIndex].onCompletion = function() {
saveComplete(ajaxIndex); } ; // Specify function that will be executed after
file has been found
- ajaxObjects[ajaxIndex].runAJAX(); //
Execute AJAX function
-
- }
- function saveComplete(index)
- {
- alert(ajaxObjects[index].response);
- }
-
-
- // Call this function if you want to save it by a form.
- function saveMyTree_byForm()
- {
- document.myForm.elements['saveString'].value =
treeObj.getNodeOrders();
- document.myForm.submit();
- }
//*******************************Hari 20070418***lastmodif
20070425***********************
function getIdParent (obj){
@@ -330,13 +306,4 @@
</script>
{/literal}
<a href="#" onclick="treeObj.collapseAll()">Collapse all</a> |
- <a href="#" onclick="treeObj.expandAll()">Expand all</a>
-<!-- <p style="margin:10px">Use your mouse to drag and drop the nodes. Use
the "Save" button to save your changes. The new structure will be sent to the
server by use of Ajax(Asynchron XML and Javascript). </p>
- <p style="margin:10px"><b><i>Note!</i></b> I'm not saving the
- structure in this demo in order to make the script look the
- same for all visitors</p>
--->
- <!-- Form - if you want to save it by form submission and not Ajax -->
- <form name="myForm" method="post" action="saveNodes.ph">
- <input type="hidden" name="saveString">
- </form>
+ <a href="#" onclick="treeObj.expandAll()">Expand all</a>
Modified: trunk/www/admin/includes/header.php
URL:
http://svn.gna.org/viewcvs/phplinker/trunk/www/admin/includes/header.php?rev=404&r1=403&r2=404&view=diff
==============================================================================
--- trunk/www/admin/includes/header.php (original)
+++ trunk/www/admin/includes/header.php Thu May 3 13:42:23 2007
@@ -75,7 +75,7 @@
$elements2 = array(
- 'Tags' => array( 'url' => '/admin/manage_tags', 'roles' =>
'admin' ),
+// 'Tags' => array( 'url' => '/admin/manage_tags', 'roles' =>
'admin' ),
'Catégories' => array( 'url' => '/admin/category', 'roles'
=> 'admin' ),
'Journal' => array( 'url' => '/admin/log', 'roles' => 'admin'
),
);
Modified: trunk/www/js/drag-drop-folder-tree.js
URL:
http://svn.gna.org/viewcvs/phplinker/trunk/www/js/drag-drop-folder-tree.js?rev=404&r1=403&r2=404&view=diff
==============================================================================
--- trunk/www/js/drag-drop-folder-tree.js (original)
+++ trunk/www/js/drag-drop-folder-tree.js Thu May 3 13:42:23 2007
@@ -122,7 +122,7 @@
this.folderImage = 'dhtmlgoodies_folder.gif';
this.plusImage = 'dhtmlgoodies_plus.gif';
this.minusImage = 'dhtmlgoodies_minus.gif';
- this.maximumDepth = 6;
+ this.maximumDepth = 1000;
var messageMaximumDepthReached;
var filePathRenameItem;
var filePathDeleteItem;
_______________________________________________
PHPLinker-commits mailing list
[email protected]
https://mail.gna.org/listinfo/phplinker-commits