Implemented linker - class for admin_index.php -> change_[theme|language|password], more to come

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
Florian Aders (EleRas)
2011-06-13 17:21:02 +02:00
parent 68e31962bc
commit 6ebd6db87f
9 changed files with 29 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
$header
<form method="post" action="$filename">
<form method="post" action="{$linker->getLink(array('section' => 'index'))}">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">

View File

@@ -1,5 +1,5 @@
$header
<form method="post" action="$filename">
<form method="post" action="{$linker->getLink(array('section' => 'index'))}">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">

View File

@@ -1,5 +1,5 @@
$header
<form method="post" action="$filename">
<form method="post" action="{$linker->getLink(array('section' => 'index'))}">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">

View File

@@ -8,7 +8,7 @@ $header
</header>
<section class="tinyform bradiusodd">
<form method="post" action="$filename" enctype="application/x-www-form-urlencoded">
<form method="post" action="{$linker->getLink(array('section' => 'index'))}" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['menue']['main']['changelanguage']}</legend>
<p>

View File

@@ -8,9 +8,9 @@ $header
</header>
<section class="tinyform bradiusodd">
<form method="post" action="$filename" enctype="application/x-www-form-urlencoded">
<form method="post" action="{$linker->getLink(array('section' => 'index'))}" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp{$lng['menue']['main']['changepassword']}</legend>
<legend>Froxlor&nbsp;-&nbsp;{$lng['menue']['main']['changepassword']}</legend>
<p>
<label for="old_password">{$lng['changepassword']['old_password']}:</label>&nbsp;
<input type="password" id="old_password" name="old_password" />

View File

@@ -8,7 +8,7 @@ $header
</header>
<section class="tinyform bradiusodd">
<form method="post" action="$filename" enctype="application/x-www-form-urlencoded">
<form method="post" action="{$linker->getLink(array('section' => 'index'))}" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['menue']['main']['changetheme']}</legend>
<p>