Commit Graph
45 Commits
Author SHA1 Message Date
Ian Berry eef1115128 new dynamic graph group sequencing code
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@555 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-20 01:58:15 +00:00
Ian Berry 7dc4fb9e76 converted to generic ids like the other forms so the array-based form stuff works well across varying pages
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@515 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-16 06:56:53 +00:00
Ian Berry 85dd291c42 making everything work under E_ALL
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@483 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-09 09:19:28 +00:00
Ian Berry f93b7e58f5 form save validation checks; save code unification/cleaup
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@472 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-06 06:04:00 +00:00
Ian Berry 8d8943de8c the $section=""; string is no longer needed
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@464 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-04 04:20:19 +00:00
Ian Berry 544638290e updated calls to form_base_checkbox()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@451 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-31 06:56:36 +00:00
Ian Berry 15a54df00a '<?' -> '<?php', updated copyright on top of each file
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@446 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-29 02:40:41 +00:00
Ian Berry 1d13247536 added an 'order by' statement for the data source drop down
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@437 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-28 06:40:23 +00:00
Ian Berry 222852655c got rid of graph grouping field
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@425 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-25 04:31:04 +00:00
Ian Berry a54272a97b form cleanup
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@410 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-20 06:33:20 +00:00
Ian Berry 02e8236816 more fallout from the 'type' column
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@406 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-19 09:25:23 +00:00
Ian Berry 68529a53bc got rid of item presets, cleaned up code and box header text
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@394 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-18 17:52:01 +00:00
Ian Berry c0c860def7 data source drop down on graph items page should only list data template items
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@382 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-16 07:30:20 +00:00
Ian Berry e1bf0143ec started updating viewable graph section of cacti
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@351 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-09 08:52:21 +00:00
Ian Berry d348575daf make sure to specify 'and local_graph_id=0' in sql query
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@343 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-07 08:28:26 +00:00
Ian Berry b2b316c69d moved draw_nontemplated_item() function to form.php and implimented
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@340 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-06 08:45:43 +00:00
Ian Berry 72e8ac65f9 began converting templated forms to use an array, so we can begin working on 'fill in' data for host templates
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@331 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-28 08:32:29 +00:00
Ian Berry 642f271b02 got rid of old $config array, started using read_config_option() function
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@320 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-24 05:37:50 +00:00
Ian Berry 3101a3044f start_box() function now has more args, got rid of start_pagebox()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@308 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-23 05:53:13 +00:00
Ian Berry 0d0abefee8 removal of , and [var] notation out of all main forms, the rest will come soon
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@286 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-11-14 07:27:13 +00:00
Ian Berry 54516e8462 added tabs; fixed some title consistancy stuff
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@242 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-10-28 06:00:56 +00:00
Ian Berry 3817ed25db delete/move[up|down] returns to http referer
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@196 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-08-22 17:31:55 +00:00
Ian Berry ccb56f553e added moveup/movedown code
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@188 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-08-13 06:11:23 +00:00
Ian Berry 8fe5aee121 added unified save code, see the 'form_save' section in the switch statement.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@181 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-08-07 04:30:15 +00:00
Ian Berry 93498261cf added gprint/graph item presets, moved some functions around
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@177 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-07-31 07:19:51 +00:00
Ian Berry 63dd925993 first stab at moving form code out of switch statement and into separate functions. this should make it easier to call multiple functions at once.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@176 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-07-30 19:25:44 +00:00
Ian Berry b96934c633 added strong tags to headers that need to be bold
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@151 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-07-10 01:06:48 +00:00
Ian Berry 17cf4ad52d got rid of new_table() and replaced it with start_box() and end_box(), which are much easier to follow code-wise
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@149 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-07-10 00:32:27 +00:00
Ian Berry e8523bd30b added a 'cancel_action' argument to the delete confirm form; uodated files that use this function
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@146 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-25 21:42:08 +00:00
Ian Berry c66a1557fc added some delete functions, other bugs fixes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@145 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-25 17:21:01 +00:00
Ian Berry 099385e979 moved ending form tag out of save button function, put it statically in each form
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@144 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-25 00:25:00 +00:00
Ian Berry 85f6b62228 moved added ending FORM tag to the DrawFormSaveButton() function, moved all form data above this function
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@141 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-24 16:26:13 +00:00
Ian Berry 1b8d2e2ce5 added full view capability, other fixes and additions
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@136 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-24 07:17:17 +00:00
Ian Berry f7b6105d47 added 'item_remove', made sure group selection always appears
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@113 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-11 20:08:18 +00:00
Ian Berry e6869fb829 added an implicit 'local_graph_id=0' when saving
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@108 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-07 20:16:16 +00:00
Ian Berry 81b3a49416 fixed input saving problem, made parents bold on input_edit screen, fixed <hr> text on item screen
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@94 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-06 14:31:58 +00:00
Ian Berry b3e106d3c1 fixed alternating colors, fixed CDEF drop down box, added ORDER clause to graph item checkboxes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@90 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-05 19:39:27 +00:00
Ian Berry 62218462ad updated forms to new header function, changed to a color that will not blend into the background as much and goes with the header more
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@87 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-04 15:49:56 +00:00
Ian Berry e3b82e30a8 added description field to inputs; added order by clauses in SQL
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@83 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-04 14:32:48 +00:00
Ian Berry 72802132c8 some form and SQL fixes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@78 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-03 21:13:34 +00:00
robsweet cb04f00368 Added an 'if (sizeof())' to the main loop in case there aren't any rows
returned.


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@73 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-03 16:15:24 +00:00
Ian Berry f8fdada351 finish saving stuff/other cleanups
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@69 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-05-30 01:50:18 +00:00
Ian Berry e4fc812bfb added graph input config, some save stuff, a few visual improvements and a few minor cleanups
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@67 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-05-28 00:44:25 +00:00
Ian Berry 8b9f114736 added graph items page, inputs/saving is next
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@62 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-05-27 14:56:02 +00:00
Ian Berry 305de9810e added graph_templates.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@59 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-05-26 16:25:31 +00:00