Ejemplo n.º 1
0
     break;
 case 'go2menu':
 case 'go2menuitem':
 case 'menulink':
 case 'save':
 case 'apply':
     saveSection($option, $scope, $task);
     break;
 case 'remove':
     removeSections($cid, $scope, $option);
     break;
 case 'copyselect':
     copySectionSelect($option, $cid, $section);
     break;
 case 'copysave':
     copySectionSave($cid);
     break;
 case 'publish':
     publishSections($scope, $cid, 1, $option);
     break;
 case 'unpublish':
     publishSections($scope, $cid, 0, $option);
     break;
 case 'cancel':
     cancelSection($option, $scope);
     break;
 case 'orderup':
     orderSection(intval($cid[0]), -1, $option, $scope);
     break;
 case 'orderdown':
     orderSection(intval($cid[0]), 1, $option, $scope);
Ejemplo n.º 2
0
     editSection(true);
     break;
 case 'go2menu':
 case 'go2menuitem':
 case 'save':
 case 'apply':
     saveSection($option, $scope, $task);
     break;
 case 'remove':
     removeSections($cid, $scope, $option);
     break;
 case 'copyselect':
     copySectionSelect($option, $cid, $scope);
     break;
 case 'copysave':
     copySectionSave($cid, $scope);
     break;
 case 'publish':
     publishSections($scope, $cid, 1, $option);
     break;
 case 'unpublish':
     publishSections($scope, $cid, 0, $option);
     break;
 case 'cancel':
     cancelSection($option, $scope);
     break;
 case 'orderup':
     orderSection($cid[0], -1, $option, $scope);
     break;
 case 'orderdown':
     orderSection($cid[0], 1, $option, $scope);
Ejemplo n.º 3
0
     editSection(0, $scope, $option);
     break;
 case "edit":
     editSection($cid[0], '', $option);
     break;
 case "save":
     saveSection($option, $scope);
     break;
 case "remove":
     removeSections($cid, $scope, $option);
     break;
 case "copyselect":
     copySectionSelect($option, $cid, $section);
     break;
 case "copysave":
     copySectionSave($option, $cid, $section);
     break;
 case "publish":
     publishSections($scope, $cid, 1, $option);
     break;
 case "unpublish":
     publishSections($scope, $cid, 0, $option);
     break;
 case "cancel":
     cancelSection($option, $scope);
     break;
 case "orderup":
     orderSection($cid[0], -1, $option, $scope);
     break;
 case "orderdown":
     orderSection($cid[0], 1, $option, $scope);