Пример #1
0
 public function applications()
 {
     if (GadgetRequest::hasPaging()) {
         return $this->applicationsByQuery(array());
     }
     return $this->getData($this->base . "applications/");
 }
Пример #2
0
?>
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div class="listContainer">
            <div >
                <table style="table-layout: fixed" cellSpacing="0" cellPadding="0">
                    <tbody>
                        <tr >
                            <td>
                                <?php 
$vname = $this->getViewName();
if (!isset($vname)) {
    GadgetRequest::GetRequest()->ViewName = "simplelist";
    $vname = "simplelist";
}
$this->partial($vname);
?>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div></div>
        </div>
        </td>
    </tr>
    <tr>
        <td class="helpContainer" style="background-color: white;">
Пример #3
0
}
?>
<table style="table-layout: fixed;width:100%;" cellSpacing="0" cellPadding="0" border="0" align="center" width="100%">
    <tbody>
        <tr align="left" style="width:100%;">
            <td style="width:60px;padding-right:30px;">
                <a href="http://www.egi.eu" target="_blank" style="text-decoration: none;border-style:none;display:block;color:white;overflow:hidden;">
                <img src="http://appdb.egi.eu/images/EGI-logo_small2.png" width="40px" height="20px" alt="www.egi.eu" style="text-decoration: none;border-style: none;color:white;" />
                </a>
            </td>
            <td align="center" style="width:75%;" >
                
                <div style="width:100%;">
                    <center style="width:100%">
                <?php 
$title = @GadgetRequest::GetRequest()->ViewParameters["title"];
if (isset($title)) {
    echo $title;
} else {
    echo "";
}
?>
                        </center>
                </div>
                  
            </td>
            <td align="right" style="min-width:75px;float:right;">
                <?php 
if ($search === true) {
    ?>
                <a id="searchlink" onclick="gadgets.appdb.applications.toggleSearch();" style="font-size: x-small;text-decoration: none;cursor:pointer;vertical-align: middle;padding-right:5px;">
Пример #4
0
 public function init()
 {
     header('Access-Control-Allow-Origin: *');
     header('Access-Control-Request-Method: GET');
     $this->request = GadgetRequest::GetRequest();
     $modname = $this->request->ModuleName;
     $this->module = GadgetBaseModule::getModule($modname);
     if ($this->module === null) {
         GadgetError::RaiseError(ETypeError::ModuleNotFound);
     }
     $this->execution = new GadgetExecution($this->request, $this->module);
     return $this->execution;
 }