Go to the source code of this file.
|
| $menu_item = "Redirects" |
|
| $redirects = Query::create(Redirect, "ORDER BY redirect_from")->execute() |
|
| $table = new DataListView($redirects, "redirects") |
|
$table column("Redirect From", "<a href='redirect_form?redirect_id={redirect_id}'>{redirect_from}</a>", true, "width: 30%") -> column("Redirect To", "<a href='{redirect_to}' target='_blank'>{redirect_to}</a>", true, "width: 30%") ->column("Last Modified", "{last_modified}", true, "width: 20%; text-align: center") ->column("Override", "{ override | true |
|
$table column("Redirect From", "<a href='redirect_form?redirect_id={redirect_id}'>{redirect_from}</a>", true, "width: 30%") -> column("Redirect To", "<a href='{redirect_to}' target='_blank'>{redirect_to}</a>", true, "width: 30%") ->column("Last Modified", "{last_modified}", true, "width: 20%; text-align: center") ->column("Override", "{ override | width |
|
text | align {active:Yes/No}", true, "width: 10% |
|
$table | pageSize = 20 |
|
$table | filter = true |
|
$table | excelFile = "redirects.xls" |
|
$table | emptyMessage = "You have not yet defined any redirects" |
|
| $script = $table->writeScript() |
|
◆ $menu_item
◆ $redirects
$redirects = Query::create(Redirect, "ORDER BY redirect_from")->execute() |
◆ $script
$script = $table->writeScript() |
◆ $table
$table = new DataListView($redirects, "redirects") |
◆ align
text text align {active:Yes/No}", true, "width: 10% |
◆ emptyMessage
$table emptyMessage = "You have not yet defined any redirects" |
◆ excelFile
$table excelFile = "redirects.xls" |
◆ filter
◆ pageSize
◆ true
$table column ("Redirect From", "<a href='redirect_form?redirect_id={redirect_id}'>{redirect_from}</a>", true, "width: 30%") -> column("Redirect To", "<a href='{redirect_to}' target='_blank'>{redirect_to}</a>", true, "width: 30%") ->column("Last Modified", "{last_modified}", true, "width: 20%; text-align: center") ->column("Override", "{ override true |
|
override |
◆ width
$table column ("Redirect From", "<a href='redirect_form?redirect_id={redirect_id}'>{redirect_from}</a>", true, "width: 30%") -> column("Redirect To", "<a href='{redirect_to}' target='_blank'>{redirect_to}</a>", true, "width: 30%") ->column("Last Modified", "{last_modified}", true, "width: 20%; text-align: center") ->column("Override", "{ override width |