[vhffs-dev] [1824] No more HTML::Template in admin/object/edit

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1824
Author:   beuss
Date:     2011-05-26 22:43:07 +0200 (Thu, 26 May 2011)
Log Message:
-----------
No more HTML::Template in admin/object/edit

Modified Paths:
--------------
    trunk/vhffs-panel/admin/object/edit.pl
    trunk/vhffs-panel/templates/Makefile.am
    trunk/vhffs-panel/templates/admin/object/edit.tt

Removed Paths:
-------------
    trunk/vhffs-panel/templates/admin/object/edit.tmpl
    trunk/vhffs-panel/templates/admin/object/editembedded.tmpl

Modified: trunk/vhffs-panel/admin/object/edit.pl
===================================================================
--- trunk/vhffs-panel/admin/object/edit.pl	2011-05-26 20:43:00 UTC (rev 1823)
+++ trunk/vhffs-panel/admin/object/edit.pl	2011-05-26 20:43:07 UTC (rev 1824)
@@ -32,7 +32,6 @@
 
 use utf8;
 use POSIX qw(locale_h);
-use HTML::Template;
 use locale;
 use Locale::gettext;
 use CGI;
@@ -40,183 +39,32 @@
 use strict;
 
 use lib '%VHFFS_LIB_DIR%';
-use Vhffs::User;
-use Vhffs::Group;
-use Vhffs::Main;
-use Vhffs::Panel::Main;
-use Vhffs::Panel::Menu;
-use Vhffs::Stats;
-use Vhffs::Constants;
+use Vhffs::Panel::Admin;
+use Vhffs::ObjectFactory;
 
-my $panel = new Vhffs::Panel::Main();
-exit 0 unless $panel;
-my $session = $panel->get_session;
-exit 0 unless $session;
+my $panel = new Vhffs::Panel::Admin();
 
-my $vhffs = $panel->{'vhffs'};
-my $maintemplate = $panel->{'template'};
-my $user = $panel->{'user'};
+my $vhffs = $panel->{vhffs};
 my $cgi = $panel->{'cgi'};
 my $oid = $cgi->param("OID");
-my $template;
 
-
-my $object;
-
-my $templatesdir = $vhffs->get_config->get_templatedir;
-
-if( $user->is_admin != 1 )
-{
-	
-	$template = new HTML::Template( filename => $templatesdir."/panel/misc/simplemsg.tmpl" );
-	my $message = gettext( "You are not allowed to see it");
-	$template->param( MESSAGE => $message );
+unless(defined $oid) {
+    $panel->render('misc/message.tt', {
+        message => gettext('CGI Error!')
+    });
 }
-elsif( ! defined $oid )
-{
-	$template = new HTML::Template( filename => $templatesdir."/panel/misc/simplemsg.tmpl" );
-	$template->param( MESSAGE => gettext( "CGI Error !") );
-}
-elsif( ! defined ( $object = Vhffs::Object::get_by_oid( $vhffs , $oid ) ) )
-{
-	$template = new HTML::Template( filename => $templatesdir."/panel/misc/simplemsg.tmpl" );
-	$template->param( MESSAGE => gettext( "Cannot fetch object") );
-}
-else
-{
-	$template = new HTML::Template( filename => $templatesdir."/panel/admin/object/edit.tmpl" );
 
-	$template->param( TITLE => gettext("Edit Object") );
+my $object = Vhffs::ObjectFactory::fetch_object( $vhffs, $oid);
 
-
-	$template->param( TEXT_OID => gettext("Object id") );
-	$template->param( TEXT_UID => gettext("UID of owner") );
-	$template->param( TEXT_DATE => gettext("Date of creation") );
-	$template->param( TEXT_STATUS => gettext("Status") );
-	$template->param( TEXT_DESCRIPTION => gettext("Description") );
-	$template->param( SEND => gettext("Send") );
-	
-
-	$template->param( VALUE_DESCRIPTION => $object->get_description );
-	$template->param( VALUE_OID => $object->get_oid );
-	$template->param( VALUE_UID => $object->get_owner_uid );
-	$template->param( VALUE_USERNAME => Vhffs::User::get_name_by_uid( $vhffs , $object->get_owner_uid ));
-
-	if( defined $object->get_date )
-	{
-		$template->param( VALUE_DATE => $object->get_date );
-	}
-	else
-	{
-		$template->param( VALUE_DATE => gettext("no date") );
-	}
-
-	$template->param( TEXT_STATUS_WAITING_FOR_VALIDATION => gettext("Waiting for validation") );
-	$template->param( TEXT_STATUS_VALIDATION_REFUSED => gettext("Validation refused") );
-	$template->param( TEXT_STATUS_WAITING_FOR_CREATION => gettext("Waiting for creation") );
-	$template->param( TEXT_STATUS_CREATING_ERROR => gettext("Creating error") );
-	$template->param( TEXT_STATUS_ACTIVATED => gettext("Activated") );
-	$template->param( TEXT_STATUS_CREATED => gettext("Created") );
-	$template->param( TEXT_STATUS_SUSPEND_PENDING => gettext("Waiting for suspension") );
-	$template->param( TEXT_STATUS_SUSPENDED => gettext("Suspended") );
-	$template->param( TEXT_STATUS_WAITING_FOR_MODIFICATION => gettext("Waiting for modification") );
-	$template->param( TEXT_STATUS_MODIFICATION_ERROR => gettext("Modification error") );
-	$template->param( TEXT_STATUS_MODIFICATION_APPLIED => gettext("Modification applied") );
-	$template->param( TEXT_STATUS_TO_DELETE => gettext("Will be deleted") );
-
-
-	$template->param( VALUE_STATUS_WAITING_FOR_VALIDATION => Vhffs::Constants::WAITING_FOR_VALIDATION );
-	$template->param( VALUE_STATUS_VALIDATION_REFUSED => Vhffs::Constants::VALIDATION_REFUSED );
-	$template->param( VALUE_STATUS_WAITING_FOR_CREATION => Vhffs::Constants::WAITING_FOR_CREATION );
-	$template->param( VALUE_STATUS_CREATING_ERROR => Vhffs::Constants::CREATING_ERROR );
-	$template->param( VALUE_STATUS_ACTIVATED => Vhffs::Constants::ACTIVATED );
-	$template->param( VALUE_STATUS_CREATED => Vhffs::Constants::CREATED );
-	$template->param( VALUE_STATUS_SUSPEND_PENDING => Vhffs::Constants::SUSPEND_PENDING );
-	$template->param( VALUE_STATUS_SUSPENDED => Vhffs::Constants::SUSPENDED );
-	$template->param( VALUE_STATUS_WAITING_FOR_MODIFICATION => Vhffs::Constants::WAITING_FOR_MODIFICATION );
-	$template->param( VALUE_STATUS_MODIFICATION_ERROR => Vhffs::Constants::MODIFICATION_ERROR );
-	$template->param( VALUE_STATUS_MODIFICATION_APPLIED => Vhffs::Constants::MODIFICATION_APPLIED );
-	$template->param( VALUE_STATUS_TO_DELETE => Vhffs::Constants::TO_DELETE );
-
-	my $status = $object->get_status;
-
-	if( $status == Vhffs::Constants::WAITING_FOR_VALIDATION )
-	{
-		$template->param( SELECTED_STATUS_WAITING_FOR_VALIDATION => "selected" );
-	}
-	elsif( $status == Vhffs::Constants::VALIDATION_REFUSED )
-	{
-		$template->param( SELECTED_STATUS_VALIDATION_REFUSED => "selected" );
-	}
-	elsif( $status == Vhffs::Constants::WAITING_FOR_CREATION )
-	{
-		$template->param( SELECTED_STATUS_WAITING_FOR_CREATION => "selected" );
-	}
-	elsif( $status == Vhffs::Constants::CREATING_ERROR )
-	{
-		$template->param( SELECTED_STATUS_CREATING_ERROR => "selected" );
-	}
-	elsif( $status == Vhffs::Constants::CREATED )
-	{
-		$template->param( SELECTED_STATUS_CREATED => "selected" );
-	}
-	elsif( $status == Vhffs::Constants::ACTIVATED )
-	{
-		$template->param( SELECTED_STATUS_ACTIVATED => "selected" );
-	}
-	elsif( $status == Vhffs::Constants::SUSPEND_PENDING )
-	{
-		$template->param( SELECTED_STATUS_SUSPEND_PENDING => "selected" );
-	}
-	elsif( $status == Vhffs::Constants::SUSPENDED )
-	{
-		$template->param( SELECTED_STATUS_SUSPENDED => "selected" );
-	}
-	elsif( $status == Vhffs::Constants::WAITING_FOR_MODIFICATION )
-	{
-		$template->param( SELECTED_STATUS_WAITING_FOR_MODIFICATION => "selected" );
-	}
-	elsif( $status == Vhffs::Constants::MODIFICATION_ERROR )
-	{
-		$template->param( SELECTED_STATUS_MODIFICATION_ERROR => "selected" );
-	}
-	elsif( $status == Vhffs::Constants::MODIFICATION_APPLIED )
-	{
-		$template->param( SELECTED_STATUS_MODIFICATION_APPLIED => "selected" );
-	}
-	elsif( $status == Vhffs::Constants::TO_DELETE )
-	{
-		$template->param( SELECTED_STATUS_TO_DELETE => "selected" );
-	}
-
-
-	$template->param( AVATAR_TITLE => gettext( "Avatar management" ) );
-	$template->param( DELETE_AVATAR => gettext( "Delete avatar for this object" ) );
-	# Print history
-    $template->param( HISTORY_TITLE => gettext("History of this object") );
-	my $output = "";
-	my $string;
-	my $history = $object->get_history;
-
-    unless( @{$history} ) {
-        $template->param( HISTORY_PART => gettext('No event about this object') );
-    } else {
-        my $output = '';
-        my $history_tmpl = new HTML::Template( filename => $templatesdir.'/panel/misc/history_part.tmpl' );
-        use DateTime;
-        use DateTime::Locale;
-        my $loc = DateTime::Locale->load($user->get_lang);
-        foreach (@{$history}) {
-            my $dt = DateTime->from_epoch( epoch => $_->{date}, locale => $user->get_lang);
-            $history_tmpl->param( DATE => $dt->strftime($loc->medium_date_format().' '.$loc->long_time_format()) );
-            $history_tmpl->param( EVENT => $_->{message} );
-            $output .= $history_tmpl->output;
-        }
-        $template->param( HISTORY_PART => $output );
-    }
-
+unless(defined $object) {
+    $panel->render('misc/message.tt', {
+        message => gettext('Object not found')
+    });
 }
 
-$panel->build( $template );
-$panel->display;
+$panel->render('admin/object/edit.tt', {
+    object => $object,
+    use_avatars => ($object->get_type == Vhffs::Constants::TYPE_USER && $panel->use_users_avatars)
+        || ($object->get_type == Vhffs::Constants::TYPE_GROUP && $panel->use_groups_avatars)
+});
 

Modified: trunk/vhffs-panel/templates/Makefile.am
===================================================================
--- trunk/vhffs-panel/templates/Makefile.am	2011-05-26 20:43:00 UTC (rev 1823)
+++ trunk/vhffs-panel/templates/Makefile.am	2011-05-26 20:43:07 UTC (rev 1824)
@@ -6,9 +6,6 @@
 	admin/misc/list.tmpl \
 	admin/misc/stats.tmpl \
 	admin/misc/su.tmpl \
-	admin/object/edit.tmpl \
-	admin/object/editembedded.tmpl \
-	admin/object/part.tmpl \
 	admin/object/search.tmpl \
 	admin/tag/create.tmpl \
 	admin/tag/edit.tmpl \

Deleted: trunk/vhffs-panel/templates/admin/object/edit.tmpl
===================================================================
--- trunk/vhffs-panel/templates/admin/object/edit.tmpl	2011-05-26 20:43:00 UTC (rev 1823)
+++ trunk/vhffs-panel/templates/admin/object/edit.tmpl	2011-05-26 20:43:07 UTC (rev 1824)
@@ -1,65 +0,0 @@
-<h1><TMPL_VAR ESCAPE=1 NAME="TITLE"></h1>
-	
-<form method="post" action="edit_submit.pl" accept-charset="utf-8">
-
-	<p>
-		<label>
-			<TMPL_VAR ESCAPE=1 NAME="TEXT_OID">
-		</label>
-		<TMPL_VAR ESCAPE=1 NAME="VALUE_OID">
-	</p>
-	<p>
-		<label for="UID">			
-			<TMPL_VAR ESCAPE=1 NAME="TEXT_UID">
-		</label>
-		<input type="text" name="UID" id="UID" value="<TMPL_VAR ESCAPE=1 NAME="VALUE_UID">" />
-		( <TMPL_VAR ESCAPE=1 NAME="VALUE_USERNAME"> )
-	</p>
-	<p>
-		<label>			
-			<TMPL_VAR ESCAPE=1 NAME="TEXT_DATE">
-		</label>
-			<TMPL_VAR ESCAPE=1 NAME="VALUE_DATE">
-	</p>
-	<p>
-		<label for="STATUS">			
-			<TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS">
-		</label>
-			<select name="STATUS" id="STATUS">
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_WAITING_FOR_VALIDATION">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_WAITING_FOR_VALIDATION">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_WAITING_FOR_VALIDATION"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_VALIDATION_REFUSED">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_VALIDATION_REFUSED">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_VALIDATION_REFUSED"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_WAITING_FOR_CREATION">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_WAITING_FOR_CREATION">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_WAITING_FOR_CREATION"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_CREATING_ERROR">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_CREATING_ERROR">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_CREATING_ERROR"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_CREATED">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_CREATED">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_CREATED"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_ACTIVATED">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_ACTIVATED">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_ACTIVATED"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_SUSPEND_PENDING">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_SUSPEND_PENDING">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_SUSPEND_PENDING"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_SUSPENDED">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_SUSPENDED">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_SUSPENDED"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_WAITING_FOR_MODIFICATION">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_WAITING_FOR_MODIFICATION">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_WAITING_FOR_MODIFICATION"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_MODIFICATION_ERROR">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_MODIFICATION_ERROR">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_MODIFICATION_ERROR"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_MODIFICATION_APPLIED">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_MODIFICATION_APPLIED">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_MODIFICATION_APPLIED"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_TO_DELETE">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_TO_DELETE">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_TO_DELETE"></option>
-			</select>
-	</p>
-	<p>
-		<label>		
-			<TMPL_VAR ESCAPE=1 NAME="TEXT_DESCRIPTION">:
-		</label>
-		<textarea name="description" id="description" cols="45" rows="7"><TMPL_VAR ESCAPE=1 NAME="VALUE_DESCRIPTION"></textarea>
-	</p>
-
-	<p class="button" id="buttonSend">
-		<input type="hidden" name="OID" value="<TMPL_VAR ESCAPE=1 NAME="VALUE_OID">" />
-		<input type="submit" value="<TMPL_VAR ESCAPE=1 NAME="SEND">" />
-	</p>
-
-</form>
-
-<h2><TMPL_VAR ESCAPE=1 NAME="HISTORY_TITLE"></h2>
-<table>
-	<TMPL_VAR ESCAPE=0 NAME="HISTORY_PART">
-</table>
-
-<h2><TMPL_VAR ESCAPE=1 NAME="AVATAR_TITLE"></h2>
-<ul>
-	<li><a href="delete_avatar.pl?OID=<TMPL_VAR ESCAPE=1 NAME="VALUE_OID">"><TMPL_VAR ESCAPE=1 NAME="DELETE_AVATAR"></a></li>
-</ul>

Modified: trunk/vhffs-panel/templates/admin/object/edit.tt
===================================================================
--- trunk/vhffs-panel/templates/admin/object/edit.tt	2011-05-26 20:43:00 UTC (rev 1823)
+++ trunk/vhffs-panel/templates/admin/object/edit.tt	2011-05-26 20:43:07 UTC (rev 1824)
@@ -60,7 +60,7 @@
 [% INCLUDE 'misc/history.tt'
     history = object.get_history %]
 
-[% IF use_avatar %]
+[% IF use_avatars %]
 <h2>[% 'Avatar management' | i18n | html %]</h2>
 <p><a href="delete_avatar.pl?OID=[% object.get_oid %]">[% 'Delete avatar for this object' | i18n | html %]</a></p>
 [% END %]

Deleted: trunk/vhffs-panel/templates/admin/object/editembedded.tmpl
===================================================================
--- trunk/vhffs-panel/templates/admin/object/editembedded.tmpl	2011-05-26 20:43:00 UTC (rev 1823)
+++ trunk/vhffs-panel/templates/admin/object/editembedded.tmpl	2011-05-26 20:43:07 UTC (rev 1824)
@@ -1,65 +0,0 @@
-<h1><TMPL_VAR ESCAPE=1 NAME="TITLE"></h1>
-	
-<form method="post" action="/admin/object/edit_submit.pl" accept-charset="utf-8">
-
-	<p>
-		<label>
-			<TMPL_VAR ESCAPE=1 NAME="TEXT_OID">
-		</label>
-		<TMPL_VAR ESCAPE=1 NAME="VALUE_OID">
-	</p>
-	<p>
-		<label for="UID">			
-			<TMPL_VAR ESCAPE=1 NAME="TEXT_UID">
-		</label>
-		<input type="text" name="UID" id="UID" value="<TMPL_VAR ESCAPE=1 NAME="VALUE_UID">" />
-		( <TMPL_VAR ESCAPE=1 NAME="VALUE_USERNAME"> )
-	</p>
-	<p>
-		<label>			
-			<TMPL_VAR ESCAPE=1 NAME="TEXT_DATE">
-		</label>
-			<TMPL_VAR ESCAPE=1 NAME="VALUE_DATE">
-	</p>
-	<p>
-		<label for="STATUS">			
-			<TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS">
-		</label>
-			<select name="STATUS" id="STATUS">
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_WAITING_FOR_VALIDATION">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_WAITING_FOR_VALIDATION">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_WAITING_FOR_VALIDATION"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_VALIDATION_REFUSED">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_VALIDATION_REFUSED">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_VALIDATION_REFUSED"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_WAITING_FOR_CREATION">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_WAITING_FOR_CREATION">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_WAITING_FOR_CREATION"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_CREATING_ERROR">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_CREATING_ERROR">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_CREATING_ERROR"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_CREATED">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_CREATED">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_CREATED"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_ACTIVATED">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_ACTIVATED">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_ACTIVATED"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_SUSPEND_PENDING">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_SUSPEND_PENDING">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_SUSPEND_PENDING"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_SUSPENDED">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_SUSPENDED">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_SUSPENDED"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_WAITING_FOR_MODIFICATION">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_WAITING_FOR_MODIFICATION">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_WAITING_FOR_MODIFICATION"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_MODIFICATION_ERROR">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_MODIFICATION_ERROR">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_MODIFICATION_ERROR"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_MODIFICATION_APPLIED">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_MODIFICATION_APPLIED">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_MODIFICATION_APPLIED"></option>
-				<option value="<TMPL_VAR ESCAPE=1 NAME="VALUE_STATUS_TO_DELETE">" <TMPL_VAR ESCAPE=1 NAME="SELECTED_STATUS_TO_DELETE">> <TMPL_VAR ESCAPE=1 NAME="TEXT_STATUS_TO_DELETE"></option>
-			</select>
-	</p>
-	<p>
-		<label>		
-			<TMPL_VAR ESCAPE=1 NAME="TEXT_DESCRIPTION">:
-		</label>
-		<textarea name="description" id="description" cols="45" rows="7"><TMPL_VAR ESCAPE=1 NAME="VALUE_DESCRIPTION"></textarea>
-	</p>
-
-	<p class="button" id="buttonSend">
-		<input type="hidden" name="OID" value="<TMPL_VAR ESCAPE=1 NAME="VALUE_OID">" />
-		<input type="submit" value="<TMPL_VAR ESCAPE=1 NAME="SEND">" />
-	</p>
-
-</form>
-
-<h2><TMPL_VAR ESCAPE=1 NAME="HISTORY_TITLE"></h2>
-<table>
-	<TMPL_VAR ESCAPE=0 NAME="HISTORY_PART">
-</table>
-
-<h2><TMPL_VAR ESCAPE=1 NAME="AVATAR_TITLE"></h2>
-<ul>
-	<li><a href="delete_avatar.pl?OID=<TMPL_VAR ESCAPE=1 NAME="VALUE_OID">"><TMPL_VAR ESCAPE=1 NAME="DELETE_AVATAR"></a></li>
-</ul>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/