/admin/applications_addon/other/samp/app_class_samp.php :
<?php
class public_samp_example_mysection extends ipsCommand
{
public function doExecute( ipsRegistry $registry )
{
$this->lang->loadLanguageFile( array( 'public_lang' ), 'samp' );
$this->registry->output->setTitle( $this->lang->words['samp_title'] );
$this->registry->output->addNavigation( $this->lang->words['samp_title'], NULL );
$this->registry->output->addContent( $this->registry->output->getTemplate('samp')->samp() );
$this->registry->output->sendOutput();
}
}
/admin/applications_addon/other/samp/samp_public_lang.php :
<?php
$lang = array(
'samp_title' => "Panel Gracza SAMP",
);
/admin/applications_addon/other/samp/modules_public/example/defaultSection.php :
<?php
$DEFAULT_SECTION = 'mysection';
/admin/applications_addon/other/samp/modules_public/example/mysection.php :
<?php
class public_samp_example_mysection extends ipsCommand
{
public function doExecute( ipsRegistry $registry )
{
print "Panel Gracza SAMP
";
}
}
/admin/applications_addon/other/samp/skin_cp/skin_samp.php :
<?php
class skin_samp_0 extends output {
//===========================================================================
// <ips:board_rules:desc::trigger:>
//===========================================================================
function samp() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='row2 ipsPad'>
{$this->lang->words['samp_title']}
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
}