new toolbar is in place
|
|
@ -34,7 +34,6 @@ A package for generating user interface buttons. The subroutines found herein do
|
|||
$html = $self->session->icon->delete('op=something');
|
||||
$html = $self->session->icon->drag();
|
||||
$html = $self->session->icon->edit('op=something');
|
||||
$html = $self->session->icon->help(1,"MyNamespace");
|
||||
$html = $self->session->icon->manage('op=something');
|
||||
$html = $self->session->icon->moveBottom('op=something');
|
||||
$html = $self->session->icon->moveDown('op=something');
|
||||
|
|
@ -42,7 +41,6 @@ A package for generating user interface buttons. The subroutines found herein do
|
|||
$html = $self->session->icon->moveRight('op=something');
|
||||
$html = $self->session->icon->moveTop('op=something');
|
||||
$html = $self->session->icon->moveUp('op=something');
|
||||
$html = $self->session->icon->paste('op=something');
|
||||
$html = $self->session->icon->shortcut('op=something');
|
||||
$html = $self->session->icon->view('op=something');
|
||||
|
||||
|
|
@ -268,33 +266,6 @@ sub getToolbarOptions {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 help ( helpId [, namespace ] )
|
||||
|
||||
Generates a button with the word "Help" printed on it.
|
||||
|
||||
=head3 helpId
|
||||
|
||||
The id in the help table that relates to the help documentation for your function.
|
||||
|
||||
=head3 namespace
|
||||
|
||||
If your help documentation is not in the WebGUI namespace, then you must specify the namespace for this help.
|
||||
|
||||
=cut
|
||||
|
||||
sub help {
|
||||
my $self = shift;
|
||||
my $urlParams = shift;
|
||||
my $pageURL = shift || $self->session->url->getRequestedUrl;
|
||||
my ($output, $namespace);
|
||||
my $i18n = WebGUI::International->new($self->session,'Icon');
|
||||
$output = '<a href="'.$self->session->url->page('op=viewHelp;hid='.$urlParams.';namespace='.$namespace).
|
||||
'" target="_blank"><img src="'.$self->_getBaseURL().'help.gif" style="border: 0px;" align="right" title="'.$i18n->get('Help').'" Alt="'.$i18n->get('Help').'"></a>';
|
||||
rneturn $output;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 locked ( urlParameters [, pageURL ] )
|
||||
|
||||
Generates a button that represents a management function. Is toggled out in place of the edit icon when an asset is locked.
|
||||
|
|
@ -521,32 +492,6 @@ sub new {
|
|||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 paste ( urlParameters [, pageURL ] )
|
||||
|
||||
Generates a button with the word "Paste" printed on it.
|
||||
|
||||
=head3 urlParameters
|
||||
|
||||
Any URL parameters that need to be tacked on to the current URL to accomplish whatever function this button represents.
|
||||
|
||||
=head3 pageURL
|
||||
|
||||
The URL to any page. Defaults to the current page.
|
||||
|
||||
=cut
|
||||
|
||||
sub paste {
|
||||
my $self = shift;
|
||||
my $urlParams = shift;
|
||||
my $pageURL = shift || $self->session->url->getRequestedUrl;
|
||||
my $i18n = WebGUI::International->new($self->session,'Icon');
|
||||
my $output = '<a href="'.$self->session->url->gateway($pageURL,$urlParams).'">';
|
||||
$output .= '<img src="'.$self->_getBaseURL().'paste.gif" align="middle" style="border: 0px;" alt="'.$i18n->get('Paste').'" title="'.$i18n->get('Paste').'" /></a>';
|
||||
return $output;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 session ( )
|
||||
|
|
|
|||
|
|
@ -41,11 +41,6 @@ our $I18N = {
|
|||
lastUpdated => 1096319564
|
||||
},
|
||||
|
||||
'Paste' => {
|
||||
message => q|Paste|,
|
||||
lastUpdated => 1096319546
|
||||
},
|
||||
|
||||
'Move To Top' => {
|
||||
message => q|Move To Top|,
|
||||
lastUpdated => 1096319549
|
||||
|
|
@ -91,11 +86,6 @@ our $I18N = {
|
|||
lastUpdated => 1096319563
|
||||
},
|
||||
|
||||
'Help' => {
|
||||
message => q|Help|,
|
||||
lastUpdated => 1096319560
|
||||
},
|
||||
|
||||
'Export' => {
|
||||
message => q|Export|,
|
||||
lastUpdated => 1096319561
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 448 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 399 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 286 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 524 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 405 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 286 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 590 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 298 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 277 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 286 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 280 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 300 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 282 B |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 262 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 434 B |