/[smeserver]/rpms/e-smith-hosts/sme8/e-smith-hosts-1.14.0-no_global.patch
ViewVC logotype

Contents of /rpms/e-smith-hosts/sme8/e-smith-hosts-1.14.0-no_global.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Oct 7 18:27:57 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-hosts-1.14.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/hostentries mezzanine_patched_e-smith-hosts-1.14.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/hostentries
2 --- e-smith-hosts-1.14.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/hostentries 2007-07-06 11:36:36.000000000 -0400
3 +++ mezzanine_patched_e-smith-hosts-1.14.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/hostentries 2007-07-05 13:42:56.000000000 -0400
4 @@ -75,12 +75,6 @@
5 </trans>
6 </entry>
7 <entry>
8 - <base>GLOBAL_IP</base>
9 - <trans>
10 - Global IP
11 - </trans>
12 - </entry>
13 - <entry>
14 <base>ETHERNET_ADDRESS</base>
15 <trans>
16 Ethernet address
17 @@ -242,15 +236,6 @@
18 </trans>
19 </entry>
20 <entry>
21 - <base>DIDNT_ENTER_GLOBAL_IP</base>
22 - <trans>
23 - Error: You did not enter a Global IP value:
24 - A value is required in order to publish
25 - this entry globally. Did not create
26 - hostname.
27 - </trans>
28 - </entry>
29 - <entry>
30 <base>CREATE_REMOTE_HOST_TITLE</base>
31 <trans>
32 Create a new hostname referring to a remote host
33 @@ -282,19 +267,6 @@
34 </trans>
35 </entry>
36 <entry>
37 - <base>PUBLISH_GLOBALLY_LABEL</base>
38 - <trans>
39 - Publish globally
40 - </trans>
41 - </entry>
42 - <entry>
43 - <base>PUBLISH_GLOBALLY_SUBSCRIBED</base>
44 - <trans>
45 - If you select "publish globally" this hostname will
46 - automatically be made available throughout the Internet.
47 - </trans>
48 - </entry>
49 - <entry>
50 <base>LOCAL_PAGE_DESCRIPTION</base>
51 <trans>
52 Please enter the following additional details for a local
53 @@ -309,14 +281,6 @@
54 </trans>
55 </entry>
56 <entry>
57 - <base>GLOBAL_IP_DESCRIPTION</base>
58 - <trans>
59 - Since you selected "publish globally", this hostname will
60 - automatically be made available throughout the Internet,
61 - pointing to the specified "global IP" address.
62 - </trans>
63 - </entry>
64 - <entry>
65 <base>SUCCESSFULLY_DELETED</base>
66 <trans>
67 Successfully deleted host.
68 @@ -399,12 +363,6 @@
69 </trans>
70 </entry>
71 <entry>
72 - <base>GLOBAL</base>
73 - <trans>
74 - Global
75 - </trans>
76 - </entry>
77 - <entry>
78 <base>LOCAL</base>
79 <trans>
80 Local
81 diff -Nur -x '*.orig' -x '*.rej' e-smith-hosts-1.14.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/hostentries.pm mezzanine_patched_e-smith-hosts-1.14.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/hostentries.pm
82 --- e-smith-hosts-1.14.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/hostentries.pm 2007-07-06 11:36:36.000000000 -0400
83 +++ mezzanine_patched_e-smith-hosts-1.14.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/hostentries.pm 2007-07-05 13:41:48.000000000 -0400
84 @@ -50,7 +50,6 @@
85 mac_address_or_blank
86 not_in_dhcp_range
87 print_save_or_add_button
88 - publish_checkbox
89 not_taken
90 must_be_local
91 );
92 @@ -605,26 +604,6 @@
93 "OK";
94 }
95
96 -sub publish_checkbox
97 -{
98 - my $self = shift;
99 - my $q = $self->{cgi};
100 - my $publish = $q->param('publish_globally');
101 - my %boxparams = (
102 - -type => 'checkbox',
103 - -name => 'publish_globally'
104 - );
105 - $boxparams{checked} = 1 if $publish;
106 -
107 - print $q->Tr($q->td({-class => 'sme-noborders-label'},
108 - $self->localise('PUBLISH_GLOBALLY')),
109 - $q->td({-class => 'sme-noborders-content'},
110 - $q->input(\%boxparams)));
111 - $q->delete('publish_globally');
112 -
113 - return undef;
114 -}
115 -
116 =head2 not_taken
117
118 This function checks the local ip address being set in the panel, and

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed