Ian Berry
ea47f3eddf
prevent duplicate data templates from being displayed (bug#0000304)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@2112 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-09-29 20:41:04 +00:00
Ian Berry
20be031c1d
display data templates with no set data input method (bug#0000310)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@2111 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-09-29 20:25:22 +00:00
Larry Adams
18f4904258
Fix for data_template change data_input_method problem.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@2038 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-08-30 20:19:30 +00:00
Ian Berry
de0ba09964
make box padding=3 to keep consistency
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1820 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-07-22 04:56:30 +00:00
Larry Adams
bd3917a4eb
get rid of a little SQL
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1814 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-07-22 02:53:33 +00:00
Larry Adams
b73d9711d4
I think you will like this change.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1813 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-07-22 02:48:37 +00:00
Ian Berry
353184fa63
use html templates/html* functions where possible
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1610 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-24 19:16:05 +00:00
Ian Berry
74894f9135
move lib/form.php to lib/html*
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1602 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-22 04:12:08 +00:00
Ian Berry
7d0512bd01
move the actions dropdown form code into draw_actions_dropdown()
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1565 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-07 01:57:18 +00:00
Ian Berry
943cf8c200
correct 'check all' to not be 'invert all' across the board (bug#0000124)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1560 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-07 00:24:58 +00:00
Ian Berry
4408f18def
update the way templated custom data fields work:
...
- if the field is templated, empty, and a host field; use the host value
- if the field is template, non-empty, and a host field, use the template field value
- if the field is non-templated, use the user-specified value (per-data source)
unify the valid host field check in lib/config_form.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1485 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-25 02:38:32 +00:00
Ian Berry
9014054837
updated the copyright to 2004
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1469 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-19 06:05:14 +00:00
Ian Berry
7aff0ab7bf
add 'drop_multi_rra' form type and remove the hack on data sources/template pages
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1398 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-26 04:50:10 +00:00
Ian Berry
9742b6feee
remember to update the *local tables when deleting a template
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1383 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-17 02:33:38 +00:00
Ian Berry
009b6e1dd5
fix hidden id storage on edit form that caused data template items to keep growing
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1325 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-06 01:51:18 +00:00
Ian Berry
2bf08d6814
add hash support when saving
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1293 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-26 02:26:49 +00:00
Ian Berry
7f17afd9c2
move some template related functions into lib/template.php
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1265 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-14 04:35:47 +00:00
Ian Berry
f15d5f6a39
move all edit form data to 'include/config_form.php'
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1231 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-09-23 03:17:14 +00:00
Ian Berry
39866609d3
unified all edit form code; updated references to the new 'lib/' directory
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1228 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-09-22 04:31:58 +00:00
Ian Berry
2c93a748f7
some undefined variable errors
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1206 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-08-29 04:55:06 +00:00
Ian Berry
a8e7b42624
data source item adds/removes should be propagated correctly; 'Associated RRA's' propagates now; took away the 'Use Per-Data Source Value' checkbox for fields that it doesn't apply to
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1159 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-08-19 06:38:34 +00:00
Ian Berry
a1ab357f80
fix redirect after a save error as to &view_rrd=
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1140 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-08-17 06:33:17 +00:00
Ian Berry
5334d7e22c
eliminating some db orphans
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@994 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-30 02:49:53 +00:00
Ian Berry
f6c72bdb2d
fix some undefined variable errors
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@957 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-23 07:19:04 +00:00
Ian Berry
638ea8ad4e
fix error if no RRA's are selected
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@923 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-14 16:55:35 +00:00
Ian Berry
e27c873bd4
replaced cancel/save buttons with no/yes buttons on action forms
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@919 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-13 05:31:48 +00:00
Ian Berry
2bc3b10624
allow negative integers for min/max values
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@886 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-24 19:35:55 +00:00
Ian Berry
20b0b6f558
added delete and duplicate actions, got rid of 'full view' support
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@832 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-14 00:36:15 +00:00
Ian Berry
e3b9739bc0
redirection problem when deleting data source items
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@783 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-27 03:57:09 +00:00
Ian Berry
d17b024d84
fixed potential db orphans and got rid of one undefined var error
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@687 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-13 05:46:01 +00:00
Ian Berry
f8195dbac2
add counter so the tabs can be numbered
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@667 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-10 07:52:20 +00:00
Ian Berry
f2d6374c74
added better looking tabs to these pages
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@645 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-09 22:06:15 +00:00
Ian Berry
c01ef55ffd
header fixes
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@597 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-27 08:04:50 +00:00
Ian Berry
7ccdb3604c
using $_SERVER instead of getenv()
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@586 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-24 01:27:00 +00:00
Ian Berry
dc6de06fd6
replace references to mysql's LAST_INSERT_ID() with an abstracted db_fetch_insert_id()
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@578 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-23 22:44:54 +00:00
Ian Berry
40e09eeea8
data_input_field_id stuff
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@527 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-17 08:35:29 +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
6093e072f2
updated header style; calls to form_base_checkbox()
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@450 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-31 06:56:22 +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
2980ad8aea
redirect to the appropriate place upon save
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@409 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-20 06:32:29 +00:00
Ian Berry
74a0e35762
updated delete template action, so it actually works
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@371 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-13 05:34:19 +00:00
Ian Berry
8bd6b763ec
added multi-select for ds->rra selection
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@358 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-10 08:34:30 +00:00
Ian Berry
2f18759ced
fixed problems pulling from 'data_template_data' table
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@342 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-07 08:27:40 +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
7913b06e95
added data source form data to array and added it to forms
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@334 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-02 07:59:07 +00:00
Ian Berry
6c700d5df3
only display custom data box !new save
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@326 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-25 07:29:24 +00:00
Ian Berry
c23b74e4c7
custom data should really be part of data templates and not host templates... global warming?
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@324 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-25 07:25:39 +00:00