mirror of
https://github.com/e107inc/e107.git
synced 2025-05-03 10:49:12 +02:00
Refined eUrl admin example
This commit is contained in:
parent
8f8a0babfa
commit
a73dc8ed10
@ -446,19 +446,36 @@ class eurl_admin_form_ui extends e_admin_form_ui
|
||||
$example .= "
|
||||
|
||||
<tr><td>News</td>
|
||||
<td><select class='tbox' name='example'>
|
||||
<option value='0'>/news.php?item.1 (default)</option>
|
||||
<option value='1'>/news-item-title</option>
|
||||
<option value='2'>/news/news-item-title</option>
|
||||
<option value='3'>/2011/news-item-title</option>
|
||||
<option value='4'>/2011/08/news-item-title</option>
|
||||
<option value='4'>/2011/08/27/news-item-title</option>
|
||||
<option value='5'>/news-category/news-item-title</option>
|
||||
<option value='6'>/news-category/2011/news-item-title</option>
|
||||
</select>";
|
||||
<td style='padding:0px'>
|
||||
<table style='width:600px;margin-left:0px'>
|
||||
<tr>
|
||||
<td><input type='radio' class='radio' name='example' />Default</td><td>/news.php?item.1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='radio' class='radio' name='example' />News Namespace and News Title</td><td>/news/news-item-title</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='radio' class='radio' name='example' />Year and News Title</td><td>/2011/news-item-title</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='radio' class='radio' name='example' />Year/Month and News Title</td><td>/2011/08/news-item-title</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='radio' class='radio' name='example' />Year/Month/Day and News Title</td><td>/2011/08/27/news-item-title</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='radio' class='radio' name='example' />News Category and News Title</td><td>/news-category/news-item-title</td>
|
||||
</tr>
|
||||
";
|
||||
|
||||
// For 0.8 Beta
|
||||
$example .= "
|
||||
<tr>
|
||||
<td><input type='radio' class='radio' name='example' />Custom</td><td><input class='tbox' type='text' name='custom-news' value='' /></td>
|
||||
</tr>";
|
||||
|
||||
$example .= "</table>";
|
||||
|
||||
// $example .= "<br />Custom <input class='tbox' type='text' name='custom-news' value='' />"; For Beta.
|
||||
|
||||
$example .= "</td>
|
||||
</tr>";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user