diff options
author | mcrane <mctch@yahoo.com> | 2009-06-20 01:34:23 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-06-20 01:35:58 -0600 |
commit | 9422f1f9ac15a4cda768486e50d76a146d498de8 (patch) | |
tree | 72d64cb588c9f0793378904526e8ea731514cb20 /config/freeswitch/freeswitch_ivr_edit.tmp | |
parent | 38a573d266e2cefbc2b9d2ff25791482e18b7c7f (diff) | |
download | pfsense-packages-9422f1f9ac15a4cda768486e50d76a146d498de8.tar.gz pfsense-packages-9422f1f9ac15a4cda768486e50d76a146d498de8.tar.bz2 pfsense-packages-9422f1f9ac15a4cda768486e50d76a146d498de8.zip |
FreeSWITCH package hide edit, add, and delete from view for child options until the parent data is created.
Diffstat (limited to 'config/freeswitch/freeswitch_ivr_edit.tmp')
-rw-r--r-- | config/freeswitch/freeswitch_ivr_edit.tmp | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/config/freeswitch/freeswitch_ivr_edit.tmp b/config/freeswitch/freeswitch_ivr_edit.tmp index 77d7ceec..6b64994e 100644 --- a/config/freeswitch/freeswitch_ivr_edit.tmp +++ b/config/freeswitch/freeswitch_ivr_edit.tmp @@ -501,7 +501,11 @@ display_top_tabs(build_menu()); <table border="0" cellspacing="0" cellpadding="1"> <tr> <td width="17"></td> - <td valign="middle"><a href="freeswitch_ivr_options_edit.php?parentid=<?=$parentid;?>&ivrid=<?=$ivrid;?>&a=action"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td> + <td valign="middle"> + <?php if (strlen($ivrid) > 1) { ?> + <a href="freeswitch_ivr_options_edit.php?parentid=<?=$parentid;?>&ivrid=<?=$ivrid;?>&a=action"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a> + <?php } ?> + </td> </tr> </table> </td> @@ -550,7 +554,11 @@ display_top_tabs(build_menu()); <table border="0" cellspacing="0" cellpadding="1"> <tr> <td width="17"></td> - <td valign="middle"><a href="freeswitch_ivr_options_edit.php?parentid=<?=$parentid;?>&ivrid=<?=$ivrid;?>&a=action"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td> + <td valign="middle"> + <?php if (strlen($ivrid) > 1) { ?> + <a href="freeswitch_ivr_options_edit.php?parentid=<?=$parentid;?>&ivrid=<?=$ivrid;?>&a=action"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a> + <?php } ?> + </td> </tr> </table> </td> @@ -603,7 +611,11 @@ display_top_tabs(build_menu()); <table border="0" cellspacing="0" cellpadding="1"> <tr> <td width="17"></td> - <td valign="middle"><a href="freeswitch_ivr_options_edit.php?parentid=<?=$parentid;?>&ivrid=<?=$ivrid;?>&a=antiaction"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td> + <td valign="middle"> + <?php if (strlen($ivrid) > 1) { ?> + <a href="freeswitch_ivr_options_edit.php?parentid=<?=$parentid;?>&ivrid=<?=$ivrid;?>&a=antiaction"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a> + <?php } ?> + </td> </tr> </table> </td> @@ -652,7 +664,11 @@ display_top_tabs(build_menu()); <table border="0" cellspacing="0" cellpadding="1"> <tr> <td width="17"></td> - <td valign="middle"><a href="freeswitch_ivr_options_edit.php?parentid=<?=$parentid;?>&ivrid=<?=$ivrid;?>&a=antiaction"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td> + <td valign="middle"> + <?php if (strlen($ivrid) > 1) { ?> + <a href="freeswitch_ivr_options_edit.php?parentid=<?=$parentid;?>&ivrid=<?=$ivrid;?>&a=antiaction"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a> + <? } ?> + </td> </tr> </table> </td> |