Vergleich admin/inc/functions_view_manager.php - 1.8.5 - 1.8.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 11Zeile 11
/**
* Builds the "view management" interface allowing administrators to edit their custom designed "views"
*

/**
* Builds the "view management" interface allowing administrators to edit their custom designed "views"
*

 * @param string The base URL to this instance of the view manager
* @param string The internal type identifier for this view
* @param array Array of fields this view supports
* @param array Array of possible sort options this view supports if any
* @param string Optional callback function which generates list of "conditions" for this view

 * @param string $base_url The base URL to this instance of the view manager
* @param string $type The internal type identifier for this view
* @param array $fields Array of fields this view supports
* @param array $sort_options Array of possible sort options this view supports if any
* @param string $conditions_callback Optional callback function which generates list of "conditions" for this view

 */
function view_manager($base_url, $type, $fields, $sort_options=array(), $conditions_callback="")
{

 */
function view_manager($base_url, $type, $fields, $sort_options=array(), $conditions_callback="")
{

Zeile 575Zeile 575
				$view_type = "group";
if($view['username'])
{

				$view_type = "group";
if($view['username'])
{

					$created = "<br /><small>{$lang->created_by} {$view['username']}</small>";


					$username = htmlspecialchars_uni($view['username']);
$created = "<br /><small>{$lang->created_by} {$username}</small>";

				}
}
else

				}
}
else

Zeile 655Zeile 656
	}
}


	}
}


 
/**
* @param string $type
*
* @return bool|array
*/

function fetch_default_view($type)
{
global $mybb, $db;

function fetch_default_view($type)
{
global $mybb, $db;